Skip to content

Revert "Remove early return for Ruby 4.1+ until ruby/ruby#16358 is me… #281

Revert "Remove early return for Ruby 4.1+ until ruby/ruby#16358 is me…

Revert "Remove early return for Ruby 4.1+ until ruby/ruby#16358 is me… #281

Triggered via push April 14, 2026 07:32
Status Failure
Total duration 1m 53s
Artifacts

test.yml

on: push
ruby-versions  /  Generate Ruby versions
4s
ruby-versions / Generate Ruby versions
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors
build (head / ubuntu-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1522
NoMethodError: undefined method 'rmtree' for an instance of Pathname /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1522:in 'block in TestPathname#test_rmtree' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' /home/runner/.rubies/ruby-head/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1518:in 'TestPathname#test_rmtree'
Error: test/pathname/test_pathname.rb#L1363
NoMethodError: undefined method 'mktmpdir' for class Pathname /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1363:in 'TestPathname#test_mktmpdir'
Error: test/pathname/test_pathname.rb#L1460
NoMethodError: undefined method 'find' for an instance of Pathname /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1460:in 'block in TestPathname#test_find' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' /home/runner/.rubies/ruby-head/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' /home/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1454:in 'TestPathname#test_find'
build (head / macos-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1522
NoMethodError: undefined method 'rmtree' for an instance of Pathname /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1522:in 'block in TestPathname#test_rmtree' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' /Users/runner/.rubies/ruby-head/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1518:in 'TestPathname#test_rmtree'
Error: test/pathname/test_pathname.rb#L1363
NoMethodError: undefined method 'mktmpdir' for class Pathname /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1363:in 'TestPathname#test_mktmpdir'
Error: test/pathname/test_pathname.rb#L1460
NoMethodError: undefined method 'find' for an instance of Pathname /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1460:in 'block in TestPathname#test_find' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' /Users/runner/.rubies/ruby-head/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' /Users/runner/work/pathname/pathname/test/pathname/test_pathname.rb:1454:in 'TestPathname#test_find'
build (mswin / windows-latest)
Process completed with exit code 1.
Error: test/pathname/test_pathname.rb#L1522
NoMethodError: undefined method 'rmtree' for an instance of Pathname D:/a/pathname/pathname/test/pathname/test_pathname.rb:1522:in 'block in TestPathname#test_rmtree' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' D:/ruby-mswin/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1518:in 'TestPathname#test_rmtree'
Error: test/pathname/test_pathname.rb#L1363
NoMethodError: undefined method 'mktmpdir' for class Pathname D:/a/pathname/pathname/test/pathname/test_pathname.rb:1363:in 'TestPathname#test_mktmpdir'
Error: test/pathname/test_pathname.rb#L1460
NoMethodError: undefined method 'find' for an instance of Pathname D:/a/pathname/pathname/test/pathname/test_pathname.rb:1460:in 'block in TestPathname#test_find' D:/a/pathname/pathname/test/pathname/test_pathname.rb:340:in 'block (2 levels) in TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'Dir.chdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:339:in 'block in TestPathname#with_tmpchdir' D:/ruby-mswin/lib/ruby/4.1.0+1/tmpdir.rb:105:in 'Dir.mktmpdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:337:in 'TestPathname#with_tmpchdir' D:/a/pathname/pathname/test/pathname/test_pathname.rb:1454:in 'TestPathname#test_find'