The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Async, reference master (f560b8), with Swift 6.4 for Wasm on 17 Sep 2026 08:57:50 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
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.4
Building package at path:  $PWD
https://github.com/chipjarred/Async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/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: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: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:337:35: error: argument passed to call that takes no arguments
335 |         timeout: DispatchTimeInterval) -> DispatchTimeoutResult
336 |     {
337 |         return wait(until: .now() + timeout)
    |                                   `- error: argument passed to call that takes no arguments
338 |     }
339 |
/host/spi-builder-workspace/Sources/Async/Future.swift:358:22: error: cannot find 'DispatchTimeInterval' in scope
356 |     {
357 |         return wait(
358 |             timeout: DispatchTimeInterval.nanoseconds(Int(seconds * 1_e+9))
    |                      `- error: cannot find 'DispatchTimeInterval' in scope
359 |         )
360 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:358:43: error: argument passed to call that takes no arguments
356 |     {
357 |         return wait(
358 |             timeout: DispatchTimeInterval.nanoseconds(Int(seconds * 1_e+9))
    |                                           `- error: argument passed to call that takes no arguments
359 |         )
360 |     }
/host/spi-builder-workspace/Sources/Async/Future.swift:475:41: error: binary operator '+' cannot be applied to operands of type 'TimeInterval.Scalar' and 'TimeInterval' (aka 'Double')
473 |     @inlinable
474 |     public final func timeout(interval delay: DispatchTimeInterval) -> Self {
475 |         return timeout(deadline: .now() + delay)
    |                                         `- error: binary operator '+' cannot be applied to operands of type 'TimeInterval.Scalar' and 'TimeInterval' (aka 'Double')
476 |     }
477 |
Swift.SIMD:1:11: note: candidate requires that 'TimeInterval' (aka 'Double') conform to 'SIMD' (requirement specified as 'Self' : 'SIMD')
 1 | extension SIMD where Self.Scalar : FloatingPoint {
   |           `- note: candidate requires that 'TimeInterval' (aka 'Double') conform to 'SIMD' (requirement specified as 'Self' : 'SIMD')
 2 |     prefix public static func - (a: Self) -> Self
 3 |     public static func + (a: Self.Scalar, b: Self) -> Self
/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: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:41: error: binary operator '+' cannot be applied to operands of type 'TimeInterval.Scalar' and 'TimeInterval' (aka 'Double')
137 |     @inlinable
138 |     public final func tryLock(timeout: DispatchTimeInterval) -> Bool {
139 |         return tryLock(deadline: .now() + timeout)
    |                                         `- error: binary operator '+' cannot be applied to operands of type 'TimeInterval.Scalar' and 'TimeInterval' (aka 'Double')
140 |     }
141 |
Swift.SIMD:1:11: note: candidate requires that 'TimeInterval' (aka 'Double') conform to 'SIMD' (requirement specified as 'Self' : 'SIMD')
 1 | extension SIMD where Self.Scalar : FloatingPoint {
   |           `- note: candidate requires that 'TimeInterval' (aka 'Double') conform to 'SIMD' (requirement specified as 'Self' : 'SIMD')
 2 |     prefix public static func - (a: Self) -> Self
 3 |     public static func + (a: Self.Scalar, b: Self) -> Self
/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: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 |         )
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/Async/Async.swift /host/spi-builder-workspace/Sources/Async/Future.swift /host/spi-builder-workspace/Sources/Async/Mutex.swift /host/spi-builder-workspace/Sources/Async/Promise.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Async -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Async_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Modules/Async.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Modules/Async.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Async-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Async-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Async-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Async.build/Debug-webassembly-wasm32/Async-t.build/Objects-normal/wasm32/Modules/Async.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm