The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RubyGateway, reference v6.1.1 (7955a4), with Swift 6.2 (beta) for Android on 23 Jun 2025 02:03:42 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
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:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/johnfairh/RubyGateway.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
f557aa5ee224: Already exists
8799cb4248f9: Pulling fs layer
e97363335d73: Pulling fs layer
bee60ceffeee: Pulling fs layer
cdd17f5daef1: Pulling fs layer
44825aa15236: Pulling fs layer
0c89146a86ac: Pulling fs layer
4f4fb700ef54: Pulling fs layer
7bcdea5b7197: Pulling fs layer
2df7b62d76aa: Pulling fs layer
13c5a20e322e: Pulling fs layer
cdd17f5daef1: Waiting
44825aa15236: Waiting
0c89146a86ac: Waiting
4f4fb700ef54: Waiting
7bcdea5b7197: Waiting
2df7b62d76aa: Waiting
13c5a20e322e: Waiting
bee60ceffeee: Download complete
e97363335d73: Verifying Checksum
e97363335d73: Download complete
8799cb4248f9: Verifying Checksum
8799cb4248f9: Download complete
0c89146a86ac: Verifying Checksum
0c89146a86ac: Download complete
4f4fb700ef54: Verifying Checksum
4f4fb700ef54: Download complete
44825aa15236: Verifying Checksum
44825aa15236: Download complete
2df7b62d76aa: Verifying Checksum
2df7b62d76aa: Download complete
13c5a20e322e: Verifying Checksum
13c5a20e322e: Download complete
cdd17f5daef1: Verifying Checksum
cdd17f5daef1: Download complete
8799cb4248f9: Pull complete
e97363335d73: Pull complete
bee60ceffeee: Pull complete
7bcdea5b7197: Verifying Checksum
7bcdea5b7197: Download complete
cdd17f5daef1: Pull complete
44825aa15236: Pull complete
0c89146a86ac: Pull complete
4f4fb700ef54: Pull complete
7bcdea5b7197: Pull complete
2df7b62d76aa: Pull complete
13c5a20e322e: Pull complete
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Downloaded newer image for registry.gitlab.com/finestructure/spi-images:android-6.2-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 (2.95s)
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_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_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[2/10] Compiling RubyGatewayHelpers rbg_protect.m
[2/10] Write swift-version-8C5A4AE7A8CE2BA.txt
BUILD FAILURE 6.2 android