Build Information
Failed to build Async, reference 2.1.0 (a66d1a), with Swift 6.1 for Wasm on 28 May 2025 18:48:00 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path: $PWD
https://github.com/duemunk/async.git
https://github.com/duemunk/async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Async",
"name" : "Async",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Async",
"targets" : [
"Async"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncTests",
"module_type" : "SwiftTarget",
"name" : "AsyncTests",
"path" : "Tests/AsyncTests",
"sources" : [
"AsyncGroupTests.swift",
"AsyncTests.swift"
],
"target_dependencies" : [
"Async"
],
"type" : "test"
},
{
"c99name" : "Async",
"module_type" : "SwiftTarget",
"name" : "Async",
"path" : "Sources/Async",
"product_memberships" : [
"Async"
],
"sources" : [
"Async.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-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: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)
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] 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 {
[3/3] 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: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.1 wasm