The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build AblyLiveObjects, reference main (afc2ec), with Swift 6.1 for Linux on 9 Dec 2025 20:20:02 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-liveobjects-swift-plugin.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-liveobjects-swift-plugin
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at afc2ecf Merge pull request #108 from ably/release/0.3.0
Submodule path 'Tests/AblyLiveObjectsTests/ably-common': checked out '60fd9cf106abb1d6292fdd87d63ea33c552c8f33'
Submodule 'Tests/AblyLiveObjectsTests/ably-common' (https://github.com/ably/ably-common) registered for path 'Tests/AblyLiveObjectsTests/ably-common'
Cloning into '/host/spi-builder-workspace/Tests/AblyLiveObjectsTests/ably-common'...
Cloned https://github.com/ably/ably-liveobjects-swift-plugin.git
Revision (git rev-parse @):
afc2ecfa9eee09fc14a698f3759f6fac79e2c30a
SUCCESS checkout https://github.com/ably/ably-liveobjects-swift-plugin.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/ably/ably-liveobjects-swift-plugin.git
https://github.com/ably/ably-liveobjects-swift-plugin.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "ably-cocoa",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.55",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ably/ably-cocoa"
    },
    {
      "identity" : "ably-cocoa-plugin-support",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/ably/ably-cocoa-plugin-support"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.5.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "swift-async-algorithms",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-async-algorithms"
    },
    {
      "identity" : "table",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/JanGorman/Table.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AblyLiveObjects",
  "name" : "AblyLiveObjects",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    },
    {
      "name" : "ios",
      "version" : "14.0"
    },
    {
      "name" : "tvos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "AblyLiveObjects",
      "targets" : [
        "AblyLiveObjects"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "BuildTool",
      "targets" : [
        "BuildTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "BuildTool",
      "module_type" : "SwiftTarget",
      "name" : "BuildTool",
      "path" : "Sources/BuildTool",
      "product_dependencies" : [
        "ArgumentParser",
        "AsyncAlgorithms",
        "Table"
      ],
      "product_memberships" : [
        "BuildTool"
      ],
      "sources" : [
        "BuildTool.swift",
        "Configuration.swift",
        "DestinationFetcher.swift",
        "DestinationPredicate.swift",
        "DestinationSpecifier.swift",
        "DestinationStrategy.swift",
        "Error.swift",
        "Platform.swift",
        "ProcessRunner.swift",
        "String+Decoding.swift",
        "XcodeRunner.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "AblyLiveObjectsTests",
      "module_type" : "SwiftTarget",
      "name" : "AblyLiveObjectsTests",
      "path" : "Tests/AblyLiveObjectsTests",
      "product_dependencies" : [
        "Ably",
        "_AblyPluginSupportPrivate"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/AblyLiveObjectsTests/ably-common",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AblyLiveObjectsTests.swift",
        "Helpers/Ably+Concurrency.swift",
        "Helpers/Assertions.swift",
        "Helpers/ClientHelper.swift",
        "Helpers/Sandbox.swift",
        "Helpers/Subscriber.swift",
        "Helpers/TestFactories.swift",
        "Helpers/TestLogger.swift",
        "InternalDefaultLiveCounterTests.swift",
        "InternalDefaultLiveMapTests.swift",
        "InternalDefaultRealtimeObjectsTests.swift",
        "JS Integration Tests/ObjectsHelper.swift",
        "JS Integration Tests/ObjectsIntegrationTests.swift",
        "JS Integration Tests/TestProxyTransport.swift",
        "JSONValueTests.swift",
        "LiveObjectMutableStateTests.swift",
        "Mocks/MockCoreSDK.swift",
        "Mocks/MockLiveMapObjectsPoolDelegate.swift",
        "Mocks/MockSimpleClock.swift",
        "ObjectCreationHelpersTests.swift",
        "ObjectLifetimesTests.swift",
        "ObjectMessageTests.swift",
        "ObjectsPoolTests.swift",
        "SyncCursorTests.swift",
        "WireObjectMessageTests.swift",
        "WireValueTests.swift"
      ],
      "target_dependencies" : [
        "AblyLiveObjects"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AblyLiveObjects",
      "module_type" : "SwiftTarget",
      "name" : "AblyLiveObjects",
      "path" : "Sources/AblyLiveObjects",
      "product_dependencies" : [
        "Ably",
        "_AblyPluginSupportPrivate"
      ],
      "product_memberships" : [
        "AblyLiveObjects"
      ],
      "sources" : [
        "Internal/ARTClientOptions+Objects.swift",
        "Internal/CoreSDK.swift",
        "Internal/DefaultInternalPlugin.swift",
        "Internal/DefaultLiveCounterUpdate.swift",
        "Internal/DefaultLiveMapUpdate.swift",
        "Internal/InternalDefaultLiveCounter.swift",
        "Internal/InternalDefaultLiveMap.swift",
        "Internal/InternalDefaultRealtimeObjects.swift",
        "Internal/InternalLiveMapValue.swift",
        "Internal/InternalLiveObject.swift",
        "Internal/InternalObjectsMapEntry.swift",
        "Internal/LiveObjectMutableState.swift",
        "Internal/LiveObjectUpdate.swift",
        "Internal/ObjectCreationHelpers.swift",
        "Internal/ObjectsPool.swift",
        "Internal/ObjectsSyncState.swift",
        "Internal/SimpleClock.swift",
        "Internal/SubscriptionStorage.swift",
        "Internal/SyncObjectsPoolEntry.swift",
        "Protocol/ObjectMessage.swift",
        "Protocol/SyncCursor.swift",
        "Protocol/WireEnum.swift",
        "Protocol/WireObjectMessage.swift",
        "Public/ARTRealtimeChannel+Objects.swift",
        "Public/Plugin.swift",
        "Public/Public Proxy Objects/InternalLiveMapValue+ToPublic.swift",
        "Public/Public Proxy Objects/PublicDefaultLiveCounter.swift",
        "Public/Public Proxy Objects/PublicDefaultLiveMap.swift",
        "Public/Public Proxy Objects/PublicDefaultRealtimeObjects.swift",
        "Public/Public Proxy Objects/PublicObjectsStore.swift",
        "Public/PublicTypes.swift",
        "Utility/Assertions.swift",
        "Utility/Data+Extensions.swift",
        "Utility/Dictionary+Extensions.swift",
        "Utility/DispatchQueue+Extensions.swift",
        "Utility/DispatchQueueMutex.swift",
        "Utility/Errors.swift",
        "Utility/ExtendedJSONValue.swift",
        "Utility/JSONValue.swift",
        "Utility/Logger.swift",
        "Utility/LoggingUtilities.swift",
        "Utility/MarkerProtocolHelpers.swift",
        "Utility/NSLock+Extensions.swift",
        "Utility/WeakRef.swift",
        "Utility/WireCodable.swift",
        "Utility/WireValue.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/JanGorman/Table.git
Fetching https://github.com/ably/ably-cocoa
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/ably/ably-cocoa-plugin-support
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-async-algorithms
[1/71] Fetching ably-cocoa-plugin-support
[72/210] Fetching ably-cocoa-plugin-support, table
[211/2368] Fetching ably-cocoa-plugin-support, table, swift-docc-plugin
[449/19245] Fetching ably-cocoa-plugin-support, table, swift-docc-plugin, swift-argument-parser
[1233/25053] Fetching ably-cocoa-plugin-support, table, swift-docc-plugin, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/ably/ably-cocoa-plugin-support from cache (0.58s)
Fetched https://github.com/JanGorman/Table.git from cache (0.58s)
[24000/24843] Fetching swift-docc-plugin, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/apple/swift-async-algorithms from cache (0.58s)
[18698/19035] Fetching swift-docc-plugin, swift-argument-parser
[19036/69168] Fetching swift-docc-plugin, swift-argument-parser, ably-cocoa
Fetched https://github.com/apple/swift-docc-plugin from cache (3.51s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.52s)
Fetched https://github.com/ably/ably-cocoa from cache (3.55s)
Computing version for https://github.com/JanGorman/Table.git
Computed https://github.com/JanGorman/Table.git at 1.1.1 (7.34s)
Computing version for https://github.com/ably/ably-cocoa-plugin-support
Computed https://github.com/ably/ably-cocoa-plugin-support at 1.0.0 (0.64s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.55 (0.67s)
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
[1/506] Fetching msgpack-objective-c
[472/1119] Fetching msgpack-objective-c, delta-codec-cocoa
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.47s)
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.48s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (1.16s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.59s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.57s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.1 (0.73s)
Fetching https://github.com/apple/swift-collections.git
[1/18370] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.34s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (1.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3594] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.46s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.3.0 (0.84s)
Creating working copy for https://github.com/JanGorman/Table.git
Working copy of https://github.com/JanGorman/Table.git resolved at 1.1.1
Creating working copy for https://github.com/ably/ably-cocoa-plugin-support
Working copy of https://github.com/ably/ably-cocoa-plugin-support resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.3.0
Creating working copy for https://github.com/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.55
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/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.1.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
Building for debugging...
[4/165] Write sources
[7/165] Copying PrivacyInfo.xcprivacy
[8/165] Write sources
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.
[14/165] Compiling NSURLRequest+ARTSRWebSocket.m
[14/165] Compiling Ably resource_bundle_accessor.m
[14/165] Compiling ARTSRURLUtilities.m
[14/165] Compiling ARTSRSIMDHelpers.m
[14/165] Compiling ARTSRRandom.m
[14/165] Compiling NSRunLoop+ARTSRWebSocket.m
In file included from /host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    3 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
   11 | NS_SWIFT_SENDABLE
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
   26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
   28 | @end
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
   39 | - (instancetype)init NS_UNAVAILABLE;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
   39 | - (instancetype)init NS_UNAVAILABLE;
      |                      ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
   41 | @end
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   43 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
    3 | @interface APDependencyStore ()
      |            ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:13:12: error: unknown type name 'dispatch_once_t'
   13 |     static dispatch_once_t onceToken;
      |            ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_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/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:22:10: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   22 |     self.pluginAPI = pluginAPI;
      |          ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:26:46: error: property 'pluginAPI' not found on object of type 'APDependencyStore *'
   26 |     id<APPluginAPIProtocol> pluginAPI = self.pluginAPI;
      |                                              ^
[14/165] Compiling _AblyPluginSupportPrivate APDependencyStore.m
[14/165] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:4d72617259f6eef9908440c49a67b79bc4f973ae19f78187418ddfb5b178d4ec
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
[4/4] Compiling plugin GenerateDoccReference
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.
[4/155] Compiling NSURLRequest+ARTSRWebSocket.m
[4/155] 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.
[4/155] Compiling Ably resource_bundle_accessor.m
[4/155] Compiling ARTSRURLUtilities.m
[4/155] Compiling NSRunLoop+ARTSRWebSocket.m
[4/155] Compiling ARTSRSIMDHelpers.m
In file included from /host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:1:
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:1:1: error: use of '@import' when modules are disabled
    1 | @import Foundation;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:3:1: error: unknown type name 'NS_ASSUME_NONNULL_BEGIN'
    3 | NS_ASSUME_NONNULL_BEGIN
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:11:1: error: expected function body after function declarator
   11 | NS_SWIFT_SENDABLE
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:26:1: error: missing context for method declaration
   26 | - (id<APPluginAPIProtocol>)fetchPluginAPI;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:28:1: error: expected method body
   28 | @end
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:1: error: missing context for method declaration
   39 | - (instancetype)init NS_UNAVAILABLE;
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:39:22: error: expected method body
   39 | - (instancetype)init NS_UNAVAILABLE;
      |                      ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:41:1: error: '@end' must appear in an Objective-C context
   41 | @end
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/include/APDependencyStore.h:43:1: error: unknown type name 'NS_ASSUME_NONNULL_END'
   43 | NS_ASSUME_NONNULL_END
      | ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: cannot find interface declaration for 'APDependencyStore'
    3 | @interface APDependencyStore ()
      |            ^
/host/spi-builder-workspace/.build/checkouts/ably-cocoa-plugin-support/Sources/_AblyPluginSupportPrivate/APDependencyStore.m:3:12: error: class extension has no primary class
[4/155] Compiling _AblyPluginSupportPrivate APDependencyStore.m
[4/155] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 linux