Build Information
Failed to build RubyGateway, reference v6.1.1 (7955a4
), with Swift 6.1 for Linux on 29 Apr 2025 17:32:35 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: v6.1.1
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/johnfairh/RubyGateway
* tag v6.1.1 -> FETCH_HEAD
HEAD is now at 7955a45 Version 6.1.1
Submodule path 'CRuby': checked out '6cdfc7db30f8fc7a27199a1b6b829e42e67bb5c7'
Submodule 'CRuby' (https://github.com/johnfairh/CRuby.git) registered for path 'CRuby'
Cloning into '/host/spi-builder-workspace/CRuby'...
Cloned https://github.com/johnfairh/RubyGateway.git
Revision (git rev-parse @):
7955a459712adb58aad622843c781946097b2e91
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at v6.1.1
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/johnfairh/RubyGateway.git
https://github.com/johnfairh/RubyGateway.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "cruby",
"requirement" : {
"range" : [
{
"lower_bound" : "2.1.0",
"upper_bound" : "3.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/johnfairh/CRuby"
}
],
"manifest_display_name" : "RubyGateway",
"name" : "RubyGateway",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "RubyGateway",
"targets" : [
"RubyGateway",
"RubyGatewayHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RubyThreadSample",
"targets" : [
"RubyThreadSample"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "RubyThreadSample",
"module_type" : "SwiftTarget",
"name" : "RubyThreadSample",
"path" : "Sources/RubyThreadSample",
"product_memberships" : [
"RubyThreadSample"
],
"sources" : [
"RubyExecutor.swift",
"main.swift"
],
"target_dependencies" : [
"RubyGateway"
],
"type" : "executable"
},
{
"c99name" : "RubyGatewayTests",
"module_type" : "SwiftTarget",
"name" : "RubyGatewayTests",
"path" : "Tests/RubyGatewayTests",
"sources" : [
"Helpers.swift",
"TestArrays.swift",
"TestCallable.swift",
"TestClassDef.swift",
"TestCollection.swift",
"TestComplex.swift",
"TestConstants.swift",
"TestDemo.swift",
"TestDictionaries.swift",
"TestDynamic.swift",
"TestErrors.swift",
"TestFailable.swift",
"TestGlobalVars.swift",
"TestMethods.swift",
"TestMiscObjTypes.swift",
"TestNumerics.swift",
"TestObjMethods.swift",
"TestOperators.swift",
"TestProcs.swift",
"TestRanges.swift",
"TestRational.swift",
"TestRbObject.swift",
"TestSets.swift",
"TestStrings.swift",
"TestThreads.swift",
"TestVM.swift",
"TestVars.swift"
],
"target_dependencies" : [
"RubyGateway"
],
"type" : "test"
},
{
"c99name" : "RubyGatewayHelpers",
"module_type" : "ClangTarget",
"name" : "RubyGatewayHelpers",
"path" : "Sources/RubyGatewayHelpers",
"product_dependencies" : [
"CRuby"
],
"product_memberships" : [
"RubyGateway",
"RubyThreadSample"
],
"sources" : [
"rbg_macros.m",
"rbg_protect.m",
"rbg_value.m"
],
"type" : "library"
},
{
"c99name" : "RubyGateway",
"module_type" : "SwiftTarget",
"name" : "RubyGateway",
"path" : "Sources/RubyGateway",
"product_dependencies" : [
"CRuby"
],
"product_memberships" : [
"RubyGateway",
"RubyThreadSample"
],
"sources" : [
"CRubyMacros.swift",
"Lock.swift",
"RbBlockCall.swift",
"RbClass.swift",
"RbComplex.swift",
"RbConversions.swift",
"RbError.swift",
"RbFailableAccess.swift",
"RbGateway.swift",
"RbGlobalVar.swift",
"RbMethod.swift",
"RbNumericConversions.swift",
"RbObject.swift",
"RbObjectAccess.swift",
"RbObjectCollection.swift",
"RbOperators.swift",
"RbProc.swift",
"RbRational.swift",
"RbSymbol.swift",
"RbThread.swift",
"RbVM.swift",
"String+RubyGateway.swift"
],
"target_dependencies" : [
"RubyGatewayHelpers"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby from cache (0.31s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (3.03s)
Creating working copy for https://github.com/johnfairh/CRuby
Working copy of https://github.com/johnfairh/CRuby resolved at 2.1.0
Building for debugging...
[0/10] Write sources
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:18:12: error: call to undeclared function 'RSTRING_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
18 | return RSTRING_LEN(v);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:23:12: error: call to undeclared function 'RSTRING_PTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
23 | return RSTRING_PTR(v);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:23:12: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const char * _Nonnull' [-Wint-conversion]
23 | return RSTRING_PTR(v);
| ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: error: use of undeclared identifier 'ruby_version'; did you mean 'rbg_ruby_version'?
30 | return ruby_version;
| ^~~~~~~~~~~~
| rbg_ruby_version
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:28:13: note: 'rbg_ruby_version' declared here
28 | const char *rbg_ruby_version(void)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: warning: incompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types]
30 | return ruby_version;
| ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: error: use of undeclared identifier 'ruby_description'; did you mean 'rbg_ruby_description'?
35 | return ruby_description;
| ^~~~~~~~~~~~~~~~
| rbg_ruby_description
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:33:13: note: 'rbg_ruby_description' declared here
33 | const char *rbg_ruby_description(void)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: warning: incompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types]
35 | return ruby_description;
| ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:39:1: error: unknown type name 'rb_unblock_function_t'; did you mean 'rbg_unblock_function_t'?
39 | rb_unblock_function_t * _Nonnull rbg_RUBY_UBF_IO(void)
| ^~~~~~~~~~~~~~~~~~~~~
| rbg_unblock_function_t
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/include/rbg_helpers.h:198:14: note: 'rbg_unblock_function_t' declared here
198 | typedef void rbg_unblock_function_t(void * _Nullable);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:41:12: error: use of undeclared identifier 'RUBY_UBF_IO'
41 | return RUBY_UBF_IO;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: error: call to undeclared function 'rb_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
48 | int rbg_type(VALUE v) { return rb_type(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: note: did you mean 'rbg_type'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:5: note: 'rbg_type' declared here
48 | int rbg_type(VALUE v) { return rb_type(v); }
| ^ ~~~~~~~
| rbg_type
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:49:31: error: use of undeclared identifier 'RUBY_Qfalse'
49 | int rbg_qfalse(void) { return RUBY_Qfalse; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:50:30: error: use of undeclared identifier 'RUBY_Qtrue'
50 | int rbg_qtrue(void) { return RUBY_Qtrue; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:51:30: error: use of undeclared identifier 'RUBY_Qnil'
51 | int rbg_qnil(void) { return RUBY_Qnil; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:52:31: error: use of undeclared identifier 'RUBY_Qundef'
52 | int rbg_qundef(void) { return RUBY_Qundef; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:55:35: error: call to undeclared function 'RB_TEST'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
55 | int rbg_RB_TEST(VALUE v) { return RB_TEST(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:56:36: error: call to undeclared function 'RB_NIL_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
56 | int rbg_RB_NIL_P(VALUE v) { return RB_NIL_P(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: error: use of undeclared identifier 'RUBY_INIT_STACK'; did you mean 'rbg_RUBY_INIT_STACK'?
60 | RUBY_INIT_STACK;
| ^~~~~~~~~~~~~~~
| rbg_RUBY_INIT_STACK
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:59:6: note: 'rbg_RUBY_INIT_STACK' declared here
59 | void rbg_RUBY_INIT_STACK(void) {
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: warning: expression result unused [-Wunused-value]
60 | RUBY_INIT_STACK;
| ^~~~~~~~~~~~~~~
3 warnings and 16 errors generated.
[2/10] Compiling RubyGatewayHelpers rbg_macros.m
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:144:12: error: call to undeclared function 'rb_funcallv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
144 | return rb_funcallv(recv, mid, argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:144:12: note: did you mean 'rb_funcallv_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:142:14: note: 'rb_funcallv_kw' declared here
142 | static VALUE rb_funcallv_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)
| ^
143 | {
144 | return rb_funcallv(recv, mid, argc, argv);
| ~~~~~~~~~~~
| rb_funcallv_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:147:80: error: unknown type name 'rb_block_call_func_t'
147 | static VALUE rb_block_call_kw(VALUE obj, ID mid, int argc, const VALUE * argv, rb_block_call_func_t bl_proc, VALUE data2, int kw_splat)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:149:12: error: call to undeclared function 'rb_block_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
149 | return rb_block_call(obj, mid, argc, argv, bl_proc, data2);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:149:12: note: did you mean 'rb_block_call_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:147:14: note: 'rb_block_call_kw' declared here
147 | static VALUE rb_block_call_kw(VALUE obj, ID mid, int argc, const VALUE * argv, rb_block_call_func_t bl_proc, VALUE data2, int kw_splat)
| ^
148 | {
149 | return rb_block_call(obj, mid, argc, argv, bl_proc, data2);
| ~~~~~~~~~~~~~
| rb_block_call_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:154:12: error: call to undeclared function 'rb_call_super'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
154 | return rb_call_super(argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:154:12: note: did you mean 'rb_call_super_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:152:14: note: 'rb_call_super_kw' declared here
152 | static VALUE rb_call_super_kw(int argc, const VALUE * argv, int kw_splat)
| ^
153 | {
154 | return rb_call_super(argc, argv);
| ~~~~~~~~~~~~~
| rb_call_super_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:159:12: error: call to undeclared function 'rb_yield_values2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
159 | return rb_yield_values2(argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:159:12: note: did you mean 'rbg_yield_values'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/include/rbg_helpers.h:52:7: note: 'rbg_yield_values' declared here
52 | VALUE rbg_yield_values(int argc,
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:164[2/10] Compiling RubyGatewayHelpers rbg_protect.m
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
35 | Rbg_value *box = malloc(sizeof(*box));
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:36:16: error: use of undeclared identifier 'NULL'
36 | if (box == NULL)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: error: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
40 | abort();
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:47:10: error: call to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
47 | if (!RB_SPECIAL_CONST_P(value))
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: note: expanded from macro 'RB_SPECIAL_CONST_P'
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:49:9: error: call to undeclared function 'rb_gc_register_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
49 | rb_gc_register_address(&box->value);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:61:10: error: call to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
61 | if (!RB_SPECIAL_CONST_P(box->value))
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: note: expanded from macro 'RB_SPECIAL_CONST_P'
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:63:9: error: call to undeclared function 'rb_gc_unregister_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
63 | rb_gc_unregister_address(&box->value);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:65:18: error: use of undeclared identifier 'Qundef'
65 | box->value = Qundef;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
66 | free(box);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
10 errors generated.
[2/10] Compiling RubyGatewayHelpers rbg_value.m
[2/10] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:18:12: error: call to undeclared function 'RSTRING_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
18 | return RSTRING_LEN(v);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:23:12: error: call to undeclared function 'RSTRING_PTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
23 | return RSTRING_PTR(v);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:23:12: error: incompatible integer to pointer conversion returning 'int' from a function with result type 'const char * _Nonnull' [-Wint-conversion]
23 | return RSTRING_PTR(v);
| ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: error: use of undeclared identifier 'ruby_version'; did you mean 'rbg_ruby_version'?
30 | return ruby_version;
| ^~~~~~~~~~~~
| rbg_ruby_version
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:28:13: note: 'rbg_ruby_version' declared here
28 | const char *rbg_ruby_version(void)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: warning: incompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types]
30 | return ruby_version;
| ^~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: error: use of undeclared identifier 'ruby_description'; did you mean 'rbg_ruby_description'?
35 | return ruby_description;
| ^~~~~~~~~~~~~~~~
| rbg_ruby_description
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:33:13: note: 'rbg_ruby_description' declared here
33 | const char *rbg_ruby_description(void)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: warning: incompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types]
35 | return ruby_description;
| ^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:39:1: error: unknown type name 'rb_unblock_function_t'; did you mean 'rbg_unblock_function_t'?
39 | rb_unblock_function_t * _Nonnull rbg_RUBY_UBF_IO(void)
| ^~~~~~~~~~~~~~~~~~~~~
| rbg_unblock_function_t
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/include/rbg_helpers.h:198:14: note: 'rbg_unblock_function_t' declared here
198 | typedef void rbg_unblock_function_t(void * _Nullable);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:41:12: error: use of undeclared identifier 'RUBY_UBF_IO'
41 | return RUBY_UBF_IO;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: error: call to undeclared function 'rb_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
48 | int rbg_type(VALUE v) { return rb_type(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: note: did you mean 'rbg_type'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:5: note: 'rbg_type' declared here
48 | int rbg_type(VALUE v) { return rb_type(v); }
| ^ ~~~~~~~
| rbg_type
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:49:31: error: use of undeclared identifier 'RUBY_Qfalse'
49 | int rbg_qfalse(void) { return RUBY_Qfalse; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:50:30: error: use of undeclared identifier 'RUBY_Qtrue'
50 | int rbg_qtrue(void) { return RUBY_Qtrue; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:51:30: error: use of undeclared identifier 'RUBY_Qnil'
51 | int rbg_qnil(void) { return RUBY_Qnil; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:52:31: error: use of undeclared identifier 'RUBY_Qundef'
52 | int rbg_qundef(void) { return RUBY_Qundef; }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:55:35: error: call to undeclared function 'RB_TEST'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
55 | int rbg_RB_TEST(VALUE v) { return RB_TEST(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:56:36: error: call to undeclared function 'RB_NIL_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
56 | int rbg_RB_NIL_P(VALUE v) { return RB_NIL_P(v); }
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: error: use of undeclared identifier 'RUBY_INIT_STACK'; did you mean 'rbg_RUBY_INIT_STACK'?
60 | RUBY_INIT_STACK;
| ^~~~~~~~~~~~~~~
| rbg_RUBY_INIT_STACK
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:59:6: note: 'rbg_RUBY_INIT_STACK' declared here
59 | void rbg_RUBY_INIT_STACK(void) {
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: warning: expression result unused [-Wunused-value]
60 | RUBY_INIT_STACK;
| ^~~~~~~~~~~~~~~
3 warnings and 16 errors generated.
[0/8] Compiling RubyGatewayHelpers rbg_macros.m
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:144:12: error: call to undeclared function 'rb_funcallv'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
144 | return rb_funcallv(recv, mid, argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:144:12: note: did you mean 'rb_funcallv_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:142:14: note: 'rb_funcallv_kw' declared here
142 | static VALUE rb_funcallv_kw(VALUE recv, ID mid, int argc, const VALUE *argv, int kw_splat)
| ^
143 | {
144 | return rb_funcallv(recv, mid, argc, argv);
| ~~~~~~~~~~~
| rb_funcallv_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:147:80: error: unknown type name 'rb_block_call_func_t'
147 | static VALUE rb_block_call_kw(VALUE obj, ID mid, int argc, const VALUE * argv, rb_block_call_func_t bl_proc, VALUE data2, int kw_splat)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:149:12: error: call to undeclared function 'rb_block_call'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
149 | return rb_block_call(obj, mid, argc, argv, bl_proc, data2);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:149:12: note: did you mean 'rb_block_call_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:147:14: note: 'rb_block_call_kw' declared here
147 | static VALUE rb_block_call_kw(VALUE obj, ID mid, int argc, const VALUE * argv, rb_block_call_func_t bl_proc, VALUE data2, int kw_splat)
| ^
148 | {
149 | return rb_block_call(obj, mid, argc, argv, bl_proc, data2);
| ~~~~~~~~~~~~~
| rb_block_call_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:154:12: error: call to undeclared function 'rb_call_super'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
154 | return rb_call_super(argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:154:12: note: did you mean 'rb_call_super_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:152:14: note: 'rb_call_super_kw' declared here
152 | static VALUE rb_call_super_kw(int argc, const VALUE * argv, int kw_splat)
| ^
153 | {
154 | return rb_call_super(argc, argv);
| ~~~~~~~~~~~~~
| rb_call_super_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:159:12: error: call to undeclared function 'rb_yield_values2'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
159 | return rb_yield_values2(argc, argv);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:159:12: note: did you mean 'rbg_yield_values'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/include/rbg_helpers.h:52:7: note: 'rbg_yield_values' declared here
52 | VALUE rbg_yield_values(int argc,
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:164:12: error: call to undeclared function 'rb_proc_call_with_block'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
164 | return rb_proc_call_with_block(self, argc, argv, passed_procval);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:164:12: note: did you mean 'rb_proc_call_with_block_kw'?
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:162:14: note: 'rb_proc_call_with_block_kw' declared here
162 | static VALUE rb_proc_call_with_block_kw(VALUE self, int argc, const VALUE *argv, VALUE passed_procval, int kw_splat)
| ^
163 | {
164 | return rb_proc_call_with_block(self, argc, argv, passed_procval);
| ~~~~~~~~~~~~~~~~~~~~~~~
| rb_proc_call_with_block_kw
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:183:16: error: use of undeclared identifier 'Qundef'
183 | VALUE rc = Qundef;
| ^
[0/8] Compiling RubyGatewayHelpers rbg_protect.m
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:1: error: use of '@import' when modules are disabled
8 | @import CRuby;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: error: call to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
35 | Rbg_value *box = malloc(sizeof(*box));
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: note: include the header <stdlib.h> or explicitly provide a declaration for 'malloc'
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:36:16: error: use of undeclared identifier 'NULL'
36 | if (box == NULL)
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: error: call to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
40 | abort();
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: note: include the header <stdlib.h> or explicitly provide a declaration for 'abort'
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:47:10: error: call to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
47 | if (!RB_SPECIAL_CONST_P(value))
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: note: expanded from macro 'RB_SPECIAL_CONST_P'
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:49:9: error: call to undeclared function 'rb_gc_register_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
49 | rb_gc_register_address(&box->value);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:61:10: error: call to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
61 | if (!RB_SPECIAL_CONST_P(box->value))
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: note: expanded from macro 'RB_SPECIAL_CONST_P'
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:63:9: error: call to undeclared function 'rb_gc_unregister_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
63 | rb_gc_unregister_address(&box->value);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:65:18: error: use of undeclared identifier 'Qundef'
65 | box->value = Qundef;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: error: call to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
66 | free(box);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: note: include the header <stdlib.h> or explicitly provide a declaration for 'free'
10 errors generated.
[0/8] Compiling RubyGatewayHelpers rbg_value.m
[0/8] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux