| "git clone --depth 1 https://github.com/ruby/ruby.git trunk" exit with 0. |
| Cloning into 'trunk'... |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk/configure --prefix=/tmp/ruby/install/trunk --disable-install-doc --enable-shared" exit with 0. |
| "make update-unicode -j20" exit with 0. |
| "make update-download -j20" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk/gems/src/debug'... |
| From https://github.com/ruby/debug |
| * branch 91fe870eeceb9ffbbc7f1bb4673f9e2f6a2c1f60 -> FETCH_HEAD |
| HEAD is now at 91fe870 Remove and Restore irb configuration like irbrc while irb console tests |
| "make update-rubyspec -j20" exit with 0. |
| "make update-src -j20" exit with 0. |
| "make after-update -j20" exit with 0. |
| + cp /tmp/ruby/src/trunk/enc/jis/props.h.blt /tmp/ruby/src/trunk/enc/jis/props.h |
| "make miniruby -j20" exit with 0. |
| "make ruby -j20" exit with 0. |
| "make all -j20" exit with 0. |
| libffi_version: 3.4.2 |
| "make install -j20" exit with 0. |
| "make yes-btest TESTOPTS='-q -j20'" exit with 0. |
| |
| "make yes-test-basic TESTS='-j20'" exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' TESTS='-j20'" exit with 512. |
| 1) Failure: |
| TestSyntax#test_syntax_lib [/tmp/ruby/src/trunk/test/ruby/test_syntax.rb:19]: |
| /tmp/ruby/src/trunk/lib/prism/translation/parser/rubocop.rb. |
| ``` |
| # frozen_string_literal: true |
| require "parser" |
| require "rubocop" |
| require "prism" |
| require "prism/translation/parser" |
| module Prism |
| module Translation |
| class Parser |
| # This is the special version numbers that should be used in RuboCop |
| # configuration files to trigger using prism. |
| # For Ruby 3.3 |
| VERSION_3_3 = 80_82_73_83_77.33 |
| # For Ruby 3.4 |
| VERSION_3_4 = 80_82_73_83_77.34 |
| # This module gets prepended into RuboCop::AST::ProcessedSource. |
| module ProcessedSource |
| # Redefine parser_class so that we can inject the prism parser into the |
| # list of known parsers. |
| def parser_class(ruby_version) |
| if ruby_version == Prism::Translation::Parser::VERSION_3_3 |
| require "prism/translation/parser33" |
| Prism::Translation::Parser33 |
| if ruby_version == Prism::Translation::Parser::VERSION_3_4 |
| require "prism/translation/parser34" |
| Prism::Translation::Parser34 |
| else |
| super |
| end |
| end |
| end |
| end |
| end |
| end |
| # :stopdoc: |
| RuboCop::AST::ProcessedSource.prepend(Prism::Translation::Parser::ProcessedSource) |
| known_rubies = RuboCop::TargetRuby.const_get(:KNOWN_RUBIES) |
| RuboCop::TargetRuby.send(:remove_const, :KNOWN_RUBIES) |
| RuboCop::TargetRuby::KNOWN_RUBIES = [*known_rubies, Prism::Translation::Parser::VERSION_3_3].freeze |
| ``` |
| . |
| Exception raised: |
| <#<SyntaxError:"/tmp/ruby/src/trunk/lib/prism/translation/parser/rubocop.rb:43: syntax error, unexpected end-of-input, expecting 'end' or dummy end\n...on::Parser::VERSION_3_3].freeze\n... ^\n">> |
| Backtrace: |
| -:8:in 'block in <main>' |
| <internal:array>:52:in 'Array#each' |
| -:7:in '<main>'. |
| make: *** [uncommon.mk:945: yes-test-all] Error 1 |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr --debug -j' TESTS='-j20'" exit with 0. |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/1-mspec-multi-0 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/2-mspec-multi-1 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/3-mspec-multi-2 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/4-mspec-multi-3 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/5-mspec-multi-4 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/6-mspec-multi-5 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/7-mspec-multi-6 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/8-mspec-multi-7 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/9-mspec-multi-8 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/10-mspec-multi-9 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/11-mspec-multi-10 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/12-mspec-multi-11 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/13-mspec-multi-12 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/14-mspec-multi-13 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/15-mspec-multi-14 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/16-mspec-multi-15 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/17-mspec-multi-16 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/18-mspec-multi-17 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/19-mspec-multi-18 |
| $ /tmp/ruby/build/trunk/miniruby -I/tmp/ruby/src/trunk/lib /tmp/ruby/src/trunk/tool/runruby.rb --archdir=/tmp/ruby/build/trunk --extout=.ext -- /tmp/ruby/src/trunk/spec/mspec/bin/mspec-run -B /tmp/ruby/src/trunk/spec/default.mspec --error-output stderr --debug -fy -o /tmp/rubyspec_temp.20240215-891913-gs74sm/20-mspec-multi-19 |