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>&1Build 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: [1;33mwarning: [1;39mextension 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[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m /// String errors
[0;36m60 |[0;0m extension String : LocalizedError {
[0;36m|[0;0m |- [1;33mwarning: [1;39mextension 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[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@retroactive' to silence this warning[0;0m
[0;36m61 |[0;0m /// A localized message describing what error occurred.
[0;36m62 |[0;0m public var errorDescription: String? { return self }
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:65:1: [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m63 |[0;0m }
[0;36m64 |[0;0m
[0;36m65 |[0;0m extension [4;39mURLSessionDataTask[0;0m: Asyncable {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:68:1: [1;31merror: [1;39mnon-nominal type 'URLSessionDownloadTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m66 |[0;0m }
[0;36m67 |[0;0m
[0;36m68 |[0;0m extension [4;39mURLSessionDownloadTask[0;0m: Asyncable {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionDownloadTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m69 |[0;0m }
[0;36m70 |[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:96:23: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m94 |[0;0m public class HTTPResponse {
[0;36m95 |[0;0m /// The metadata associated with the response to an HTTP protocol URL load request.
[0;36m96 |[0;0m public let response: [4;39mHTTPURLResponse[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m97 |[0;0m
[0;36m98 |[0;0m private let result: ResponseResult
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:142:29: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m140 |[0;0m }
[0;36m141 |[0;0m
[0;36m142 |[0;0m fileprivate init(response: [4;39mHTTPURLResponse[0;0m, result: ResponseResult) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m143 |[0;0m self.response = response
[0;36m144 |[0;0m self.result = result
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:160:8: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m158 |[0;0m }
[0;36m159 |[0;0m
[0;36m160 |[0;0m public extension [4;39mURLSession[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m161 |[0;0m
[0;36m162 |[0;0m /// Creates a promise that retrieves the contents of a HTTP request object.
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:307:38: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m305 |[0;0m /// - totalBytes: The expected length of the data.
[0;36m306 |[0;0m ///
[0;36m307 |[0;0m public typealias Progress = (_ task: [4;39mURLSessionTask[0;0m, _ bytes: Int64, _ totalBytes: Int64) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m308 |[0;0m
[0;36m309 |[0;0m private class SessionDownloadDelegate: NSObject, URLSessionDownloadDelegate {
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:309:50: [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m307 |[0;0m public typealias Progress = (_ task: URLSessionTask, _ bytes: Int64, _ totalBytes: Int64) -> Void
[0;36m308 |[0;0m
[0;36m309 |[0;0m private class SessionDownloadDelegate: NSObject, [4;39mURLSessionDownloadDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionDownloadDelegate' in scope[0;0m
[0;36m310 |[0;0m let resolve: (HTTPResponse) -> Void
[0;36m311 |[0;0m let reject: (Error) -> Void
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:321:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m319 |[0;0m }
[0;36m320 |[0;0m
[0;36m321 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m322 |[0;0m progress?(downloadTask, totalBytesWritten, totalBytesExpectedToWrite)
[0;36m323 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:321:55: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m319 |[0;0m }
[0;36m320 |[0;0m
[0;36m321 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didWriteData bytesWritten: Int64, totalBytesWritten: Int64, totalBytesExpectedToWrite: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m322 |[0;0m progress?(downloadTask, totalBytesWritten, totalBytesExpectedToWrite)
[0;36m323 |[0;0m }
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:325:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m323 |[0;0m }
[0;36m324 |[0;0m
[0;36m325 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m326 |[0;0m session.invalidateAndCancel()
[0;36m327 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:325:47: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m323 |[0;0m }
[0;36m324 |[0;0m
[0;36m325 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didCompleteWithError error: Error?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m326 |[0;0m session.invalidateAndCancel()
[0;36m327 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:333:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m331 |[0;0m }
[0;36m332 |[0;0m
[0;36m333 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m334 |[0;0m session.invalidateAndCancel()
[0;36m335 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:333:55: [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m331 |[0;0m }
[0;36m332 |[0;0m
[0;36m333 |[0;0m func urlSession(_ session: URLSession, downloadTask: [4;39mURLSessionDownloadTask[0;0m, didFinishDownloadingTo location: URL) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m334 |[0;0m session.invalidateAndCancel()
[0;36m335 |[0;0m
Foundation.URLSessionDownloadTask:2:18: [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionDownloadTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionDownloadTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:392:46: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m390 |[0;0m // MARK: - Upload
[0;36m391 |[0;0m
[0;36m392 |[0;0m private class SessionTaskDelegate: NSObject, [4;39mURLSessionTaskDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m393 |[0;0m let progress: Progress?
[0;36m394 |[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:400:29: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m398 |[0;0m }
[0;36m399 |[0;0m
[0;36m400 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m401 |[0;0m progress?(task, totalBytesSent, totalBytesExpectedToSend)
[0;36m402 |[0;0m }
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Fetch.swift:400:47: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m398 |[0;0m }
[0;36m399 |[0;0m
[0;36m400 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didSendBodyData bytesSent: Int64, totalBytesSent: Int64, totalBytesExpectedToSend: Int64) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m401 |[0;0m progress?(task, totalBytesSent, totalBytesExpectedToSend)
[0;36m402 |[0;0m }
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/Monitor.swift:28:11: [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m26 |[0;0m import Foundation
[0;36m27 |[0;0m
[0;36m28 |[0;0m extension [4;39mDispatchSemaphore[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m29 |[0;0m static func Lock() -> DispatchSemaphore {
[0;36m30 |[0;0m return DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/PromiseQ/Monitor.swift:73:33: [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m71 |[0;0m }
[0;36m72 |[0;0m }
[0;36m73 |[0;0m @Atomic private var semaphore: [4;39mDispatchSemaphore[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchSemaphore' in scope[0;0m
[0;36m74 |[0;0m @Atomic var task: Asyncable?
[0;36m75 |[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:51:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m49 |[0;0m }
[0;36m50 |[0;0m
[0;36m51 |[0;0m private func execute(_ queue: [4;39mDispatchQueue[0;0m, f: @escaping () -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m52 |[0;0m if queue.label == String(cString: __dispatch_queue_get_label(nil)) {
[0;36m53 |[0;0m f()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:216:23: [1;31merror: [1;39mcannot find type 'DispatchWorkItem' in scope[0;0m
[0;36m214 |[0;0m
[0;36m215 |[0;0m private let f: (@escaping (Result<T, Error>) -> Void) -> Void
[0;36m216 |[0;0m private let autoRun: [4;39mDispatchWorkItem[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchWorkItem' in scope[0;0m
[0;36m217 |[0;0m private let monitor: Monitor
[0;36m218 |[0;0m
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:254:23: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m252 |[0;0m /// - SeeAlso: `Promise.resolve()`, `Promise.reject()`
[0;36m253 |[0;0m @discardableResult
[0;36m254 |[0;0m public init(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping (() throws -> T)) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m255 |[0;0m let monitor = Monitor()
[0;36m256 |[0;0m self.init(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:295:23: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m293 |[0;0m /// - Returns: A new `Promise`
[0;36m294 |[0;0m /// - SeeAlso: `Promise.resolve()`, `Promise.reject()`
[0;36m295 |[0;0m public init(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping (() throws -> Promise<T>)) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m296 |[0;0m let monitor = Monitor()
[0;36m297 |[0;0m self.init(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:351:23: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m349 |[0;0m /// - SeeAlso: `Asyncable`
[0;36m350 |[0;0m @discardableResult
[0;36m351 |[0;0m public init(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m352 |[0;0m f: @escaping (@escaping (T) -> Void, @escaping (Error) -> Void, inout Asyncable?) throws -> Void) {
[0;36m353 |[0;0m let monitor = Monitor()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:397:23: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m395 |[0;0m /// - Returns: A new `Promise`
[0;36m396 |[0;0m @discardableResult
[0;36m397 |[0;0m public init(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m398 |[0;0m f: @escaping ( @escaping (T) -> Void, @escaping (Error) -> Void) throws -> Void) {
[0;36m399 |[0;0m self.init(queue, timeout: timeout, retry: retry) { resolve, reject, task in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:426:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m424 |[0;0m /// - Returns: A new chained promise.
[0;36m425 |[0;0m @discardableResult
[0;36m426 |[0;0m public func then<U>(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((T) throws -> U)) -> Promise<U> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m427 |[0;0m autoRun.cancel()
[0;36m428 |[0;0m return Promise<U>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:476:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m474 |[0;0m /// - Returns: A new chained promise.
[0;36m475 |[0;0m @discardableResult
[0;36m476 |[0;0m public func then<U>(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((T) throws -> Promise<U>)) -> Promise<U> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m477 |[0;0m autoRun.cancel()
[0;36m478 |[0;0m return Promise<U>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:548:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m546 |[0;0m /// - SeeAlso: `Asyncable`
[0;36m547 |[0;0m @discardableResult
[0;36m548 |[0;0m public func then<U>(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m549 |[0;0m f: @escaping (T, @escaping (U) -> Void, @escaping (Error) -> Void, inout Asyncable?) throws -> Void) -> Promise<U> {
[0;36m550 |[0;0m autoRun.cancel()
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:590:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m588 |[0;0m /// - Returns: A new chained promise.
[0;36m589 |[0;0m @discardableResult
[0;36m590 |[0;0m public func then<U>(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m591 |[0;0m f: @escaping (T, @escaping (U) -> Void, @escaping (Error) -> Void) throws -> Void) -> Promise<U> {
[0;36m592 |[0;0m then(queue, timeout: timeout, retry: retry) { value, resolve, reject, task in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:616:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m614 |[0;0m /// - Returns: A new chained promise.
[0;36m615 |[0;0m @discardableResult
[0;36m616 |[0;0m public func `catch`(_ queue: [4;39mDispatchQueue[0;0m = .global(), timeout: TimeInterval = 0, retry: Int = 0, f: @escaping ((Error) throws -> Void)) -> Promise<Void> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m617 |[0;0m autoRun.cancel()
[0;36m618 |[0;0m return Promise<Void>(monitor) { callback in
/host/spi-builder-workspace/Sources/PromiseQ/PromiseQ.swift:687:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m685 |[0;0m /// - Returns: A new chained promise.
[0;36m686 |[0;0m @discardableResult
[0;36m687 |[0;0m public func finally(_ queue: [4;39mDispatchQueue[0;0m = .global(), f: @escaping (() -> Void)) -> Promise<T> {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m688 |[0;0m autoRun.cancel()
[0;36m689 |[0;0m 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