# Logfile created on 2023-08-25 19:51:17 +0000 by logger.rb/v1.4.3
#<BuildRuby:0x000055f09a291f18 @REPOSITORY="https://github.com/ruby/ruby.git", @REPOSITORY_TYPE=:git, @git_branch=nil, @git_worktree=nil, @svn_revision=nil, @SRC_DIR="/tmp/ruby/src", @BUILD_DIR="/tmp/ruby/build", @INSTALL_DIR="/tmp/ruby/install", @TARGET_NAME="trunk-random0", @TARGET_SRC_DIR="/tmp/ruby/src/trunk-random0", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk-random0", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk-random0", @configure_opts=["--enable-shared"], @build_opts="-j4", @btest_opts="-j4", @test_opts="TESTS=\"--test-order=random\"", @incremental=true, @steps=["checkout", "autoconf", "configure", "build_up", "build_miniruby", "build_ruby", "build_all", "build_install", "test_btest", "test_basic", "test_all", "test_rubyspec"], @quiet=false, @gist=false, @timeout=10800, @logfile="/home/ko1/ruby/logs/brlog.trunk-random0.20230825-195117", @ruby_env=[["RUBY_DEBUG", "ci"]], @make="make", @logger=#<Logger:0x000055f09a31b448 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x000055f09a31b2e0 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x000055f09a31b150 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk-random0.20230825-195117", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk-random0.20230825-195117>, @binmode=false, @mon_data=#<Monitor:0x000055f09a31b038>, @mon_data_owner_object_id=860>>>
$$$[beg] make update-unicode -j4
make: Nothing to be done for 'update-unicode'.
$$$[end] "make update-unicode -j4" exit with 0.
$$$[beg] make update-download -j4
tool/config.guess already exists
tool/config.sub already exists
Update typeprof to aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0
From https://github.com/ruby/typeprof
* branch aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0 -> FETCH_HEAD
HEAD is now at aabc019 Skip VM_CALL_BLOCKISEQ for Ruby < 3.3
echo aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0 | /bin/sh /tmp/ruby/src/trunk-random0/tool/ifchange /tmp/ruby/src/trunk-random0/.bundle/.timestamp/typeprof.revision -
/tmp/ruby/src/trunk-random0/.bundle/.timestamp/typeprof.revision unchanged
$$$[end] "make update-download -j4" exit with 0.
$$$[beg] make update-rubyspec -j4
make: Nothing to be done for 'update-rubyspec'.
$$$[end] "make update-rubyspec -j4" exit with 0.
$$$[beg] make update-src -j4
From https://github.com/ruby/ruby
3b9085a..9345526 master -> origin/master
Updating 3b9085a..9345526
Fast-forward
.gitignore | 2 +
common.mk | 9 +
lib/yarp.rb | 13 +
lib/yarp/desugar_visitor.rb | 267 ++++++
lib/yarp/ffi.rb | 6 +-
lib/yarp/version.rb | 5 +
lib/yarp/yarp.gemspec | 13 +-
test/desugar_visitor_test.rb | 57 ++
test/yarp/location_test.rb | 155 +++-
test/yarp/snapshots/begin_rescue.txt | 10 +-
test/yarp/snapshots/blocks.txt | 8 +-
test/yarp/snapshots/boolean_operators.txt | 24 +-
test/yarp/snapshots/defined.txt | 8 +-
test/yarp/snapshots/for.txt | 18 +-
test/yarp/snapshots/patterns.txt | 366 ++-------
.../snapshots/seattlerb/bug_op_asgn_rescue.txt | 8 +-
test/yarp/snapshots/seattlerb/case_in.txt | 36 +-
test/yarp/snapshots/seattlerb/case_in_31.txt | 2 +-
test/yarp/snapshots/seattlerb/case_in_42.txt | 2 +-
test/yarp/snapshots/seattlerb/case_in_42_2.txt | 2 +-
.../seattlerb/case_in_array_pat_const.txt | 2 +-
.../seattlerb/case_in_array_pat_const2.txt | 2 +-
.../seattlerb/case_in_array_pat_paren_assign.txt | 2 +-
test/yarp/snapshots/seattlerb/case_in_find.txt | 4 +-
.../snapshots/seattlerb/case_in_find_array.txt | 2 +-
.../seattlerb/case_in_hash_pat_assign.txt | 2 +-
.../snapshots/seattlerb/case_in_hash_pat_rest.txt | 4 +-
.../seattlerb/case_in_hash_pat_rest_solo.txt | 2 +-
.../snapshots/seattlerb/const_2_op_asgn_or2.txt | 18 +-
.../snapshots/seattlerb/const_3_op_asgn_or.txt | 12 +-
.../snapshots/seattlerb/const_op_asgn_and1.txt | 12 +-
.../snapshots/seattlerb/const_op_asgn_and2.txt | 12 +-
test/yarp/snapshots/seattlerb/const_op_asgn_or.txt | 18 +-
test/yarp/snapshots/seattlerb/dasgn_icky2.txt | 2 +-
.../snapshots/seattlerb/masgn_anon_splat_arg.txt | 2 +-
.../snapshots/seattlerb/masgn_arg_colon_arg.txt | 2 +-
test/yarp/snapshots/seattlerb/masgn_arg_ident.txt | 2 +-
.../snapshots/seattlerb/masgn_arg_splat_arg.txt | 9 +-
test/yarp/snapshots/seattlerb/masgn_colon2.txt | 14 +-
test/yarp/snapshots/seattlerb/masgn_colon3.txt | 12 +-
.../snapshots/seattlerb/masgn_command_call.txt | 3 +-
.../snapshots/seattlerb/masgn_double_paren.txt | 4 +-
test/yarp/snapshots/seattlerb/masgn_lhs_splat.txt | 5 +-
test/yarp/snapshots/seattlerb/masgn_paren.txt | 4 +-
test/yarp/snapshots/seattlerb/masgn_splat_arg.txt | 7 +-
.../snapshots/seattlerb/masgn_splat_arg_arg.txt | 9 +-
.../snapshots/seattlerb/masgn_var_star_var.txt | 4 +-
.../snapshots/seattlerb/messy_op_asgn_lineno.txt | 18 +-
.../snapshots/seattlerb/mlhs_back_anonsplat.txt | 6 +-
test/yarp/snapshots/seattlerb/mlhs_back_splat.txt | 11 +-
.../snapshots/seattlerb/mlhs_front_anonsplat.txt | 6 +-
test/yarp/snapshots/seattlerb/mlhs_front_splat.txt | 11 +-
.../snapshots/seattlerb/mlhs_mid_anonsplat.txt | 12 +-
test/yarp/snapshots/seattlerb/mlhs_mid_splat.txt | 17 +-
test/yarp/snapshots/seattlerb/mlhs_rescue.txt | 4 +-
.../snapshots/seattlerb/op_asgn_command_call.txt | 8 +-
.../op_asgn_primary_colon_const_command_call.txt | 18 +-
.../seattlerb/parse_line_defn_complex.txt | 8 +-
.../snapshots/seattlerb/parse_line_op_asgn.txt | 8 +-
.../yarp/snapshots/seattlerb/parse_line_to_ary.txt | 4 +-
.../yarp/snapshots/seattlerb/parse_pattern_058.txt | 2 +-
test/yarp/snapshots/seattlerb/rhs_asgn.txt | 2 +-
.../unparser/corpus/literal/assignment.txt | 68 +-
.../snapshots/unparser/corpus/literal/block.txt | 20 +-
.../snapshots/unparser/corpus/literal/defined.txt | 4 +-
.../yarp/snapshots/unparser/corpus/literal/for.txt | 12 +-
.../snapshots/unparser/corpus/literal/kwbegin.txt | 14 +-
.../snapshots/unparser/corpus/literal/opasgn.txt | 72 +-
.../snapshots/unparser/corpus/literal/pattern.txt | 14 +-
.../snapshots/unparser/corpus/literal/send.txt | 24 +-
.../snapshots/unparser/corpus/literal/since/30.txt | 6 +-
test/yarp/snapshots/variables.txt | 26 +-
test/yarp/snapshots/whitequark/and_or_masgn.txt | 8 +-
.../yarp/snapshots/whitequark/cond_begin_masgn.txt | 4 +-
test/yarp/snapshots/whitequark/const_op_asgn.txt | 72 +-
test/yarp/snapshots/whitequark/for.txt | 4 +-
test/yarp/snapshots/whitequark/for_mlhs.txt | 4 +-
test/yarp/snapshots/whitequark/if_masgn__24.txt | 4 +-
test/yarp/snapshots/whitequark/masgn.txt | 14 +-
test/yarp/snapshots/whitequark/masgn_attr.txt | 4 +-
test/yarp/snapshots/whitequark/masgn_cmd.txt | 4 +-
test/yarp/snapshots/whitequark/masgn_const.txt | 22 +-
test/yarp/snapshots/whitequark/masgn_nested.txt | 8 +-
test/yarp/snapshots/whitequark/masgn_splat.txt | 34 +-
test/yarp/snapshots/whitequark/not_masgn__24.txt | 4 +-
test/yarp/snapshots/whitequark/op_asgn_cmd.txt | 28 +-
.../whitequark/pattern_matching_single_line.txt | 4 +-
...single_line_allowed_omission_of_parentheses.txt | 18 +-
.../yarp/snapshots/whitequark/resbody_list_var.txt | 2 +-
test/yarp/snapshots/whitequark/resbody_var.txt | 4 +-
.../yarp/snapshots/whitequark/rescue_mod_masgn.txt | 4 +-
.../snapshots/whitequark/rescue_mod_op_assign.txt | 10 +-
test/yarp/snapshots/whitequark/ruby_bug_12402.txt | 56 +-
test/yarp/snapshots/whitequark/ruby_bug_12669.txt | 40 +-
test/yarp/snapshots/whitequark/var_and_asgn.txt | 8 +-
test/yarp/snapshots/whitequark/var_op_asgn.txt | 32 +-
test/yarp/snapshots/whitequark/var_op_asgn_cmd.txt | 10 +-
test/yarp/snapshots/whitequark/var_or_asgn.txt | 8 +-
tool/update-deps | 1 +
yarp/config.yml | 370 +++++++--
yarp/extension.c | 8 +-
yarp/extension.h | 2 -
yarp/templates/include/yarp/version.h.erb | 9 +
yarp/templates/java/org/yarp/Loader.java.erb | 10 +-
yarp/templates/lib/yarp/mutation_visitor.rb.erb | 19 +
yarp/templates/lib/yarp/node.rb.erb | 9 +
yarp/templates/lib/yarp/serialize.rb.erb | 8 +-
yarp/templates/template.rb | 13 +
yarp/version.h | 4 -
yarp/yarp.c | 911 +++++++++++++++++----
yarp/yarp.h | 1 +
111 files changed, 2162 insertions(+), 1190 deletions(-)
create mode 100644 lib/yarp/desugar_visitor.rb
create mode 100644 lib/yarp/version.rb
create mode 100644 test/desugar_visitor_test.rb
create mode 100644 yarp/templates/include/yarp/version.h.erb
create mode 100644 yarp/templates/lib/yarp/mutation_visitor.rb.erb
delete mode 100644 yarp/version.h
Latest commit hash = 934552618e
$$$[end] "make update-src -j4" exit with 0.
$$$[beg] make after-update -j4
sed 's/{\$([^(){}]*)[^{}]*}//g' /tmp/ruby/src/trunk-random0/common.mk > uncommon.mk
/tmp/ruby/src/trunk-random0/revision.h updated
generating x86_64-linux-fake.rb
x86_64-linux-fake.rb updated
/bin/sh /tmp/ruby/src/trunk-random0/tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb unchanged
generating enc.mk
making srcs under enc
make[1]: Entering directory '/tmp/ruby/build/trunk-random0'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk-random0'
Update typeprof to aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0
From https://github.com/ruby/typeprof
* branch aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0 -> FETCH_HEAD
HEAD is now at aabc019 Skip VM_CALL_BLOCKISEQ for Ruby < 3.3
echo aabc019684d8b4a1ed66c2a1ca48da7bbb18dcc0 | /bin/sh /tmp/ruby/src/trunk-random0/tool/ifchange /tmp/ruby/src/trunk-random0/.bundle/.timestamp/typeprof.revision -
/tmp/ruby/src/trunk-random0/.bundle/.timestamp/typeprof.revision unchanged
$$$[end] "make after-update -j4" exit with 0.
$$$[beg] make miniruby -j4
BASERUBY = /usr/bin/ruby --disable=gems
CC = gcc
LD = ld
LDSHARED = gcc -shared
CFLAGS = -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdiv-by-zero -Wduplicated-cond -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wwrite-strings -Wold-style-definition -Wimplicit-fallthrough=0 -Wmissing-noreturn -Wno-cast-function-type -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-packed-bitfield-compat -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wsuggest-attribute=format -Wsuggest-attribute=noreturn -Wunused-variable -Wundef -fPIC
XCFLAGS = -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -fexcess-precision=standard -DRUBY_EXPORT -I. -I.ext/include/x86_64-linux -I/tmp/ruby/src/trunk-random0/include -I/tmp/ruby/src/trunk-random0 -I/tmp/ruby/src/trunk-random0/yarp -I/tmp/ruby/src/trunk-random0/enc/unicode/15.0.0
CPPFLAGS =
DLDFLAGS = -Wl,--compress-debug-sections=zlib -Wl,-soname,libruby.so.3.3 -fstack-protector-strong
SOLIBS = -lz -lrt -lrt -lgmp -ldl -lcrypt -lm -lpthread
LANG =
LC_ALL =
LC_CTYPE =
MFLAGS = -j4 --jobserver-auth=4,5
RUSTC = rustc
YJIT_RUSTC_ARGS = --crate-name=yjit --crate-type=staticlib --edition=2021 -g -C lto=thin -C opt-level=3 -C overflow-checks=on '--out-dir=/tmp/ruby/build/trunk-random0/yjit/target/release/' /tmp/ruby/src/trunk-random0/yjit/src/lib.rs
gcc (Ubuntu 11.3.0-1ubuntu1~22.04.1) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
compiling yarp/api_node.c
compiling /tmp/ruby/src/trunk-random0/version.c
compiling /tmp/ruby/src/trunk-random0/yarp/api_pack.c
compiling /tmp/ruby/src/trunk-random0/yarp/extension.c
compiling yarp/node.c
compiling yarp/prettyprint.c
compiling /tmp/ruby/src/trunk-random0/yarp/regexp.c
compiling yarp/serialize.c
compiling yarp/token_type.c
compiling /tmp/ruby/src/trunk-random0/yarp/unescape.c
compiling /tmp/ruby/src/trunk-random0/yarp/util/yp_memchr.c
compiling /tmp/ruby/src/trunk-random0/yarp/util/yp_strpbrk.c
make: *** No rule to make target '/tmp/ruby/src/trunk-random0/yarp/version.h', needed by 'yarp/yarp.o'. Stop.
make: *** Waiting for unfinished jobs....
$$$[end] "make miniruby -j4" exit with 512.