The Swift Package Index logo.Swift Package Index

Build Information

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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duemunk/async.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/duemunk/async
 * tag               2.1.0      -> FETCH_HEAD
HEAD is now at a66d1a6 Merge pull request #143 from colemcampbell/swiftpm
Cloned https://github.com/duemunk/async.git
Revision (git rev-parse @):
a66d1a6efce6c1296ab228bdc3ec7da2b8968138
SUCCESS checkout https://github.com/duemunk/async.git at 2.1.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.3
Building package at path:  $PWD
https://github.com/duemunk/async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
733 | Extension to add description string for each quality of service class.
734 | */
735 | public extension qos_class_t {
    |                  `- error: cannot find type 'qos_class_t' in scope
736 |
737 |     /**
[4/4] Compiling Async Async.swift
/host/spi-builder-workspace/Sources/Async/Async.swift:735:18: error: cannot find type 'qos_class_t' in scope
733 | Extension to add description string for each quality of service class.
734 | */
735 | public extension qos_class_t {
    |                  `- error: cannot find type 'qos_class_t' in scope
736 |
737 |     /**
/host/spi-builder-workspace/Sources/Async/Async.swift:486:78: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
482 |          - block: The block that is to be passed to be run on a .
483 |      */
484 |     public static func userInteractive(_ iterations: Int, block: @escaping (Int) -> ()) {
    |                                                           `- note: parameter 'block' is implicitly non-Sendable
485 |         GCD.userInteractive.queue.async {
486 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |                                                                              `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
487 |         }
488 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:499:78: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
495 |          - block: The block that is to be passed to be run on a .
496 |      */
497 |     public static func userInitiated(_ iterations: Int, block: @escaping (Int) -> ()) {
    |                                                         `- note: parameter 'block' is implicitly non-Sendable
498 |         GCD.userInitiated.queue.async {
499 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |                                                                              `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
500 |         }
501 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:512:78: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
508 |          - block: The block that is to be passed to be run on a .
509 |      */
510 |     public static func utility(_ iterations: Int, block: @escaping (Int) -> ()) {
    |                                                   `- note: parameter 'block' is implicitly non-Sendable
511 |         GCD.utility.queue.async {
512 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |                                                                              `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
513 |         }
514 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:525:78: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
521 |          - block: The block that is to be passed to be run on a .
522 |      */
523 |     public static func background(_ iterations: Int, block: @escaping (Int) -> ()) {
    |                                                      `- note: parameter 'block' is implicitly non-Sendable
524 |         GCD.background.queue.async {
525 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |                                                                              `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
526 |         }
527 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:538:78: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
534 |          - block: The block that is to be passed to be run on a .
535 |      */
536 |     public static func custom(queue: DispatchQueue, iterations: Int, block: @escaping (Int) -> ()) {
    |                                                                      `- note: parameter 'block' is implicitly non-Sendable
537 |         queue.async {
538 |             DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
    |                                                                              `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
539 |         }
540 |     }
/host/spi-builder-workspace/Sources/Async/Async.swift:612:50: warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
609 |      - SeeAlso: dispatch_group_async, dispatch_group_create
610 |      */
611 |     private func async(block: @escaping @convention(block) () -> Swift.Void, queue: GCD) {
    |                        `- note: parameter 'block' is implicitly non-Sendable
612 |         queue.queue.async(group: group, execute: block)
    |                                                  `- warning: passing non-Sendable parameter 'block' to function expecting a '@Sendable' closure
613 |     }
614 |
/host/spi-builder-workspace/Sources/Async/Async.swift:767:45: error: cannot find 'qos_class_main' in scope
765 |         let result: QoSClassDescription
766 |         switch self {
767 |         case DispatchQoS.QoSClass(rawValue: qos_class_main())!: result = .main
    |                                             `- error: cannot find 'qos_class_main' in scope
768 |         case .userInteractive: result = .userInteractive
769 |         case .userInitiated: result = .userInitiated
/host/spi-builder-workspace/Sources/Async/Async.swift:767:14: error: 'DispatchQoS.QoSClass?' initializer is inaccessible due to 'internal' protection level
765 |         let result: QoSClassDescription
766 |         switch self {
767 |         case DispatchQoS.QoSClass(rawValue: qos_class_main())!: result = .main
    |              `- error: 'DispatchQoS.QoSClass?' initializer is inaccessible due to 'internal' protection level
768 |         case .userInteractive: result = .userInteractive
769 |         case .userInitiated: result = .userInitiated
Dispatch.DispatchQoS.QoSClass.init:4:14: note: 'init(rawValue:)' declared here
2 |   enum QoSClass {
3 | @available(macOS 10.10, iOS 8.0, *)
4 |     internal init?(rawValue: _OSQoSClass)  }
  |              `- note: 'init(rawValue:)' declared here
5 | }
6 |
BUILD FAILURE 6.3 linux