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 10.1.0 (9ae7b1), with Swift 6.2 for Wasm on 11 Dec 2025 21:37:04 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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/launchdarkly/ios-client-sdk.git
Reference: 10.1.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/launchdarkly/ios-client-sdk
 * tag               10.1.0     -> FETCH_HEAD
HEAD is now at 9ae7b15 chore(v10): release 10.1.0 (#464)
Cloned https://github.com/launchdarkly/ios-client-sdk.git
Revision (git rev-parse @):
9ae7b15a468824daf4e6cbde5d30fa7414320605
SUCCESS checkout https://github.com/launchdarkly/ios-client-sdk.git at 10.1.0
========================================
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-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:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:302e3f347c593123f3d337e3da1bfe6e802bb8867614e9dfa745c72e13ca8eeb
Status: Image is up to date for registry.gitlab.com/finestructure/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/AliSoftware/OHHTTPStubs.git
Fetching https://github.com/LaunchDarkly/swift-eventsource.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/mw99/DataCompression
[1/209] Fetching datacompression
[210/8109] Fetching datacompression, ohhttpstubs
Fetched https://github.com/mw99/DataCompression from cache (0.25s)
[948/7900] Fetching ohhttpstubs
[1423/22759] Fetching ohhttpstubs, quick
[8550/24332] Fetching ohhttpstubs, quick, swift-eventsource
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/mattgallagher/CwlPreconditionTesting
Fetched https://github.com/AliSoftware/OHHTTPStubs.git from cache (0.77s)
[1/1257] Fetching cwlpreconditiontesting
[1258/21061] Fetching cwlpreconditiontesting, nimble
Fetched https://github.com/mattgallagher/CwlPreconditionTesting from cache (0.41s)
[595/19804] Fetching nimble
Fetched https://github.com/LaunchDarkly/swift-eventsource.git from cache (1.21s)
Fetched https://github.com/Quick/Quick.git from cache (1.22s)
Fetched https://github.com/Quick/Nimble.git from cache (1.60s)
Computing version for https://github.com/mw99/DataCompression
Computed https://github.com/mw99/DataCompression at 3.8.0 (3.06s)
Computing version for https://github.com/LaunchDarkly/swift-eventsource.git
Computed https://github.com/LaunchDarkly/swift-eventsource.git at 3.3.0 (0.58s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting
Computed https://github.com/mattgallagher/CwlPreconditionTesting at 2.1.2 (0.75s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (0.30s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.87s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 4.0.0 (0.62s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.51s)
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/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/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/mw99/DataCompression
Working copy of https://github.com/mw99/DataCompression resolved at 3.8.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/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.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
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:31:8: error: no such module 'Compression'
 29 |
 30 | import Foundation
 31 | import Compression
    |        `- error: no such module 'Compression'
 32 |
 33 | public extension Data
[7/13] Compiling DataCompression DataCompression.swift
/host/spi-builder-workspace/.build/checkouts/DataCompression/Sources/DataCompression/DataCompression.swift:31:8: error: no such module 'Compression'
 29 |
 30 | import Foundation
 31 | import Compression
    |        `- error: no such module 'Compression'
 32 |
 33 | public extension Data
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/13] Emitting module LDSwiftEventSource
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:47: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                               `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:82:97: error: value of type '_' expected to be instance of class or class-constrained type
 80 |         public var idleTimeout: TimeInterval = 300.0
 81 |
 82 |         private var _urlSessionConfiguration: URLSessionConfiguration = URLSessionConfiguration.default
    |                                                                                                 `- error: value of type '_' expected to be instance of class or class-constrained type
 83 |         /**
 84 |          The `URLSessionConfiguration` used to create the `URLSession`.
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:94:45: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |          - Since: 1.3.0
 93 |          */
 94 |         public var urlSessionConfiguration: URLSessionConfiguration {
    |                                             `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 95 |             get {
 96 |                 // swiftlint:disable:next force_cast
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:165:38: error: cannot find type 'URLSessionDataDelegate' in scope
163 |
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
    |                                      `- error: cannot find type 'URLSessionDataDelegate' in scope
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
167 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:166:32: error: cannot find type 'DispatchQueue' in scope
164 | // MARK: EventSourceDelegate
165 | class EventSourceDelegate: NSObject, URLSessionDataDelegate {
166 |     private let delegateQueue: DispatchQueue = DispatchQueue(label: "ESDelegateQueue")
    |                                `- error: cannot find type 'DispatchQueue' in scope
167 |
168 |     public var logger: InternalLogging
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:181:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |     private let eventParser: EventParser
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |     private var sessionTask: URLSessionDataTask?
183 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:182:30: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |     private let reconnectionTimer: ReconnectionTimer
181 |     private var urlSession: URLSession?
182 |     private var sessionTask: URLSessionDataTask?
    |                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |
184 |     init(config: EventSource.Config) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:231:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |     func getLastEventId() -> String { eventParser.getLastEventId() }
230 |
231 |     func createSession() -> URLSession {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 |         let opQueue = OperationQueue()
233 |         opQueue.underlyingQueue = self.delegateQueue
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:237:29: error: cannot find type 'URLRequest' in scope
235 |     }
236 |
237 |     func createRequest() -> URLRequest {
    |                             `- error: cannot find type 'URLRequest' in scope
238 |         var urlRequest = URLRequest(url: self.config.url,
239 |                                     cachePolicy: URLRequest.CachePolicy.reloadIgnoringLocalAndRemoteCacheData,
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:270:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
271 |                            task: URLSessionTask,
272 |                            didCompleteWithError error: Error?) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:271:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |     // Tells the delegate that the task finished transferring data.
270 |     public func urlSession(_ session: URLSession,
271 |                            task: URLSessionTask,
    |                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 |                            didCompleteWithError error: Error?) {
273 |         utf8LineParser.closeAndReset()
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:312:69: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                     `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
313 |         logger.log(.debug, "Initial reply received")
314 |
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:309:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
307 |
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:310:38: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |     // Tells the delegate that the data task received the initial reply (headers) from the server.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
    |                                      `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
311 |                            didReceive response: URLResponse,
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:311:49: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
309 |     public func urlSession(_ session: URLSession,
310 |                            dataTask: URLSessionDataTask,
311 |                            didReceive response: URLResponse,
    |                                                 `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
312 |                            completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
313 |         logger.log(.debug, "Initial reply received")
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:39: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                       `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/swift-eventsource/Source/LDSwiftEventSource.swift:340:61: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     }
339 |
340 |     public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
    |                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |         utf8LineParser.append(data).forEach(eventParser.parse)
342 |     }
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
BUILD FAILURE 6.2 wasm