Build Information
Failed to build ably-cocoa-plugin-support, reference 0.1.0 (cec94e
), with Swift 6.2 (beta) for Android on 23 Aug 2025 09:24:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: 0.1.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/ably/ably-cocoa-plugin-support
* tag 0.1.0 -> FETCH_HEAD
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 0.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ably/ably-cocoa-plugin-support.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-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
BUILD FAILURE 6.2 android