Build Information
Failed to build AblyChat, reference main (79ed99), with Swift 6.2 for Wasm on 9 Apr 2026 21:36:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ably/ably-chat-swift.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-chat-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 79ed990 Merge pull request #483 from ably/release/1.2.1
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 @):
79ed99056131d7dffce05249c0403a0a23cc7a86
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ably/ably-chat-swift.git at main
========================================
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-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:2a8b2d9e022a9894c61e0736af7cdaa1ee64c002dbb133a55c0d7e8980b3ad16
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift-sdk.json
Fetching https://github.com/pointfreeco/swift-clocks
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-async-algorithms
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/ably-forks/swift-semaphore
Fetching https://github.com/JanGorman/Table.git
[1/248] Fetching swift-semaphore
[249/387] Fetching swift-semaphore, table
[388/2658] Fetching swift-semaphore, table, swift-docc-plugin
[638/3975] Fetching swift-semaphore, table, swift-docc-plugin, swift-clocks
[770/21487] Fetching swift-semaphore, table, swift-docc-plugin, swift-clocks, swift-argument-parser
[3058/27711] Fetching swift-semaphore, table, swift-docc-plugin, swift-clocks, swift-argument-parser, swift-async-algorithms
Fetched https://github.com/pointfreeco/swift-clocks from cache (0.78s)
Fetched https://github.com/ably-forks/swift-semaphore from cache (0.79s)
Fetched https://github.com/JanGorman/Table.git from cache (0.79s)
Fetched https://github.com/apple/swift-async-algorithms from cache (0.80s)
Fetching https://github.com/ably/ably-cocoa
Fetched https://github.com/apple/swift-docc-plugin from cache (1.18s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.18s)
[1/50990] Fetching ably-cocoa
Fetched https://github.com/ably/ably-cocoa from cache (3.61s)
Computing version for https://github.com/ably-forks/swift-semaphore
Computed https://github.com/ably-forks/swift-semaphore at 0.1.0 (4.89s)
Computing version for https://github.com/JanGorman/Table.git
Computed https://github.com/JanGorman/Table.git at 1.1.1 (2.34s)
Computing version for https://github.com/pointfreeco/swift-clocks
Computed https://github.com/pointfreeco/swift-clocks at 1.0.6 (0.34s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
Fetching https://github.com/pointfreeco/swift-concurrency-extras
[1/956] Fetching swift-concurrency-extras
Fetched https://github.com/pointfreeco/swift-concurrency-extras from cache (0.28s)
[1/5723] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (0.62s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.00s)
Computing version for https://github.com/pointfreeco/swift-concurrency-extras
Computed https://github.com/pointfreeco/swift-concurrency-extras at 1.3.2 (0.32s)
Computing version for https://github.com/apple/swift-async-algorithms
Computed https://github.com/apple/swift-async-algorithms at 1.1.3 (0.47s)
Fetching https://github.com/apple/swift-collections.git
[1/23523] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/ably/ably-cocoa
Computed https://github.com/ably/ably-cocoa at 1.2.60 (1.61s)
Fetching https://github.com/rvi/msgpack-objective-C
Fetching https://github.com/ably/delta-codec-cocoa
Fetching https://github.com/ably/ably-cocoa-plugin-support.git
[1/506] Fetching msgpack-objective-c
[421/1119] Fetching msgpack-objective-c, delta-codec-cocoa
[422/1232] Fetching msgpack-objective-c, delta-codec-cocoa, ably-cocoa-plugin-support
Fetched https://github.com/ably/ably-cocoa-plugin-support.git from cache (0.23s)
Fetched https://github.com/rvi/msgpack-objective-C from cache (0.23s)
Fetched https://github.com/ably/delta-codec-cocoa from cache (0.24s)
Computing version for https://github.com/ably/ably-cocoa-plugin-support.git
Computed https://github.com/ably/ably-cocoa-plugin-support.git at 2.0.0 (0.60s)
Computing version for https://github.com/ably/delta-codec-cocoa
Computed https://github.com/ably/delta-codec-cocoa at 1.3.5 (0.38s)
Computing version for https://github.com/rvi/msgpack-objective-C
Computed https://github.com/rvi/msgpack-objective-C at 0.4.0 (0.37s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (0.38s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.39s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.82s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.55s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.9.0 (0.34s)
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-forks/swift-semaphore
Working copy of https://github.com/ably-forks/swift-semaphore resolved at 0.1.0
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
Working copy of https://github.com/ably/ably-cocoa resolved at 1.2.60
Creating working copy for https://github.com/ably/ably-cocoa-plugin-support.git
Working copy of https://github.com/ably/ably-cocoa-plugin-support.git resolved at 2.0.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.9.0
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.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.4.1
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-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.6
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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.1.3
[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/171] Write sources
[9/171] Copying PrivacyInfo.xcprivacy
[10/171] Write sources
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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/wasm32-unknown-wasip1/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.
[15/171] Compiling ARTSRURLUtilities.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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.
[15/171] Compiling ARTSRRandom.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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.
[15/171] Compiling Ably resource_bundle_accessor.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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.
[15/171] Compiling ARTSRMutex.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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.
[15/171] Compiling NSURLRequest+ARTSRWebSocket.m
In file included from <built-in>:1:
/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/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.
[15/171] Compiling ARTSRSIMDHelpers.m
[15/171] Compiling NSRunLoop+ARTSRWebSocket.m
[15/171] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.2 wasm