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.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AndrewBarba/Bluebird.swift.git
Reference: main
Cloned https://github.com/AndrewBarba/Bluebird.swift.git into spi-builder-workspace
SUCCESS checkout https://github.com/AndrewBarba/Bluebird.swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-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...
error: emit-module command failed with exit code 1 (use -v to see invocation)
[1/22] 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()
                        ^~~~~~~~~~~~~~
[2/25] 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) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[3/25] 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) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[4/25] 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) }
                                             ^~~~~~~~~~~~~~~~~~~~~
[5/25] Compiling Bluebird Promise+try.swift
[6/25] Compiling Bluebird Promise+void.swift
[7/25] Compiling Bluebird Promise.swift
[8/25] Compiling Bluebird Promise+all.swift
[9/25] Compiling Bluebird Promise+any.swift
[10/25] Compiling Bluebird Promise+catch.swift
[11/25] Compiling Bluebird Promise+finally.swift
[12/25] Compiling Bluebird Promise+join.swift
[13/25] Compiling Bluebird Promise+map.swift
[14/25] Compiling Bluebird Promise+defer.swift
[15/25] Compiling Bluebird Promise+delay.swift
[16/25] Compiling Bluebird Promise+errors.swift
[17/25] Compiling Bluebird Promise+reflect.swift
[18/25] Compiling Bluebird Promise+return.swift
[19/25] Compiling Bluebird Promise+tap.swift
[20/25] Compiling Bluebird Promise+race.swift
[21/25] Compiling Bluebird Promise+recover.swift
[22/25] Compiling Bluebird Promise+reduce.swift
[23/25] Compiling Bluebird Promise+tapCatch.swift
[24/25] Compiling Bluebird Promise+then.swift
[25/25] Compiling Bluebird Promise+timeout.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1