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 LaunchDarkly, reference v9 (66d26f), with Swift 6.2 (beta) for Wasm on 15 Aug 2025 15:57:44 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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.66.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/launchdarkly/ios-client-sdk.git
Reference: v9
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
 * branch            v9         -> FETCH_HEAD
 * [new branch]      v9         -> origin/v9
HEAD is now at 66d26f7 chore(v9): release 9.15.0 (#447)
Cloned https://github.com/launchdarkly/ios-client-sdk.git
Revision (git rev-parse @):
66d26f7f77ea30d55fd41c360a04915734e1e3ba
SUCCESS checkout https://github.com/launchdarkly/ios-client-sdk.git at v9
========================================
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-0":/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/LaunchDarkly/swift-eventsource.git
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/mw99/DataCompression
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/209] Fetching datacompression
[210/1466] Fetching datacompression, cwlpreconditiontesting
[1467/3039] Fetching datacompression, cwlpreconditiontesting, swift-eventsource
[2836/10939] Fetching datacompression, cwlpreconditiontesting, swift-eventsource, ohhttpstubs
[3626/30523] Fetching datacompression, cwlpreconditiontesting, swift-eventsource, ohhttpstubs, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (1.51s)
[3912/29266] Fetching datacompression, swift-eventsource, ohhttpstubs, nimble
[5335/44096] Fetching datacompression, swift-eventsource, ohhttpstubs, nimble, quick
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (2.24s)
[24887/42523] Fetching datacompression, ohhttpstubs, nimble, quick
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (2.84s)
[34232/34623] Fetching datacompression, nimble, quick
Fetched https://github.com/mw99/DataCompression from cache (3.64s)
Fetched https://github.com/Quick/Quick.git from cache (3.62s)
Fetched https://github.com/Quick/Nimble.git from cache (3.75s)
Computing version for https://github.com/mw99/DataCompression
Computed https://github.com/mw99/DataCompression at 3.8.0 (4.66s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (0.77s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.1.2 (0.87s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/455] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.38s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (1.29s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.78s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.83s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.77s)
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/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
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/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/CwlPreconditionTesting
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting resolved at 2.1.2
Creating working copy for https://github.com/mw99/DataCompression
Working copy of https://github.com/mw99/DataCompression resolved at 3.8.0
Building for debugging...
[0/5] Copying PrivacyInfo.xcprivacy
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/13] Emitting module DataCompression
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:30:8: error: no such module 'Foundation'
 28 |
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 | import Compression
 32 |
[7/13] Compiling LDSwiftEventSource UTF8LineParser.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 {
[8/13] 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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/13] 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 {
[10/13] Compiling DataCompression DataCompression.swift
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:30:8: error: no such module 'Foundation'
 28 |
 29 |
 30 | import Foundation
    |        `- error: no such module 'Foundation'
 31 | import Compression
 32 |
[11/13] Compiling LDSwiftEventSource Logs.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 {
[12/13] Compiling LDSwiftEventSource Types.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 {
[13/13] Compiling LDSwiftEventSource LDSwiftEventSource.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