Skip to content

Handrolled Parser

Handrolled Parser #734

Triggered via pull request January 15, 2025 17:30
Status Failure
Total duration 4m 38s
Artifacts

ci.yml

on: pull_request
ruby-versions  /  Generate Ruby versions
4s
ruby-versions / Generate Ruby versions
Ruby memcheck
33s
Ruby memcheck
Matrix: host
Fit to window
Zoom out
Zoom in

Annotations

158 errors and 4 warnings
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:44.71387 +0000]> expected but was <["2025-01-15T17:30:44+0000"]>. diff: - [2025-01-15 17:30:44.71387 +0000] ? ^ ------- + ["2025-01-15T17:30:44+0000"] ? + ^ +
macos-14 3.3
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:44.83706 +0000]> expected but was <["2025-01-15T17:30:44+0000"]>. diff: - [2025-01-15 17:30:44.83706 +0000] ? ^ ------- + ["2025-01-15T17:30:44+0000"] ? + ^ +
macos-14 3.2
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:44.629229 +0000]> expected but was <["2025-01-15T17:30:44+0000"]>. diff: - [2025-01-15 17:30:44.629229 +0000] ? ^ -------- + ["2025-01-15T17:30:44+0000"] ? + ^ +
macos-14 3.0
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Ruby memcheck
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in 'JSONParserTest#test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in 'JSONParserTest#test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:48.035003 +0000]> expected but was <["2025-01-15T17:30:48+0000"]>. diff: - [2025-01-15 17:30:48.035003 +0000] ? ^ -------- + ["2025-01-15T17:30:48+0000"] ? + ^ +
macos-14 3.4
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float assert_equal([1,2], res.data) ^^^^^ /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:46.777863 +0000]> expected but was <["2025-01-15T17:30:46+0000"]>. diff: - [2025-01-15 17:30:46.777863 +0000] ? ^ -------- + ["2025-01-15T17:30:46+0000"] ? + ^ +
macos-14 3.1
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in 'JSONParserTest#test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in 'JSONParserTest#test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:49.694195 +0000]> expected but was <["2025-01-15T17:30:49+0000"]>. diff: - [2025-01-15 17:30:49.694195 +0000] ? ^ -------- + ["2025-01-15T17:30:49+0000"] ? + ^ +
macos-14 head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in 'JSONParserTest#test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in 'JSONParserTest#test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:53.833706 +0000]> expected but was <["2025-01-15T17:30:53+0000"]>. diff: - [2025-01-15 17:30:53.833706 +0000] ? ^ -------- + ["2025-01-15T17:30:53+0000"] ? + ^ +
macos-13 head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 3.0
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 3.3
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <nil>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for nil:NilClass /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise' exception.c:29:in `rb_exc_raise' /Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect' /Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception' /Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect' exception.c:46:in `rb_protect' /Users/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:30:58.061003 +0000]> expected but was <["2025-01-15T17:30:58+0000"]>. diff: - [2025-01-15 17:30:58.061003 +0000] ? ^ -------- + ["2025-01-15T17:30:58+0000"] ? + ^ +
macos-latest truffleruby-head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 3.2
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 3.1
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 3.4
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in 'JSONParserTest#test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /Users/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in 'JSONParserTest#test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:04.170335 +0000]> expected but was <["2025-01-15T17:31:04+0000"]>. diff: - [2025-01-15 17:31:04.170335 +0000] ? ^ -------- + ["2025-01-15T17:31:04+0000"] ? + ^ +
macos-13 3.4
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:04.1722 +0000]> expected but was <["2025-01-15T17:31:04+0000"]>. diff: - [2025-01-15 17:31:04.1722 +0000] ? ^ ------ + ["2025-01-15T17:31:04+0000"] ? + ^ +
macos-13 3.0
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 2.7
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:14.074856 +0000]> expected but was <["2025-01-15T17:31:14+0000"]>. diff: - [2025-01-15 17:31:14.074856 +0000] ? ^ -------- + ["2025-01-15T17:31:14+0000"] ? + ^ +
macos-14 2.7
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for an instance of Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:14.774648 +0000]> expected but was <["2025-01-15T17:31:14+0000"]>. diff: - [2025-01-15 17:31:14.774648 +0000] ? ^ -------- + ["2025-01-15T17:31:14+0000"] ? + ^ +
macos-13 3.3
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:24.228754 +0000]> expected but was <["2025-01-15T17:31:24+0000"]>. diff: - [2025-01-15 17:31:24.228754 +0000] ? ^ -------- + ["2025-01-15T17:31:24+0000"] ? + ^ +
macos-13 3.2
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float assert_equal([1,2], res.data) ^^^^^ /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:31:26.290019 +0000]> expected but was <["2025-01-15T17:31:26+0000"]>. diff: - [2025-01-15 17:31:26.290019 +0000] ? ^ -------- + ["2025-01-15T17:31:26+0000"] ? + ^ +
macos-13 3.1
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
ubuntu-22.04 head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0:Float /Users/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/lib/json/common.rb:221:in `parse' /Users/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments'
Failure: test/json/json_parser_test.rb#L628
<"unexpected token at '{\"input\":{\"firstName\":\"Bob\",\"las'"> expected but was <"expected ',' or '}' after object value">.
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:32:06.410493 +0000]> expected but was <["2025-01-15T17:32:06+0000"]>. diff: - [2025-01-15 17:32:06.410493 +0000] ? ^ -------- + ["2025-01-15T17:32:06+0000"] ? + ^ +
macos-13 2.7
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <70136137579341>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 70136137579341:Integer /home/runner/work/json/json/test/json/json_parser_test.rb:499:in `test_parse_array_custom_non_array_derived_class' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key, got: '// eol comment "key2":"value2"' /home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1302:in `rb_exc_raise' exception.c:29:in `rb_exc_raise' /home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1233:in `block in rb_protect' /home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `capture_exception' /home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext.rb:1232:in `rb_protect' exception.c:46:in `rb_protect' /home/runner/.rubies/truffleruby-head/lib/truffle/truffle/cext_ruby.rb:38:in `parse' /home/runner/work/json/json/lib/json/common.rb:221:in `parse' /home/runner/work/json/json/test/json/json_parser_test.rb:368:in `test_parse_comments' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Failure: test/json/json_parser_test.rb#L575
<JSON::GenericObject> expected but was <Hash>.
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:32:27.057457121 +0000]> expected but was <["2025-01-15T17:32:27+0000"]>. diff: - [2025-01-15 17:32:27.057457121 +0000] ? ^ ----------- + ["2025-01-15T17:32:27+0000"] ? + ^ +
ubuntu-latest truffleruby-head
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest mswin
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 3.2
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 3.1
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 3.0
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 3.3
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 2.7
Process completed with exit code 1.
Failure: test/json/json_ext_parser_test.rb#L18
<"unexpected token at 'Infinity'"> expected but was <"unexpected character">.
windows-latest 3.4
Process completed with exit code 1.
ruby-versions / Generate Ruby versions
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Ruby memcheck
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu-latest jruby-9.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
ubuntu-latest truffleruby-head
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636