The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftExecutors, reference main (213eff), with Swift 6.3 for Android on 13 Oct 2026 04:54:57 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Kosikowski/swift-executors.git
Reference: main
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
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 213eff4 Migrate to Swift 6.2+ and fix ThreadExecutor (v0.2.0) (#4)
Cloned https://github.com/Kosikowski/swift-executors.git
Revision (git rev-parse @):
213eff4cd741ab87444c24a3fe7f1379e10d7d2c
SUCCESS checkout https://github.com/Kosikowski/swift-executors.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Kosikowski/swift-executors.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-0":/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:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:a57e63703100e13e1ecb61b565870501ccb169d7515bc7af7f0994f211e1b1f6
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.3-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-272D24FF697CF451.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/11] Compiling SwiftExecutors DispatchQueueTaskExecutor.swift
[5/11] Compiling SwiftExecutors QueueTaskExecutor.swift
[6/11] Emitting module SwiftExecutors
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:58:29: error: cannot find type 'CFRunLoop' in scope
 56 |     /// Exposes the run loop for testing purposes only.
 57 |     @_spi(ThreadExecutorTesting)
 58 |     public var testRunLoop: CFRunLoop {
    |                             `- error: cannot find type 'CFRunLoop' in scope
 59 |         worker.runLoop
 60 |     }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:190:31: error: cannot find type 'CFRunLoop' in scope
188 |     }
189 |
190 |     private(set) var runLoop: CFRunLoop!
    |                               `- error: cannot find type 'CFRunLoop' in scope
191 |     private(set) var threadID: pthread_t!
192 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:195:25: error: cannot find type 'CFRunLoopSource' in scope
193 |     /// Signalled while jobs are waiting; its callout runs them. Being a
194 |     /// source, it also keeps the run loop from finishing while it is idle.
195 |     private var source: CFRunLoopSource!
    |                         `- error: cannot find type 'CFRunLoopSource' in scope
196 |
197 |     private let ready = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:375:38: error: cannot find type 'CFRunLoopActivity' in scope
373 |
374 |     /// Tracks how deeply the run loop is nested, and stops it when asked.
375 |     private func observe(_ activity: CFRunLoopActivity) {
    |                                      `- error: cannot find type 'CFRunLoopActivity' in scope
376 |         switch activity {
377 |         case .entry:
[7/11] Compiling SwiftExecutors ThreadExecutor.swift
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:58:29: error: cannot find type 'CFRunLoop' in scope
 56 |     /// Exposes the run loop for testing purposes only.
 57 |     @_spi(ThreadExecutorTesting)
 58 |     public var testRunLoop: CFRunLoop {
    |                             `- error: cannot find type 'CFRunLoop' in scope
 59 |         worker.runLoop
 60 |     }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:190:31: error: cannot find type 'CFRunLoop' in scope
188 |     }
189 |
190 |     private(set) var runLoop: CFRunLoop!
    |                               `- error: cannot find type 'CFRunLoop' in scope
191 |     private(set) var threadID: pthread_t!
192 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:195:25: error: cannot find type 'CFRunLoopSource' in scope
193 |     /// Signalled while jobs are waiting; its callout runs them. Being a
194 |     /// source, it also keeps the run loop from finishing while it is idle.
195 |     private var source: CFRunLoopSource!
    |                         `- error: cannot find type 'CFRunLoopSource' in scope
196 |
197 |     private let ready = DispatchSemaphore(value: 0)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:375:38: error: cannot find type 'CFRunLoopActivity' in scope
373 |
374 |     /// Tracks how deeply the run loop is nested, and stops it when asked.
375 |     private func observe(_ activity: CFRunLoopActivity) {
    |                                      `- error: cannot find type 'CFRunLoopActivity' in scope
376 |         switch activity {
377 |         case .entry:
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:228:19: error: cannot find 'CFRunLoopGetCurrent' in scope
226 |     /// The worker thread's body.
227 |     func run() {
228 |         runLoop = CFRunLoopGetCurrent()
    |                   `- error: cannot find 'CFRunLoopGetCurrent' in scope
229 |         threadID = pthread_self()
230 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:234:23: error: cannot find 'CFRunLoopSourceContext' in scope
232 |         // call back once the worker is gone: it is invalidated before
233 |         // `run()` returns.
234 |         var context = CFRunLoopSourceContext()
    |                       `- error: cannot find 'CFRunLoopSourceContext' in scope
235 |         context.info = Unmanaged.passUnretained(self).toOpaque()
236 |         context.perform = { info in
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:239:18: error: cannot find 'CFRunLoopSourceCreate' in scope
237 |             Unmanaged<Worker>.fromOpaque(info!).takeUnretainedValue().drain()
238 |         }
239 |         source = CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &context)
    |                  `- error: cannot find 'CFRunLoopSourceCreate' in scope
240 |         CFRunLoopAddSource(runLoop, source, .defaultMode)
241 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:239:40: error: cannot find 'kCFAllocatorDefault' in scope
237 |             Unmanaged<Worker>.fromOpaque(info!).takeUnretainedValue().drain()
238 |         }
239 |         source = CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &context)
    |                                        `- error: cannot find 'kCFAllocatorDefault' in scope
240 |         CFRunLoopAddSource(runLoop, source, .defaultMode)
241 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:240:9: error: cannot find 'CFRunLoopAddSource' in scope
238 |         }
239 |         source = CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &context)
240 |         CFRunLoopAddSource(runLoop, source, .defaultMode)
    |         `- error: cannot find 'CFRunLoopAddSource' in scope
241 |
242 |         let activities: CFRunLoopActivity = [.entry, .beforeSources, .beforeWaiting, .exit]
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:240:46: error: cannot infer contextual base in reference to member 'defaultMode'
238 |         }
239 |         source = CFRunLoopSourceCreate(kCFAllocatorDefault, 0, &context)
240 |         CFRunLoopAddSource(runLoop, source, .defaultMode)
    |                                              `- error: cannot infer contextual base in reference to member 'defaultMode'
241 |
242 |         let activities: CFRunLoopActivity = [.entry, .beforeSources, .beforeWaiting, .exit]
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:242:25: error: cannot find type 'CFRunLoopActivity' in scope
240 |         CFRunLoopAddSource(runLoop, source, .defaultMode)
241 |
242 |         let activities: CFRunLoopActivity = [.entry, .beforeSources, .beforeWaiting, .exit]
    |                         `- error: cannot find type 'CFRunLoopActivity' in scope
243 |         let observer = CFRunLoopObserverCreateWithHandler(kCFAllocatorDefault, activities.rawValue, true, 0) { _, activity in
244 |             self.observe(activity)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:243:24: error: cannot find 'CFRunLoopObserverCreateWithHandler' in scope
241 |
242 |         let activities: CFRunLoopActivity = [.entry, .beforeSources, .beforeWaiting, .exit]
243 |         let observer = CFRunLoopObserverCreateWithHandler(kCFAllocatorDefault, activities.rawValue, true, 0) { _, activity in
    |                        `- error: cannot find 'CFRunLoopObserverCreateWithHandler' in scope
244 |             self.observe(activity)
245 |         }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:243:59: error: cannot find 'kCFAllocatorDefault' in scope
241 |
242 |         let activities: CFRunLoopActivity = [.entry, .beforeSources, .beforeWaiting, .exit]
243 |         let observer = CFRunLoopObserverCreateWithHandler(kCFAllocatorDefault, activities.rawValue, true, 0) { _, activity in
    |                                                           `- error: cannot find 'kCFAllocatorDefault' in scope
244 |             self.observe(activity)
245 |         }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:246:9: error: cannot find 'CFRunLoopAddObserver' in scope
244 |             self.observe(activity)
245 |         }
246 |         CFRunLoopAddObserver(runLoop, observer, .defaultMode)
    |         `- error: cannot find 'CFRunLoopAddObserver' in scope
247 |
248 |         ready.signal()
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:246:50: error: cannot infer contextual base in reference to member 'defaultMode'
244 |             self.observe(activity)
245 |         }
246 |         CFRunLoopAddObserver(runLoop, observer, .defaultMode)
    |                                                  `- error: cannot infer contextual base in reference to member 'defaultMode'
247 |
248 |         ready.signal()
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:253:13: error: cannot find 'CFRunLoopRun' in scope
251 |         // CFRunLoopStop(); only stopIfRequested() may end the thread.
252 |         while !isStopped {
253 |             CFRunLoopRun()
    |             `- error: cannot find 'CFRunLoopRun' in scope
254 |         }
255 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:258:9: error: cannot find 'CFRunLoopObserverInvalidate' in scope
256 |         // Nothing calls into the worker once these are gone, and nothing
257 |         // left on the run loop refers to it.
258 |         CFRunLoopObserverInvalidate(observer)
    |         `- error: cannot find 'CFRunLoopObserverInvalidate' in scope
259 |         CFRunLoopSourceInvalidate(source)
260 |     }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:259:9: error: cannot find 'CFRunLoopSourceInvalidate' in scope
257 |         // left on the run loop refers to it.
258 |         CFRunLoopObserverInvalidate(observer)
259 |         CFRunLoopSourceInvalidate(source)
    |         `- error: cannot find 'CFRunLoopSourceInvalidate' in scope
