# Logfile created on 2023-08-25 21:04:55 +0000 by logger.rb/v1.4.3
#<BuildRuby:0x000055dd35a95160 @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-gc-asserts", @TARGET_SRC_DIR="/tmp/ruby/src/trunk-gc-asserts", @TARGET_BUILD_DIR="/tmp/ruby/build/trunk-gc-asserts", @TARGET_INSTALL_DIR="/tmp/ruby/install/trunk-gc-asserts", @configure_opts=["--enable-shared"], @build_opts="DEFS=\"-DRGENGC_CHECK_MODE=2\"", @btest_opts="-j4", @test_opts="TESTS='-j4'", @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=21600, @logfile="/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20230825-210455", @ruby_env=[["RUBY_DEBUG", "ci"], ["RUBY_TEST_SUBPROCESS_TIMEOUT_SCALE", "30"]], @make="make", @logger=#<Logger:0x000055dd35b2a738 @level=0, @progname=nil, @default_formatter=#<Logger::Formatter:0x000055dd35b2a5f8 @datetime_format=nil>, @formatter=nil, @logdev=#<Logger::LogDevice:0x000055dd35b2a468 @shift_period_suffix="%Y%m%d", @shift_size=1048576, @shift_age=0, @filename="/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20230825-210455", @dev=#<File:/home/ko1/ruby/logs/brlog.trunk-gc-asserts.20230825-210455>, @binmode=false, @mon_data=#<Monitor:0x000055dd35b2a3a0>, @mon_data_owner_object_id=860>>>
$$$[beg] make update-unicode DEFS="-DRGENGC_CHECK_MODE=2"
make: Nothing to be done for 'update-unicode'.
$$$[end] "make update-unicode DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make update-download DEFS="-DRGENGC_CHECK_MODE=2"
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-gc-asserts/tool/ifchange /tmp/ruby/src/trunk-gc-asserts/.bundle/.timestamp/typeprof.revision -
/tmp/ruby/src/trunk-gc-asserts/.bundle/.timestamp/typeprof.revision unchanged
$$$[end] "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make update-rubyspec DEFS="-DRGENGC_CHECK_MODE=2"
make: Nothing to be done for 'update-rubyspec'.
$$$[end] "make update-rubyspec DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make update-src DEFS="-DRGENGC_CHECK_MODE=2"
From https://github.com/ruby/ruby
40efbc7..85c8e8b master -> origin/master
Updating 40efbc7..85c8e8b
Fast-forward
.gitignore | 2 +
NEWS.md | 18 +-
common.mk | 11 +-
lib/bundled_gems.rb | 8 +-
lib/yarp.rb | 13 +
lib/yarp/desugar_visitor.rb | 267 ++++++
lib/yarp/ffi.rb | 6 +-
lib/yarp/lex_compat.rb | 23 +-
lib/yarp/version.rb | 5 +
lib/yarp/yarp.gemspec | 13 +-
test/desugar_visitor_test.rb | 57 ++
test/yarp/encoding_test.rb | 7 +
test/yarp/fixtures/lambda.txt | 4 +
test/yarp/fixtures/wrapping_heredoc.txt | 13 +
test/yarp/location_test.rb | 155 +++-
test/yarp/parse_test.rb | 4 +
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/lambda.txt | 70 +-
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 +-
test/yarp/snapshots/wrapping_heredoc.txt | 80 ++
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 | 975 +++++++++++++++++----
yarp/yarp.h | 1 +
120 files changed, 2411 insertions(+), 1234 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 test/yarp/fixtures/wrapping_heredoc.txt
create mode 100644 test/yarp/snapshots/wrapping_heredoc.txt
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 = 85c8e8b9bd
$$$[end] "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make after-update DEFS="-DRGENGC_CHECK_MODE=2"
sed 's/{\$([^(){}]*)[^{}]*}//g' /tmp/ruby/src/trunk-gc-asserts/common.mk > uncommon.mk
/tmp/ruby/src/trunk-gc-asserts/revision.h updated
/bin/sh /tmp/ruby/src/trunk-gc-asserts/tool/ifchange "--timestamp=.rbconfig.time" rbconfig.rb rbconfig.tmp
rbconfig.rb unchanged
generating x86_64-linux-fake.rb
x86_64-linux-fake.rb updated
generating enc.mk
making srcs under enc
make[1]: Entering directory '/tmp/ruby/build/trunk-gc-asserts'
make[1]: Nothing to be done for 'srcs'.
make[1]: Leaving directory '/tmp/ruby/build/trunk-gc-asserts'
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-gc-asserts/tool/ifchange /tmp/ruby/src/trunk-gc-asserts/.bundle/.timestamp/typeprof.revision -
/tmp/ruby/src/trunk-gc-asserts/.bundle/.timestamp/typeprof.revision unchanged
$$$[end] "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 0.
$$$[beg] make miniruby DEFS="-DRGENGC_CHECK_MODE=2"
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-gc-asserts/include -I/tmp/ruby/src/trunk-gc-asserts -I/tmp/ruby/src/trunk-gc-asserts/yarp -I/tmp/ruby/src/trunk-gc-asserts/enc/unicode/15.0.0
CPPFLAGS = -DRGENGC_CHECK_MODE=2
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 =
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-gc-asserts/yjit/target/release/' /tmp/ruby/src/trunk-gc-asserts/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 /tmp/ruby/src/trunk-gc-asserts/version.c
compiling yarp/api_node.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/api_pack.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/extension.c
compiling yarp/node.c
compiling yarp/prettyprint.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/regexp.c
compiling yarp/serialize.c
compiling yarp/token_type.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/unescape.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/util/yp_memchr.c
compiling /tmp/ruby/src/trunk-gc-asserts/yarp/util/yp_strpbrk.c
make: *** No rule to make target '/yarp/version.h', needed by 'yarp/yarp.o'. Stop.
$$$[end] "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2\"" exit with 512.