Build Information
Failed to build SwiftExecutors, reference v0.1.1 (07c6eb), with Swift 6.1 for Android on 3 Sep 2025 03:21:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-executors.git
Reference: v0.1.1
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/Kosikowski/swift-executors
* tag v0.1.1 -> FETCH_HEAD
HEAD is now at 07c6eb1 SPI badges added.
Cloned https://github.com/Kosikowski/swift-executors.git
Revision (git rev-parse @):
07c6eb1ba7e7038a813d966accb01e5b60eeaad0
SUCCESS checkout https://github.com/Kosikowski/swift-executors.git at v0.1.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Kosikowski/swift-executors.git
https://github.com/Kosikowski/swift-executors.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling SwiftExecutors QueueTaskExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[5/11] Compiling SwiftExecutors DispatchQueueTaskExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[6/11] Emitting module SwiftExecutors
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:32:26: error: cannot find type 'CFRunLoop' in scope
30 | /// NOTE: It's `!` on purpose – the run-loop is set *inside* the thread body
31 | /// and is guaranteed to exist before `init` returns.
32 | private var runLoop: CFRunLoop!
| `- error: cannot find type 'CFRunLoop' in scope
33 |
34 | /// Spins up the thread & run-loop pair exactly once.
[7/11] Compiling SwiftExecutors ThreadExecutor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:32:26: error: cannot find type 'CFRunLoop' in scope
30 | /// NOTE: It's `!` on purpose – the run-loop is set *inside* the thread body
31 | /// and is guaranteed to exist before `init` returns.
32 | private var runLoop: CFRunLoop!
| `- error: cannot find type 'CFRunLoop' in scope
33 |
34 | /// Spins up the thread & run-loop pair exactly once.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:47:29: error: cannot find 'CFRunLoopGetCurrent' in scope
45 | let thread = Thread { [weak self] in
46 | // Save the run-loop so enqueue(_:) can get to it later.
47 | self?.runLoop = CFRunLoopGetCurrent()
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
48 |
49 | // Tell the main thread the run-loop is ready to accept work.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:54:13: error: cannot find 'CFRunLoopRun' in scope
52 | // Start the run-loop. From here on the thread parks inside
53 | // the CFRunLoop event pump until we stop it in deinit.
54 | CFRunLoopRun()
| `- error: cannot find 'CFRunLoopRun' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:87:9: error: cannot find 'CFRunLoopPerformBlock' in scope
85 | // 3. Ask the run-loop to perform the block on its own thread.
86 | // `defaultMode` is fine; if you need a custom mode, pass it here.
87 | CFRunLoopPerformBlock(runLoop,
| `- error: cannot find 'CFRunLoopPerformBlock' in scope
88 | CFRunLoopMode.defaultMode.rawValue)
89 | {
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:88:31: error: cannot find 'CFRunLoopMode' in scope
86 | // `defaultMode` is fine; if you need a custom mode, pass it here.
87 | CFRunLoopPerformBlock(runLoop,
88 | CFRunLoopMode.defaultMode.rawValue)
| `- error: cannot find 'CFRunLoopMode' in scope
89 | {
90 | // 3a. Finally run the job on the target thread.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:96:9: error: cannot find 'CFRunLoopWakeUp' in scope
94 |
95 | // 4. In case the run-loop is napping, prod it so it wakes up soon.
96 | CFRunLoopWakeUp(runLoop)
| `- error: cannot find 'CFRunLoopWakeUp' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:109:9: error: cannot find 'CFRunLoopPerformBlock' in scope
107 | // Gracefully stop the run-loop *on its own thread*.
108 | // We can't call CFRunLoopStop() from a different thread.
109 | CFRunLoopPerformBlock(runLoop,
| `- error: cannot find 'CFRunLoopPerformBlock' in scope
110 | CFRunLoopMode.defaultMode.rawValue)
111 | {
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:110:31: error: cannot find 'CFRunLoopMode' in scope
108 | // We can't call CFRunLoopStop() from a different thread.
109 | CFRunLoopPerformBlock(runLoop,
110 | CFRunLoopMode.defaultMode.rawValue)
| `- error: cannot find 'CFRunLoopMode' in scope
111 | {
112 | CFRunLoopStop(self.runLoop)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:112:13: error: cannot find 'CFRunLoopStop' in scope
110 | CFRunLoopMode.defaultMode.rawValue)
111 | {
112 | CFRunLoopStop(self.runLoop)
| `- error: cannot find 'CFRunLoopStop' in scope
113 | }
114 | CFRunLoopWakeUp(runLoop)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:114:9: error: cannot find 'CFRunLoopWakeUp' in scope
112 | CFRunLoopStop(self.runLoop)
113 | }
114 | CFRunLoopWakeUp(runLoop)
| `- error: cannot find 'CFRunLoopWakeUp' in scope
115 |
116 | // Mark the thread as cancelled so well-behaved APIs can bail out.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:123:16: error: cannot find 'qos_class_self' in scope
121 | extension Thread {
122 | static var currentQos: QualityOfService {
123 | switch qos_class_self() {
| `- error: cannot find 'qos_class_self' in scope
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:124:14: error: cannot find 'QOS_CLASS_USER_INTERACTIVE' in scope
122 | static var currentQos: QualityOfService {
123 | switch qos_class_self() {
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
| `- error: cannot find 'QOS_CLASS_USER_INTERACTIVE' in scope
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:125:14: error: cannot find 'QOS_CLASS_USER_INITIATED' in scope
123 | switch qos_class_self() {
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
| `- error: cannot find 'QOS_CLASS_USER_INITIATED' in scope
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:126:14: error: cannot find 'QOS_CLASS_DEFAULT' in scope
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
| `- error: cannot find 'QOS_CLASS_DEFAULT' in scope
127 | case QOS_CLASS_UTILITY: return .utility
128 | case QOS_CLASS_BACKGROUND: return .background
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:127:14: error: cannot find 'QOS_CLASS_UTILITY' in scope
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
| `- error: cannot find 'QOS_CLASS_UTILITY' in scope
128 | case QOS_CLASS_BACKGROUND: return .background
129 | default: return .default
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:128:14: error: cannot find 'QOS_CLASS_BACKGROUND' in scope
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
128 | case QOS_CLASS_BACKGROUND: return .background
| `- error: cannot find 'QOS_CLASS_BACKGROUND' in scope
129 | default: return .default
130 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/5] Write swift-version-24593BA9C3E375BF.txt
[2/9] Compiling SwiftExecutors ThreadExecutor.swift
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:32:26: error: cannot find type 'CFRunLoop' in scope
30 | /// NOTE: It's `!` on purpose – the run-loop is set *inside* the thread body
31 | /// and is guaranteed to exist before `init` returns.
32 | private var runLoop: CFRunLoop!
| `- error: cannot find type 'CFRunLoop' in scope
33 |
34 | /// Spins up the thread & run-loop pair exactly once.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:47:29: error: cannot find 'CFRunLoopGetCurrent' in scope
45 | let thread = Thread { [weak self] in
46 | // Save the run-loop so enqueue(_:) can get to it later.
47 | self?.runLoop = CFRunLoopGetCurrent()
| `- error: cannot find 'CFRunLoopGetCurrent' in scope
48 |
49 | // Tell the main thread the run-loop is ready to accept work.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:54:13: error: cannot find 'CFRunLoopRun' in scope
52 | // Start the run-loop. From here on the thread parks inside
53 | // the CFRunLoop event pump until we stop it in deinit.
54 | CFRunLoopRun()
| `- error: cannot find 'CFRunLoopRun' in scope
55 | }
56 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:87:9: error: cannot find 'CFRunLoopPerformBlock' in scope
85 | // 3. Ask the run-loop to perform the block on its own thread.
86 | // `defaultMode` is fine; if you need a custom mode, pass it here.
87 | CFRunLoopPerformBlock(runLoop,
| `- error: cannot find 'CFRunLoopPerformBlock' in scope
88 | CFRunLoopMode.defaultMode.rawValue)
89 | {
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:88:31: error: cannot find 'CFRunLoopMode' in scope
86 | // `defaultMode` is fine; if you need a custom mode, pass it here.
87 | CFRunLoopPerformBlock(runLoop,
88 | CFRunLoopMode.defaultMode.rawValue)
| `- error: cannot find 'CFRunLoopMode' in scope
89 | {
90 | // 3a. Finally run the job on the target thread.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:96:9: error: cannot find 'CFRunLoopWakeUp' in scope
94 |
95 | // 4. In case the run-loop is napping, prod it so it wakes up soon.
96 | CFRunLoopWakeUp(runLoop)
| `- error: cannot find 'CFRunLoopWakeUp' in scope
97 | }
98 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:109:9: error: cannot find 'CFRunLoopPerformBlock' in scope
107 | // Gracefully stop the run-loop *on its own thread*.
108 | // We can't call CFRunLoopStop() from a different thread.
109 | CFRunLoopPerformBlock(runLoop,
| `- error: cannot find 'CFRunLoopPerformBlock' in scope
110 | CFRunLoopMode.defaultMode.rawValue)
111 | {
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:110:31: error: cannot find 'CFRunLoopMode' in scope
108 | // We can't call CFRunLoopStop() from a different thread.
109 | CFRunLoopPerformBlock(runLoop,
110 | CFRunLoopMode.defaultMode.rawValue)
| `- error: cannot find 'CFRunLoopMode' in scope
111 | {
112 | CFRunLoopStop(self.runLoop)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:112:13: error: cannot find 'CFRunLoopStop' in scope
110 | CFRunLoopMode.defaultMode.rawValue)
111 | {
112 | CFRunLoopStop(self.runLoop)
| `- error: cannot find 'CFRunLoopStop' in scope
113 | }
114 | CFRunLoopWakeUp(runLoop)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:114:9: error: cannot find 'CFRunLoopWakeUp' in scope
112 | CFRunLoopStop(self.runLoop)
113 | }
114 | CFRunLoopWakeUp(runLoop)
| `- error: cannot find 'CFRunLoopWakeUp' in scope
115 |
116 | // Mark the thread as cancelled so well-behaved APIs can bail out.
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:123:16: error: cannot find 'qos_class_self' in scope
121 | extension Thread {
122 | static var currentQos: QualityOfService {
123 | switch qos_class_self() {
| `- error: cannot find 'qos_class_self' in scope
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:124:14: error: cannot find 'QOS_CLASS_USER_INTERACTIVE' in scope
122 | static var currentQos: QualityOfService {
123 | switch qos_class_self() {
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
| `- error: cannot find 'QOS_CLASS_USER_INTERACTIVE' in scope
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:125:14: error: cannot find 'QOS_CLASS_USER_INITIATED' in scope
123 | switch qos_class_self() {
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
| `- error: cannot find 'QOS_CLASS_USER_INITIATED' in scope
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:126:14: error: cannot find 'QOS_CLASS_DEFAULT' in scope
124 | case QOS_CLASS_USER_INTERACTIVE: return .userInteractive
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
| `- error: cannot find 'QOS_CLASS_DEFAULT' in scope
127 | case QOS_CLASS_UTILITY: return .utility
128 | case QOS_CLASS_BACKGROUND: return .background
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:127:14: error: cannot find 'QOS_CLASS_UTILITY' in scope
125 | case QOS_CLASS_USER_INITIATED: return .userInitiated
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
| `- error: cannot find 'QOS_CLASS_UTILITY' in scope
128 | case QOS_CLASS_BACKGROUND: return .background
129 | default: return .default
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:128:14: error: cannot find 'QOS_CLASS_BACKGROUND' in scope
126 | case QOS_CLASS_DEFAULT: return .default
127 | case QOS_CLASS_UTILITY: return .utility
128 | case QOS_CLASS_BACKGROUND: return .background
| `- error: cannot find 'QOS_CLASS_BACKGROUND' in scope
129 | default: return .default
130 | }
[3/9] Compiling SwiftExecutors QueueTaskExecutor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/9] Compiling SwiftExecutors DispatchQueueTaskExecutor.swift
[5/9] Emitting module SwiftExecutors
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:32:26: error: cannot find type 'CFRunLoop' in scope
30 | /// NOTE: It's `!` on purpose – the run-loop is set *inside* the thread body
31 | /// and is guaranteed to exist before `init` returns.
32 | private var runLoop: CFRunLoop!
| `- error: cannot find type 'CFRunLoop' in scope
33 |
34 | /// Spins up the thread & run-loop pair exactly once.
BUILD FAILURE 6.1 android