| "git clone --depth 1 https://github.com/ruby/ruby.git trunk-asserts-nopara" exit with 0. |
| Cloning into 'trunk-asserts-nopara'... |
| Updating files: 92% (11237/12180) |
| "./autogen.sh" exit with 0. |
| "autoconf" exit with 0. |
| "/tmp/ruby/src/trunk-asserts-nopara/configure --prefix=/tmp/ruby/install/trunk-asserts-nopara --disable-install-doc --enable-shared" exit with 0. |
| configure: WARNING: something wrong with CXXFLAGS="" |
| "make update-download DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| Cloning into '/tmp/ruby/src/trunk-asserts-nopara/gems/src/power_assert'... |
| From https://github.com/ruby/power_assert |
| * branch 84e85124c5014a139af39161d484156cfe87a9ed -> FETCH_HEAD |
| HEAD is now at 84e8512 Merge pull request #48 from casperisfine/frozen-string-literals |
| Cloning into '/tmp/ruby/src/trunk-asserts-nopara/gems/src/rbs'... |
| From https://github.com/ruby/rbs |
| * branch ba7872795d5de04adb8ff500c0e6afdc81a041dd -> FETCH_HEAD |
| HEAD is now at ba787279 Make the test suite compatible with `--enable-frozen-string-literal` |
| Cloning into '/tmp/ruby/src/trunk-asserts-nopara/gems/src/typeprof'... |
| From https://github.com/ruby/typeprof |
| * branch b19a6416da3a05d57fadd6ffdadb382b6d236ca5 -> FETCH_HEAD |
| HEAD is now at b19a641 Add support for future `putchilledstring` instruction |
| "make update-src DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make after-update DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| + cp /tmp/ruby/src/trunk-asserts-nopara/enc/jis/props.h.blt /tmp/ruby/src/trunk-asserts-nopara/enc/jis/props.h |
| "make miniruby DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make ruby DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make all DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| /tmp/ruby/src/trunk-asserts-nopara/ext/-test-/integer/my_integer.c: In function 'my_integer_s_new': |
| /tmp/ruby/src/trunk-asserts-nopara/ext/-test-/integer/my_integer.c:6:5: warning: 'rb_data_object_wrap_warning' is deprecated: by TypedData [-Wdeprecated-declarations] |
| 6 | return Data_Wrap_Struct(klass, 0, 0, 0); |
| | ^~~~~~ |
| In file included from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core.h:27, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/ruby.h:29, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby.h:38, |
| from /tmp/ruby/src/trunk-asserts-nopara/ext/-test-/integer/my_integer.c:1: |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:293:1: note: declared here |
| 293 | rb_data_object_wrap_warning(VALUE klass, void *ptr, RUBY_DATA_FUNC mark, RUBY_DATA_FUNC free) |
| | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:361:31: warning: call to 'rb_data_object_wrap_warning.constprop' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 361 | #define rb_data_object_wrap_1 rb_data_object_wrap_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_wrap_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:49: note: in expansion of macro 'rb_data_object_wrap_2' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:199:5: note: in expansion of macro 'rb_data_object_wrap' |
| 199 | rb_data_object_wrap( \ |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/ext/-test-/integer/my_integer.c:6:12: note: in expansion of macro 'Data_Wrap_Struct' |
| 6 | return Data_Wrap_Struct(klass, 0, 0, 0); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/ext/-test-/integer/my_integer.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| In file included from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core.h:27, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/ruby.h:29, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby.h:38, |
| from /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:1: |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c: In function 'sws_wrap_struct': |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:361:31: warning: call to 'rb_data_object_wrap_warning.constprop' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 361 | #define rb_data_object_wrap_1 rb_data_object_wrap_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_wrap_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:49: note: in expansion of macro 'rb_data_object_wrap_2' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:199:5: note: in expansion of macro 'rb_data_object_wrap' |
| 199 | rb_data_object_wrap( \ |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:37:10: note: in expansion of macro 'Data_Wrap_Struct' |
| 37 | return Data_Wrap_Struct(rb_cObject, &sample_wrapped_struct_mark, &sample_wrapped_struct_free, bar); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c: In function 'sdaf_alloc_func': |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:361:31: warning: call to 'rb_data_object_wrap_warning.constprop' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 361 | #define rb_data_object_wrap_1 rb_data_object_wrap_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_wrap_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:49: note: in expansion of macro 'rb_data_object_wrap_2' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:199:5: note: in expansion of macro 'rb_data_object_wrap' |
| 199 | rb_data_object_wrap( \ |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:24:10: note: in expansion of macro 'Data_Wrap_Struct' |
| 24 | return Data_Wrap_Struct(klass, &sample_wrapped_struct_mark, &sample_wrapped_struct_free, bar); |
| | ^~~~~~~~~~~~~~~~ |
| In file included from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/assume.h:29, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/backward/2/assume.h:24, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/defines.h:72, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/ruby.h:25, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby.h:38, |
| from /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:1: |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c: In function 'sdaf_get_struct': |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:365:31: warning: call to 'rb_data_object_get_warning' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 365 | #define rb_data_object_get_1 rb_data_object_get_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/cast.h:31:29: note: in definition of macro 'RBIMPL_CAST' |
| 31 | # define RBIMPL_CAST(expr) (expr) |
| | ^~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_get_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:367:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 367 | #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:367:49: note: in expansion of macro 'rb_data_object_get_2' |
| 367 | #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:275:34: note: in expansion of macro 'rb_data_object_get' |
| 275 | ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) |
| | ^~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:29:3: note: in expansion of macro 'Data_Get_Struct' |
| 29 | Data_Get_Struct(self, struct sample_wrapped_struct, bar); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c: In function 'sws_get_struct': |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:365:31: warning: call to 'rb_data_object_get_warning' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 365 | #define rb_data_object_get_1 rb_data_object_get_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/cast.h:31:29: note: in definition of macro 'RBIMPL_CAST' |
| 31 | # define RBIMPL_CAST(expr) (expr) |
| | ^~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_get_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:367:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 367 | #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:367:49: note: in expansion of macro 'rb_data_object_get_2' |
| 367 | #define rb_data_object_get RUBY_MACRO_SELECT(rb_data_object_get_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:275:34: note: in expansion of macro 'rb_data_object_get' |
| 275 | ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj))) |
| | ^~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c:42:3: note: in expansion of macro 'Data_Get_Struct' |
| 42 | Data_Get_Struct(obj, struct sample_wrapped_struct, bar); |
| | ^~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/data_spec.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| In file included from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core.h:27, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby/ruby.h:29, |
| from /tmp/ruby/src/trunk-asserts-nopara/include/ruby.h:38, |
| from /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/typed_data_spec.c:1: |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/typed_data_spec.c: In function 'sws_untyped_wrap_struct': |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:361:31: warning: call to 'rb_data_object_wrap_warning.constprop' declared with attribute warning: untyped Data is unsafe; use TypedData instead [-Wattribute-warning] |
| 361 | #define rb_data_object_wrap_1 rb_data_object_wrap_warning |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:49:35: note: in expansion of macro 'rb_data_object_wrap_1' |
| 49 | #define RBIMPL_MACRO_SELECT(x, y) x ## y |
| | ^ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:50:35: note: in expansion of macro 'RBIMPL_MACRO_SELECT' |
| 50 | #define RUBY_MACRO_SELECT(x, y) RBIMPL_MACRO_SELECT(x, y) |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:31: note: in expansion of macro 'RUBY_MACRO_SELECT' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:363:49: note: in expansion of macro 'rb_data_object_wrap_2' |
| 363 | #define rb_data_object_wrap RUBY_MACRO_SELECT(rb_data_object_wrap_2, RUBY_UNTYPED_DATA_WARNING) |
| | ^~~~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/include/ruby/internal/core/rdata.h:199:5: note: in expansion of macro 'rb_data_object_wrap' |
| 199 | rb_data_object_wrap( \ |
| | ^~~~~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/typed_data_spec.c:112:10: note: in expansion of macro 'Data_Wrap_Struct' |
| 112 | return Data_Wrap_Struct(rb_cObject, NULL, free, data); |
| | ^~~~~~~~~~~~~~~~ |
| /tmp/ruby/src/trunk-asserts-nopara/spec/ruby/optional/capi/ext/typed_data_spec.c: At top level: |
| cc1: note: unrecognized command-line option '-Wno-self-assign' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-parentheses-equality' may have been intended to silence earlier diagnostics |
| cc1: note: unrecognized command-line option '-Wno-constant-logical-operand' may have been intended to silence earlier diagnostics |
| "make install DEFS=\"-DRGENGC_CHECK_MODE=2 -DRUBY_DEBUG=1 -fno-inline\"" exit with 0. |
| "make yes-btest TESTOPTS='-q '" exit with 512. |
| FF#288 test_gc.rb:19: |
| a = [] |
| ms = "a".."k" |
| ("A".."Z").each do |mod| |
| mod = eval("module #{mod}; self; end") |
| ms.each do |meth| |
| GC.stress = true |
| mod.module_eval {define_method(meth) {}} |
| GC.stress = false |
| end |
| o = Object.new.extend(mod) |
| ms.each do |meth| |
| o.send(meth) |
| end |
| end |
| #=> killed by SIGKILL (signal 9) (timeout) [ruby-dev:39453] |
| #1325 test_ractor.rb:1562: |
| workers = (0...8).map do |
| Ractor.new do |
| loop do |
| 10_000.times.map { Object.new } |
| Ractor.yield Time.now |
| end |
| end |
| end |
| |
| 1_000.times { idle_worker, tmp_reporter = Ractor.select(*workers) } |
| "ok" |
| #=> nil (expected "ok") |
| FAIL 2/1940 tests failed |
| make: *** [uncommon.mk:897: yes-btest] Error 1 |
| "make yes-test-basic " exit with 0. |
| "make yes-test-all TESTOPTS='--stderr-on-failure' " exit with 0. |
| "make yes-test-rubyspec MSPECOPT='--error-output stderr --debug ' " exit with 0. |