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 AblyChat, reference 0.4.0 (351848), with Swift 6.2 (beta) for Wasm on 24 Jun 2025 19:21:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-chat-swift.git
Reference: 0.4.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-chat-swift
 * tag               0.4.0      -> FETCH_HEAD
HEAD is now at 3518483 Merge pull request #289 from ably/release/0.4.0
Submodule path 'Tests/AblyChatTests/ably-common': checked out '60fd9cf106abb1d6292fdd87d63ea33c552c8f33'
Submodule 'Tests/AblyChatTests/ably-common' (https://github.com/ably/ably-common) registered for path 'Tests/AblyChatTests/ably-common'
Cloning into '/host/spi-builder-workspace/Tests/AblyChatTests/ably-common'...
Cloned https://github.com/ably/ably-chat-swift.git
Revision (git rev-parse @):
35184835fbdcf19b277f178b47ebe298d3e2edbf
SUCCESS checkout https://github.com/ably/ably-chat-swift.git at 0.4.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/ably/ably-chat-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/JanGorman/Table.git
[1/139] Fetching table
[140/5124] Fetching table, swift-async-algorithms
Fetched https://github.com/JanGorman/Table.git from cache (0.53s)
[2094/4985] Fetching swift-async-algorithms
Fetching https://github.com/ably/ably-cocoa
[4986/20365] Fetching swift-async-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-async-algorithms from cache (0.81s)
[7537/15380] Fetching swift-argument-parser
[15381/60201] Fetching swift-argument-parser, ably-cocoa
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/groue/Semaphore
Fetched https://github.com/apple/swift-argument-parser from cache (1.23s)
[7172/44821] Fetching ably-cocoa
[19275/45114] Fetching ably-cocoa, semaphore
[20912/47196] Fetching ably-cocoa, semaphore, swift-docc-plugin
[22487/48488] Fetching ably-cocoa, semaphore, swift-docc-plugin, swift-clocks
Fetched https://github.com/groue/Semaphore from cache (0.31s)
[26169/48195] Fetching ably-cocoa, swift-docc-plugin, swift-clocks
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.62s)
[40180/46903] Fetching ably-cocoa, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.63s)
[38547/44821] Fetching ably-cocoa
Fetched https://github.com/ably/ably-cocoa from cache (5.33s)
Computing version for https://github.com/groue/Semaphore
Computed https://github.com/groue/Semaphore at 0.1.0 (6.82s)
Computing version for https://github.com/JanGorman/Table.git
Computed https://github.com/JanGorman/Table.git at 1.1.1 (4.81s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.40 (0.70s)
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/rvi/msgpack-objective-C
[1/597] Fetching delta-codec-cocoa
[598/1103] Fetching delta-codec-cocoa, msgpack-objective-c
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.35s)
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.35s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.3 (0.97s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.60s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.59s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.0.4 (1.06s)
Fetching https://github.com/apple/swift-collections.git
[1/16640] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.99s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (3.33s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.84s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/861] Fetching swift-concurrency-extras
[862/6328] Fetching swift-concurrency-extras, xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.64s)
[2133/5467] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.39s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.1 (2.18s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (0.96s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3416] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.74s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.82s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.5.2 (4.42s)
Creating working copy for https://github.com/groue/Semaphore
Working copy of https://github.com/groue/Semaphore resolved at 0.1.0
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.5.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.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
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/ably/ably-cocoa
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.40
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.4
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/pointfreeco/swift-concurrency-extras
Working copy of https://github.com/pointfreeco/swift-concurrency-extras resolved at 1.3.1
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/apple/swift-async-algorithms
Working copy of https://github.com/apple/swift-async-algorithms resolved at 1.0.4
Creating working copy for https://github.com/pointfreeco/swift-clocks
Working copy of https://github.com/pointfreeco/swift-clocks resolved at 1.0.6
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
[3/3] Compiling plugin GenerateManual
Building for debugging...
[3/154] Write sources
[3/154] Copying PrivacyInfo.xcprivacy
[3/154] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[13/154] Compiling ARTSRSIMDHelpers.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[13/154] Compiling NSRunLoop+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[13/154] Compiling ARTSRRandom.m
[13/154] Compiling Ably resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasi/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.
[13/154] Compiling ARTSRURLUtilities.m
[13/154] Compiling ARTSRMutex.m
[13/154] Compiling NSURLRequest+ARTSRWebSocket.m
[13/154] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm