虚無庵

徒然なるままに

今日の ruby build 2023-10-27

今日のビルド

9c5b084c0a7ff6e156b7f9d5789f80cd62a06af1 までを pull ってきてビルド。Prism で警告が出てる。

prism/util/pm_buffer.c: In function ‘pm_buffer_append_format’:
prism/util/pm_buffer.c:78:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   78 |     int result = vsnprintf(NULL, 0, format, arguments);
      |     ^~~
prism/util/pm_buffer.c:88:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   88 |     vsnprintf(buffer->value + cursor, length, format, arguments);
      |     ^~~~~~~~~
prism/util/pm_buffer.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
  Files:       1047

  Classes:     1260 ( 313 undocumented)
  Modules:      243 (  90 undocumented)
  Constants:   2429 ( 767 undocumented)
  Attributes:  1496 ( 306 undocumented)
  Methods:    12632 (2435 undocumented)

  Total:      18060 (3911 undocumented)
   78.34% documented

  Elapsed: 32.5s

今日のテスト

make test-all を実行。

Finished tests in 654.987677s, 40.1214 tests/s, 9508.3942 assertions/s.
26279 tests, 6227881 assertions, 0 failures, 0 errors, 85 skips

ruby -v: ruby 3.3.0dev (2023-10-27T08:01:44Z master 9c5b084c0a) [x86_64-linux]

今日のビルド(Universal Parser 有効化)

9c5b084c0a7ff6e156b7f9d5789f80cd62a06af1 までを pull ってきてビルド。

ruby_parser.c: In function ‘rb_parser_config_initialize’:
ruby_parser.c:721:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  721 |     config->compile_warn    = rb_compile_warn;
      |                             ^
ruby_parser.c:722:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  722 |     config->compile_warning = rb_compile_warning;
      |                             ^
ruby_parser.c:723:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  723 |     config->bug             = rb_bug;
      |                             ^
ruby_parser.c:724:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  724 |     config->fatal           = rb_fatal;
      |                             ^
ruby_parser.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
prism/util/pm_buffer.c: In function ‘pm_buffer_append_format’:
prism/util/pm_buffer.c:78:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   78 |     int result = vsnprintf(NULL, 0, format, arguments);
      |     ^~~
prism/util/pm_buffer.c:88:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   88 |     vsnprintf(buffer->value + cursor, length, format, arguments);
      |     ^~~~~~~~~
prism/util/pm_buffer.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
  Files:       1047

  Classes:     1260 ( 313 undocumented)
  Modules:      243 (  90 undocumented)
  Constants:   2429 ( 767 undocumented)
  Attributes:  1496 ( 306 undocumented)
  Methods:    12632 (2435 undocumented)

  Total:      18060 (3911 undocumented)
   78.34% documented

  Elapsed: 36.3s

今日のテスト(Universal Parser 有効化)

make test-all を実行。

Finished tests in 702.397877s, 37.4133 tests/s, 8866.2398 assertions/s.
26279 tests, 6227628 assertions, 0 failures, 0 errors, 84 skips

ruby -v: ruby 3.3.0dev (2023-10-27T08:01:44Z master 9c5b084c0a) [x86_64-linux]

今日のビルド(YJIT 有効化)

9c5b084c0a7ff6e156b7f9d5789f80cd62a06af1 までを pull ってきてビルド。

prism/util/pm_buffer.c: In function ‘pm_buffer_append_format’:
prism/util/pm_buffer.c:78:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   78 |     int result = vsnprintf(NULL, 0, format, arguments);
      |     ^~~
prism/util/pm_buffer.c:88:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   88 |     vsnprintf(buffer->value + cursor, length, format, arguments);
      |     ^~~~~~~~~
prism/util/pm_buffer.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

今日のテスト(YJIT 有効化)

make test-all を実行。

Leaked file descriptor: WebauthnListenerTest#test_wait_for_otp_code_options_request: 9 : #<TCPSocket:fd 9, AF_INET, 127.0.0.1, 35981>
COMMAND     PID   USER   FD   TYPE  DEVICE SIZE/OFF NODE NAME
ruby    1778625 jinroq    9u  IPv4 2023117      0t0  TCP localhost:35981->localhost:53828 (CLOSE_WAIT)
Closed file descriptor: WebauthnListenerTest#test_wait_for_otp_code_get_follows_options: 9
Finished tests in 666.555144s, 39.4251 tests/s, 9340.8281 assertions/s.
26279 tests, 6226177 assertions, 0 failures, 0 errors, 85 skips

ruby -v: ruby 3.3.0dev (2023-10-27T08:01:44Z master 9c5b084c0a) [x86_64-linux]

今日のビルド(RJIT 有効化)

9c5b084c0a7ff6e156b7f9d5789f80cd62a06af1 までを pull ってきてビルド。

prism/util/pm_buffer.c: In function ‘pm_buffer_append_format’:
prism/util/pm_buffer.c:78:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   78 |     int result = vsnprintf(NULL, 0, format, arguments);
      |     ^~~
prism/util/pm_buffer.c:88:5: warning: function ‘pm_buffer_append_format’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
   88 |     vsnprintf(buffer->value + cursor, length, format, arguments);
      |     ^~~~~~~~~
prism/util/pm_buffer.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

今日のテスト(RJIT 有効化)

make test-all を実行。

Finished tests in 639.892757s, 41.0678 tests/s, 9728.7849 assertions/s.
26279 tests, 6225379 assertions, 0 failures, 0 errors, 85 skips

ruby -v: ruby 3.3.0dev (2023-10-27T08:01:44Z master 9c5b084c0a) [x86_64-linux]