Build Information
Failed to build RubyGateway, reference main (7f360a
), with Swift 6.0 for Linux on 29 Apr 2025 17:32:15 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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: 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 7f360a6 Update CI for Xcode 16.3 / Swift 6.1 (#61)
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 @):
7f360a6e125663443e964486d2b376acfb712fd1
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-4609320-0":/host -w "$PWD" 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:9029076bb687edc160a3d5201c89e92dd9fa7309f33f090c4234365c83366c31
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.18s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (1.87s)
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: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;
| ^~~~~~~~~~~~~~~
[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 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;
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:188:9: error: call to undeclared function 'rb_load'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
188 | rb_load(d->value, d->loadWrap);
| ^
/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_protect.m:191:22: error: call to undeclared function 'rb_intern'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
191 | rc = (VALUE) rb_intern(d->name);
| ^
[2/10] Compiling RubyGatewayHelpers rbg_protect.m
[2/10] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux