Build Information
Failed to build Bluebird, reference main (e235da
), with Swift 6.2 (beta) for Android on 19 Jun 2025 14:26:10 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AndrewBarba/Bluebird.swift.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/AndrewBarba/Bluebird.swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e235da7 Changelog
Cloned https://github.com/AndrewBarba/Bluebird.swift.git
Revision (git rev-parse @):
e235da7e2b94fe0ed39fa7f6a8b5a0f1912ed19e
SUCCESS checkout https://github.com/AndrewBarba/Bluebird.swift.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/AndrewBarba/Bluebird.swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Sources/Library.xcconfig
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/24] Emitting module Bluebird
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
43 | private class UnfairLock: _Lock {
44 |
45 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
[4/24] Compiling Bluebird Lock.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
43 | private class UnfairLock: _Lock {
44 |
45 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_lock' in scope
49 | return try block()
50 | }
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_unlock' in scope
49 | return try block()
50 | }
[5/24] Compiling Bluebird Promise+Combine.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
43 | private class UnfairLock: _Lock {
44 |
45 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_lock' in scope
49 | return try block()
50 | }
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_unlock' in scope
49 | return try block()
50 | }
[6/24] Compiling Bluebird Promise+Concurrency.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
43 | private class UnfairLock: _Lock {
44 |
45 | private var _lock = os_unfair_lock()
| `- error: cannot find 'os_unfair_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_lock' in scope
49 | return try block()
50 | }
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
46 |
47 | func sync<T>(execute block: () throws -> T) rethrows -> T {
48 | os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
| `- error: cannot find 'os_unfair_lock_unlock' in scope
49 | return try block()
50 | }
[7/27] Compiling Bluebird Promise+tapCatch.swift
[8/27] Compiling Bluebird Promise+then.swift
[9/27] Compiling Bluebird Promise+timeout.swift
[10/27] Compiling Bluebird Promise+reflect.swift
[11/27] Compiling Bluebird Promise+return.swift
[12/27] Compiling Bluebird Promise+tap.swift
[13/27] Compiling Bluebird Promise+all.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:27:68: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | ///
26 | /// - returns: Promise
27 | public func all<A, S: Sequence>(on queue: DispatchQueue = .main, _ promises: S) -> Promise<[A]> where S.Iterator.Element == Promise<A> {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | let count = Array(promises).count
29 |
[14/27] Compiling Bluebird Promise+any.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:27:68: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | ///
26 | /// - returns: Promise
27 | public func all<A, S: Sequence>(on queue: DispatchQueue = .main, _ promises: S) -> Promise<[A]> where S.Iterator.Element == Promise<A> {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | let count = Array(promises).count
29 |
[15/27] Compiling Bluebird Promise+catch.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:27:68: warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
25 | ///
26 | /// - returns: Promise
27 | public func all<A, S: Sequence>(on queue: DispatchQueue = .main, _ promises: S) -> Promise<[A]> where S.Iterator.Element == Promise<A> {
| `- warning: capture of non-sendable type 'S.Type' in an isolated closure; this is an error in the Swift 6 language mode
28 | let count = Array(promises).count
29 |
[16/27] Compiling Bluebird Promise+finally.swift
[17/27] Compiling Bluebird Promise+join.swift
[18/27] Compiling Bluebird Promise+map.swift
[19/27] Compiling Bluebird Promise+race.swift
[20/27] Compiling Bluebird Promise+recover.swift
[21/27] Compiling Bluebird Promise+reduce.swift
[22/27] Compiling Bluebird Promise+defer.swift
[23/27] Compiling Bluebird Promise+delay.swift
[24/27] Compiling Bluebird Promise+errors.swift
[25/27] Compiling Bluebird Promise+try.swift
[26/27] Compiling Bluebird Promise+void.swift
[27/27] Compiling Bluebird Promise.swift
BUILD FAILURE 6.2 android