Build Information
Failed to build RubyGateway, reference v6.2.0 (1c4cc5), with Swift 6.4 for Linux on 10 Oct 2026 11:18:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/johnfairh/RubyGateway.git
Reference: v6.2.0
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.2.0 -> FETCH_HEAD
HEAD is now at 1c4cc50 Version 6.2.0
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 @):
1c4cc50c7df32ec42969918502574eb1d4d7a8e6
SUCCESS checkout https://github.com/johnfairh/RubyGateway.git at v6.2.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/johnfairh/RubyGateway.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:cb09f0c0d537a8668f02529c380785d189fc75032d54572211355a09e050e122
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby (0.46s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (1.35s)
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...
[Pre-planning 1 / 127]
[1 / 40]
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:8:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
8 | @import CRuby;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: [0m[0;1;31merror: [0m[1mcall to undeclared library function 'malloc' with type 'void *(unsigned long)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
35 | Rbg_value *box = malloc([0;34msizeof[0m(*box));[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:35:22: [0m[0;1;36mnote: [0minclude the header <stdlib.h> or explicitly provide a declaration for 'malloc'[0m
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:36:16: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'NULL'[0m
36 | [0;34mif[0m (box == NULL)[0m
| [0;1;32m ^~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: [0m[0;1;31merror: [0m[1mcall to undeclared library function 'abort' with type 'void (void) __attribute__((noreturn))'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
40 | abort();[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:40:9: [0m[0;1;36mnote: [0minclude the header <stdlib.h> or explicitly provide a declaration for 'abort'[0m
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:47:10: [0m[0;1;31merror: [0m[1mcall to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
47 | [0;34mif[0m (!RB_SPECIAL_CONST_P(value))[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: [0m[0;1;36mnote: [0mexpanded from macro 'RB_SPECIAL_CONST_P'[0m
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:49:9: [0m[0;1;31merror: [0m[1mcall to undeclared function 'rb_gc_register_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
49 | rb_gc_register_address(&box->value);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:61:10: [0m[0;1;31merror: [0m[1mcall to undeclared function 'SPECIAL_CONST_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
61 | [0;34mif[0m (!RB_SPECIAL_CONST_P(box->value))[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:14:28: [0m[0;1;36mnote: [0mexpanded from macro 'RB_SPECIAL_CONST_P'[0m
14 | #define RB_SPECIAL_CONST_P SPECIAL_CONST_P[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:63:9: [0m[0;1;31merror: [0m[1mcall to undeclared function 'rb_gc_unregister_address'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
63 | rb_gc_unregister_address(&box->value);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:65:18: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'Qundef'[0m
65 | box->value = Qundef;[0m
| [0;1;32m ^~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: [0m[0;1;31merror: [0m[1mcall to undeclared library function 'free' with type 'void (void *)'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
66 | free(box);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m:66:5: [0m[0;1;36mnote: [0minclude the header <stdlib.h> or explicitly provide a declaration for 'free'[0m
10 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_value.o /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_value.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_value.dia -c /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_value.o
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:8:1: [0m[0;1;31merror: [0m[1muse of '@import' when modules are disabled[0m
8 | @import CRuby;[0m
| [0;1;32m^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:18:12: [0m[0;1;31merror: [0m[1mcall to undeclared function 'RSTRING_LEN'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
18 | [0;34mreturn[0m RSTRING_LEN(v);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:23:12: [0m[0;1;31merror: [0m[1mcall to undeclared function 'RSTRING_PTR'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
23 | [0;34mreturn[0m RSTRING_PTR(v);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'ruby_version'; did you mean 'rbg_ruby_version'?[0m
30 | [0;34mreturn[0m ruby_version;[0m
| [0;1;32m ^~~~~~~~~~~~
[0m | [0;32m rbg_ruby_version
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:28:13: [0m[0;1;36mnote: [0m'rbg_ruby_version' declared here[0m
28 | [0;34mconst[0m [0;34mchar[0m *rbg_ruby_version([0;34mvoid[0m)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:30:12: [0m[0;1;35mwarning: [0m[1mincompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types][0m
30 | [0;34mreturn[0m ruby_version;[0m
| [0;1;32m ^~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'ruby_description'; did you mean 'rbg_ruby_description'?[0m
35 | [0;34mreturn[0m ruby_description;[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m | [0;32m rbg_ruby_description
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:33:13: [0m[0;1;36mnote: [0m'rbg_ruby_description' declared here[0m
33 | [0;34mconst[0m [0;34mchar[0m *rbg_ruby_description([0;34mvoid[0m)[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:35:12: [0m[0;1;35mwarning: [0m[1mincompatible pointer types returning 'const char * _Nonnull (void)' from a function with result type 'const char * _Nonnull' [-Wincompatible-pointer-types][0m
35 | [0;34mreturn[0m ruby_description;[0m
| [0;1;32m ^~~~~~~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:39:1: [0m[0;1;31merror: [0m[1munknown type name 'rb_unblock_function_t'; did you mean 'rbg_unblock_function_t'?[0m
39 | rb_unblock_function_t * [0;34m_Nonnull[0m rbg_RUBY_UBF_IO([0;34mvoid[0m)[0m
| [0;1;32m^~~~~~~~~~~~~~~~~~~~~
[0m | [0;32mrbg_unblock_function_t
[0mIn file included from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:9:
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/include/rbg_helpers.h:198:14: [0m[0;1;36mnote: [0m'rbg_unblock_function_t' declared here[0m
198 | [0;34mtypedef[0m [0;34mvoid[0m rbg_unblock_function_t([0;34mvoid[0m * [0;34m_Nullable[0m);[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:41:12: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_UBF_IO'[0m
41 | [0;34mreturn[0m RUBY_UBF_IO;[0m
| [0;1;32m ^~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: [0m[0;1;31merror: [0m[1mcall to undeclared function 'rb_type'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
48 | [0;34mint[0m rbg_type(VALUE v) { [0;34mreturn[0m rb_type(v); }[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:32: [0m[0;1;36mnote: [0mdid you mean 'rbg_type'?[0m
[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:48:5: [0m[0;1;36mnote: [0m'rbg_type' declared here[0m
48 | [0;34mint[0m rbg_type(VALUE v) { [0;34mreturn[0m rb_type(v); }[0m
| [0;1;32m ^ ~~~~~~~
[0m | [0;32m rbg_type
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:49:31: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_Qfalse'[0m
49 | [0;34mint[0m rbg_qfalse([0;34mvoid[0m) { [0;34mreturn[0m RUBY_Qfalse; }[0m
| [0;1;32m ^~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:50:30: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_Qtrue'[0m
50 | [0;34mint[0m rbg_qtrue([0;34mvoid[0m) { [0;34mreturn[0m RUBY_Qtrue; }[0m
| [0;1;32m ^~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:51:30: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_Qnil'[0m
51 | [0;34mint[0m rbg_qnil([0;34mvoid[0m) { [0;34mreturn[0m RUBY_Qnil; }[0m
| [0;1;32m ^~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:52:31: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_Qundef'[0m
52 | [0;34mint[0m rbg_qundef([0;34mvoid[0m) { [0;34mreturn[0m RUBY_Qundef; }[0m
| [0;1;32m ^~~~~~~~~~~
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:55:35: [0m[0;1;31merror: [0m[1mcall to undeclared function 'RB_TEST'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
55 | [0;34mint[0m rbg_RB_TEST(VALUE v) { [0;34mreturn[0m RB_TEST(v); }[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:56:36: [0m[0;1;31merror: [0m[1mcall to undeclared function 'RB_NIL_P'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration][0m
56 | [0;34mint[0m rbg_RB_NIL_P(VALUE v) { [0;34mreturn[0m RB_NIL_P(v); }[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: [0m[0;1;31merror: [0m[1muse of undeclared identifier 'RUBY_INIT_STACK'; did you mean 'rbg_RUBY_INIT_STACK'?[0m
60 | RUBY_INIT_STACK;[0m
| [0;1;32m ^~~~~~~~~~~~~~~
[0m | [0;32m rbg_RUBY_INIT_STACK
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:59:6: [0m[0;1;36mnote: [0m'rbg_RUBY_INIT_STACK' declared here[0m
59 | [0;34mvoid[0m rbg_RUBY_INIT_STACK([0;34mvoid[0m) {[0m
| [0;1;32m ^
[0m[1m/host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:60:5: [0m[0;1;35mwarning: [0m[1mexpression result unused [-Wunused-value][0m
60 | RUBY_INIT_STACK;[0m
| [0;1;32m ^~~~~~~~~~~~~~~
[0m3 warnings and 15 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_macros.o /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m normal x86_64 objective-c com.apple.compilers.llvm.clang.1_0.compiler failed with a nonzero exit code. Command line: cd /host
Using response file: /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp
/usr/bin/clang -x objective-c -target x86_64-unknown-linux-gnu -fmessage-length\=0 -fdiagnostics-show-note-include-stack -fmacro-backtrace-limit\=0 -fcolor-diagnostics -Wno-trigraphs -Wno-missing-field-initializers -Wno-missing-prototypes -Wno-return-type -Wno-implicit-atomic-properties -Wno-objc-interface-ivars -Wno-arc-repeated-use-of-weak -Wno-missing-braces -Wparentheses -Wswitch -Wno-unused-function -Wno-unused-label -Wno-unused-parameter -Wno-unused-variable -Wunused-value -Wno-empty-body -Wno-uninitialized -Wno-unknown-pragmas -Wno-shadow -Wno-four-char-constants -Wno-conversion -Wno-constant-conversion -Wno-int-conversion -Wno-bool-conversion -Wno-enum-conversion -Wno-float-conversion -Wno-non-literal-null-conversion -Wno-objc-literal-conversion -Wno-shorten-64-to-32 -Wpointer-sign -Wno-newline-eof -Wno-selector -Wno-strict-selector-match -Wno-undeclared-selector -Wno-deprecated-implementations -Wno-implicit-fallthrough -fstrict-aliasing -Wprotocol -Wdeprecated-declarations -Wno-sign-conversion -Wno-infinite-recursion -Wno-comma -Wno-block-capture-autoreleasing -Wno-strict-prototypes -Wno-semicolon-before-method-body --sysroot / @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_macros.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_macros.dia -c /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-linux-x86_64/RubyGatewayHelpers-t.build/Objects-normal/x86_64/rbg_macros.o
error: Build failed
BUILD FAILURE 6.4 linux