Build Information
Failed to build RubyGateway, reference main (cb2d27), with Swift 6.0 for Linux on 4 Nov 2025 23:44:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cb2d279 Update CI to Xcode 26 (#62)
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 @):
cb2d27979cab7df1c7b7506ba2a27b953b2aed60
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $PWD
https://github.com/johnfairh/RubyGateway.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:046a2cda21bb64b2d09e6d52c84584e938ec1698de194871f3d7088597b2bb28
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby from cache (0.37s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (3.22s)
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_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
/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[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: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 ar[2/10] Compiling RubyGatewayHelpers rbg_protect.m
[2/10] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux