The Swift Package Index logo.Swift Package Index

Build Information

Failed to build PromiseQ, reference master (539a98), with Swift 6.4 for Wasm on 17 Sep 2026 21:29:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ikhvorost/PromiseQ.git
Reference: master
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/ikhvorost/PromiseQ
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 539a987 Readme: added isCancelled, new await
Cloned https://github.com/ikhvorost/PromiseQ.git
Revision (git rev-parse @):
539a987b5a74da758d1a4d245af5551ee1e35282
SUCCESS checkout https://github.com/ikhvorost/PromiseQ.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ikhvorost/PromiseQ.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886769-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

[22 / 30] PromiseQ
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:60:1: warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
 58 |
 59 | /// String errors
 60 | extension String : LocalizedError {
    | |- warning: extension declares a conformance of imported type 'String' to imported protocols 'LocalizedError', 'Error'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
    | `- note: add '@retroactive' to silence this warning
 61 | 	/// A localized message describing what error occurred.
 62 | 	public var errorDescription: String? { return self }
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:65:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 63 | }
 64 |
 65 | extension URLSessionDataTask: Asyncable {
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 66 | }
 67 |
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:68:1: error: non-nominal type 'URLSessionDownloadTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 66 | }
 67 |
 68 | extension URLSessionDownloadTask: Asyncable {
    | `- error: non-nominal type 'URLSessionDownloadTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 69 | }
 70 |
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:96:23: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 94 | public class HTTPResponse {
 95 | 	/// The metadata associated with the response to an HTTP protocol URL load request.
 96 | 	public let response: HTTPURLResponse
    |                       `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 97 |
 98 | 	private let result: ResponseResult
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:142:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
140 | 	}
141 |
142 | 	fileprivate init(response: HTTPURLResponse, result: ResponseResult) {
    |                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
143 | 		self.response = response
144 | 		self.result = result
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' 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 HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:160:8: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
158 | }
159 |
160 | public extension URLSession  {
    |        `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
161 |
162 | 	/// Creates a promise that retrieves the contents of a HTTP request object.
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:307:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
305 | /// 	- totalBytes: The expected length of the data.
306 | ///
307 | public typealias Progress = (_ task: URLSessionTask, _ bytes: Int64, _ totalBytes: Int64) -> Void
    |                                      `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
308 |
309 | private class SessionDownloadDelegate: NSObject, URLSessionDownloadDelegate {
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/Sources/PromiseQ/Fetch.swift:309:50: error: cannot find type 'URLSessionDownloadDelegate' in scope
307 | public typealias Progress = (_ task: URLSessionTask, _ bytes: Int64, _ totalBytes: Int64) -> Void
308 |
309 | private class SessionDownloadDelegate: NSObject, URLSessionDownloadDelegate {
    |                                                  `- error: cannot find type 'URLSessionDownloadDelegate' in scope
310 | 	let resolve: (HTTPResponse) -> Void
311 | 	let reject: (Error) -> Void
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:321:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
319 | 	}
320 |
321 | 	func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 | 		progress?(downloadTask, totalBytesWritten, totalBytesExpectedToWrite)
323 | 	}
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/Sources/PromiseQ/Fetch.swift:321:55: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
319 | 	}
320 |
321 | 	func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
    |                                                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 | 		progress?(downloadTask, totalBytesWritten, totalBytesExpectedToWrite)
323 | 	}
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:325:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | 	}
324 |
325 | 	func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 | 		session.invalidateAndCancel()
327 |
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/Sources/PromiseQ/Fetch.swift:325:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 | 	}
324 |
325 | 	func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
    |                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 | 		session.invalidateAndCancel()
327 |
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/Sources/PromiseQ/Fetch.swift:333:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 | 	}
332 |
333 | 	func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 | 		session.invalidateAndCancel()
335 |
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/Sources/PromiseQ/Fetch.swift:333:55: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 | 	}
332 |
333 | 	func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
    |                                                       `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 | 		session.invalidateAndCancel()
335 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
  |                  `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:392:46: error: cannot find type 'URLSessionTaskDelegate' in scope
390 | // MARK: - Upload
391 |
392 | private class SessionTaskDelegate: NSObject, URLSessionTaskDelegate {
    |                                              `- error: cannot find type 'URLSessionTaskDelegate' in scope
393 | 	let progress: Progress?
394 |
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:400:29: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
398 | 	}
399 |
400 | 	func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
    |                             `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
401 | 		progress?(task, totalBytesSent, totalBytesExpectedToSend)
402 | 	}
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/Sources/PromiseQ/Fetch.swift:400:47: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
398 | 	}
399 |
400 | 	func urlSession(_ session: URLSession, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
    |                                               `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
401 | 		progress?(task, totalBytesSent, totalBytesExpectedToSend)
402 | 	}
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/Sources/PromiseQ/Monitor.swift:28:11: error: cannot find type 'DispatchSemaphore' in scope
 26 | import Foundation
 27 |
 28 | extension DispatchSemaphore {
    |           `- error: cannot find type 'DispatchSemaphore' in scope
 29 | 	static func Lock() -> DispatchSemaphore {
 30 | 		return DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/PromiseQ/Monitor.swift:73:33: error: cannot find type 'DispatchSemaphore' in scope
 71 | 		}
 72 | 	}
 73 | 	@Atomic private var semaphore: DispatchSemaphore?
    |                                 `- error: cannot find type 'DispatchSemaphore' in scope
 74 | 	@Atomic var task: Asyncable?
 75 |
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:51:31: error: cannot find type 'DispatchQueue' in scope
  49 | }
  50 |
  51 | private func execute(_ queue: DispatchQueue, f: @escaping () -> Void) {
     |                               `- error: cannot find type 'DispatchQueue' in scope
  52 | 	if queue.label == String(cString: __dispatch_queue_get_label(nil)) {
  53 | 		f()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:216:23: error: cannot find type 'DispatchWorkItem' in scope
 214 |
 215 | 	private let f: (@escaping (Result<T, Error>) -> Void) -> Void
 216 | 	private let autoRun: DispatchWorkItem
     |                       `- error: cannot find type 'DispatchWorkItem' in scope
 217 | 	private let monitor: Monitor
 218 |
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:254:23: error: cannot find type 'DispatchQueue' in scope
 252 | 	/// - SeeAlso: `Promise.resolve()`, `Promise.reject()`
 253 | 	@discardableResult
 254 | 	public init(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping (() throws -> T)) {
     |                       `- error: cannot find type 'DispatchQueue' in scope
 255 | 		let monitor = Monitor()
 256 | 		self.init(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:295:23: error: cannot find type 'DispatchQueue' in scope
 293 | 	/// - Returns: A new `Promise`
 294 | 	/// - SeeAlso: `Promise.resolve()`, `Promise.reject()`
 295 | 	public init(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping (() throws -> Promise<T>)) {
     |                       `- error: cannot find type 'DispatchQueue' in scope
 296 | 		let monitor = Monitor()
 297 | 		self.init(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:351:23: error: cannot find type 'DispatchQueue' in scope
 349 | 	/// - SeeAlso: `Asyncable`
 350 | 	@discardableResult
 351 | 	public init(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0,
     |                       `- error: cannot find type 'DispatchQueue' in scope
 352 | 				f: @escaping (@escaping (T) -> Void,  @escaping (Error) -> Void, inout Asyncable?) throws -> Void) {
 353 | 		let monitor = Monitor()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:397:23: error: cannot find type 'DispatchQueue' in scope
 395 | 	/// - Returns: A new `Promise`
 396 | 	@discardableResult
 397 | 	public init(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0,  retry: Int = 0,
     |                       `- error: cannot find type 'DispatchQueue' in scope
 398 | 				f: @escaping ( @escaping (T) -> Void,  @escaping (Error) -> Void) throws -> Void) {
 399 | 		self.init(queue, timeout: timeout, retry: retry) { resolve, reject, task in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:426:31: error: cannot find type 'DispatchQueue' in scope
 424 | 	///	- Returns: A new chained promise.
 425 | 	@discardableResult
 426 | 	public func then<U>(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((T) throws -> U)) -> Promise<U> {
     |                               `- error: cannot find type 'DispatchQueue' in scope
 427 | 		autoRun.cancel()
 428 | 		return Promise<U>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:476:31: error: cannot find type 'DispatchQueue' in scope
 474 | 	///	- Returns: A new chained promise.
 475 | 	@discardableResult
 476 | 	public func then<U>(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((T) throws -> Promise<U>)) -> Promise<U> {
     |                               `- error: cannot find type 'DispatchQueue' in scope
 477 | 		autoRun.cancel()
 478 | 		return Promise<U>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:548:31: error: cannot find type 'DispatchQueue' in scope
 546 | 	/// - SeeAlso: `Asyncable`
 547 | 	@discardableResult
 548 | 	public func then<U>(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0,
     |                               `- error: cannot find type 'DispatchQueue' in scope
 549 | 						f: @escaping (T, @escaping (U) -> Void, @escaping (Error) -> Void, inout Asyncable?) throws -> Void) -> Promise<U> {
 550 | 		autoRun.cancel()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:590:31: error: cannot find type 'DispatchQueue' in scope
 588 | 	///	- Returns: A new chained promise.
 589 | 	@discardableResult
 590 | 	public func then<U>(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0,
     |                               `- error: cannot find type 'DispatchQueue' in scope
 591 | 						f: @escaping (T, @escaping (U) -> Void, @escaping (Error) -> Void) throws -> Void) -> Promise<U> {
 592 | 		then(queue, timeout: timeout, retry: retry) { value, resolve, reject, task in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:616:31: error: cannot find type 'DispatchQueue' in scope
 614 | 	///	- Returns: A new chained promise.
 615 | 	@discardableResult
 616 | 	public func `catch`(_ queue: DispatchQueue = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((Error) throws -> Void)) -> Promise<Void> {
     |                               `- error: cannot find type 'DispatchQueue' in scope
 617 | 		autoRun.cancel()
 618 | 		return Promise<Void>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:687:31: error: cannot find type 'DispatchQueue' in scope
 685 | 	///	- Returns: A new chained promise.
 686 | 	@discardableResult
 687 | 	public func finally(_ queue: DispatchQueue = .global(), f: @escaping (() -> Void)) -> Promise<T> {
     |                               `- error: cannot find type 'DispatchQueue' in scope
 688 | 		autoRun.cancel()
 689 | 		return Promise<T>(monitor) { callback in
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift /host/spi-builder-workspace/Sources/PromiseQ/Monitor.swift /host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PromiseQ -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/PromiseQ_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/Modules/PromiseQ.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/Modules/PromiseQ.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/PromiseQ-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/PromiseQ-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/PromiseQ-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PromiseQ.build/Debug-webassembly-wasm32/PromiseQ-t.build/Objects-normal/wasm32/Modules/PromiseQ.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm