Build Information
Failed to build ably-pubsub-cocoa, reference 2.0.0 (c897be), with Swift 6.2 for Linux on 7 Nov 2026 09:06:08 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-pubsub-cocoa.git
Reference: 2.0.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-pubsub-cocoa
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at c897bec Merge pull request #2341 from ably/release/2.0.0
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-pubsub-cocoa.git
Revision (git rev-parse @):
c897becb1b0c644a9c67db89e7b247a083b6c540
SUCCESS checkout https://github.com/ably/ably-pubsub-cocoa.git at 2.0.0
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/ably/ably-pubsub-cocoa.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-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:linux-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.2-latest: Pulling from saguaro1/spi-images
Digest: sha256:3b8ac581d32055e8615440d6f2242826e343275e8abdb3534700e4187075d534
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.2-latest
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/quick/nimble
Fetching https://github.com/rvi/msgpack-objective-C
[1/506] Fetching msgpack-objective-c
[477/1135] Fetching msgpack-objective-c, delta-codec-cocoa
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.42s)
[1/20002] Fetching nimble
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.98s)
Fetched https://github.com/quick/nimble from cache (0.98s)
Computing version for https://github.com/quick/nimble
Computed https://github.com/quick/nimble at 11.2.2 (1.85s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.37s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (0.54s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.15s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.15s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.35s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.51s)
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/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
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/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/rvi/msgpack-objective-C
Working copy of https://github.com/rvi/msgpack-objective-C resolved at 0.4.0
warning: 'spi-builder-workspace': ignoring target 'AblyTestsObjC' in package 'spi-builder-workspace'; C language in tests is not yet supported
Building for debugging...
[0/157] Write sources
[0/157] Copying PrivacyInfo.xcprivacy
[3/157] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AblyPubSubDevice.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AblyPubSubDevice.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/157] Compiling NSURLRequest+ARTSRWebSocket.m
[5/157] Compiling NSRunLoop+ARTSRWebSocket.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.
[5/157] Compiling NSObject+TestSuite.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AblyPubSubDevice.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/157] Compiling AblyPubSubDevice resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/AblyPubSubDevice.build/DerivedSources/resource_bundle_accessor.h:2:9: fatal error: 'Foundation/Foundation.h' file not found
2 | #import <Foundation/Foundation.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/157] Compiling ARTSRURLUtilities.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>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[5/157] 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
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
43 | NS_ASSUME_NONNULL_END
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
3 | @interface APDependencyStore ()
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: cannot find interface declaration for 'APDependencyStore'
9 | @implementation APDependencyStore
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:13:12: error: unknown type name 'dispatch_once_t'
13 | static dispatch_once_t onceToken;
| ^
/host/spi-builder-workspace/_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/_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/_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/_AblyPluginSupportPrivate/APDependencyStore.m:22:10: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
22 | self.pluginAPI = pluginAPI;
| ^
/host/spi-builder-workspace/_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/_AblyPluginSupportPrivate/APDependencyStore.m:29:10: error: use of undeclared identifier 'NSException'
29 | [NSException raise:NSInternalInconsistencyException format:@"-fetchPluginAPI called before -registerPluginAPI:"];
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:9:17: warning: class 'APDependencyStore' defined without specifying a base class [-Wobjc-root-class]
9 | @implementation APDependencyStore
| ^
/host/spi-builder-workspace/_AblyPluginSupportPrivate/APDependencyStore.m:9:34: note: add a super class to fix this problem
9 | @implementation APDependencyStore
| ^
4 warnings and 16 errors generated.
[5/157] Compiling _AblyPluginSupportPrivate APDependencyStore.m
[5/157] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 linux