260 |     }
261 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:282:9: error: cannot find 'CFRunLoopSourceSignal' in scope
280 |         guard wasIdle, !(isCurrentThread && isDraining && !allowsNestedJobs) else { return }
281 |
282 |         CFRunLoopSourceSignal(source)
    |         `- error: cannot find 'CFRunLoopSourceSignal' in scope
283 |         // In case the run-loop is napping, prod it so it wakes up soon.
284 |         CFRunLoopWakeUp(runLoop)
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:284:9: error: cannot find 'CFRunLoopWakeUp' in scope
282 |         CFRunLoopSourceSignal(source)
283 |         // In case the run-loop is napping, prod it so it wakes up soon.
284 |         CFRunLoopWakeUp(runLoop)
    |         `- error: cannot find 'CFRunLoopWakeUp' in scope
285 |     }
286 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:303:17: error: cannot find 'CFRunLoopSourceSignal' in scope
301 |             }
302 |             if hasWaiting {
303 |                 CFRunLoopSourceSignal(source)
    |                 `- error: cannot find 'CFRunLoopSourceSignal' in scope
304 |             }
305 |         }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:313:9: error: cannot find 'CFRunLoopSourceSignal' in scope
311 |         stopRequested.store(true, ordering: .releasing)
312 |         // Guarantees the run loop another pass, in which stopIfRequested() runs.
313 |         CFRunLoopSourceSignal(source)
    |         `- error: cannot find 'CFRunLoopSourceSignal' in scope
314 |         CFRunLoopWakeUp(runLoop)
315 |     }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:314:9: error: cannot find 'CFRunLoopWakeUp' in scope
312 |         // Guarantees the run loop another pass, in which stopIfRequested() runs.
313 |         CFRunLoopSourceSignal(source)
314 |         CFRunLoopWakeUp(runLoop)
    |         `- error: cannot find 'CFRunLoopWakeUp' in scope
315 |     }
316 |
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:367:13: error: cannot find 'CFRunLoopSourceSignal' in scope
365 |             // This callout is still running, so the run loop polls rather
366 |             // than sleeps before its next pass: no need to wake it up.
367 |             CFRunLoopSourceSignal(source)
    |             `- error: cannot find 'CFRunLoopSourceSignal' in scope
