Build Information
Failed to build ably-cocoa, reference main (ebe0e7
), with Swift 6.1 for Linux on 25 Apr 2025 20:14:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
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 ebe0e75 Merge pull request #2047 from ably/meta-action
Submodule path 'ably-common': checked out 'b2eeb4e1efa8de83693649314c5d575a096fdb78'
Submodule 'ably-common' (https://github.com/ably/ably-common.git) registered for path 'ably-common'
Cloning into '/host/spi-builder-workspace/ably-common'...
Cloned https://github.com/ably/ably-cocoa.git
Revision (git rev-parse @):
ebe0e752e8d35ac9cceb0b4f2508675a4d519e15
SUCCESS checkout https://github.com/ably/ably-cocoa.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/ably/ably-cocoa.git
https://github.com/ably/ably-cocoa.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "msgpack-objective-c",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/rvi/msgpack-objective-C"
},
{
"identity" : "delta-codec-cocoa",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/ably/delta-codec-cocoa"
}
],
"manifest_display_name" : "ably-cocoa",
"name" : "ably-cocoa",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.11"
},
{
"name" : "ios",
"version" : "9.0"
},
{
"name" : "tvos",
"version" : "10.0"
}
],
"products" : [
{
"name" : "Ably",
"targets" : [
"Ably"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "Ably",
"module_type" : "ClangTarget",
"name" : "Ably",
"path" : "Source",
"product_dependencies" : [
"msgpack",
"AblyDeltaCodec"
],
"product_memberships" : [
"Ably"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Source/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ARTAttachRequestParams.m",
"ARTAttachRetryState.m",
"ARTAuth.m",
"ARTAuthDetails.m",
"ARTAuthOptions.m",
"ARTBackoffRetryDelayCalculator.m",
"ARTBaseMessage.m",
"ARTChannel.m",
"ARTChannelOptions.m",
"ARTChannelProtocol.m",
"ARTChannelStateChangeParams.m",
"ARTChannels.m",
"ARTClientInformation.m",
"ARTClientOptions.m",
"ARTConnectRetryState.m",
"ARTConnection.m",
"ARTConnectionDetails.m",
"ARTConnectionStateChangeParams.m",
"ARTConstants.m",
"ARTContinuousClock.m",
"ARTCrypto.m",
"ARTDataEncoder.m",
"ARTDataQuery.m",
"ARTDefault.m",
"ARTDeltaCodec.m",
"ARTDeviceDetails.m",
"ARTDeviceIdentityTokenDetails.m",
"ARTDevicePushDetails.m",
"ARTErrorChecker.m",
"ARTEventEmitter.m",
"ARTFallback.m",
"ARTFallbackHosts.m",
"ARTFormEncode.m",
"ARTGCD.m",
"ARTHTTPPaginatedResponse.m",
"ARTHttp.m",
"ARTInternalLog.m",
"ARTInternalLogCore.m",
"ARTJitterCoefficientGenerator.m",
"ARTJsonEncoder.m",
"ARTJsonLikeEncoder.m",
"ARTLocalDevice.m",
"ARTLocalDeviceStorage.m",
"ARTLog.m",
"ARTLogAdapter.m",
"ARTMessage.m",
"ARTMessageOperation.m",
"ARTMsgPackEncoder.m",
"ARTNSArray+ARTFunctional.m",
"ARTNSDate+ARTUtil.m",
"ARTNSDictionary+ARTDictionaryUtil.m",
"ARTNSError+ARTUtils.m",
"ARTNSHTTPURLResponse+ARTPaginated.m",
"ARTNSMutableDictionary+ARTDictionaryUtil.m",
"ARTNSMutableRequest+ARTPush.m",
"ARTNSMutableRequest+ARTRest.m",
"ARTNSMutableURLRequest+ARTPaginated.m",
"ARTNSMutableURLRequest+ARTUtils.m",
"ARTNSString+ARTUtil.m",
"ARTNSURL+ARTUtils.m",
"ARTOSReachability.m",
"ARTPaginatedResult.m",
"ARTPendingMessage.m",
"ARTPresence.m",
"ARTPresenceMessage.m",
"ARTProtocolMessage.m",
"ARTPush.m",
"ARTPushActivationEvent.m",
"ARTPushActivationState.m",
"ARTPushActivationStateMachine.m",
"ARTPushAdmin.m",
"ARTPushChannel.m",
"ARTPushChannelSubscription.m",
"ARTPushChannelSubscriptions.m",
"ARTPushDeviceRegistrations.m",
"ARTQueuedDealloc.m",
"ARTQueuedMessage.m",
"ARTRealtime.m",
"ARTRealtimeChannel.m",
"ARTRealtimeChannelOptions.m",
"ARTRealtimeChannels.m",
"ARTRealtimePresence.m",
"ARTRealtimeTransport.m",
"ARTRealtimeTransportFactory.m",
"ARTRest.m",
"ARTRestChannel.m",
"ARTRestChannels.m",
"ARTRestPresence.m",
"ARTRetrySequence.m",
"ARTStats.m",
"ARTStatus.m",
"ARTStringifiable.m",
"ARTTestClientOptions.m",
"ARTTokenDetails.m",
"ARTTokenParams.m",
"ARTTokenRequest.m",
"ARTTypes.m",
"ARTURLSessionServerTrust.m",
"ARTWebSocketFactory.m",
"ARTWebSocketTransport.m",
"ARTWrapperSDKProxyOptions.m",
"ARTWrapperSDKProxyPush.m",
"ARTWrapperSDKProxyPushAdmin.m",
"ARTWrapperSDKProxyPushChannel.m",
"ARTWrapperSDKProxyPushChannelSubscriptions.m",
"ARTWrapperSDKProxyPushDeviceRegistrations.m",
"ARTWrapperSDKProxyRealtime.m",
"ARTWrapperSDKProxyRealtimeChannel.m",
"ARTWrapperSDKProxyRealtimeChannels.m",
"ARTWrapperSDKProxyRealtimePresence.m",
"NSURLQueryItem+Stringifiable.m",
"SocketRocket/ARTSRSecurityPolicy.m",
"SocketRocket/ARTSRWebSocket.m",
"SocketRocket/Internal/ARTSRConstants.m",
"SocketRocket/Internal/Delegate/ARTSRDelegateController.m",
"SocketRocket/Internal/IOConsumer/ARTSRIOConsumer.m",
"SocketRocket/Internal/IOConsumer/ARTSRIOConsumerPool.m",
"SocketRocket/Internal/Proxy/ARTSRProxyConnect.m",
"SocketRocket/Internal/RunLoop/ARTSRRunLoopThread.m",
"SocketRocket/Internal/Security/ARTSRPinningSecurityPolicy.m",
"SocketRocket/Internal/Utilities/ARTSRError.m",
"SocketRocket/Internal/Utilities/ARTSRHTTPConnectMessage.m",
"SocketRocket/Internal/Utilities/ARTSRHash.m",
"SocketRocket/Internal/Utilities/ARTSRMutex.m",
"SocketRocket/Internal/Utilities/ARTSRRandom.m",
"SocketRocket/Internal/Utilities/ARTSRSIMDHelpers.m",
"SocketRocket/Internal/Utilities/ARTSRURLUtilities.m",
"SocketRocket/NSRunLoop+ARTSRWebSocket.m",
"SocketRocket/NSURLRequest+ARTSRWebSocket.m"
],
"type" : "library"
}
],
"tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/506] Fetching msgpack-objective-c
[507/1083] Fetching msgpack-objective-c, delta-codec-cocoa
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.22s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.22s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (0.81s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.57s)
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/delta-codec-cocoa
Working copy of https://github.com/ably/delta-codec-cocoa resolved at 1.3.3
Building for debugging...
[0/131] Copying PrivacyInfo.xcprivacy
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.
[1/131] Compiling NSRunLoop+ARTSRWebSocket.m
[1/131] Compiling ARTSRURLUtilities.m
[1/131] Compiling ARTSRMutex.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.
[1/131] Compiling Ably resource_bundle_accessor.m
[1/131] Compiling NSURLRequest+ARTSRWebSocket.m
[1/131] Compiling ARTSRHash.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/131] Compiling ARTSRSIMDHelpers.m
[1/131] Compiling ARTSRRandom.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
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.
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.
[0/130] Compiling NSURLRequest+ARTSRWebSocket.m
[0/130] Compiling ARTSRHash.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.
[0/130] 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.
[0/130] Compiling ARTSRRandom.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.
[0/130] 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.
[0/130] Compiling NSRunLoop+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.
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.
[0/130] Compiling ARTSRMutex.m
[0/130] Compiling Ably resource_bundle_accessor.m
BUILD FAILURE 6.1 linux