current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c /opt/hostedtoolcache/Ruby/2.4.1/x64/bin/ruby -r ./siteconf20220920-1751-lscnl2.rb extconf.rb checking for ffi.h... yes checking for ffi_prep_closure_loc() in -lffi... yes checking for ffi_prep_cif_var()... yes checking for ffi_raw_call()... yes checking for ffi_prep_raw_closure()... yes checking for whether -pthread is accepted as LDFLAGS... no creating extconf.h creating Makefile current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c make "DESTDIR=" clean current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c make "DESTDIR=" compiling AbstractMemory.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from AbstractMemory.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from AbstractMemory.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling ArrayType.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ArrayType.c:30: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ArrayType.c:30: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Buffer.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Buffer.c:34: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Buffer.c:34: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Call.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Call.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Call.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling ClosurePool.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ClosurePool.c:47: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ClosurePool.c:47: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling DynamicLibrary.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from DynamicLibrary.c:41: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from DynamicLibrary.c:41: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Function.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Function.c:42: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Function.c:42: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling FunctionInfo.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from FunctionInfo.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from FunctionInfo.c:40: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling LastError.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from LastError.c:39: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from LastError.c:39: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling LongDouble.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from LongDouble.h:33, from LongDouble.c:1: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from LongDouble.h:33, from LongDouble.c:1: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling MappedType.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MappedType.c:30: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MappedType.c:30: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling MemoryPointer.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MemoryPointer.c:34: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MemoryPointer.c:34: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling MethodHandle.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MethodHandle.c:43: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from MethodHandle.c:43: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Platform.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Platform.c:36: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Platform.c:36: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Pointer.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Pointer.c:33: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Pointer.c:33: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Struct.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Struct.c:37: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Struct.c:37: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling StructByValue.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from StructByValue.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from StructByValue.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling StructLayout.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from StructLayout.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from StructLayout.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Thread.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Thread.h:34, from Thread.c:44: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Thread.h:34, from Thread.c:44: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Type.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Type.c:35: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Type.c:35: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Types.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Types.c:32: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Types.c:32: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling Variadic.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Variadic.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from Variadic.c:38: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ compiling ffi.c In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ffi.c:33: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:631:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 631 | CONSTFUNC(void rb_secure_update(VALUE)); | ^~~~~~~~~ In file included from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/ruby.h:2005, from /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby.h:33, from ffi.c:33: /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:257:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 257 | CONSTFUNC(void rb_error_untrusted(VALUE)); | ^~~~~~~~~ /opt/hostedtoolcache/Ruby/2.4.1/x64/include/ruby-2.4.0/ruby/intern.h:259:1: warning: ‘const’ attribute on function returning ‘void’ [-Wattributes] 259 | CONSTFUNC(void rb_check_trusted(VALUE)); | ^~~~~~~~~ linking shared-object ffi_c.so current directory: /home/runner/work/ruby-sdk/ruby-sdk/vendor/bundle/ruby/2.4.0/gems/ffi-1.15.5/ext/ffi_c make "DESTDIR=" install /usr/bin/install -c -m 0755 ffi_c.so ./.gem.20220920-1751-qm4buv