虚無庵

徒然なるままに

今日の ruby build 2023-10-01

今日のビルド

50756a1f085e3dc12dab27b22cbf60d4cabb027c までを pull ってきてビルド。エラー/警告ともになし。

  Files:       1039

  Classes:     1255 ( 313 undocumented)
  Modules:      238 (  87 undocumented)
  Constants:   1478 ( 734 undocumented)
  Attributes:  1473 ( 302 undocumented)
  Methods:    12431 (2425 undocumented)

  Total:      16875 (3861 undocumented)
   77.12% documented

  Elapsed: 30.4s

今日のテスト

昨日のテストのエラーは、リポジトリを新規に clone し直したら出なくなった((メンテナーのケビンに直接聞いたら clearing our your working directory should fix it. mutation_visitor doesn't exist anymore という回答だった))。

Finished tests in 620.344657s, 42.1427 tests/s, 9896.7146 assertions/s.                                                                                    
26143 tests, 6139374 assertions, 0 failures, 0 errors, 84 skips

ruby -v: ruby 3.3.0dev (2023-10-01T10:38:03Z master 50756a1f08) [x86_64-linux]

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

50756a1f085e3dc12dab27b22cbf60d4cabb027c までを pull ってきてビルド。

いつもながらに警告は出ている。

../ruby_parser.c: In function ‘syntax_error_append’:
../ruby_parser.c:117:5: warning: function ‘syntax_error_append’ might be a candidate for ‘gnu_printf’ format attribute [-Wsuggest-attribute=format]
  117 |     return rb_syntax_error_append(exc, file, line, column, (rb_encoding *)enc, fmt, args);
      |     ^~~~~~
../ruby_parser.c: In function ‘rb_parser_config_initialize’:
../ruby_parser.c:619:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  619 |     config->str_catf        = rb_str_catf;
      |                             ^
../ruby_parser.c:637:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  637 |     config->str_vcatf       = rb_str_vcatf;
      |                             ^
../ruby_parser.c:639:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  639 |     config->rb_sprintf      = rb_sprintf;
      |                             ^
../ruby_parser.c:726:19: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  726 |     config->raise = rb_raise;
      |                   ^
../ruby_parser.c:748:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  748 |     config->compile_warn    = rb_compile_warn;
      |                             ^
../ruby_parser.c:749:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  749 |     config->compile_warning = rb_compile_warning;
      |                             ^
../ruby_parser.c:750:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  750 |     config->bug             = rb_bug;
      |                             ^
../ruby_parser.c:751:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  751 |     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
  Files:       1039

  Classes:     1255 ( 313 undocumented)
  Modules:      238 (  87 undocumented)
  Constants:   1478 ( 734 undocumented)
  Attributes:  1473 ( 302 undocumented)
  Methods:    12431 (2425 undocumented)

  Total:      16875 (3861 undocumented)
   77.12% documented

  Elapsed: 32.1s

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

Finished tests in 655.160735s, 39.9032 tests/s, 9370.4700 assertions/s.                                                                              
26143 tests, 6139164 assertions, 0 failures, 0 errors, 84 skips

ruby -v: ruby 3.3.0dev (2023-10-01T10:38:03Z master 50756a1f08) [x86_64-linux]

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

50756a1f085e3dc12dab27b22cbf60d4cabb027c までを pull ってきてビルド。エラー/警告ともになし。

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

Finished tests in 633.044394s, 41.2973 tests/s, 9700.0812 assertions/s.                                                                       
26143 tests, 6140582 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-10-01T10:38:03Z master 50756a1f08) [x86_64-linux]

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

50756a1f085e3dc12dab27b22cbf60d4cabb027c までを pull ってきてビルド。エラー/警告ともになし。

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

Finished tests in 620.971656s, 42.1002 tests/s, 9880.4880 assertions/s.                                                                     
26143 tests, 6135503 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-10-01T10:38:03Z master 50756a1f08) [x86_64-linux]