Skip to content

Add support for Ruby >=4.0 #26

Add support for Ruby >=4.0

Add support for Ruby >=4.0 #26

Triggered via pull request March 4, 2026 15:19
@knuknu
opened #19
ruby4
Status Success
Total duration 46s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

9 errors
ubuntu-ruby-head
Process completed with exit code 1.
Error: test/test_sorted_set.rb#L116
ArgumentError: wrong number of arguments (given 1, expected 0) /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:116:in 'Enumerable#to_set' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:116:in 'TC_SortedSet#test_enumerable_to_set'
ubuntu-ruby-jruby-head
Process completed with exit code 1.
Error: test/test_sorted_set.rb#L6
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:6:in 'test_sortedset' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'
Error: test/test_sorted_set.rb#L92
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:92:in 'test_freeze_dup' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'
Error: test/test_sorted_set.rb#L103
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:103:in 'test_freeze_clone' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'
Error: test/test_sorted_set.rb#L75
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:75:in 'test_freeze' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'
Error: test/test_sorted_set.rb#L116
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:116:in 'test_enumerable_to_set' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'
Error: test/test_sorted_set.rb#L53
NameError: uninitialized constant TC_SortedSet::SortedSet org/jruby/RubyModule.java:4926:in 'const_missing' /home/runner/work/sorted_set/sorted_set/test/test_sorted_set.rb:53:in 'test_each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyArrayNative.java:1729:in 'each' org/jruby/RubyKernel.java:1427:in 'catch' org/jruby/RubyKernel.java:1422:in 'catch'