Build Information
Failed to build ably-cocoa, reference main (bfc47e), with Swift 6.2 for Android on 4 Nov 2026 10:06:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-cocoa.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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at bfc47e9 Merge pull request #7 from ably/docs/maintenance-banner
Submodule path 'Test/AblyTests/ably-common': checked out '783496f4dd1110d0175a7ced60de826e1aba40cc'
Submodule 'ably-common' (https://github.com/ably/ably-common.git) registered for path 'Test/AblyTests/ably-common'
Cloning into '/host/spi-builder-workspace/Test/AblyTests/ably-common'...
Cloned https://github.com/ably/ably-cocoa.git
Revision (git rev-parse @):
bfc47e93b44f0642964e70e7f52033a94d76100b
SUCCESS checkout https://github.com/ably/ably-cocoa.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/ably/ably-cocoa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from saguaro1/spi-images
7a48b8f0e5c7: Pulling fs layer
6f853986851f: Pulling fs layer
a16dcd7b600d: Pulling fs layer
27a2129cb348: Pulling fs layer
4f4fb700ef54: Pulling fs layer
b3b865ae6049: Pulling fs layer
38f5a132f201: Pulling fs layer
ed8acb7de314: Pulling fs layer
d887bd2601bd: Pulling fs layer
3b5419af74d7: Pulling fs layer
35553b322352: Pulling fs layer
4f4fb700ef54: Pulling fs layer
6d675566f41c: Pulling fs layer
04788af1ae9c: Pulling fs layer
4f4fb700ef54: Pulling fs layer
b3b865ae6049: Already exists
7a48b8f0e5c7: Already exists
a16dcd7b600d: Already exists
27a2129cb348: Already exists
38f5a132f201: Already exists
ed8acb7de314: Already exists
35553b322352: Already exists
4f4fb700ef54: Already exists
6f853986851f: Download complete
3b5419af74d7: Download complete
44136fa355b3: Already exists
a4794e769cfb: Download complete
04788af1ae9c: Download complete
6d675566f41c: Download complete
d887bd2601bd: Download complete
d887bd2601bd: Pull complete
3b5419af74d7: Pull complete
35553b322352: Pull complete
6d675566f41c: Pull complete
04788af1ae9c: Pull complete
6f853986851f: Pull complete
Digest: sha256:4d5a78170bd55d4f3692b7d4b22644bd314dfc2fffe9d773fe7a8a0436f96b5c
Status: Downloaded newer image for registry.gitlab.com/saguaro1/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': /host/spi-builder-workspace/Package.swift:8:17: warning: 'v10_11' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
6 | name: "ably-cocoa",
7 | platforms: [
8 | .macOS(.v10_11),
| `- warning: 'v10_11' is deprecated: macOS 10.13 is the oldest supported version [#DeprecatedDeclaration]
9 | .iOS(.v9),
10 | .tvOS(.v10)
/host/spi-builder-workspace/Package.swift:9:15: warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
7 | platforms: [
8 | .macOS(.v10_11),
9 | .iOS(.v9),
| `- warning: 'v9' is deprecated: iOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
10 | .tvOS(.v10)
11 | ],
/host/spi-builder-workspace/Package.swift:10:16: warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
8 | .macOS(.v10_11),
9 | .iOS(.v9),
10 | .tvOS(.v10)
| `- warning: 'v10' is deprecated: tvOS 12.0 is the oldest supported version [#DeprecatedDeclaration]
11 | ],
12 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Fetching https://github.com/quick/nimble
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/506] Fetching msgpack-objective-c
[507/1135] Fetching msgpack-objective-c, delta-codec-cocoa
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.41s)
[1/20002] Fetching nimble
Fetched https://github.com/rvi/msgpack-objective-C from cache (1.41s)
Fetched https://github.com/quick/nimble from cache (1.42s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 11.2.2 (2.46s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.38s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (0.58s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.18s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.19s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (1.41s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.60s)
Creating working copy for https://github.com/quick/nimble
Working copy of https://github.com/quick/nimble resolved at 11.2.2
Creating working copy for https://github.com/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/ably/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.5
warning: 'spi-builder-workspace': ignoring target 'AblyTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/154] Write sources
[2/154] Copying PrivacyInfo.xcprivacy
[3/154] Write sources
In file included from /host/spi-builder-workspace/Test/AblyTestingObjC/Test Utilities/NSObject+TestSuite.m:3:
/host/spi-builder-workspace/Test/AblyTestingObjC/Test Utilities/NSObject+TestSuite.h:3:9: fatal error: 'Foundation/Foundation.h' file not found
3 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/154] Compiling NSRunLoop+ARTSRWebSocket.m
[4/154] Compiling NSObject+TestSuite.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/154] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/154] Compiling ARTSRSIMDHelpers.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/aarch64-unknown-linux-android28/debug/Ably.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/154] Compiling NSURLRequest+ARTSRWebSocket.m
In file included from /host/spi-builder-workspace/Test/AblyTestingObjC/Dependencies/steipete/Aspects.m:8:
/host/spi-builder-workspace/Test/AblyTestingObjC/Dependencies/steipete/Aspects.h:8:9: fatal error: 'Foundation/Foundation.h' file not found
8 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
[4/154] Compiling Aspects.m
In file included from /host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
1 | @import Foundation;
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
3 | NS_ASSUME_NONNULL_BEGIN
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
11 | NS_SWIFT_SENDABLE
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
28 | @end
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
39 | - (instancetype)init NS_UNAVAILABLE;
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
39 | - (instancetype)init NS_UNAVAILABLE;
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
41 | @end
| ^
[4/154] Compiling _AblyPluginSupportPrivate APDependencyStore.m
[4/154] Write swift-version--11D90AFD9DD3AB2.txt
BUILD FAILURE 6.2 android