Skip to content

Import JRuby extension #275

Import JRuby extension

Import JRuby extension #275

Triggered via pull request June 25, 2025 18:33
Status Failure
Total duration 1m 46s
Artifacts

test.yml

on: pull_request
ruby-versions  /  Generate Ruby versions
5s
ruby-versions / Generate Ruby versions
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

10 errors
Error: test/zlib/test_zlib.rb#L372
ArgumentError: wrong number of arguments (given 2, expected 1) /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:372:in 'test_inflate_buffer' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Failure: test/zlib/test_zlib.rb#L307
<[16384, 16384, 16384, 16384, 16384, 16384, 1696]> expected but was <[100000]>.
Error: test/zlib/test_zlib.rb#L276
NoMethodError: undefined method 'add_dictionary' for an instance of Zlib::Inflate /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:276:in 'test_add_dictionary' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Error: test/zlib/test_zlib.rb#L1000
ArgumentError: wrong number of arguments (given 2, expected 0..1) org/jruby/ext/zlib/JZlibRubyGzipReader.java:319:in 'read' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1000:in 'block in test_read' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:995:in 'block in test_read' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:576:in 'create_with_filename' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:562:in 'create' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:985:in 'test_read' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Error: test/zlib/test_zlib.rb#L1210
NoMethodError: undefined method 'external_encoding' for an instance of Zlib::GzipReader /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1210:in 'block in test_encoding' org/jruby/ext/zlib/JZlibRubyGzipReader.java:107:in 'open' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1209:in 'block in test_encoding' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:576:in 'create_with_filename' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:562:in 'create' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1204:in 'test_encoding' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Failure: test/zlib/test_zlib.rb#L88
<[16384]> expected but was <[]>.
Failure: test/zlib/test_zlib.rb#L61
<[16384, 16384]> expected but was <[]>.
Failure: test/zlib/test_zlib.rb#L1471
<20016> expected but was <0>.
Error: test/zlib/test_zlib.rb#L1412
TypeError: no implicit conversion of File into String org/jruby/ext/zlib/RubyZlib.java:203:in 'crc32' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1412:in 'block in test_crc32' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:576:in 'create_with_filename' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:562:in 'create' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1409:in 'test_crc32' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'
Error: test/zlib/test_zlib.rb#L1376
TypeError: no implicit conversion of File into String org/jruby/ext/zlib/RubyZlib.java:229:in 'adler32' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1376:in 'block in test_adler32' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:576:in 'create_with_filename' /home/runner/.rubies/jruby-10.0.0.1/lib/ruby/stdlib/tempfile.rb:562:in 'create' /home/runner/work/zlib/zlib/test/zlib/test_zlib.rb:1373:in 'test_adler32' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyArray.java:2079:in 'each' org/jruby/RubyKernel.java:1397:in 'catch' org/jruby/RubyKernel.java:1392:in 'catch'