The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Async, reference 2.1.0 (a66d1a), with Swift 6.3 for Wasm on 14 Apr 2026 10:42:09 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/duemunk/async.git
Reference: 2.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/duemunk/async
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at a66d1a6 Merge pull request #143 from colemcampbell/swiftpm
Cloned https://github.com/duemunk/async.git
Revision (git rev-parse @):
a66d1a6efce6c1296ab228bdc3ec7da2b8968138
SUCCESS checkout https://github.com/duemunk/async.git at 2.1.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/duemunk/async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift:44:83: error: cannot find type 'DispatchQueue' in scope
 42 |  */
 43 | private enum GCD {
 44 |     case main, userInteractive, userInitiated, utility, background, custom(queue: DispatchQueue)
    |                                                                                   `- error: cannot find type 'DispatchQueue' in scope
 45 |
 46 |     var queue: DispatchQueue {
/host/spi-builder-workspace/Sources/Async/Async.swift:46:16: error: cannot find type 'DispatchQueue' in scope
 44 |     case main, userInteractive, userInitiated, utility, background, custom(queue: DispatchQueue)
 45 |
 46 |     var queue: DispatchQueue {
    |                `- error: cannot find type 'DispatchQueue' in scope
 47 |         switch self {
 48 |         case .main: return .main
/host/spi-builder-workspace/Sources/Async/Async.swift:132:24: error: cannot find type 'DispatchWorkItem' in scope
130 |      Private property to hold internally on to a `@convention(block) () -> Swift.Void`
131 |     */
132 |     private let block: DispatchWorkItem
    |                        `- error: cannot find type 'DispatchWorkItem' in scope
133 |
134 |     private let input: Reference<In>?
/host/spi-builder-workspace/Sources/Async/Async.swift:142:27: error: cannot find type 'DispatchWorkItem' in scope
140 |      Private init that takes a `@convention(block) () -> Swift.Void`
141 |      */
142 |     private init(_ block: DispatchWorkItem, input: Reference<In>? = nil, output: Reference<Out> = Reference()) {
    |                           `- error: cannot find type 'DispatchWorkItem' in scope
143 |         self.block = block
144 |         self.input = input
/host/spi-builder-workspace/Sources/Async/Async.swift:243:41: error: cannot find type 'DispatchQueue' in scope
241 |      */
242 |     @discardableResult
243 |     public static func custom<O>(queue: DispatchQueue, after seconds: Double? = nil, _ block: @escaping () -> O) -> AsyncBlock<Void, O> {
    |                                         `- error: cannot find type 'DispatchQueue' in scope
244 |         Async.async(after: seconds, block: block, queue: .custom(queue: queue))
245 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:372:34: error: cannot find type 'DispatchQueue' in scope
370 |      */
371 |     @discardableResult
372 |     public func custom<O>(queue: DispatchQueue, after seconds: Double? = nil, _ chainingBlock: @escaping (Out) -> O) -> AsyncBlock<Out, O> {
    |                                  `- error: cannot find type 'DispatchQueue' in scope
373 |         chain(after: seconds, block: chainingBlock, queue: .custom(queue: queue))
374 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:412:49: error: cannot find type 'DispatchTimeoutResult' in scope
410 |      */
411 |     @discardableResult
412 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
    |                                                 `- error: cannot find type 'DispatchTimeoutResult' in scope
413 |         let timeout = seconds
414 |             .flatMap { DispatchTime.now() + $0 }
/host/spi-builder-workspace/Sources/Async/Async.swift:536:38: error: cannot find type 'DispatchQueue' in scope
534 |          - block: The block that is to be passed to be run on a .
535 |      */
536 |     public static func custom(queue: DispatchQueue, iterations: Int, block: @escaping (Int) -> ()) {
    |                                      `- error: cannot find type 'DispatchQueue' in scope
537 |         queue.async {
538 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
/host/spi-builder-workspace/Sources/Async/Async.swift:595:25: error: cannot find 'DispatchGroup' in scope
593 |      Private property to internally on to a `dispatch_group_t`
594 |     */
595 |     private let group = DispatchGroup()
    |                         `- error: cannot find 'DispatchGroup' in scope
596 |
597 |     /**
/host/spi-builder-workspace/Sources/Async/Async.swift:694:31: error: cannot find type 'DispatchQueue' in scope
692 |          - block: The block that is to be passed to be run on the queue
693 |      */
694 |     public func custom(queue: DispatchQueue, block: @escaping @convention(block) () -> Swift.Void) {
    |                               `- error: cannot find type 'DispatchQueue' in scope
695 |         async(block: block, queue: .custom(queue: queue))
696 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:708:49: error: cannot find type 'DispatchTimeoutResult' in scope
706 |      */
707 |     @discardableResult
708 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
    |                                                 `- error: cannot find type 'DispatchTimeoutResult' in scope
709 |         let timeout = seconds
710 |             .flatMap { DispatchTime.now() + $0 }
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
733 | Extension to add description string for each quality of service class.
734 | */
735 | public extension qos_class_t {
    |                  `- error: cannot find type 'qos_class_t' in scope
736 |
737 |     /**
/host/spi-builder-workspace/Sources/Async/Async.swift:762:18: error: cannot find type 'DispatchQoS' in scope
760 |  Extension to add description string for each quality of service class.
761 |  */
762 | public extension DispatchQoS.QoSClass {
    |                  `- error: cannot find type 'DispatchQoS' in scope
763 |
764 |     var description: String {
[4/4] Compiling Async Async.swift
/host/spi-builder-workspace/Sources/Async/Async.swift:44:83: error: cannot find type 'DispatchQueue' in scope
 42 |  */
 43 | private enum GCD {
 44 |     case main, userInteractive, userInitiated, utility, background, custom(queue: DispatchQueue)
    |                                                                                   `- error: cannot find type 'DispatchQueue' in scope
 45 |
 46 |     var queue: DispatchQueue {
/host/spi-builder-workspace/Sources/Async/Async.swift:46:16: error: cannot find type 'DispatchQueue' in scope
 44 |     case main, userInteractive, userInitiated, utility, background, custom(queue: DispatchQueue)
 45 |
 46 |     var queue: DispatchQueue {
    |                `- error: cannot find type 'DispatchQueue' in scope
 47 |         switch self {
 48 |         case .main: return .main
/host/spi-builder-workspace/Sources/Async/Async.swift:132:24: error: cannot find type 'DispatchWorkItem' in scope
130 |      Private property to hold internally on to a `@convention(block) () -> Swift.Void`
131 |     */
132 |     private let block: DispatchWorkItem
    |                        `- error: cannot find type 'DispatchWorkItem' in scope
133 |
134 |     private let input: Reference<In>?
/host/spi-builder-workspace/Sources/Async/Async.swift:142:27: error: cannot find type 'DispatchWorkItem' in scope
140 |      Private init that takes a `@convention(block) () -> Swift.Void`
141 |      */
142 |     private init(_ block: DispatchWorkItem, input: Reference<In>? = nil, output: Reference<Out> = Reference()) {
    |                           `- error: cannot find type 'DispatchWorkItem' in scope
143 |         self.block = block
144 |         self.input = input
/host/spi-builder-workspace/Sources/Async/Async.swift:243:41: error: cannot find type 'DispatchQueue' in scope
241 |      */
242 |     @discardableResult
243 |     public static func custom<O>(queue: DispatchQueue, after seconds: Double? = nil, _ block: @escaping () -> O) -> AsyncBlock<Void, O> {
    |                                         `- error: cannot find type 'DispatchQueue' in scope
244 |         Async.async(after: seconds, block: block, queue: .custom(queue: queue))
245 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:372:34: error: cannot find type 'DispatchQueue' in scope
370 |      */
371 |     @discardableResult
372 |     public func custom<O>(queue: DispatchQueue, after seconds: Double? = nil, _ chainingBlock: @escaping (Out) -> O) -> AsyncBlock<Out, O> {
    |                                  `- error: cannot find type 'DispatchQueue' in scope
373 |         chain(after: seconds, block: chainingBlock, queue: .custom(queue: queue))
374 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:412:49: error: cannot find type 'DispatchTimeoutResult' in scope
410 |      */
411 |     @discardableResult
412 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
    |                                                 `- error: cannot find type 'DispatchTimeoutResult' in scope
413 |         let timeout = seconds
414 |             .flatMap { DispatchTime.now() + $0 }
/host/spi-builder-workspace/Sources/Async/Async.swift:536:38: error: cannot find type 'DispatchQueue' in scope
534 |          - block: The block that is to be passed to be run on a .
535 |      */
536 |     public static func custom(queue: DispatchQueue, iterations: Int, block: @escaping (Int) -> ()) {
    |                                      `- error: cannot find type 'DispatchQueue' in scope
537 |         queue.async {
538 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
/host/spi-builder-workspace/Sources/Async/Async.swift:595:25: error: cannot find 'DispatchGroup' in scope
593 |      Private property to internally on to a `dispatch_group_t`
594 |     */
595 |     private let group = DispatchGroup()
    |                         `- error: cannot find 'DispatchGroup' in scope
596 |
597 |     /**
/host/spi-builder-workspace/Sources/Async/Async.swift:694:31: error: cannot find type 'DispatchQueue' in scope
692 |          - block: The block that is to be passed to be run on the queue
693 |      */
694 |     public func custom(queue: DispatchQueue, block: @escaping @convention(block) () -> Swift.Void) {
    |                               `- error: cannot find type 'DispatchQueue' in scope
695 |         async(block: block, queue: .custom(queue: queue))
696 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:708:49: error: cannot find type 'DispatchTimeoutResult' in scope
706 |      */
707 |     @discardableResult
708 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
    |                                                 `- error: cannot find type 'DispatchTimeoutResult' in scope
709 |         let timeout = seconds
710 |             .flatMap { DispatchTime.now() + $0 }
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
733 | Extension to add description string for each quality of service class.
734 | */
735 | public extension qos_class_t {
    |                  `- error: cannot find type 'qos_class_t' in scope
736 |
737 |     /**
/host/spi-builder-workspace/Sources/Async/Async.swift:762:18: error: cannot find type 'DispatchQoS' in scope
760 |  Extension to add description string for each quality of service class.
761 |  */
762 | public extension DispatchQoS.QoSClass {
    |                  `- error: cannot find type 'DispatchQoS' in scope
763 |
764 |     var description: String {
/host/spi-builder-workspace/Sources/Async/Async.swift:49:53: error: cannot infer contextual base in reference to member 'userInteractive'
 47 |         switch self {
 48 |         case .main: return .main
 49 |         case .userInteractive: return .global(qos: .userInteractive)
    |                                                     `- error: cannot infer contextual base in reference to member 'userInteractive'
 50 |         case .userInitiated: return .global(qos: .userInitiated)
 51 |         case .utility: return .global(qos: .utility)
/host/spi-builder-workspace/Sources/Async/Async.swift:50:51: error: cannot infer contextual base in reference to member 'userInitiated'
 48 |         case .main: return .main
 49 |         case .userInteractive: return .global(qos: .userInteractive)
 50 |         case .userInitiated: return .global(qos: .userInitiated)
    |                                                   `- error: cannot infer contextual base in reference to member 'userInitiated'
 51 |         case .utility: return .global(qos: .utility)
 52 |         case .background: return .global(qos: .background)
/host/spi-builder-workspace/Sources/Async/Async.swift:51:45: error: cannot infer contextual base in reference to member 'utility'
 49 |         case .userInteractive: return .global(qos: .userInteractive)
 50 |         case .userInitiated: return .global(qos: .userInitiated)
 51 |         case .utility: return .global(qos: .utility)
    |                                             `- error: cannot infer contextual base in reference to member 'utility'
 52 |         case .background: return .global(qos: .background)
 53 |         case .custom(let queue): return queue
/host/spi-builder-workspace/Sources/Async/Async.swift:52:48: error: cannot infer contextual base in reference to member 'background'
 50 |         case .userInitiated: return .global(qos: .userInitiated)
 51 |         case .utility: return .global(qos: .utility)
 52 |         case .background: return .global(qos: .background)
    |                                                `- error: cannot infer contextual base in reference to member 'background'
 53 |         case .custom(let queue): return queue
 54 |         }
/host/spi-builder-workspace/Sources/Async/Async.swift:262:21: error: cannot find 'DispatchWorkItem' in scope
260 |     private static func async<O>(after seconds: Double? = nil, block: @escaping () -> O, queue: GCD) -> AsyncBlock<Void, O> {
261 |         let reference = Reference<O>()
262 |         let block = DispatchWorkItem(block: {
    |                     `- error: cannot find 'DispatchWorkItem' in scope
263 |             reference.value = block()
264 |         })
/host/spi-builder-workspace/Sources/Async/Async.swift:267:24: error: cannot find 'DispatchTime' in scope
265 |
266 |         if let seconds = seconds {
267 |             let time = DispatchTime.now() + seconds
    |                        `- error: cannot find 'DispatchTime' in scope
268 |             queue.queue.asyncAfter(deadline: time, execute: block)
269 |         } else {
/host/spi-builder-workspace/Sources/Async/Async.swift:414:24: error: cannot find 'DispatchTime' in scope
412 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
413 |         let timeout = seconds
414 |             .flatMap { DispatchTime.now() + $0 }
    |                        `- error: cannot find 'DispatchTime' in scope
415 |             ?? .distantFuture
416 |         return block.wait(timeout: timeout)
/host/spi-builder-workspace/Sources/Async/Async.swift:436:32: error: cannot find 'DispatchWorkItem' in scope
434 |     private func chain<O>(after seconds: Double? = nil, block chainingBlock: @escaping (Out) -> O, queue: GCD) -> AsyncBlock<Out, O> {
435 |         let reference = Reference<O>()
436 |         let dispatchWorkItem = DispatchWorkItem(block: {
    |                                `- error: cannot find 'DispatchWorkItem' in scope
437 |             reference.value = chainingBlock(self.output_.value!)
438 |         })
/host/spi-builder-workspace/Sources/Async/Async.swift:443:28: error: cannot find 'DispatchTime' in scope
441 |         if let seconds = seconds {
442 |             block.notify(queue: queue) {
443 |                 let time = DispatchTime.now() + seconds
    |                            `- error: cannot find 'DispatchTime' in scope
444 |                 queue.asyncAfter(deadline: time, execute: dispatchWorkItem)
445 |             }
/host/spi-builder-workspace/Sources/Async/Async.swift:486:13: error: cannot find 'DispatchQueue' in scope
484 |     public static func userInteractive(_ iterations: Int, block: @escaping (Int) -> ()) {
485 |         GCD.userInteractive.queue.async {
486 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |             `- error: cannot find 'DispatchQueue' in scope
487 |         }
488 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:499:13: error: cannot find 'DispatchQueue' in scope
497 |     public static func userInitiated(_ iterations: Int, block: @escaping (Int) -> ()) {
498 |         GCD.userInitiated.queue.async {
499 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |             `- error: cannot find 'DispatchQueue' in scope
500 |         }
501 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:512:13: error: cannot find 'DispatchQueue' in scope
510 |     public static func utility(_ iterations: Int, block: @escaping (Int) -> ()) {
511 |         GCD.utility.queue.async {
512 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |             `- error: cannot find 'DispatchQueue' in scope
513 |         }
514 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:525:13: error: cannot find 'DispatchQueue' in scope
523 |     public static func background(_ iterations: Int, block: @escaping (Int) -> ()) {
524 |         GCD.background.queue.async {
525 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |             `- error: cannot find 'DispatchQueue' in scope
526 |         }
527 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:538:13: error: cannot find 'DispatchQueue' in scope
536 |     public static func custom(queue: DispatchQueue, iterations: Int, block: @escaping (Int) -> ()) {
537 |         queue.async {
538 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |             `- error: cannot find 'DispatchQueue' in scope
539 |         }
540 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:710:24: error: cannot find 'DispatchTime' in scope
708 |     public func wait(seconds: Double? = nil) -> DispatchTimeoutResult {
709 |         let timeout = seconds
710 |             .flatMap { DispatchTime.now() + $0 }
    |                        `- error: cannot find 'DispatchTime' in scope
711 |             ?? .distantFuture
712 |         return group.wait(timeout: timeout)
BUILD FAILURE 6.3 wasm