Skip to content

Handrolled Parser

Handrolled Parser #732

Triggered via pull request January 15, 2025 17:16
Status Failure
Total duration 6m 11s
Artifacts

ci.yml

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

Annotations

216 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 'JSONParserTest#test_parse_array_custom_non_array_derived_class'
Error: test/json/json_parser_test.rb#L368
JSON::ParserError: expected object key /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:00.640829 +0000]> expected but was <["2025-01-15T17:17:00+0000"]>. diff: - [2025-01-15 17:17:00.640829 +0000] ? ^ -------- + ["2025-01-15T17:17:00+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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:01.596023 +0000]> expected but was <["2025-01-15T17:17:01+0000"]>. diff: - [2025-01-15 17:17:01.596023 +0000] ? ^ -------- + ["2025-01-15T17:17:01+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 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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:01.310939 +0000]> expected but was <["2025-01-15T17:17:01+0000"]>. diff: - [2025-01-15 17:17:01.310939 +0000] ? ^ -------- + ["2025-01-15T17:17:01+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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:03.763934 +0000]> expected but was <["2025-01-15T17:17:03+0000"]>. diff: - [2025-01-15 17:17:03.763934 +0000] ? ^ -------- + ["2025-01-15T17:17:03+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">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <{#<Test::Unit::Util::ProcWrapper:0x00007fdf161c33e0 @a_proc=#<Proc:0x00007fdf161c3598 (lambda)>, @hash=140596125382040>=>#<Proc:0x00007fdf161c3598 (lambda)>}>. diff: - [1, 2] + {#<Test::Unit::Util::ProcWrapper:0x00007fdf161c33e0 + @a_proc=#<Proc:0x00007fdf161c3598 (lambda)>, + @hash=140596125382040>=>#<Proc:0x00007fdf161c3598 (lambda)>}
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for an instance of Hash /home/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 /home/runner/work/json/json/lib/json/common.rb:221: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'
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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /home/runner/work/json/json/lib/json/common.rb:221: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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:04.654347464 +0000]> expected but was <["2025-01-15T17:17:04+0000"]>. diff: - [2025-01-15 17:17:04.654347464 +0000] ? ^ ----------- + ["2025-01-15T17:17:04+0000"] ? + ^ +
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 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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:03.25845 +0000]> expected but was <["2025-01-15T17:17:03+0000"]>. diff: - [2025-01-15 17:17:03.25845 +0000] ? ^ ------- + ["2025-01-15T17:17:03+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 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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:07.187965 +0000]> expected but was <["2025-01-15T17:17:07+0000"]>. diff: - [2025-01-15 17:17:07.187965 +0000] ? ^ -------- + ["2025-01-15T17:17:07+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 <70331454728777>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for an instance of Integer /home/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 /home/runner/work/json/json/lib/json/common.rb:221: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'
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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /home/runner/work/json/json/lib/json/common.rb:221: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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:10.342089608 +0000]> expected but was <["2025-01-15T17:17:10+0000"]>. diff: - [2025-01-15 17:17:10.342089608 +0000] ? ^ ----------- + ["2025-01-15T17:17:10+0000"] ? + ^ +
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 <false>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for false /home/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 /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /home/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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /home/runner/work/json/json/test/json/json_parser_test.rb:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:10.943197015 +0000]> expected but was <["2025-01-15T17:17:10+0000"]>. diff: - [2025-01-15 17:17:10.943197015 +0000] ? ^ ----------- + ["2025-01-15T17:17:10+0000"] ? + ^ +
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">.
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">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <2.0077814425233487>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0077814425233487:Float /home/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 /home/runner/work/json/json/lib/json/common.rb:221: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'
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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /home/runner/work/json/json/lib/json/common.rb:221: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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:13.939715419 +0000]> expected but was <["2025-01-15T17:17:13+0000"]>. diff: - [2025-01-15 17:17:13.939715419 +0000] ? ^ ----------- + ["2025-01-15T17:17:13+0000"] ? + ^ +
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">.
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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:13.682656 +0000]> expected but was <["2025-01-15T17:17:13+0000"]>. diff: - [2025-01-15 17:17:13.682656 +0000] ? ^ -------- + ["2025-01-15T17:17:13+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.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 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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:16.983956 +0000]> expected but was <["2025-01-15T17:17:16+0000"]>. diff: - [2025-01-15 17:17:16.983956 +0000] ? ^ -------- + ["2025-01-15T17:17:16+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">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <false>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for false:FalseClass /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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:20.798421 +0000]> expected but was <["2025-01-15T17:17:20+0000"]>. diff: - [2025-01-15 17:17:20.798421 +0000] ? ^ -------- + ["2025-01-15T17:17:20+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">.
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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:25.034021 +0000]> expected but was <["2025-01-15T17:17:25+0000"]>. diff: - [2025-01-15 17:17:25.034021 +0000] ? ^ -------- + ["2025-01-15T17:17:25+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">.
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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:28.223902 +0000]> expected but was <["2025-01-15T17:17:28+0000"]>. diff: - [2025-01-15 17:17:28.223902 +0000] ? ^ -------- + ["2025-01-15T17:17:28+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 <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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:28.629496 +0000]> expected but was <["2025-01-15T17:17:28+0000"]>. diff: - [2025-01-15 17:17:28.629496 +0000] ? ^ -------- + ["2025-01-15T17:17:28+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">.
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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:32.233346 +0000]> expected but was <["2025-01-15T17:17:32+0000"]>. diff: - [2025-01-15 17:17:32.233346 +0000] ? ^ -------- + ["2025-01-15T17:17:32+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 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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:17:39.230859 +0000]> expected but was <["2025-01-15T17:17:39+0000"]>. diff: - [2025-01-15 17:17:39.230859 +0000] ? ^ -------- + ["2025-01-15T17:17:39+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">.
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 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 <false>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method 'data' for false /home/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 /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /home/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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON::Ext::Parser.parse' /home/runner/work/json/json/lib/json/common.rb:221:in 'JSON#parse' /home/runner/work/json/json/test/json/json_parser_test.rb:225:in 'JSONParserTest#test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:18:00.427568975 +0000]> expected but was <["2025-01-15T17:18:00+0000"]>. diff: - [2025-01-15 17:18:00.427568975 +0000] ? ^ ----------- + ["2025-01-15T17:18:00+0000"] ? + ^ +
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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:18:23.103797 +0000]> expected but was <["2025-01-15T17:18:23+0000"]>. diff: - [2025-01-15 17:18:23.103797 +0000] ? ^ -------- + ["2025-01-15T17:18:23+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">.
Failure: test/json/json_parser_test.rb#L492
<[1, 2]> expected but was <0>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 0: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 /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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key /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:225:in `test_parse_object_with_allow_trailing_comma' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:18:37.72653534 +0000]> expected but was <["2025-01-15T17:18:37+0000"]>. diff: - [2025-01-15 17:18:37.72653534 +0000] ? ^ ---------- + ["2025-01-15T17:18:37+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 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.0078115314626737>.
Error: test/json/json_parser_test.rb#L499
NoMethodError: undefined method `data' for 2.0078115314626737:Float D:/a/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 D:/a/json/json/lib/json/common.rb:221:in `parse' D:/a/json/json/lib/json/common.rb:221:in `parse' D:/a/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>.
Error: test/json/json_parser_test.rb#L225
JSON::ParserError: expected object key D:/a/json/json/lib/json/common.rb:221:in `parse' D:/a/json/json/lib/json/common.rb:221:in `parse' D:/a/json/json/test/json/json_parser_test.rb:225:in `test_parse_object_with_allow_trailing_comma'
Failure: test/json/json_string_matching_test.rb#L26
<[2025-01-15 17:18:53.2708534 +0000]> expected but was <["2025-01-15T17:18:53+0000"]>. diff: - [2025-01-15 17:18:53.2708534 +0000] ? ^ --------- + ["2025-01-15T17:18:53+0000"] ? + ^ +
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 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">.
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 2.7
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