Build Information
Failed to build ably-cocoa-plugin-support, reference main (dd1184), with Swift 6.2 for Android on 9 Dec 2025 01:21:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
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 dd11843 Merge pull request #8 from ably/document-sendObject
Cloned https://github.com/ably/ably-cocoa-plugin-support.git
Revision (git rev-parse @):
dd118432a6e023c3d2c8a051299e8081a06db036
SUCCESS checkout https://github.com/ably/ably-cocoa-plugin-support.git at main
========================================
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-4609320-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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
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