Skip to content

Introduce JSON::Coder #713

Introduce JSON::Coder

Introduce JSON::Coder #713

Triggered via pull request January 13, 2025 14:24
Status Failure
Total duration 4m 50s
Artifacts

ci.yml

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

Annotations

36 errors and 4 warnings
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: Object not allowed in JSON /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:511:in `block in json_transform' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `each' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `json_transform' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:484:in `to_json' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: Object not allowed in JSON /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:511:in `block in json_transform' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `each' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `json_transform' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:484:in `to_json' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: Object not allowed in JSON /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:407:in `to_json' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /Users/runner/work/json/json/lib/json/truffle_ruby/generator.rb:100:in `generate' /Users/runner/work/json/json/lib/json/common.rb:306:in `generate' /Users/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
macos-latest truffleruby-head
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x5dd3727c> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x73b8ab2c> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x5724c7da> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /Users/runner/work/json/json/lib/json/common.rb:306:in `generate' /Users/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
macos-14 jruby
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x1aa59698> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x24e1e90a> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x72e36677> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /Users/runner/work/json/json/lib/json/common.rb:306:in `generate' /Users/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
macos-14 jruby-head
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x2a9f8d47> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x5831989d> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x2059f785> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /home/runner/work/json/json/lib/json/common.rb:306:in `generate' /home/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
ubuntu-22.04 jruby
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x73958426> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x563c3aca> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x5abb7a8f> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /home/runner/work/json/json/lib/json/common.rb:306:in `generate' /home/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
ubuntu-22.04 jruby-head
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x6706da3d> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x3bda1f0> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x1013871e> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /Users/runner/work/json/json/lib/json/common.rb:306:in `generate' /Users/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyArray.java:2009:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
macos-13 jruby-head
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x73958426> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x77fceac6> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /Users/runner/work/json/json/lib/json/common.rb:854:in `dump' /Users/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x6684589a> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /Users/runner/work/json/json/lib/json/common.rb:306:in `generate' /Users/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
macos-13 jruby
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x708f7386> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: #<Object:0x6b64429e> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:252:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: #<Object:0x4cadd4d4> not allowed in JSON json/ext/GeneratorState.java:232:in `generate' json/ext/GeneratorState.java:137:in `generate' /home/runner/work/json/json/lib/json/common.rb:306:in `generate' /home/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyArray.java:1981:in `each' org/jruby/RubyKernel.java:1426:in `catch' org/jruby/RubyKernel.java:1421:in `catch'
ubuntu-latest jruby-9.4
Process completed with exit code 1.
Error: test/json/json_generator_test.rb#L684
JSON::GeneratorError: Object not allowed in JSON /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:511:in `block in json_transform' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `each' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `json_transform' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:484:in `to_json' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:684:in `test_json_coder_options' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_generator_test.rb#L669
JSON::GeneratorError: Object not allowed in JSON /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:511:in `block in json_transform' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `each' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:507:in `json_transform' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:484:in `to_json' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /home/runner/work/json/json/lib/json/common.rb:854:in `dump' /home/runner/work/json/json/test/json/json_generator_test.rb:669:in `test_json_coder_with_proc' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
Error: test/json/json_generator_test.rb#L689
JSON::GeneratorError: Object not allowed in JSON /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:407:in `to_json' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:301:in `generate' /home/runner/work/json/json/lib/json/truffle_ruby/generator.rb:100:in `generate' /home/runner/work/json/json/lib/json/common.rb:306:in `generate' /home/runner/work/json/json/test/json/json_generator_test.rb:689:in `test_json_generate_as_json_convert_to_proc' <internal:core> core/throw_catch.rb:36:in `catch' <internal:core> core/throw_catch.rb:36:in `catch'
ubuntu-latest truffleruby-head
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