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 ably-cocoa-plugin-support, reference main (cec94e), with Swift 6.1 for Android on 23 Aug 2025 09:25:39 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-cocoa-plugin-support.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/ably/ably-cocoa-plugin-support
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at cec94ed Initial commit
Cloned https://github.com/ably/ably-cocoa-plugin-support.git
Revision (git rev-parse @):
cec94ed123d60e39e3f8df665c30a57482d37612
SUCCESS checkout https://github.com/ably/ably-cocoa-plugin-support.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ably/ably-cocoa-plugin-support.git
https://github.com/ably/ably-cocoa-plugin-support.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "ably-cocoa-plugin-support",
  "name" : "ably-cocoa-plugin-support",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "_AblyPluginSupportPrivate",
      "targets" : [
        "_AblyPluginSupportPrivate"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "_AblyPluginSupportPrivate",
      "module_type" : "ClangTarget",
      "name" : "_AblyPluginSupportPrivate",
      "path" : "Sources/_AblyPluginSupportPrivate",
      "product_memberships" : [
        "_AblyPluginSupportPrivate"
      ],
      "sources" : [
        "APDependencyStore.m"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    3 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
   11 | NS_SWIFT_SENDABLE
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
   26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
   28 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
   39 | - (instancetype)init NS_UNAVAILABLE;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
   39 | - (instancetype)init NS_UNAVAILABLE;
      |                      ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
   41 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   43 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
    3 | @interface APDependencyStore ()
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: cannot find interface declaration for 'APDependencyStore'
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:13:12: error: unknown type name 'dispatch_once_t'
   13 |     static dispatch_once_t onceToken;
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:14:5: error: call to undeclared function 'dispatch_once'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   14 |     dispatch_once(&onceToken, ^{
      |     ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:46: warning: class method '+alloc' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                              ^~~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:53: warning: instance method '-init' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                                     ^~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:22:10: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   22 |     self.pluginAPI = pluginAPI;
      |          ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:26:46: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   26 |     id<APPluginAPIProtocol> pluginAPI = self.pluginAPI;
      |                                              ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:29:10: error: use of undeclared identifier 'NSException'
   29 |         [NSException raise:NSInternalInconsistencyException format:@"-fetchPluginAPI called before -registerPluginAPI:"];
      |          ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: class 'APDependencyStore' defined without specifying a base class [-Wobjc-root-class]
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:34: note: add a super class to fix this problem
    9 | @implementation APDependencyStore
      |                                  ^
4 warnings and 16 errors generated.
[0/1] Compiling _AblyPluginSupportPrivate APDependencyStore.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    3 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
   11 | NS_SWIFT_SENDABLE
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
   26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
   28 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
   39 | - (instancetype)init NS_UNAVAILABLE;
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
   39 | - (instancetype)init NS_UNAVAILABLE;
      |                      ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
   41 | @end
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   43 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
    3 | @interface APDependencyStore ()
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: cannot find interface declaration for 'APDependencyStore'
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:13:12: error: unknown type name 'dispatch_once_t'
   13 |     static dispatch_once_t onceToken;
      |            ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:14:5: error: call to undeclared function 'dispatch_once'; ISO C99 and later do not support implicit function declarations [-Wimplicit-function-declaration]
   14 |     dispatch_once(&onceToken, ^{
      |     ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:46: warning: class method '+alloc' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                              ^~~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:15:53: warning: instance method '-init' not found (return type defaults to 'id') [-Wobjc-method-access]
   15 |         sharedInstance = [[APDependencyStore alloc] init];
      |                                                     ^~~~
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:22:10: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   22 |     self.pluginAPI = pluginAPI;
      |          ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:26:46: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   26 |     id<APPluginAPIProtocol> pluginAPI = self.pluginAPI;
      |                                              ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:29:10: error: use of undeclared identifier 'NSException'
   29 |         [NSException raise:NSInternalInconsistencyException format:@"-fetchPluginAPI called before -registerPluginAPI:"];
      |          ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: class 'APDependencyStore' defined without specifying a base class [-Wobjc-root-class]
    9 | @implementation APDependencyStore
      |                 ^
/host/spi-builder-workspace/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:9:34: note: add a super class to fix this problem
    9 | @implementation APDependencyStore
      |                                  ^
4 warnings and 16 errors generated.
[0/1] Compiling _AblyPluginSupportPrivate APDependencyStore.m
BUILD FAILURE 6.1 android