The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Promissum, reference 7.1.0 (b4c19f), with Swift 6.3 for Wasm on 20 Apr 2026 18:02:19 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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tomlokhorst/Promissum.git
Reference: 7.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/tomlokhorst/Promissum
 * tag               7.1.0      -> FETCH_HEAD
HEAD is now at b4c19f4 7.1.0
Cloned https://github.com/tomlokhorst/Promissum.git
Revision (git rev-parse @):
b4c19f4b5e54bb95c131e635c26e3f6b9c34e87b
SUCCESS checkout https://github.com/tomlokhorst/Promissum.git at 7.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/tomlokhorst/Promissum.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/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/9] Compiling Promissum Promise.swift
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:298:34: error: cannot find type 'DispatchQueue' in scope
296 |
297 |   /// Returns a Promise that dispatches its handlers on the specified dispatch queue.
298 |   public func dispatch(on queue: DispatchQueue) -> Promise<Value, Error> {
    |                                  `- error: cannot find type 'DispatchQueue' in scope
299 |     let key = DispatchSpecificKey<Void>()
300 |     queue.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:310:73: error: cannot find type 'DispatchSpecificKey' in scope
308 |   }
309 |
310 |   private func dispatch(on dispatchMethod: DispatchMethod, dispatchKey: DispatchSpecificKey<Void>) -> Promise<Value, Error> {
    |                                                                         `- error: cannot find type 'DispatchSpecificKey' in scope
311 |     let resultSource = PromiseSource<Value, Error>(
312 |       state: .unresolved,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:479:53: error: cannot find type 'DispatchQueue' in scope
477 |
478 |   /// Return a Promise with the resolve or reject delayed by the specified number of seconds.
479 |   public func delay(_ seconds: TimeInterval, queue: DispatchQueue? = nil) -> Promise<Value, Error> {
    |                                                     `- error: cannot find type 'DispatchQueue' in scope
480 |     let dispatchQueue = queue ?? source.dispatchMethod.queue
481 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:501:14: error: cannot find type 'DispatchQueue' in scope
499 |
500 | private extension DispatchMethod {
501 |   var queue: DispatchQueue {
    |              `- error: cannot find type 'DispatchQueue' in scope
502 |     switch self {
503 |     case .unspecified:
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:119:44: error: cannot find type 'DispatchSpecificKey' in scope
117 |   }
118 |
119 |   internal init(state: State, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod, warnUnresolvedDeinit: Bool) {
    |                                            `- error: cannot find type 'DispatchSpecificKey' in scope
120 |     self.internalState = PromiseSourceState(state: state)
121 |     self.dispatchKey = dispatchKey
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:299:15: error: cannot find 'DispatchSpecificKey' in scope
297 |   /// Returns a Promise that dispatches its handlers on the specified dispatch queue.
298 |   public func dispatch(on queue: DispatchQueue) -> Promise<Value, Error> {
299 |     let key = DispatchSpecificKey<Void>()
    |               `- error: cannot find 'DispatchSpecificKey' in scope
300 |     queue.setSpecific(key: key, value: ())
301 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:302:26: error: cannot infer contextual base in reference to member 'queue'
300 |     queue.setSpecific(key: key, value: ())
301 |
302 |     return dispatch(on: .queue(queue), dispatchKey: key)
    |                          `- error: cannot infer contextual base in reference to member 'queue'
303 |   }
304 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:307:26: error: cannot infer contextual base in reference to member 'main'
305 |   /// Returns a Promise that dispatches its handlers on the main dispatch queue.
306 |   public func dispatchMain() -> Promise<Value, Error> {
307 |     return dispatch(on: .main)
    |                          `- error: cannot infer contextual base in reference to member 'main'
308 |   }
309 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:311:51: error: extra arguments at positions #1, #3 in call
309 |
310 |   private func dispatch(on dispatchMethod: DispatchMethod, dispatchKey: DispatchSpecificKey<Void>) -> Promise<Value, Error> {
311 |     let resultSource = PromiseSource<Value, Error>(
    |                                                   `- error: extra arguments at positions #1, #3 in call
312 |       state: .unresolved,
313 |       dispatchKey: dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:312:15: error: cannot infer contextual base in reference to member 'unresolved'
310 |   private func dispatch(on dispatchMethod: DispatchMethod, dispatchKey: DispatchSpecificKey<Void>) -> Promise<Value, Error> {
311 |     let resultSource = PromiseSource<Value, Error>(
312 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
313 |       dispatchKey: dispatchKey,
314 |       dispatchMethod: dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:70:29: error: cannot find type 'DispatchSpecificKey' in scope
 68 | */
 69 | public class PromiseSource<Value, Error> where Error: Swift.Error {
 70 |   internal let dispatchKey: DispatchSpecificKey<Void>
    |                             `- error: cannot find type 'DispatchSpecificKey' in scope
 71 |   internal let dispatchMethod: DispatchMethod
 72 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:328:54: error: extra arguments at positions #1, #3 in call
326 |   /// Return a Promise containing the results of mapping `transform` over the value of `self`.
327 |   public func map<NewValue>(_ transform: @escaping (Value) -> NewValue) -> Promise<NewValue, Error> {
328 |     let resultSource = PromiseSource<NewValue, Error>(
    |                                                      `- error: extra arguments at positions #1, #3 in call
329 |       state: .unresolved,
330 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:329:15: error: cannot infer contextual base in reference to member 'unresolved'
327 |   public func map<NewValue>(_ transform: @escaping (Value) -> NewValue) -> Promise<NewValue, Error> {
328 |     let resultSource = PromiseSource<NewValue, Error>(
329 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
330 |       dispatchKey: source.dispatchKey,
331 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:353:54: error: extra arguments at positions #1, #3 in call
351 |   /// Returns the flattened result of mapping `transform` over the value of `self`.
352 |   public func flatMap<NewValue>(_ transform: @escaping (Value) -> Promise<NewValue, Error>) -> Promise<NewValue, Error> {
353 |     let resultSource = PromiseSource<NewValue, Error>(
    |                                                      `- error: extra arguments at positions #1, #3 in call
354 |       state: .unresolved,
355 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:354:15: error: cannot infer contextual base in reference to member 'unresolved'
352 |   public func flatMap<NewValue>(_ transform: @escaping (Value) -> Promise<NewValue, Error>) -> Promise<NewValue, Error> {
353 |     let resultSource = PromiseSource<NewValue, Error>(
354 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
355 |       dispatchKey: source.dispatchKey,
356 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:382:54: error: extra arguments at positions #1, #3 in call
380 |   /// Return a Promise containing the results of mapping `transform` over the error of `self`.
381 |   public func mapError<NewError>(_ transform: @escaping (Error) -> NewError) -> Promise<Value, NewError> {
382 |     let resultSource = PromiseSource<Value, NewError>(
    |                                                      `- error: extra arguments at positions #1, #3 in call
383 |       state: .unresolved,
384 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:383:15: error: cannot infer contextual base in reference to member 'unresolved'
381 |   public func mapError<NewError>(_ transform: @escaping (Error) -> NewError) -> Promise<Value, NewError> {
382 |     let resultSource = PromiseSource<Value, NewError>(
383 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
384 |       dispatchKey: source.dispatchKey,
385 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:407:54: error: extra arguments at positions #1, #3 in call
405 |   /// Returns the flattened result of mapping `transform` over the error of `self`.
406 |   public func flatMapError<NewError>(_ transform: @escaping (Error) -> Promise<Value, NewError>) -> Promise<Value, NewError> {
407 |     let resultSource = PromiseSource<Value, NewError>(
    |                                                      `- error: extra arguments at positions #1, #3 in call
408 |       state: .unresolved,
409 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:408:15: error: cannot infer contextual base in reference to member 'unresolved'
406 |   public func flatMapError<NewError>(_ transform: @escaping (Error) -> Promise<Value, NewError>) -> Promise<Value, NewError> {
407 |     let resultSource = PromiseSource<Value, NewError>(
408 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
409 |       dispatchKey: source.dispatchKey,
410 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:435:57: error: extra arguments at positions #1, #3 in call
433 |   /// Return a Promise containing the results of mapping `transform` over the result of `self`.
434 |   public func mapResult<NewValue, NewError>(_ transform: @escaping (Result<Value, Error>) -> Result<NewValue, NewError>) -> Promise<NewValue, NewError> {
435 |     let resultSource = PromiseSource<NewValue, NewError>(
    |                                                         `- error: extra arguments at positions #1, #3 in call
436 |       state: .unresolved,
437 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:436:15: error: cannot infer contextual base in reference to member 'unresolved'
434 |   public func mapResult<NewValue, NewError>(_ transform: @escaping (Result<Value, Error>) -> Result<NewValue, NewError>) -> Promise<NewValue, NewError> {
435 |     let resultSource = PromiseSource<NewValue, NewError>(
436 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
437 |       dispatchKey: source.dispatchKey,
438 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:459:57: error: extra arguments at positions #1, #3 in call
457 |   /// Returns the flattened result of mapping `transform` over the result of `self`.
458 |   public func flatMapResult<NewValue, NewError>(_ transform: @escaping (Result<Value, Error>) -> Promise<NewValue, NewError>) -> Promise<NewValue, NewError> {
459 |     let resultSource = PromiseSource<NewValue, NewError>(
    |                                                         `- error: extra arguments at positions #1, #3 in call
460 |       state: .unresolved,
461 |       dispatchKey: source.dispatchKey,
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:115:22: note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:460:15: error: cannot infer contextual base in reference to member 'unresolved'
458 |   public func flatMapResult<NewValue, NewError>(_ transform: @escaping (Result<Value, Error>) -> Promise<NewValue, NewError>) -> Promise<NewValue, NewError> {
459 |     let resultSource = PromiseSource<NewValue, NewError>(
460 |       state: .unresolved,
    |               `- error: cannot infer contextual base in reference to member 'unresolved'
461 |       dispatchKey: source.dispatchKey,
462 |       dispatchMethod: source.dispatchMethod,
/host/spi-builder-workspace/Sources/Promissum/DispatchMethod.swift:14:14: error: cannot find type 'DispatchQueue' in scope
12 |   case unspecified
13 |   case synchronous
14 |   case queue(DispatchQueue)
   |              `- error: cannot find type 'DispatchQueue' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:486:45: error: cannot call value of non-function type 'Date'
484 |         let source = PromiseSource<Value, Error>()
485 |
486 |         dispatchQueue.asyncAfter(deadline: .now() + seconds) {
    |                                             `- error: cannot call value of non-function type 'Date'
487 |           switch result {
488 |           case .success(let value):
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:504:14: error: cannot find 'DispatchQueue' in scope
502 |     switch self {
503 |     case .unspecified:
504 |       return DispatchQueue.main
    |              `- error: cannot find 'DispatchQueue' in scope
505 |     case .synchronous:
506 |       return DispatchQueue.main
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:506:14: error: cannot find 'DispatchQueue' in scope
504 |       return DispatchQueue.main
505 |     case .synchronous:
506 |       return DispatchQueue.main
    |              `- error: cannot find 'DispatchQueue' in scope
507 |     case .queue(let queue):
508 |       return queue
[4/9] Compiling Promissum AsyncExtensions.swift
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:119:44: error: cannot find type 'DispatchSpecificKey' in scope
117 |   }
118 |
119 |   internal init(state: State, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod, warnUnresolvedDeinit: Bool) {
    |                                            `- error: cannot find type 'DispatchSpecificKey' in scope
120 |     self.internalState = PromiseSourceState(state: state)
121 |     self.dispatchKey = dispatchKey
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/9] Emitting module Promissum
/host/spi-builder-workspace/Sources/Promissum/DispatchMethod.swift:14:14: error: cannot find type 'DispatchQueue' in scope
12 |   case unspecified
13 |   case synchronous
14 |   case queue(DispatchQueue)
   |              `- error: cannot find type 'DispatchQueue' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:298:34: error: cannot find type 'DispatchQueue' in scope
296 |
297 |   /// Returns a Promise that dispatches its handlers on the specified dispatch queue.
298 |   public func dispatch(on queue: DispatchQueue) -> Promise<Value, Error> {
    |                                  `- error: cannot find type 'DispatchQueue' in scope
299 |     let key = DispatchSpecificKey<Void>()
300 |     queue.setSpecific(key: key, value: ())
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:310:73: error: cannot find type 'DispatchSpecificKey' in scope
308 |   }
309 |
310 |   private func dispatch(on dispatchMethod: DispatchMethod, dispatchKey: DispatchSpecificKey<Void>) -> Promise<Value, Error> {
    |                                                                         `- error: cannot find type 'DispatchSpecificKey' in scope
311 |     let resultSource = PromiseSource<Value, Error>(
312 |       state: .unresolved,
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:479:53: error: cannot find type 'DispatchQueue' in scope
477 |
478 |   /// Return a Promise with the resolve or reject delayed by the specified number of seconds.
479 |   public func delay(_ seconds: TimeInterval, queue: DispatchQueue? = nil) -> Promise<Value, Error> {
    |                                                     `- error: cannot find type 'DispatchQueue' in scope
480 |     let dispatchQueue = queue ?? source.dispatchMethod.queue
481 |
/host/spi-builder-workspace/Sources/Promissum/Promise.swift:501:14: error: cannot find type 'DispatchQueue' in scope
499 |
500 | private extension DispatchMethod {
501 |   var queue: DispatchQueue {
    |              `- error: cannot find type 'DispatchQueue' in scope
502 |     switch self {
503 |     case .unspecified:
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:70:29: error: cannot find type 'DispatchSpecificKey' in scope
 68 | */
 69 | public class PromiseSource<Value, Error> where Error: Swift.Error {
 70 |   internal let dispatchKey: DispatchSpecificKey<Void>
    |                             `- error: cannot find type 'DispatchSpecificKey' in scope
 71 |   internal let dispatchMethod: DispatchMethod
 72 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:119:44: error: cannot find type 'DispatchSpecificKey' in scope
117 |   }
118 |
119 |   internal init(state: State, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod, warnUnresolvedDeinit: Bool) {
    |                                            `- error: cannot find type 'DispatchSpecificKey' in scope
120 |     self.internalState = PromiseSourceState(state: state)
121 |     self.dispatchKey = dispatchKey
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:253:86: error: cannot find type 'DispatchSpecificKey' in scope
251 | }
252 |
253 | internal func callHandlers<T>(_ handlers: [(T) -> Void], with value: T, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod) {
    |                                                                                      `- error: cannot find type 'DispatchSpecificKey' in scope
254 |
255 |   for handler in handlers {
[6/9] Compiling Promissum DispatchMethod.swift
/host/spi-builder-workspace/Sources/Promissum/DispatchMethod.swift:14:14: error: cannot find type 'DispatchQueue' in scope
12 |   case unspecified
13 |   case synchronous
14 |   case queue(DispatchQueue)
   |              `- error: cannot find type 'DispatchQueue' in scope
15 | }
16 |
[7/9] Compiling Promissum Result.swift
[8/9] Compiling Promissum Combinators.swift
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:119:44: error: cannot find type 'DispatchSpecificKey' in scope
117 |   }
118 |
119 |   internal init(state: State, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod, warnUnresolvedDeinit: Bool) {
    |                                            `- error: cannot find type 'DispatchSpecificKey' in scope
120 |     self.internalState = PromiseSourceState(state: state)
121 |     self.dispatchKey = dispatchKey
[9/9] Compiling Promissum PromiseSource.swift
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:70:29: error: cannot find type 'DispatchSpecificKey' in scope
 68 | */
 69 | public class PromiseSource<Value, Error> where Error: Swift.Error {
 70 |   internal let dispatchKey: DispatchSpecificKey<Void>
    |                             `- error: cannot find type 'DispatchSpecificKey' in scope
 71 |   internal let dispatchMethod: DispatchMethod
 72 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:119:44: error: cannot find type 'DispatchSpecificKey' in scope
117 |   }
118 |
119 |   internal init(state: State, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod, warnUnresolvedDeinit: Bool) {
    |                                            `- error: cannot find type 'DispatchSpecificKey' in scope
120 |     self.internalState = PromiseSourceState(state: state)
121 |     self.dispatchKey = dispatchKey
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:253:86: error: cannot find type 'DispatchSpecificKey' in scope
251 | }
252 |
253 | internal func callHandlers<T>(_ handlers: [(T) -> Void], with value: T, dispatchKey: DispatchSpecificKey<Void>, dispatchMethod: DispatchMethod) {
    |                                                                                      `- error: cannot find type 'DispatchSpecificKey' in scope
254 |
255 |   for handler in handlers {
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:105:53: error: cannot find 'DispatchSpecificKey' in scope
103 |
104 |   internal convenience init(value: Value) {
105 |     self.init(state: .resolved(value), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
106 |   }
107 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:105:14: error: extra arguments at positions #1, #3 in call
103 |
104 |   internal convenience init(value: Value) {
105 |     self.init(state: .resolved(value), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |              `- error: extra arguments at positions #1, #3 in call
106 |   }
107 |
    :
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:105:23: error: cannot infer contextual base in reference to member 'resolved'
103 |
104 |   internal convenience init(value: Value) {
105 |     self.init(state: .resolved(value), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                       `- error: cannot infer contextual base in reference to member 'resolved'
106 |   }
107 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:105:93: error: cannot infer contextual base in reference to member 'unspecified'
103 |
104 |   internal convenience init(value: Value) {
105 |     self.init(state: .resolved(value), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                                                                                             `- error: cannot infer contextual base in reference to member 'unspecified'
106 |   }
107 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:109:53: error: cannot find 'DispatchSpecificKey' in scope
107 |
108 |   internal convenience init(error: Error) {
109 |     self.init(state: .rejected(error), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                                                     `- error: cannot find 'DispatchSpecificKey' in scope
110 |   }
111 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:109:14: error: extra arguments at positions #1, #3 in call
107 |
108 |   internal convenience init(error: Error) {
109 |     self.init(state: .rejected(error), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |              `- error: extra arguments at positions #1, #3 in call
110 |   }
111 |
    :
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
117 |   }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:109:23: error: cannot infer contextual base in reference to member 'rejected'
107 |
108 |   internal convenience init(error: Error) {
109 |     self.init(state: .rejected(error), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                       `- error: cannot infer contextual base in reference to member 'rejected'
110 |   }
111 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:109:93: error: cannot infer contextual base in reference to member 'unspecified'
107 |
108 |   internal convenience init(error: Error) {
109 |     self.init(state: .rejected(error), dispatchKey: DispatchSpecificKey(), dispatchMethod: .unspecified, warnUnresolvedDeinit: false)
    |                                                                                             `- error: cannot infer contextual base in reference to member 'unspecified'
110 |   }
111 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:116:48: error: cannot find 'DispatchSpecificKey' in scope
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
    |                                                `- error: cannot find 'DispatchSpecificKey' in scope
117 |   }
118 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:116:14: error: extra arguments at positions #1, #3 in call
113 |   ///
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
    |                      `- note: 'init(dispatch:warnUnresolvedDeinit:)' declared here
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
    |              `- error: extra arguments at positions #1, #3 in call
117 |   }
118 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:116:23: error: cannot infer contextual base in reference to member 'unresolved'
114 |   /// - parameter warnUnresolvedDeinit: Print a warning on deinit of an unresolved PromiseSource
115 |   public convenience init(dispatch dispatchMethod: DispatchMethod = .unspecified, warnUnresolvedDeinit: Bool = true) {
116 |     self.init(state: .unresolved, dispatchKey: DispatchSpecificKey(), dispatchMethod: dispatchMethod, warnUnresolvedDeinit: warnUnresolvedDeinit)
    |                       `- error: cannot infer contextual base in reference to member 'unresolved'
117 |   }
118 |
/host/spi-builder-workspace/Sources/Promissum/DispatchMethod.swift:14:14: error: cannot find type 'DispatchQueue' in scope
12 |   case unspecified
13 |   case synchronous
14 |   case queue(DispatchQueue)
   |              `- error: cannot find type 'DispatchQueue' in scope
15 | }
16 |
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:141:50: error: 'nil' requires a contextual type
139 |
140 |     if case .queue(let queue) = dispatchMethod {
141 |       queue.setSpecific(key: dispatchKey, value: nil)
    |                                                  `- error: 'nil' requires a contextual type
142 |     }
143 |   }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:260:10: error: cannot find 'Thread' in scope
258 |
259 |       // Main queue doesn't guarantee main thread, so this is merely an optimization
260 |       if Thread.isMainThread {
    |          `- error: cannot find 'Thread' in scope
261 |         handler(value)
262 |       }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:264:9: error: cannot find 'DispatchQueue' in scope
262 |       }
263 |       else {
264 |         DispatchQueue.main.async {
    |         `- error: cannot find 'DispatchQueue' in scope
265 |           handler(value)
266 |         }
/host/spi-builder-workspace/Sources/Promissum/PromiseSource.swift:274:28: error: cannot find 'DispatchQueue' in scope
272 |
273 |     case .queue(let targetQueue):
274 |       let alreadyOnQueue = DispatchQueue.getSpecific(key: dispatchKey) != nil
    |                            `- error: cannot find 'DispatchQueue' in scope
275 |
276 |       if alreadyOnQueue {
BUILD FAILURE 6.3 wasm