Build Information
Failed to build LaunchDarkly, reference 11.1.2 (34fcbc), with Swift 6.2 for Wasm on 25 Mar 2026 03:10:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/launchdarkly/ios-client-sdk.git
Reference: 11.1.2
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/launchdarkly/ios-client-sdk
* tag 11.1.2 -> FETCH_HEAD
HEAD is now at 34fcbc0 chore(v11): release 11.1.2 (#491)
Cloned https://github.com/launchdarkly/ios-client-sdk.git
Revision (git rev-parse @):
34fcbc00251ed5890d26d7d859c3c1385a684030
SUCCESS checkout https://github.com/launchdarkly/ios-client-sdk.git at 11.1.2
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/launchdarkly/ios-client-sdk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:33aba1b4ee401c56e0fd7ee42e05ab1ffc0b6f44277ad19cffda5d456eb09500
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/embedded-swift-sdk.json
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/Quick/Quick.git
[1/1257] Fetching cwlpreconditiontesting
[441/3046] Fetching cwlpreconditiontesting, swift-eventsource
[2708/10948] Fetching cwlpreconditiontesting, swift-eventsource, ohhttpstubs
[2709/25834] Fetching cwlpreconditiontesting, swift-eventsource, ohhttpstubs, quick
Fetching https://github.com/Quick/Nimble.git
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (0.59s)
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.59s)
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (0.79s)
Fetched https://github.com/Quick/Quick.git from cache (0.79s)
[1/19813] Fetching nimble
Fetched https://github.com/Quick/Nimble.git from cache (2.04s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (3.07s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.1.2 (0.49s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.22s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.84s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (1.91s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.67s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (1.26s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
Creating working copy for https://github.com/LaunchDarkly/swift-eventsource.git
Working copy of https://github.com/LaunchDarkly/swift-eventsource.git resolved at 3.3.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 4.0.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.1.2
Building for debugging...
[0/4] Write sources
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module LDSwiftEventSource
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/EventParser.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | class EventParser {
[6/6] Compiling LDSwiftEventSource EventParser.swift
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/EventParser.swift:1:8: error: no such module 'Foundation'
1 | import Foundation
| `- error: no such module 'Foundation'
2 |
3 | class EventParser {
BUILD FAILURE 6.2 wasm