Build Information
Failed to build ably-cocoa, reference main (745e7b), with Swift 6.2 for Linux on 19 Mar 2026 04:39:56 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/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
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 745e7b7 Merge pull request #2200 from ably/add-claude-md
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 @):
745e7b7a5e11fc135f9bcdb7bb9ee9a1d9b190a3
SUCCESS checkout https://github.com/ably/ably-cocoa.git at main
========================================
Build
========================================
Selected platform: linux
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-4609320-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d2f920c74e2de776c2ba4e297b2280b61148e6eb762436a4aad45f2a95167cea
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/ably/ably-cocoa-plugin-support.git
Fetching https://github.com/quick/nimble
Fetching https://github.com/rvi/msgpack-objective-C
[1/613] Fetching delta-codec-cocoa
[614/1119] Fetching delta-codec-cocoa, msgpack-objective-c
[716/1232] Fetching delta-codec-cocoa, msgpack-objective-c, ably-cocoa-plugin-support
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.24s)
[1/19805] Fetching nimble
Fetched https://github.com/ably/ably-cocoa-plugin-support.git from cache (1.45s)
Fetched https://github.com/rvi/msgpack-objective-C from cache (1.45s)
Fetched https://github.com/quick/nimble from cache (1.48s)
Computing version for https://github.com/ably/ably-cocoa-plugin-support.git
Computed https://github.com/ably/ably-cocoa-plugin-support.git at 2.0.0 (1.90s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 11.2.2 (0.39s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (0.69s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.50s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.50s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.22s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.73s)
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/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/ably/ably-cocoa-plugin-support.git
Working copy of https://github.com/ably/ably-cocoa-plugin-support.git resolved at 2.0.0
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
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
warning: 'spi-builder-workspace': ignoring target 'AblyTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/149] Write sources
[0/149] Copying PrivacyInfo.xcprivacy
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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/149] Compiling Aspects.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
[2/149] Compiling NSURLRequest+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
[2/149] Compiling ARTSRSIMDHelpers.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
[2/149] Compiling NSRunLoop+ARTSRWebSocket.m
[2/149] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/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.
[2/149] Compiling ARTSRRandom.m
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.
[2/149] Compiling NSObject+TestSuite.m
[2/149] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux