The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build Bluebird, reference 6.0.0 (e235da), with Swift 6.2 (beta) for Linux on 19 Jun 2025 14:26:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 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: 6.0.0
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
 * tag               6.0.0      -> FETCH_HEAD
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 6.0.0
========================================
Build
========================================
Selected platform:         linux
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-1":/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
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-24593BA9C3E375BF.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/27] Compiling Bluebird Promise+tapCatch.swift
[5/27] Compiling Bluebird Promise+then.swift
[6/27] Compiling Bluebird Promise+timeout.swift
[7/27] Compiling Bluebird Promise+reflect.swift
[8/27] Compiling Bluebird Promise+return.swift
[9/27] Compiling Bluebird Promise+tap.swift
[10/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 |
[11/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 |
[12/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 |
[13/27] Compiling Bluebird Promise+race.swift
[14/27] Compiling Bluebird Promise+recover.swift
[15/27] Compiling Bluebird Promise+reduce.swift
[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+defer.swift
[20/27] Compiling Bluebird Promise+delay.swift
[21/27] Compiling Bluebird Promise+errors.swift
[22/27] 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 |     }
[23/27] 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 |     }
[24/27] 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 |     }
[25/27] Compiling Bluebird Promise+try.swift
[26/27] Compiling Bluebird Promise+void.swift
[27/27] Compiling Bluebird Promise.swift
BUILD FAILURE 6.2 linux