The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build Bluebird with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.29.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:             5.10
Building package at path:  $workDir
https://github.com/AndrewBarba/Bluebird.swift.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
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
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
[4/27] Compiling Bluebird Promise+try.swift
[5/27] Compiling Bluebird Promise+void.swift
[6/27] Compiling Bluebird Promise.swift
[7/27] Compiling Bluebird Promise+all.swift
[8/27] Compiling Bluebird Promise+any.swift
[9/27] Compiling Bluebird Promise+catch.swift
[10/27] Compiling Bluebird Promise+tapCatch.swift
[11/27] Compiling Bluebird Promise+then.swift
[12/27] Compiling Bluebird Promise+timeout.swift
[13/27] Compiling Bluebird Promise+defer.swift
[14/27] Compiling Bluebird Promise+delay.swift
[15/27] Compiling Bluebird Promise+errors.swift
[16/27] Compiling Bluebird Promise+race.swift
[17/27] Compiling Bluebird Promise+recover.swift
[18/27] Compiling Bluebird Promise+reduce.swift
[19/27] Compiling Bluebird Promise+finally.swift
[20/27] Compiling Bluebird Promise+join.swift
[21/27] Compiling Bluebird Promise+map.swift
[22/27] Compiling Bluebird Promise+reflect.swift
[23/27] Compiling Bluebird Promise+return.swift
[24/27] Compiling Bluebird Promise+tap.swift
[25/27] Compiling Bluebird Lock.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[26/27] Compiling Bluebird Promise+Combine.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[27/27] Compiling Bluebird Promise+Concurrency.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
                                             ^~~~~~~~~~~~~~~~~~~~~
error: fatalError
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
[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/5] Emitting module Bluebird
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
[3/5] Compiling Bluebird Lock.swift
/host/spi-builder-workspace/Sources/Lock.swift:45:25: error: cannot find 'os_unfair_lock' in scope
    private var _lock = os_unfair_lock()
                        ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:9: error: cannot find 'os_unfair_lock_lock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
        ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Lock.swift:48:46: error: cannot find 'os_unfair_lock_unlock' in scope
        os_unfair_lock_lock(&_lock); defer { os_unfair_lock_unlock(&_lock) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[4/5] Compiling Bluebird Promise+Combine.swift
[5/5] Compiling Bluebird Promise+Concurrency.swift
[6/25] Compiling Bluebird Promise+return.swift
[7/25] Compiling Bluebird Promise+tap.swift
[8/25] Compiling Bluebird Promise+recover.swift
[9/25] Compiling Bluebird Promise+reduce.swift
[10/25] Compiling Bluebird Promise+reflect.swift
[11/25] Compiling Bluebird Promise+all.swift
[12/25] Compiling Bluebird Promise+any.swift
[13/25] Compiling Bluebird Promise+catch.swift
[14/25] Compiling Bluebird Promise+defer.swift
[15/25] Compiling Bluebird Promise+delay.swift
[16/25] Compiling Bluebird Promise+finally.swift
[17/25] Compiling Bluebird Promise+timeout.swift
[18/25] Compiling Bluebird Promise+try.swift
[19/25] Compiling Bluebird Promise+tapCatch.swift
[20/25] Compiling Bluebird Promise+then.swift
[21/25] Compiling Bluebird Promise+join.swift
[22/25] Compiling Bluebird Promise+map.swift
[23/25] Compiling Bluebird Promise+race.swift
[24/25] Compiling Bluebird Promise+void.swift
[25/25] Compiling Bluebird Promise.swift
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 1