Build Information
Failed to build Async, reference master (0004de), with Swift 6.2 for Linux on 20 Jun 2025 10:22:45 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/duemunk/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/duemunk/async
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 0004dec Declare project as not maintained any more
Cloned https://github.com/duemunk/async.git
Revision (git rev-parse @):
0004dec3c32d4273df79d0e84d6590945cbbb656
SUCCESS checkout https://github.com/duemunk/async.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.2
Building package at path: $PWD
https://github.com/duemunk/async.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-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.2 linux