虚無庵

徒然なるままに

今日の ruby build 2023-10-14

今日のビルド

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

  Files:       1040

  Classes:     1256 ( 313 undocumented)
  Modules:      239 (  88 undocumented)
  Constants:   1480 ( 736 undocumented)
  Attributes:  1476 ( 303 undocumented)
  Methods:    12587 (2430 undocumented)

  Total:      17038 (3870 undocumented)
   77.29% documented

  Elapsed: 33.2s

今日のテスト

STDOUT.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_completion_proc : nil to #<Encoding:UTF-8>                     
STDERR.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_completion_proc : nil to #<Encoding:UTF-8>
[24279/26187] TestIO_M17N#test_stdout = 0.00 s                                                                                                             
  1) Failure:
TestIO_M17N#test_stdout [/home/jinroq/dev/ruby/workdir/ruby/test/ruby/test_io_m17n.rb:412]:
<nil> expected but was
<#<Encoding:UTF-8>>.

[24312/26187] TestIO_M17N#test_stderr = 0.00 s                                              
  2) Failure:
TestIO_M17N#test_stderr [/home/jinroq/dev/ruby/workdir/ruby/test/ruby/test_io_m17n.rb:417]:
<nil> expected but was
<#<Encoding:UTF-8>>.

Finished tests in 671.661184s, 38.9735 tests/s, 9239.5886 assertions/s.                                                                     
26177 tests, 6205873 assertions, 2 failures, 0 errors, 84 skips

ruby -v: ruby 3.3.0dev (2023-10-14T14:15:54Z master 8e477af1d4) [x86_64-linux]
make: *** [uncommon.mk:938: yes-test-all] エラー 2

…おや?

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

8e477af1d4ba5380a00c89078bd9661b213b42af までを 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:590:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  590 |     config->str_catf        = rb_str_catf;
      |                             ^
../ruby_parser.c:608:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  608 |     config->str_vcatf       = rb_str_vcatf;
      |                             ^
../ruby_parser.c:610:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  610 |     config->rb_sprintf      = rb_sprintf;
      |                             ^
../ruby_parser.c:698:19: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  698 |     config->raise = rb_raise;
      |                   ^
../ruby_parser.c:720:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  720 |     config->compile_warn    = rb_compile_warn;
      |                             ^
../ruby_parser.c:721:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  721 |     config->compile_warning = rb_compile_warning;
      |                             ^
../ruby_parser.c:722:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  722 |     config->bug             = rb_bug;
      |                             ^
../ruby_parser.c:723:29: warning: assignment left-hand side might be a candidate for a format attribute [-Wsuggest-attribute=format]
  723 |     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:       1040

  Classes:     1256 ( 313 undocumented)
  Modules:      239 (  88 undocumented)
  Constants:   1480 ( 736 undocumented)
  Attributes:  1476 ( 303 undocumented)
  Methods:    12587 (2430 undocumented)

  Total:      17038 (3870 undocumented)
   77.29% documented

  Elapsed: 33.4s

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

STDOUT.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_retrieve_completion_data : nil to #<Encoding:UTF-8>            
STDERR.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_retrieve_completion_data : nil to #<Encoding:UTF-8>
Finished tests in 704.816148s, 37.1402 tests/s, 8804.4038 assertions/s.                                                                   
26177 tests, 6205486 assertions, 0 failures, 0 errors, 87 skips

ruby -v: ruby 3.3.0dev (2023-10-14T14:15:54Z master 8e477af1d4) [x86_64-linux]

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

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

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

STDOUT.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_completion_proc : nil to #<Encoding:UTF-8>                   
STDERR.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_completion_proc : nil to #<Encoding:UTF-8>
[17969/26187] TestIO_M17N#test_stdout = 0.00 s                                                                                                       
  1) Failure:
TestIO_M17N#test_stdout [/home/jinroq/dev/ruby/workdir/yjit_ruby/test/ruby/test_io_m17n.rb:412]:
<nil> expected but was
<#<Encoding:UTF-8>>.

[18081/26187] TestIO_M17N#test_stderr = 0.00 s                                                       
  2) Failure:
TestIO_M17N#test_stderr [/home/jinroq/dev/ruby/workdir/yjit_ruby/test/ruby/test_io_m17n.rb:417]:
<nil> expected but was
<#<Encoding:UTF-8>>.

Finished tests in 681.183448s, 38.4287 tests/s, 9116.3240 assertions/s.                                                                                    
26177 tests, 6209889 assertions, 2 failures, 0 errors, 85 skips

ruby -v: ruby 3.3.0dev (2023-10-14T14:15:54Z master 8e477af1d4) [x86_64-linux]
make: *** [uncommon.mk:938: yes-test-all] エラー 2

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

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

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

STDOUT.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_retrieve_completion_data : nil to #<Encoding:UTF-8>            
STDERR.external_encoding changed: TestIRB::DeprecatedInputCompletorTest#test_retrieve_completion_data : nil to #<Encoding:UTF-8>
Finished tests in 660.626257s, 39.6245 tests/s, 9394.8446 assertions/s.                                                                  
26177 tests, 6206481 assertions, 0 failures, 0 errors, 86 skips

ruby -v: ruby 3.3.0dev (2023-10-14T14:15:54Z master 8e477af1d4) [x86_64-linux]