Build Information
Failed to build Async, reference master (0004de), with Swift 6.1 for Android on 28 May 2025 18:48:02 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
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: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/duemunk/async.git
https://github.com/duemunk/async.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Async",
"name" : "Async",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.10"
},
{
"name" : "ios",
"version" : "8.0"
},
{
"name" : "watchos",
"version" : "3.0"
},
{
"name" : "tvos",
"version" : "9.0"
}
],
"products" : [
{
"name" : "Async",
"targets" : [
"Async"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "AsyncTests",
"module_type" : "SwiftTarget",
"name" : "AsyncTests",
"path" : "Tests/AsyncTests",
"sources" : [
"AsyncGroupTests.swift",
"AsyncTests.swift"
],
"target_dependencies" : [
"Async"
],
"type" : "test"
},
{
"c99name" : "Async",
"module_type" : "SwiftTarget",
"name" : "Async",
"path" : "Sources/Async",
"product_memberships" : [
"Async"
],
"sources" : [
"Async.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift: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:486:78: warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
484 | public static func userInteractive(_ iterations: Int, block: @escaping (Int) -> ()) {
485 | GCD.userInteractive.queue.async {
486 | DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
| |- warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
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:499:78: warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
497 | public static func userInitiated(_ iterations: Int, block: @escaping (Int) -> ()) {
498 | GCD.userInitiated.queue.async {
499 | DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
| |- warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
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:512:78: warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
510 | public static func utility(_ iterations: Int, block: @escaping (Int) -> ()) {
511 | GCD.utility.queue.async {
512 | DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
| |- warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
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:525:78: warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
523 | public static func background(_ iterations: Int, block: @escaping (Int) -> ()) {
524 | GCD.background.queue.async {
525 | DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
| |- warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
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:538:78: warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
536 | public static func custom(queue: DispatchQueue, iterations: Int, block: @escaping (Int) -> ()) {
537 | queue.async {
538 | DispatchQueue.concurrentPerform(iterations: iterations, execute: block)
| |- warning: capture of 'block' with non-sendable type '(Int) -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Async
/host/spi-builder-workspace/Sources/Async/Async.swift: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 | /**
[3/3] 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.1 android