368 |         }
369 |         // Dropping the last reference to the executor runs its deinit here,
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:384:17: error: cannot find 'CFRunLoopWakeUp' in scope
382 |             // another pass if this nested run was started from an observer.
383 |             if depth == 1, stopRequested.load(ordering: .acquiring) {
384 |                 CFRunLoopWakeUp(runLoop)
    |                 `- error: cannot find 'CFRunLoopWakeUp' in scope
385 |             }
386 |         default:
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:403:13: error: cannot find 'CFRunLoopStop' in scope
401 |         if depth == 1 {
402 |             isStopped = true
403 |             CFRunLoopStop(runLoop)
    |             `- error: cannot find 'CFRunLoopStop' in scope
404 |         } else if !hasStoppedNestedRun {
405 |             hasStoppedNestedRun = true
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:406:13: error: cannot find 'CFRunLoopStop' in scope
404 |         } else if !hasStoppedNestedRun {
405 |             hasStoppedNestedRun = true
406 |             CFRunLoopStop(runLoop)
    |             `- error: cannot find 'CFRunLoopStop' in scope
407 |         }
408 |     }
/host/spi-builder-workspace/Sources/SwiftExecutors/ThreadExecutor.swift:414:16: error: cannot find 'qos_class_self' in scope
412 |     /// The quality of service of the calling thread.
413 |     static var currentQoS: QualityOfService {
414 |         switch qos_class_self() {
    |                `- error: cannot find 'qos_class_self' in scope
415 |         case QOS_CLASS_USER_INTERACTIVE: .userInteractive
416 |         case QOS_CLASS_USER_INITIATED: .userInitiated
BUILD FAILURE 6.3 android