The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Async, reference master (f560b8), with Swift 6.1 for Wasm on 27 May 2025 20:56:39 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/chipjarred/Async.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/chipjarred/Async
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at f560b82 Minor README formatting
Cloned https://github.com/chipjarred/Async.git
Revision (git rev-parse @):
f560b827aed33cbafc63755679dda4122ade3c21
SUCCESS checkout https://github.com/chipjarred/Async.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/chipjarred/Async.git
https://github.com/chipjarred/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" : [
  ],
  "products" : [
    {
      "name" : "Async",
      "targets" : [
        "Async"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "AsyncTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncTests",
      "path" : "Tests/AsyncTests",
      "sources" : [
        "AsyncTests.swift",
        "FutureTests.swift",
        "MutexTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "Async"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Async",
      "module_type" : "SwiftTarget",
      "name" : "Async",
      "path" : "Sources/Async",
      "product_memberships" : [
        "Async"
      ],
      "sources" : [
        "Async.swift",
        "Future.swift",
        "Mutex.swift",
        "Promise.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.3"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[3/7] Compiling Async Promise.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/7] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift:39:36: error: cannot find 'DispatchQueue' in scope
 37 |
 38 | /// `DispatchQueue` used by the global `async(afterSeconds:)` function.
 39 | fileprivate let _concurrentQueue = DispatchQueue(
    |                                    `- error: cannot find 'DispatchQueue' in scope
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:41:18: error: cannot infer contextual base in reference to member 'concurrent'
 39 | fileprivate let _concurrentQueue = DispatchQueue(
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 42 | )
 43 |
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Async.swift:52:18: error: cannot find type 'DispatchQueue' in scope
 50 | // MARK:- Dispatch Queue Extension
 51 | // ------------------------------------------
 52 | public extension DispatchQueue
    |                  `- error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
/host/spi-builder-workspace/Sources/Async/Async.swift:345:10: error: cannot find type 'DispatchQoS' in scope
343 | public func async<T>(
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
346 |     flags: DispatchWorkItemFlags = [],
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:346:12: error: cannot find type 'DispatchWorkItemFlags' in scope
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
346 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:375:25: error: cannot find type 'DispatchTimeInterval' in scope
373 | @inlinable
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
    |                         `- error: cannot find type 'DispatchTimeInterval' in scope
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:376:10: error: cannot find type 'DispatchQoS' in scope
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
377 |     flags: DispatchWorkItemFlags = [],
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:377:12: error: cannot find type 'DispatchWorkItemFlags' in scope
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:406:10: error: cannot find type 'DispatchQoS' in scope
404 | public func async<T>(
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
407 |     flags: DispatchWorkItemFlags = [],
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:407:12: error: cannot find type 'DispatchWorkItemFlags' in scope
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
407 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:436:29: error: cannot find type 'DispatchTime' in scope
434 | @inlinable
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
    |                             `- error: cannot find type 'DispatchTime' in scope
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:437:10: error: cannot find type 'DispatchQoS' in scope
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
438 |     flags: DispatchWorkItemFlags = [],
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:438:12: error: cannot find type 'DispatchWorkItemFlags' in scope
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:470:10: error: cannot find type 'DispatchQoS' in scope
468 | func sync<T>(
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
471 |     flags: DispatchWorkItemFlags = [],
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:471:12: error: cannot find type 'DispatchWorkItemFlags' in scope
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
471 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:502:26: error: cannot find type 'DispatchTimeInterval' in scope
500 | @inlinable
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
    |                          `- error: cannot find type 'DispatchTimeInterval' in scope
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:503:10: error: cannot find type 'DispatchQoS' in scope
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
504 |     flags: DispatchWorkItemFlags = [],
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:504:12: error: cannot find type 'DispatchWorkItemFlags' in scope
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:537:10: error: cannot find type 'DispatchQoS' in scope
535 | public func sync<T>(
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
538 |     flags: DispatchWorkItemFlags = [],
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:538:12: error: cannot find type 'DispatchWorkItemFlags' in scope
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
538 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:571:28: error: cannot find type 'DispatchTime' in scope
569 | @inlinable
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
    |                            `- error: cannot find type 'DispatchTime' in scope
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:572:10: error: cannot find type 'DispatchQoS' in scope
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
573 |     flags: DispatchWorkItemFlags = [],
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:573:12: error: cannot find type 'DispatchWorkItemFlags' in scope
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:349:12: error: cannot find 'DispatchQueue' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
349 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
350 |         afterSeconds: delay,
351 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:380:12: error: cannot find 'DispatchQueue' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
380 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
381 |         afterInterval: delay,
382 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:410:12: error: cannot find 'DispatchQueue' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
410 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
411 |         afterDeadline: deadline,
412 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:441:12: error: cannot find 'DispatchQueue' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
441 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
442 |         afterDeadline: deadline,
443 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:474:12: error: cannot find 'DispatchQueue' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
474 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
475 |         afterSeconds: delay,
476 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:507:12: error: cannot find 'DispatchQueue' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
507 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
508 |         afterInterval: delay,
509 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:541:12: error: cannot find 'DispatchQueue' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
541 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
542 |         afterDeadline: deadline,
543 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:576:12: error: cannot find 'DispatchQueue' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
576 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
577 |         afterDeadline: deadline,
578 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Future.swift:313:42: error: cannot find type 'DispatchTimeoutResult' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                                          `- error: cannot find type 'DispatchTimeoutResult' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:313:25: error: cannot find type 'DispatchTime' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                         `- error: cannot find type 'DispatchTime' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:43: error: cannot find type 'DispatchTimeoutResult' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                                           `- error: cannot find type 'DispatchTimeoutResult' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:18: error: cannot find type 'DispatchTimeInterval' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:355:35: error: cannot find type 'DispatchTimeoutResult' in scope
353 |     @inlinable
354 |     public final func wait(
355 |         seconds: TimeInterval) -> DispatchTimeoutResult
    |                                   `- error: cannot find type 'DispatchTimeoutResult' in scope
356 |     {
357 |         return wait(
/host/spi-builder-workspace/Sources/Async/Future.swift:451:41: error: cannot find type 'DispatchTime' in scope
449 |      */
450 |     @discardableResult
451 |     public final func timeout(deadline: DispatchTime) -> Self
    |                                         `- error: cannot find type 'DispatchTime' in scope
452 |     {
453 |         let _ = futureHandlerQueue.async(afterDeadline: deadline) {
/host/spi-builder-workspace/Sources/Async/Future.swift:474:47: error: cannot find type 'DispatchTimeInterval' in scope
472 |     @discardableResult
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
    |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
475 |         return timeout(deadline: .now() + delay)
476 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:53: error: cannot find type 'DispatchTimeoutResult' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                                     `- error: cannot find type 'DispatchTimeoutResult' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:36: error: cannot find type 'DispatchTime' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                    `- error: cannot find type 'DispatchTime' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:475:23: error: incorrect argument label in call (have 'deadline:', expected 'delay:')
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'delay:')
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:35: error: type 'Double' has no member 'now'
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                                   `- error: type 'Double' has no member 'now'
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:23: error: incorrect argument label in call (have 'interval:', expected 'delay:')
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'interval:', expected 'delay:')
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:35: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                                   `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:61:26: error: cannot find 'DispatchSemaphore' in scope
 59 | public final class Mutex
 60 | {
 61 | 	private var semaphore = DispatchSemaphore(value: 1)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 62 |
 63 |     public enum MutexError: Error {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:106:41: error: cannot find type 'DispatchTime' in scope
104 |         obtaining a successful lock.
105 |      */
106 |     public final func tryLock(deadline: DispatchTime = .now()) -> Bool
    |                                         `- error: cannot find type 'DispatchTime' in scope
107 |     {
108 |         switch semaphore.wait(timeout: deadline)
/host/spi-builder-workspace/Sources/Async/Mutex.swift:138:40: error: cannot find type 'DispatchTimeInterval' in scope
136 |      */
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
    |                                        `- error: cannot find type 'DispatchTimeInterval' in scope
139 |         return tryLock(deadline: .now() + timeout)
140 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:221:19: error: cannot find type 'DispatchTime' in scope
219 |     @inlinable
220 |     public final func withAttemptedLock<T>(
221 |         deadline: DispatchTime = .now(),
    |                   `- error: cannot find type 'DispatchTime' in scope
222 |         _ code:() throws -> T) throws -> T
223 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:247:18: error: cannot find type 'DispatchTimeInterval' in scope
245 |     @inlinable
246 |     public final func withAttemptedLock<T>(
247 |         timeout: DispatchTimeInterval = .nanoseconds(0),
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
248 |         _ code:() throws -> T) throws -> T
249 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:23: error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:35: error: type 'Double' has no member 'now'
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                                   `- error: type 'Double' has no member 'now'
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:23: error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:34: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                                  `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:224:23: error: missing argument for parameter 'seconds' in call
159 |      */
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
    |                       `- note: 'tryLock(seconds:)' declared here
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
163 |     }
    :
222 |         _ code:() throws -> T) throws -> T
223 |     {
224 |         guard tryLock() else { throw MutexError.lockFailed }
    |                       `- error: missing argument for parameter 'seconds' in call
225 |         defer { unlock() }
226 |         return try code()
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:66: error: extra argument in call
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                                  `- error: extra argument in call
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:49: error: cannot call value of non-function type 'ContinuousClock.Instant'
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                 `- error: cannot call value of non-function type 'ContinuousClock.Instant'
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:275:13: error: extra argument in call
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
275 |             code
    |             `- error: extra argument in call
276 |         )
277 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:274:23: error: type '() throws -> T' has no member 'nanoseconds'
272 |     {
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
    |                       `- error: type '() throws -> T' has no member 'nanoseconds'
275 |             code
276 |         )
[5/7] Compiling Async Mutex.swift
/host/spi-builder-workspace/Sources/Async/Mutex.swift:61:26: error: cannot find 'DispatchSemaphore' in scope
 59 | public final class Mutex
 60 | {
 61 | 	private var semaphore = DispatchSemaphore(value: 1)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 62 |
 63 |     public enum MutexError: Error {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:106:41: error: cannot find type 'DispatchTime' in scope
104 |         obtaining a successful lock.
105 |      */
106 |     public final func tryLock(deadline: DispatchTime = .now()) -> Bool
    |                                         `- error: cannot find type 'DispatchTime' in scope
107 |     {
108 |         switch semaphore.wait(timeout: deadline)
/host/spi-builder-workspace/Sources/Async/Mutex.swift:138:40: error: cannot find type 'DispatchTimeInterval' in scope
136 |      */
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
    |                                        `- error: cannot find type 'DispatchTimeInterval' in scope
139 |         return tryLock(deadline: .now() + timeout)
140 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:221:19: error: cannot find type 'DispatchTime' in scope
219 |     @inlinable
220 |     public final func withAttemptedLock<T>(
221 |         deadline: DispatchTime = .now(),
    |                   `- error: cannot find type 'DispatchTime' in scope
222 |         _ code:() throws -> T) throws -> T
223 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:247:18: error: cannot find type 'DispatchTimeInterval' in scope
245 |     @inlinable
246 |     public final func withAttemptedLock<T>(
247 |         timeout: DispatchTimeInterval = .nanoseconds(0),
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
248 |         _ code:() throws -> T) throws -> T
249 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:83:42: error: cannot infer contextual base in reference to member 'distantFuture'
 81 |      */
 82 | 	public final func lock() {
 83 |         let _ = semaphore.wait(timeout: .distantFuture)
    |                                          `- error: cannot infer contextual base in reference to member 'distantFuture'
 84 |     }
 85 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:23: error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:35: error: type 'Double' has no member 'now'
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                                   `- error: type 'Double' has no member 'now'
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:23: error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:34: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                                  `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:224:23: error: missing argument for parameter 'seconds' in call
159 |      */
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
    |                       `- note: 'tryLock(seconds:)' declared here
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
163 |     }
    :
222 |         _ code:() throws -> T) throws -> T
223 |     {
224 |         guard tryLock() else { throw MutexError.lockFailed }
    |                       `- error: missing argument for parameter 'seconds' in call
225 |         defer { unlock() }
226 |         return try code()
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:66: error: extra argument in call
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                                  `- error: extra argument in call
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:49: error: cannot call value of non-function type 'ContinuousClock.Instant'
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                 `- error: cannot call value of non-function type 'ContinuousClock.Instant'
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:275:13: error: extra argument in call
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
275 |             code
    |             `- error: extra argument in call
276 |         )
277 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:274:23: error: type '() throws -> T' has no member 'nanoseconds'
272 |     {
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
    |                       `- error: type '() throws -> T' has no member 'nanoseconds'
275 |             code
276 |         )
[6/7] Compiling Async Future.swift
/host/spi-builder-workspace/Sources/Async/Future.swift:313:42: error: cannot find type 'DispatchTimeoutResult' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                                          `- error: cannot find type 'DispatchTimeoutResult' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:313:25: error: cannot find type 'DispatchTime' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                         `- error: cannot find type 'DispatchTime' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:43: error: cannot find type 'DispatchTimeoutResult' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                                           `- error: cannot find type 'DispatchTimeoutResult' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:18: error: cannot find type 'DispatchTimeInterval' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:355:35: error: cannot find type 'DispatchTimeoutResult' in scope
353 |     @inlinable
354 |     public final func wait(
355 |         seconds: TimeInterval) -> DispatchTimeoutResult
    |                                   `- error: cannot find type 'DispatchTimeoutResult' in scope
356 |     {
357 |         return wait(
/host/spi-builder-workspace/Sources/Async/Future.swift:451:41: error: cannot find type 'DispatchTime' in scope
449 |      */
450 |     @discardableResult
451 |     public final func timeout(deadline: DispatchTime) -> Self
    |                                         `- error: cannot find type 'DispatchTime' in scope
452 |     {
453 |         let _ = futureHandlerQueue.async(afterDeadline: deadline) {
/host/spi-builder-workspace/Sources/Async/Future.swift:474:47: error: cannot find type 'DispatchTimeInterval' in scope
472 |     @discardableResult
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
    |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
475 |         return timeout(deadline: .now() + delay)
476 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:53: error: cannot find type 'DispatchTimeoutResult' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                                     `- error: cannot find type 'DispatchTimeoutResult' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:36: error: cannot find type 'DispatchTime' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                    `- error: cannot find type 'DispatchTime' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:23: error: incorrect argument label in call (have 'deadline:', expected 'delay:')
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'delay:')
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:35: error: type 'Double' has no member 'now'
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                                   `- error: type 'Double' has no member 'now'
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:23: error: incorrect argument label in call (have 'interval:', expected 'delay:')
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'interval:', expected 'delay:')
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:35: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                                   `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
494 |     }
495 |
[7/7] Compiling Async Async.swift
/host/spi-builder-workspace/Sources/Async/Async.swift:39:36: error: cannot find 'DispatchQueue' in scope
 37 |
 38 | /// `DispatchQueue` used by the global `async(afterSeconds:)` function.
 39 | fileprivate let _concurrentQueue = DispatchQueue(
    |                                    `- error: cannot find 'DispatchQueue' in scope
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:41:18: error: cannot infer contextual base in reference to member 'concurrent'
 39 | fileprivate let _concurrentQueue = DispatchQueue(
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 42 | )
 43 |
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Async.swift:52:18: error: cannot find type 'DispatchQueue' in scope
 50 | // MARK:- Dispatch Queue Extension
 51 | // ------------------------------------------
 52 | public extension DispatchQueue
    |                  `- error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
/host/spi-builder-workspace/Sources/Async/Async.swift:345:10: error: cannot find type 'DispatchQoS' in scope
343 | public func async<T>(
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
346 |     flags: DispatchWorkItemFlags = [],
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:346:12: error: cannot find type 'DispatchWorkItemFlags' in scope
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
346 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:375:25: error: cannot find type 'DispatchTimeInterval' in scope
373 | @inlinable
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
    |                         `- error: cannot find type 'DispatchTimeInterval' in scope
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:376:10: error: cannot find type 'DispatchQoS' in scope
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
377 |     flags: DispatchWorkItemFlags = [],
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:377:12: error: cannot find type 'DispatchWorkItemFlags' in scope
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:406:10: error: cannot find type 'DispatchQoS' in scope
404 | public func async<T>(
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
407 |     flags: DispatchWorkItemFlags = [],
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:407:12: error: cannot find type 'DispatchWorkItemFlags' in scope
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
407 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:436:29: error: cannot find type 'DispatchTime' in scope
434 | @inlinable
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
    |                             `- error: cannot find type 'DispatchTime' in scope
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:437:10: error: cannot find type 'DispatchQoS' in scope
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
438 |     flags: DispatchWorkItemFlags = [],
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:438:12: error: cannot find type 'DispatchWorkItemFlags' in scope
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:470:10: error: cannot find type 'DispatchQoS' in scope
468 | func sync<T>(
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
471 |     flags: DispatchWorkItemFlags = [],
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:471:12: error: cannot find type 'DispatchWorkItemFlags' in scope
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
471 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:502:26: error: cannot find type 'DispatchTimeInterval' in scope
500 | @inlinable
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
    |                          `- error: cannot find type 'DispatchTimeInterval' in scope
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:503:10: error: cannot find type 'DispatchQoS' in scope
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
504 |     flags: DispatchWorkItemFlags = [],
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:504:12: error: cannot find type 'DispatchWorkItemFlags' in scope
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:537:10: error: cannot find type 'DispatchQoS' in scope
535 | public func sync<T>(
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
538 |     flags: DispatchWorkItemFlags = [],
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:538:12: error: cannot find type 'DispatchWorkItemFlags' in scope
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
538 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:571:28: error: cannot find type 'DispatchTime' in scope
569 | @inlinable
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
    |                            `- error: cannot find type 'DispatchTime' in scope
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:572:10: error: cannot find type 'DispatchQoS' in scope
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
573 |     flags: DispatchWorkItemFlags = [],
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:573:12: error: cannot find type 'DispatchWorkItemFlags' in scope
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:349:12: error: cannot find 'DispatchQueue' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
349 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
350 |         afterSeconds: delay,
351 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:380:12: error: cannot find 'DispatchQueue' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
380 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
381 |         afterInterval: delay,
382 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:410:12: error: cannot find 'DispatchQueue' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
410 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
411 |         afterDeadline: deadline,
412 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:441:12: error: cannot find 'DispatchQueue' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
441 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
442 |         afterDeadline: deadline,
443 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:474:12: error: cannot find 'DispatchQueue' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
474 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
475 |         afterSeconds: delay,
476 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:507:12: error: cannot find 'DispatchQueue' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
507 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
508 |         afterInterval: delay,
509 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:541:12: error: cannot find 'DispatchQueue' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
541 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
542 |         afterDeadline: deadline,
543 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:576:12: error: cannot find 'DispatchQueue' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
576 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
577 |         afterDeadline: deadline,
578 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:55:30: error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
 55 |     static var asyncDefault: DispatchQueue {
    |                              `- error: cannot find type 'DispatchQueue' in scope
 56 |         return _concurrentQueue
 57 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:76:14: error: cannot find type 'DispatchQoS' in scope
 74 |     final func async<T>(
 75 |         afterSeconds delay:TimeInterval,
 76 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
 77 |         flags: DispatchWorkItemFlags = [],
 78 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:77:16: error: cannot find type 'DispatchWorkItemFlags' in scope
 75 |         afterSeconds delay:TimeInterval,
 76 |         qos: DispatchQoS = .unspecified,
 77 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
 78 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
 79 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:105:29: error: cannot find type 'DispatchTimeInterval' in scope
103 |     @inlinable
104 |     final func async<T>(
105 |         afterInterval delay:DispatchTimeInterval,
    |                             `- error: cannot find type 'DispatchTimeInterval' in scope
106 |         qos: DispatchQoS = .unspecified,
107 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:106:14: error: cannot find type 'DispatchQoS' in scope
104 |     final func async<T>(
105 |         afterInterval delay:DispatchTimeInterval,
106 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
107 |         flags: DispatchWorkItemFlags = [],
108 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:107:16: error: cannot find type 'DispatchWorkItemFlags' in scope
105 |         afterInterval delay:DispatchTimeInterval,
106 |         qos: DispatchQoS = .unspecified,
107 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
108 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
109 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:136:14: error: cannot find type 'DispatchQoS' in scope
134 |     final func async<T>(
135 |         afterDeadline deadline: Date,
136 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
137 |         flags: DispatchWorkItemFlags = [],
138 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:137:16: error: cannot find type 'DispatchWorkItemFlags' in scope
135 |         afterDeadline deadline: Date,
136 |         qos: DispatchQoS = .unspecified,
137 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
138 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
139 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:166:32: error: cannot find type 'DispatchTime' in scope
164 |     @inlinable
165 |     final func async<T>(
166 |         afterDeadline deadline:DispatchTime? = nil,
    |                                `- error: cannot find type 'DispatchTime' in scope
167 |         qos: DispatchQoS = .unspecified,
168 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:167:14: error: cannot find type 'DispatchQoS' in scope
165 |     final func async<T>(
166 |         afterDeadline deadline:DispatchTime? = nil,
167 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
168 |         flags: DispatchWorkItemFlags = [],
169 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:168:16: error: cannot find type 'DispatchWorkItemFlags' in scope
166 |         afterDeadline deadline:DispatchTime? = nil,
167 |         qos: DispatchQoS = .unspecified,
168 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
169 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
170 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:213:14: error: cannot find type 'DispatchQoS' in scope
211 |     final func sync<T>(
212 |         afterSeconds delay:TimeInterval,
213 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
214 |         flags: DispatchWorkItemFlags = [],
215 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:214:16: error: cannot find type 'DispatchWorkItemFlags' in scope
212 |         afterSeconds delay:TimeInterval,
213 |         qos: DispatchQoS = .unspecified,
214 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
215 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
216 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:245:29: error: cannot find type 'DispatchTimeInterval' in scope
243 |     @inlinable
244 |     final func sync<T>(
245 |         afterInterval delay:DispatchTimeInterval,
    |                             `- error: cannot find type 'DispatchTimeInterval' in scope
246 |         qos: DispatchQoS = .unspecified,
247 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:246:14: error: cannot find type 'DispatchQoS' in scope
244 |     final func sync<T>(
245 |         afterInterval delay:DispatchTimeInterval,
246 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
247 |         flags: DispatchWorkItemFlags = [],
248 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:247:16: error: cannot find type 'DispatchWorkItemFlags' in scope
245 |         afterInterval delay:DispatchTimeInterval,
246 |         qos: DispatchQoS = .unspecified,
247 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
248 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
249 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:276:14: error: cannot find type 'DispatchQoS' in scope
274 |     final func sync<T>(
275 |         afterDeadline deadline: Date,
276 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
277 |         flags: DispatchWorkItemFlags = [],
278 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:277:16: error: cannot find type 'DispatchWorkItemFlags' in scope
275 |         afterDeadline deadline: Date,
276 |         qos: DispatchQoS = .unspecified,
277 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
278 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
279 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:309:32: error: cannot find type 'DispatchTime' in scope
307 |     @inlinable
308 |     final func sync<T>(
309 |         afterDeadline deadline:DispatchTime? = nil,
    |                                `- error: cannot find type 'DispatchTime' in scope
310 |         qos: DispatchQoS = .unspecified,
311 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:310:14: error: cannot find type 'DispatchQoS' in scope
308 |     final func sync<T>(
309 |         afterDeadline deadline:DispatchTime? = nil,
310 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
311 |         flags: DispatchWorkItemFlags = [],
312 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:311:16: error: cannot find type 'DispatchWorkItemFlags' in scope
309 |         afterDeadline deadline:DispatchTime? = nil,
310 |         qos: DispatchQoS = .unspecified,
311 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
312 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
313 |     {
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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
[2/6] Compiling Async Mutex.swift
/host/spi-builder-workspace/Sources/Async/Mutex.swift:61:26: error: cannot find 'DispatchSemaphore' in scope
 59 | public final class Mutex
 60 | {
 61 | 	private var semaphore = DispatchSemaphore(value: 1)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 62 |
 63 |     public enum MutexError: Error {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:106:41: error: cannot find type 'DispatchTime' in scope
104 |         obtaining a successful lock.
105 |      */
106 |     public final func tryLock(deadline: DispatchTime = .now()) -> Bool
    |                                         `- error: cannot find type 'DispatchTime' in scope
107 |     {
108 |         switch semaphore.wait(timeout: deadline)
/host/spi-builder-workspace/Sources/Async/Mutex.swift:138:40: error: cannot find type 'DispatchTimeInterval' in scope
136 |      */
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
    |                                        `- error: cannot find type 'DispatchTimeInterval' in scope
139 |         return tryLock(deadline: .now() + timeout)
140 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:221:19: error: cannot find type 'DispatchTime' in scope
219 |     @inlinable
220 |     public final func withAttemptedLock<T>(
221 |         deadline: DispatchTime = .now(),
    |                   `- error: cannot find type 'DispatchTime' in scope
222 |         _ code:() throws -> T) throws -> T
223 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:247:18: error: cannot find type 'DispatchTimeInterval' in scope
245 |     @inlinable
246 |     public final func withAttemptedLock<T>(
247 |         timeout: DispatchTimeInterval = .nanoseconds(0),
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
248 |         _ code:() throws -> T) throws -> T
249 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:83:42: error: cannot infer contextual base in reference to member 'distantFuture'
 81 |      */
 82 | 	public final func lock() {
 83 |         let _ = semaphore.wait(timeout: .distantFuture)
    |                                          `- error: cannot infer contextual base in reference to member 'distantFuture'
 84 |     }
 85 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:23: error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:35: error: type 'Double' has no member 'now'
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                                   `- error: type 'Double' has no member 'now'
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:23: error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:34: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                                  `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:224:23: error: missing argument for parameter 'seconds' in call
159 |      */
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
    |                       `- note: 'tryLock(seconds:)' declared here
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
163 |     }
    :
222 |         _ code:() throws -> T) throws -> T
223 |     {
224 |         guard tryLock() else { throw MutexError.lockFailed }
    |                       `- error: missing argument for parameter 'seconds' in call
225 |         defer { unlock() }
226 |         return try code()
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:66: error: extra argument in call
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                                  `- error: extra argument in call
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:49: error: cannot call value of non-function type 'ContinuousClock.Instant'
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                 `- error: cannot call value of non-function type 'ContinuousClock.Instant'
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:275:13: error: extra argument in call
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
275 |             code
    |             `- error: extra argument in call
276 |         )
277 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:274:23: error: type '() throws -> T' has no member 'nanoseconds'
272 |     {
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
    |                       `- error: type '() throws -> T' has no member 'nanoseconds'
275 |             code
276 |         )
[3/6] Compiling Async Future.swift
/host/spi-builder-workspace/Sources/Async/Future.swift:313:42: error: cannot find type 'DispatchTimeoutResult' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                                          `- error: cannot find type 'DispatchTimeoutResult' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:313:25: error: cannot find type 'DispatchTime' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                         `- error: cannot find type 'DispatchTime' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:43: error: cannot find type 'DispatchTimeoutResult' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                                           `- error: cannot find type 'DispatchTimeoutResult' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:18: error: cannot find type 'DispatchTimeInterval' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:355:35: error: cannot find type 'DispatchTimeoutResult' in scope
353 |     @inlinable
354 |     public final func wait(
355 |         seconds: TimeInterval) -> DispatchTimeoutResult
    |                                   `- error: cannot find type 'DispatchTimeoutResult' in scope
356 |     {
357 |         return wait(
/host/spi-builder-workspace/Sources/Async/Future.swift:451:41: error: cannot find type 'DispatchTime' in scope
449 |      */
450 |     @discardableResult
451 |     public final func timeout(deadline: DispatchTime) -> Self
    |                                         `- error: cannot find type 'DispatchTime' in scope
452 |     {
453 |         let _ = futureHandlerQueue.async(afterDeadline: deadline) {
/host/spi-builder-workspace/Sources/Async/Future.swift:474:47: error: cannot find type 'DispatchTimeInterval' in scope
472 |     @discardableResult
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
    |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
475 |         return timeout(deadline: .now() + delay)
476 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:53: error: cannot find type 'DispatchTimeoutResult' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                                     `- error: cannot find type 'DispatchTimeoutResult' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:36: error: cannot find type 'DispatchTime' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                    `- error: cannot find type 'DispatchTime' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:23: error: incorrect argument label in call (have 'deadline:', expected 'delay:')
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'delay:')
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:35: error: type 'Double' has no member 'now'
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                                   `- error: type 'Double' has no member 'now'
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:23: error: incorrect argument label in call (have 'interval:', expected 'delay:')
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'interval:', expected 'delay:')
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:35: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                                   `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
494 |     }
495 |
[4/6] Compiling Async Promise.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift:39:36: error: cannot find 'DispatchQueue' in scope
 37 |
 38 | /// `DispatchQueue` used by the global `async(afterSeconds:)` function.
 39 | fileprivate let _concurrentQueue = DispatchQueue(
    |                                    `- error: cannot find 'DispatchQueue' in scope
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:41:18: error: cannot infer contextual base in reference to member 'concurrent'
 39 | fileprivate let _concurrentQueue = DispatchQueue(
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 42 | )
 43 |
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Async.swift:52:18: error: cannot find type 'DispatchQueue' in scope
 50 | // MARK:- Dispatch Queue Extension
 51 | // ------------------------------------------
 52 | public extension DispatchQueue
    |                  `- error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
/host/spi-builder-workspace/Sources/Async/Async.swift:345:10: error: cannot find type 'DispatchQoS' in scope
343 | public func async<T>(
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
346 |     flags: DispatchWorkItemFlags = [],
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:346:12: error: cannot find type 'DispatchWorkItemFlags' in scope
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
346 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:375:25: error: cannot find type 'DispatchTimeInterval' in scope
373 | @inlinable
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
    |                         `- error: cannot find type 'DispatchTimeInterval' in scope
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:376:10: error: cannot find type 'DispatchQoS' in scope
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
377 |     flags: DispatchWorkItemFlags = [],
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:377:12: error: cannot find type 'DispatchWorkItemFlags' in scope
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:406:10: error: cannot find type 'DispatchQoS' in scope
404 | public func async<T>(
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
407 |     flags: DispatchWorkItemFlags = [],
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:407:12: error: cannot find type 'DispatchWorkItemFlags' in scope
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
407 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:436:29: error: cannot find type 'DispatchTime' in scope
434 | @inlinable
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
    |                             `- error: cannot find type 'DispatchTime' in scope
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:437:10: error: cannot find type 'DispatchQoS' in scope
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
438 |     flags: DispatchWorkItemFlags = [],
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:438:12: error: cannot find type 'DispatchWorkItemFlags' in scope
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:470:10: error: cannot find type 'DispatchQoS' in scope
468 | func sync<T>(
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
471 |     flags: DispatchWorkItemFlags = [],
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:471:12: error: cannot find type 'DispatchWorkItemFlags' in scope
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
471 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:502:26: error: cannot find type 'DispatchTimeInterval' in scope
500 | @inlinable
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
    |                          `- error: cannot find type 'DispatchTimeInterval' in scope
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:503:10: error: cannot find type 'DispatchQoS' in scope
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
504 |     flags: DispatchWorkItemFlags = [],
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:504:12: error: cannot find type 'DispatchWorkItemFlags' in scope
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:537:10: error: cannot find type 'DispatchQoS' in scope
535 | public func sync<T>(
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
538 |     flags: DispatchWorkItemFlags = [],
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:538:12: error: cannot find type 'DispatchWorkItemFlags' in scope
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
538 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:571:28: error: cannot find type 'DispatchTime' in scope
569 | @inlinable
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
    |                            `- error: cannot find type 'DispatchTime' in scope
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:572:10: error: cannot find type 'DispatchQoS' in scope
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
573 |     flags: DispatchWorkItemFlags = [],
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:573:12: error: cannot find type 'DispatchWorkItemFlags' in scope
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:349:12: error: cannot find 'DispatchQueue' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
349 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
350 |         afterSeconds: delay,
351 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:380:12: error: cannot find 'DispatchQueue' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
380 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
381 |         afterInterval: delay,
382 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:410:12: error: cannot find 'DispatchQueue' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
410 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
411 |         afterDeadline: deadline,
412 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:441:12: error: cannot find 'DispatchQueue' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
441 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
442 |         afterDeadline: deadline,
443 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:474:12: error: cannot find 'DispatchQueue' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
474 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
475 |         afterSeconds: delay,
476 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:507:12: error: cannot find 'DispatchQueue' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
507 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
508 |         afterInterval: delay,
509 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:541:12: error: cannot find 'DispatchQueue' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
541 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
542 |         afterDeadline: deadline,
543 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:576:12: error: cannot find 'DispatchQueue' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
576 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
577 |         afterDeadline: deadline,
578 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Future.swift:313:42: error: cannot find type 'DispatchTimeoutResult' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                                          `- error: cannot find type 'DispatchTimeoutResult' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:313:25: error: cannot find type 'DispatchTime' in scope
311 |      */
312 |     public final func wait(
313 |         until deadline: DispatchTime) -> DispatchTimeoutResult
    |                         `- error: cannot find type 'DispatchTime' in scope
314 |     {
315 |         let result = tryLock(deadline: deadline)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:43: error: cannot find type 'DispatchTimeoutResult' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                                           `- error: cannot find type 'DispatchTimeoutResult' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:335:18: error: cannot find type 'DispatchTimeInterval' in scope
333 |     @inlinable
334 |     public final func wait(
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
336 |     {
337 |         return wait(until: .now() + timeout)
/host/spi-builder-workspace/Sources/Async/Future.swift:355:35: error: cannot find type 'DispatchTimeoutResult' in scope
353 |     @inlinable
354 |     public final func wait(
355 |         seconds: TimeInterval) -> DispatchTimeoutResult
    |                                   `- error: cannot find type 'DispatchTimeoutResult' in scope
356 |     {
357 |         return wait(
/host/spi-builder-workspace/Sources/Async/Future.swift:451:41: error: cannot find type 'DispatchTime' in scope
449 |      */
450 |     @discardableResult
451 |     public final func timeout(deadline: DispatchTime) -> Self
    |                                         `- error: cannot find type 'DispatchTime' in scope
452 |     {
453 |         let _ = futureHandlerQueue.async(afterDeadline: deadline) {
/host/spi-builder-workspace/Sources/Async/Future.swift:474:47: error: cannot find type 'DispatchTimeInterval' in scope
472 |     @discardableResult
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
    |                                               `- error: cannot find type 'DispatchTimeInterval' in scope
475 |         return timeout(deadline: .now() + delay)
476 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:53: error: cannot find type 'DispatchTimeoutResult' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                                     `- error: cannot find type 'DispatchTimeoutResult' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:553:36: error: cannot find type 'DispatchTime' in scope
551 |
552 |     // ------------------------------------------
553 |     private func tryLock(deadline: DispatchTime) -> DispatchTimeoutResult {
    |                                    `- error: cannot find type 'DispatchTime' in scope
554 |         return resultLock.tryLock(deadline: deadline) ? .success : .timedOut
555 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:475:23: error: incorrect argument label in call (have 'deadline:', expected 'delay:')
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'delay:')
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:475:35: error: type 'Double' has no member 'now'
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                                   `- error: type 'Double' has no member 'now'
476 |     }
477 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:23: error: incorrect argument label in call (have 'interval:', expected 'delay:')
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'interval:', expected 'delay:')
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Future.swift:493:35: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
491 |     @inlinable
492 |     public final func timeout(delay: TimeInterval) -> Self {
493 |         return timeout(interval: .nanoseconds(Int(delay * 1_e+9)))
    |                                   `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
494 |     }
495 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:61:26: error: cannot find 'DispatchSemaphore' in scope
 59 | public final class Mutex
 60 | {
 61 | 	private var semaphore = DispatchSemaphore(value: 1)
    |                          `- error: cannot find 'DispatchSemaphore' in scope
 62 |
 63 |     public enum MutexError: Error {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:106:41: error: cannot find type 'DispatchTime' in scope
104 |         obtaining a successful lock.
105 |      */
106 |     public final func tryLock(deadline: DispatchTime = .now()) -> Bool
    |                                         `- error: cannot find type 'DispatchTime' in scope
107 |     {
108 |         switch semaphore.wait(timeout: deadline)
/host/spi-builder-workspace/Sources/Async/Mutex.swift:138:40: error: cannot find type 'DispatchTimeInterval' in scope
136 |      */
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
    |                                        `- error: cannot find type 'DispatchTimeInterval' in scope
139 |         return tryLock(deadline: .now() + timeout)
140 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:221:19: error: cannot find type 'DispatchTime' in scope
219 |     @inlinable
220 |     public final func withAttemptedLock<T>(
221 |         deadline: DispatchTime = .now(),
    |                   `- error: cannot find type 'DispatchTime' in scope
222 |         _ code:() throws -> T) throws -> T
223 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:247:18: error: cannot find type 'DispatchTimeInterval' in scope
245 |     @inlinable
246 |     public final func withAttemptedLock<T>(
247 |         timeout: DispatchTimeInterval = .nanoseconds(0),
    |                  `- error: cannot find type 'DispatchTimeInterval' in scope
248 |         _ code:() throws -> T) throws -> T
249 |     {
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:23: error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                       `- error: incorrect argument label in call (have 'deadline:', expected 'seconds:')
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:139:35: error: type 'Double' has no member 'now'
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                                   `- error: type 'Double' has no member 'now'
140 |     }
141 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:23: error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                       `- error: incorrect argument label in call (have 'timeout:', expected 'seconds:')
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:162:34: error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
    |                                  `- error: type 'TimeInterval' (aka 'Double') has no member 'nanoseconds'
163 |     }
164 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:224:23: error: missing argument for parameter 'seconds' in call
159 |      */
160 |     @inlinable
161 |     public final func tryLock(seconds: TimeInterval) -> Bool {
    |                       `- note: 'tryLock(seconds:)' declared here
162 |         return tryLock(timeout: .nanoseconds(Int(seconds * 1_e+9)))
163 |     }
    :
222 |         _ code:() throws -> T) throws -> T
223 |     {
224 |         guard tryLock() else { throw MutexError.lockFailed }
    |                       `- error: missing argument for parameter 'seconds' in call
225 |         defer { unlock() }
226 |         return try code()
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:66: error: extra argument in call
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                                  `- error: extra argument in call
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:250:49: error: cannot call value of non-function type 'ContinuousClock.Instant'
248 |         _ code:() throws -> T) throws -> T
249 |     {
250 |         return try withAttemptedLock(deadline: .now() + timeout, code)
    |                                                 `- error: cannot call value of non-function type 'ContinuousClock.Instant'
251 |     }
252 |
/host/spi-builder-workspace/Sources/Async/Mutex.swift:275:13: error: extra argument in call
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
275 |             code
    |             `- error: extra argument in call
276 |         )
277 |     }
/host/spi-builder-workspace/Sources/Async/Mutex.swift:274:23: error: type '() throws -> T' has no member 'nanoseconds'
272 |     {
273 |         return try withAttemptedLock(
274 |             timeout: .nanoseconds(Int(seconds * 1_e+9)),
    |                       `- error: type '() throws -> T' has no member 'nanoseconds'
275 |             code
276 |         )
[6/6] Compiling Async Async.swift
/host/spi-builder-workspace/Sources/Async/Async.swift:39:36: error: cannot find 'DispatchQueue' in scope
 37 |
 38 | /// `DispatchQueue` used by the global `async(afterSeconds:)` function.
 39 | fileprivate let _concurrentQueue = DispatchQueue(
    |                                    `- error: cannot find 'DispatchQueue' in scope
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:41:18: error: cannot infer contextual base in reference to member 'concurrent'
 39 | fileprivate let _concurrentQueue = DispatchQueue(
 40 |     label: createAsyncDispatchQueueName(".concurrentQueue"),
 41 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 42 | )
 43 |
/host/spi-builder-workspace/Sources/Async/Async.swift:45:35: error: cannot find 'DispatchQueue' in scope
 43 |
 44 | /// `DispatchQueue` used by `Future` handlers and `timeout` modifier
 45 | internal let futureHandlerQueue = DispatchQueue(
    |                                   `- error: cannot find 'DispatchQueue' in scope
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
/host/spi-builder-workspace/Sources/Async/Async.swift:47:18: error: cannot infer contextual base in reference to member 'concurrent'
 45 | internal let futureHandlerQueue = DispatchQueue(
 46 |     label: createAsyncDispatchQueueName(".futureHandlerQueue"),
 47 |     attributes: .concurrent
    |                  `- error: cannot infer contextual base in reference to member 'concurrent'
 48 | )
 49 |
/host/spi-builder-workspace/Sources/Async/Async.swift:52:18: error: cannot find type 'DispatchQueue' in scope
 50 | // MARK:- Dispatch Queue Extension
 51 | // ------------------------------------------
 52 | public extension DispatchQueue
    |                  `- error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
/host/spi-builder-workspace/Sources/Async/Async.swift:345:10: error: cannot find type 'DispatchQoS' in scope
343 | public func async<T>(
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
346 |     flags: DispatchWorkItemFlags = [],
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:346:12: error: cannot find type 'DispatchWorkItemFlags' in scope
344 |     afterSeconds delay:TimeInterval,
345 |     qos: DispatchQoS = .unspecified,
346 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:375:25: error: cannot find type 'DispatchTimeInterval' in scope
373 | @inlinable
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
    |                         `- error: cannot find type 'DispatchTimeInterval' in scope
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:376:10: error: cannot find type 'DispatchQoS' in scope
374 | public func async<T>(
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
377 |     flags: DispatchWorkItemFlags = [],
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:377:12: error: cannot find type 'DispatchWorkItemFlags' in scope
375 |     afterInterval delay:DispatchTimeInterval,
376 |     qos: DispatchQoS = .unspecified,
377 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:406:10: error: cannot find type 'DispatchQoS' in scope
404 | public func async<T>(
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
407 |     flags: DispatchWorkItemFlags = [],
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:407:12: error: cannot find type 'DispatchWorkItemFlags' in scope
405 |     afterDeadline deadline: Date,
406 |     qos: DispatchQoS = .unspecified,
407 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:436:29: error: cannot find type 'DispatchTime' in scope
434 | @inlinable
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
    |                             `- error: cannot find type 'DispatchTime' in scope
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:437:10: error: cannot find type 'DispatchQoS' in scope
435 | public func async<T>(
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
438 |     flags: DispatchWorkItemFlags = [],
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:438:12: error: cannot find type 'DispatchWorkItemFlags' in scope
436 |     afterDeadline deadline: DispatchTime? = nil,
437 |     qos: DispatchQoS = .unspecified,
438 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:470:10: error: cannot find type 'DispatchQoS' in scope
468 | func sync<T>(
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
471 |     flags: DispatchWorkItemFlags = [],
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:471:12: error: cannot find type 'DispatchWorkItemFlags' in scope
469 |     afterSeconds delay: TimeInterval,
470 |     qos: DispatchQoS = .unspecified,
471 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:502:26: error: cannot find type 'DispatchTimeInterval' in scope
500 | @inlinable
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
    |                          `- error: cannot find type 'DispatchTimeInterval' in scope
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:503:10: error: cannot find type 'DispatchQoS' in scope
501 | public func sync<T>(
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
504 |     flags: DispatchWorkItemFlags = [],
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:504:12: error: cannot find type 'DispatchWorkItemFlags' in scope
502 |     afterInterval delay: DispatchTimeInterval,
503 |     qos: DispatchQoS = .unspecified,
504 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:537:10: error: cannot find type 'DispatchQoS' in scope
535 | public func sync<T>(
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
538 |     flags: DispatchWorkItemFlags = [],
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:538:12: error: cannot find type 'DispatchWorkItemFlags' in scope
536 |     afterDeadline deadline: Date,
537 |     qos: DispatchQoS = .unspecified,
538 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:571:28: error: cannot find type 'DispatchTime' in scope
569 | @inlinable
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
    |                            `- error: cannot find type 'DispatchTime' in scope
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:572:10: error: cannot find type 'DispatchQoS' in scope
570 | public func sync<T>(
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
    |          `- error: cannot find type 'DispatchQoS' in scope
573 |     flags: DispatchWorkItemFlags = [],
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:573:12: error: cannot find type 'DispatchWorkItemFlags' in scope
571 |     afterDeadline deadline:DispatchTime? = nil,
572 |     qos: DispatchQoS = .unspecified,
573 |     flags: DispatchWorkItemFlags = [],
    |            `- error: cannot find type 'DispatchWorkItemFlags' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
/host/spi-builder-workspace/Sources/Async/Async.swift:349:12: error: cannot find 'DispatchQueue' in scope
347 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
348 | {
349 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
350 |         afterSeconds: delay,
351 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:380:12: error: cannot find 'DispatchQueue' in scope
378 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
379 | {
380 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
381 |         afterInterval: delay,
382 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:410:12: error: cannot find 'DispatchQueue' in scope
408 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
409 | {
410 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
411 |         afterDeadline: deadline,
412 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:441:12: error: cannot find 'DispatchQueue' in scope
439 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
440 | {
441 |     return DispatchQueue.asyncDefault.async(
    |            `- error: cannot find 'DispatchQueue' in scope
442 |         afterDeadline: deadline,
443 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:474:12: error: cannot find 'DispatchQueue' in scope
472 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
473 | {
474 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
475 |         afterSeconds: delay,
476 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:507:12: error: cannot find 'DispatchQueue' in scope
505 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
506 | {
507 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
508 |         afterInterval: delay,
509 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:541:12: error: cannot find 'DispatchQueue' in scope
539 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
540 | {
541 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
542 |         afterDeadline: deadline,
543 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:576:12: error: cannot find 'DispatchQueue' in scope
574 |     _ executionBlock:@escaping () throws -> T) -> Future<T>
575 | {
576 |     return DispatchQueue.asyncDefault.sync(
    |            `- error: cannot find 'DispatchQueue' in scope
577 |         afterDeadline: deadline,
578 |         qos: qos,
/host/spi-builder-workspace/Sources/Async/Async.swift:55:30: error: cannot find type 'DispatchQueue' in scope
 53 | {
 54 |     /// Private dispatch queue used by the global `async(afterSeconds:)` function.
 55 |     static var asyncDefault: DispatchQueue {
    |                              `- error: cannot find type 'DispatchQueue' in scope
 56 |         return _concurrentQueue
 57 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:76:14: error: cannot find type 'DispatchQoS' in scope
 74 |     final func async<T>(
 75 |         afterSeconds delay:TimeInterval,
 76 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
 77 |         flags: DispatchWorkItemFlags = [],
 78 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:77:16: error: cannot find type 'DispatchWorkItemFlags' in scope
 75 |         afterSeconds delay:TimeInterval,
 76 |         qos: DispatchQoS = .unspecified,
 77 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
 78 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
 79 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:105:29: error: cannot find type 'DispatchTimeInterval' in scope
103 |     @inlinable
104 |     final func async<T>(
105 |         afterInterval delay:DispatchTimeInterval,
    |                             `- error: cannot find type 'DispatchTimeInterval' in scope
106 |         qos: DispatchQoS = .unspecified,
107 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:106:14: error: cannot find type 'DispatchQoS' in scope
104 |     final func async<T>(
105 |         afterInterval delay:DispatchTimeInterval,
106 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
107 |         flags: DispatchWorkItemFlags = [],
108 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:107:16: error: cannot find type 'DispatchWorkItemFlags' in scope
105 |         afterInterval delay:DispatchTimeInterval,
106 |         qos: DispatchQoS = .unspecified,
107 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
108 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
109 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:136:14: error: cannot find type 'DispatchQoS' in scope
134 |     final func async<T>(
135 |         afterDeadline deadline: Date,
136 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
137 |         flags: DispatchWorkItemFlags = [],
138 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:137:16: error: cannot find type 'DispatchWorkItemFlags' in scope
135 |         afterDeadline deadline: Date,
136 |         qos: DispatchQoS = .unspecified,
137 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
138 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
139 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:166:32: error: cannot find type 'DispatchTime' in scope
164 |     @inlinable
165 |     final func async<T>(
166 |         afterDeadline deadline:DispatchTime? = nil,
    |                                `- error: cannot find type 'DispatchTime' in scope
167 |         qos: DispatchQoS = .unspecified,
168 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:167:14: error: cannot find type 'DispatchQoS' in scope
165 |     final func async<T>(
166 |         afterDeadline deadline:DispatchTime? = nil,
167 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
168 |         flags: DispatchWorkItemFlags = [],
169 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:168:16: error: cannot find type 'DispatchWorkItemFlags' in scope
166 |         afterDeadline deadline:DispatchTime? = nil,
167 |         qos: DispatchQoS = .unspecified,
168 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
169 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
170 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:213:14: error: cannot find type 'DispatchQoS' in scope
211 |     final func sync<T>(
212 |         afterSeconds delay:TimeInterval,
213 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
214 |         flags: DispatchWorkItemFlags = [],
215 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:214:16: error: cannot find type 'DispatchWorkItemFlags' in scope
212 |         afterSeconds delay:TimeInterval,
213 |         qos: DispatchQoS = .unspecified,
214 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
215 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
216 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:245:29: error: cannot find type 'DispatchTimeInterval' in scope
243 |     @inlinable
244 |     final func sync<T>(
245 |         afterInterval delay:DispatchTimeInterval,
    |                             `- error: cannot find type 'DispatchTimeInterval' in scope
246 |         qos: DispatchQoS = .unspecified,
247 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:246:14: error: cannot find type 'DispatchQoS' in scope
244 |     final func sync<T>(
245 |         afterInterval delay:DispatchTimeInterval,
246 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
247 |         flags: DispatchWorkItemFlags = [],
248 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:247:16: error: cannot find type 'DispatchWorkItemFlags' in scope
245 |         afterInterval delay:DispatchTimeInterval,
246 |         qos: DispatchQoS = .unspecified,
247 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
248 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
249 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:276:14: error: cannot find type 'DispatchQoS' in scope
274 |     final func sync<T>(
275 |         afterDeadline deadline: Date,
276 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
277 |         flags: DispatchWorkItemFlags = [],
278 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:277:16: error: cannot find type 'DispatchWorkItemFlags' in scope
275 |         afterDeadline deadline: Date,
276 |         qos: DispatchQoS = .unspecified,
277 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
278 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
279 |     {
/host/spi-builder-workspace/Sources/Async/Async.swift:309:32: error: cannot find type 'DispatchTime' in scope
307 |     @inlinable
308 |     final func sync<T>(
309 |         afterDeadline deadline:DispatchTime? = nil,
    |                                `- error: cannot find type 'DispatchTime' in scope
310 |         qos: DispatchQoS = .unspecified,
311 |         flags: DispatchWorkItemFlags = [],
/host/spi-builder-workspace/Sources/Async/Async.swift:310:14: error: cannot find type 'DispatchQoS' in scope
308 |     final func sync<T>(
309 |         afterDeadline deadline:DispatchTime? = nil,
310 |         qos: DispatchQoS = .unspecified,
    |              `- error: cannot find type 'DispatchQoS' in scope
311 |         flags: DispatchWorkItemFlags = [],
312 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
/host/spi-builder-workspace/Sources/Async/Async.swift:311:16: error: cannot find type 'DispatchWorkItemFlags' in scope
309 |         afterDeadline deadline:DispatchTime? = nil,
310 |         qos: DispatchQoS = .unspecified,
311 |         flags: DispatchWorkItemFlags = [],
    |                `- error: cannot find type 'DispatchWorkItemFlags' in scope
312 |         _ executionBlock:@escaping () throws -> T) -> Future<T>
313 |     {
BUILD FAILURE 6.1 wasm