Introduce JSON::Coder #775
ci.yml
on: pull_request
ruby-versions
/
Generate Ruby versions
4s
Ruby memcheck
1m 53s
Matrix: host
Annotations
28 errors and 13 warnings
Error:
test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x779b4f9c> 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:855: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:0x598e5cb8> 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:855: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:0x6487f7f8> 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:0xa63643e> 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:855: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:0x774013dc> 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:855: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:0x549d14fe> 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 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:855: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:855: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:0x46de118b> 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:855: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:0x4bc21e34> 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:855: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:0x76220ef1> 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-latest jruby-head
Process completed with exit code 1.
|
Error:
test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x3a751535> 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:855: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:0xc1a74d> 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:855: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:0x4de158ca> 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
Process completed with exit code 1.
|
Error:
test/json/json_generator_test.rb#L684
JSON::GeneratorError: #<Object:0x5d0e703a> 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:855: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:0x5cbe72b9> 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:855: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:0x69e36fe3> 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:855: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:855: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
|
ubuntu-latest 3.3
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest 3.4
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest 3.2
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest jruby-head
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest jruby
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest 3.1
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 3.0
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
ubuntu-latest head
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 2.7
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
|