Skip to content

Port prototype rb generation to prism #8691

Port prototype rb generation to prism

Port prototype rb generation to prism #8691

Triggered via pull request August 31, 2026 12:02
Status Failure
Total duration 8m 14s
Artifacts

ruby.yml

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

Annotations

7 errors and 4 warnings
test (3.3, test)
Process completed with exit code 1.
Error: test/rbs/runtime_prototype_test.rb#L857
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:333:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:294:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:327:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:531:in `generate_class' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:129:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:857:in `block (2 levels) in test_reflection' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:855:in `block in test_reflection' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:854:in `test_reflection'
Error: test/rbs/runtime_prototype_test.rb#L382
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:368:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:292:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:362:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:348:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:348:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:531:in `generate_class' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:129:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:382:in `block (2 levels) in test_for_yield' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:379:in `block in test_for_yield' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:378:in `test_for_yield'
Error: test/rbs/runtime_prototype_test.rb#L272
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:333:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:292:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:327:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:531:in `generate_class' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:129:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:272:in `block (2 levels) in test_for_overwritten_module_name' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:269:in `block in test_for_overwritten_module_name' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:268:in `test_for_overwritten_module_name'
Error: test/rbs/runtime_prototype_test.rb#L353
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:408:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:292:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:402:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:387:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:387:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:531:in `generate_class' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:129:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:353:in `block (2 levels) in test_for_initialize_type' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:350:in `block in test_for_initialize_type' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:349:in `test_for_initialize_type'
Error: test/rbs/runtime_prototype_test.rb#L418
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:368:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:292:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:362:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:348:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:348:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:570:in `generate_module' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:131:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:418:in `block (2 levels) in test_decls_structure' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:416:in `block in test_decls_structure' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:415:in `test_decls_structure'
Error: test/rbs/runtime_prototype_test.rb#L240
NoMethodError: undefined method `each_child' for an instance of RBS::Prototype::Runtime /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:766:in `any_node?' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:685:in `block_from_body' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:675:in `block_from_ast_of' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:224:in `method_type' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:333:in `block (2 levels) in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:294:in `merge_rbs' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:327:in `block in generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:313:in `generate_methods' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:570:in `generate_module' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:131:in `block in decls' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `each' /home/runner/work/rbs/rbs/lib/rbs/prototype/runtime.rb:126:in `decls' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:240:in `block (3 levels) in test_decls_for_anonymous_class_or_module' /home/runner/work/rbs/rbs/test/test_helper.rb:121:in `silence_warnings' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:239:in `block (2 levels) in test_decls_for_anonymous_class_or_module' /home/runner/work/rbs/rbs/test/test_helper.rb:249:in `block in build' /opt/hostedtoolcache/Ruby/3.3.12/x64/lib/ruby/3.3.0/tmpdir.rb:99:in `mktmpdir' /home/runner/work/rbs/rbs/test/test_helper.rb:218:in `build' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:236:in `block in test_decls_for_anonymous_class_or_module' /home/runner/work/rbs/rbs/test/test_helper.rb:144:in `new' /home/runner/work/rbs/rbs/test/rbs/runtime_prototype_test.rb:235:in `test_decls_for_anonymous_class_or_module'
clang_compile (head)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
C99_compile (head)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
clang_compile (4.0)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust
C99_compile (4.0)
The following taps are not trusted: aws/tap Homebrew is currently ignoring formulae, casks and commands from these taps because tap trust is required. Untap them with: brew untap aws/tap Trust specific formulae, casks and commands with: brew trust --formula <user>/<tap>/<formula> brew trust --cask <user>/<tap>/<cask> brew trust --command <user>/<tap>/<command> Whole-tap trust is broader and includes all current and future formulae, casks and commands from the listed taps. Trust whole taps with: brew trust aws/tap To disable trust checks: export HOMEBREW_NO_REQUIRE_TAP_TRUST=1 This is not recommended and will be removed in a later release. For more information, see: https://docs.brew.sh/Tap-Trust