The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RubyGateway, reference v6.2.0 (1c4cc5), with Swift 6.4 for Android on 10 Oct 2026 11:23:43 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344849-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build 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:         android
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-54344849-1":/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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:34a00a57f57797b403a98b861c3ce940f20735b4cb78ef45654f0d4f3b0c0295
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/johnfairh/CRuby
[1/103] Fetching cruby
Fetched https://github.com/johnfairh/CRuby (0.35s)
Computing version for https://github.com/johnfairh/CRuby
Computed https://github.com/johnfairh/CRuby at 2.1.0 (1.74s)
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...
[Computing dependencies]
[Pre-planning 1 / 127]
[Planning deferred tasks]
/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.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_value.o /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_value.m normal aarch64 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-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -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 /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_value.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/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-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_value.o
/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: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
In file included from /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m:9:
/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 15 errors generated.
error: CompileC /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_macros.o /host/spi-builder-workspace/Sources/RubyGatewayHelpers/rbg_macros.m normal aarch64 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-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp

    /root/.local/share/swiftly/toolchains/6.4.0/usr/bin/clang -x objective-c -target aarch64-unknown-linux-android28 -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 /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot @/host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/6f95552a3397ee1cec971b90cf334075d5f321c3a3b0689ad55c3d1e24702600-common-args.resp -MMD -MT dependencies -MF /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_macros.d --serialize-diagnostics /host/spi-builder-workspace/.build/out/Intermediates.noindex/RubyGateway.build/Debug-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/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-android-aarch64/RubyGatewayHelpers-t.build/Objects-normal/aarch64/rbg_macros.o
error: Build failed
BUILD FAILURE 6.4 android