The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ably-cocoa, reference 1.2.40 (c53477), with Swift 6.0 for Linux on 26 Feb 2025 08:44:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-cocoa.git
Reference: 1.2.40
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
 * tag               1.2.40     -> FETCH_HEAD
HEAD is now at c534770 Merge pull request #2037 from ably/release/1.2.40
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 @):
c5347707e4f9fb907df0e5c334de445899a79783
SUCCESS checkout https://github.com/ably/ably-cocoa.git at 1.2.40
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
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-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-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.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/rvi/msgpack-objective-C
[1/577] Fetching delta-codec-cocoa
[394/1083] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.37s)
Fetched https://github.com/rvi/msgpack-objective-C 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.3 (1.15s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.91s)
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
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
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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/131] Compiling Ably resource_bundle_accessor.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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/131] 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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/131] 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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/131] Compiling NSRunLoop+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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/131] 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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[1/131] 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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
[1/131] Compiling ARTSRMutex.m
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/130] Compiling ARTSRURLUtilities.m
[0/130] Compiling ARTSRRandom.m
[0/130] Compiling ARTSRSIMDHelpers.m
[0/130] Compiling ARTSRHash.m
[0/130] Compiling Ably resource_bundle_accessor.m
[0/130] 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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #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:1:9: fatal error: 'Foundation/Foundation.h' file not found
    1 | #import <Foundation/Foundation.h>
      |         ^~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/130] Compiling NSURLRequest+ARTSRWebSocket.m
BUILD FAILURE 6.0 linux