Build Information
Failed to build Bluebird, reference main (e235da
), with Swift 6.1 for Linux on 27 Apr 2025 01:50:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.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: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/AndrewBarba/Bluebird.swift.git
https://github.com/AndrewBarba/Bluebird.swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Bluebird",
"name" : "Bluebird",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Bluebird",
"targets" : [
"Bluebird"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BluebirdTests",
"module_type" : "SwiftTarget",
"name" : "BluebirdTests",
"path" : "Tests",
"sources" : [
"Bluebird+APlus.swift",
"Bluebird+Spec.swift",
"BluebirdTests.swift"
],
"target_dependencies" : [
"Bluebird"
],
"type" : "test"
},
{
"c99name" : "Bluebird",
"module_type" : "SwiftTarget",
"name" : "Bluebird",
"path" : "Sources",
"product_memberships" : [
"Bluebird"
],
"sources" : [
"Lock.swift",
"Promise+Combine.swift",
"Promise+Concurrency.swift",
"Promise+all.swift",
"Promise+any.swift",
"Promise+catch.swift",
"Promise+defer.swift",
"Promise+delay.swift",
"Promise+errors.swift",
"Promise+finally.swift",
"Promise+join.swift",
"Promise+map.swift",
"Promise+race.swift",
"Promise+recover.swift",
"Promise+reduce.swift",
"Promise+reflect.swift",
"Promise+return.swift",
"Promise+tap.swift",
"Promise+tapCatch.swift",
"Promise+then.swift",
"Promise+timeout.swift",
"Promise+try.swift",
"Promise+void.swift",
"Promise.swift"
],
"type" : "library"
}
],
"tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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+defer.swift
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:13: warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| |- warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:21: warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | ///
17 | /// - returns: Promise
18 | public func delay<A>(on queue: DispatchQueue = .main, _ seconds: TimeInterval, _ result: A) -> Promise<A> {
| `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| `- warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | }
23 | }
[5/27] Compiling Bluebird Promise+delay.swift
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:13: warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| |- warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:21: warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | ///
17 | /// - returns: Promise
18 | public func delay<A>(on queue: DispatchQueue = .main, _ seconds: TimeInterval, _ result: A) -> Promise<A> {
| `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| `- warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | }
23 | }
[6/27] Compiling Bluebird Promise+errors.swift
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:13: warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| |- warning: capture of 'resolve' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
22 | }
23 | }
/host/spi-builder-workspace/Sources/Promise+delay.swift:21:21: warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
16 | ///
17 | /// - returns: Promise
18 | public func delay<A>(on queue: DispatchQueue = .main, _ seconds: TimeInterval, _ result: A) -> Promise<A> {
| `- note: consider making generic parameter 'A' conform to the 'Sendable' protocol
19 | return Promise<A> { resolve, _ in
20 | queue.asyncAfter(deadline: .now() + seconds) {
21 | resolve(result)
| `- warning: capture of 'result' with non-sendable type 'A' in a '@Sendable' closure; this is an error in the Swift 6 language mode
22 | }
23 | }
[7/27] Compiling Bluebird Promise+try.swift
/host/spi-builder-workspace/Sources/Promise.swift:189:35: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:189:41: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:191:35: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | queue.async { block(result) }
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
/host/spi-builder-workspace/Sources/Promise.swift:193:35: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 | queue.async { block(error) }
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 | default:
195 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:27: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:33: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:244:27: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
242 | switch handler {
243 | case .reject(let queue, let block):
244 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | default:
246 | break
[8/27] Compiling Bluebird Promise+void.swift
/host/spi-builder-workspace/Sources/Promise.swift:189:35: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:189:41: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:191:35: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | queue.async { block(result) }
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
/host/spi-builder-workspace/Sources/Promise.swift:193:35: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 | queue.async { block(error) }
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 | default:
195 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:27: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:33: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:244:27: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
242 | switch handler {
243 | case .reject(let queue, let block):
244 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | default:
246 | break
[9/27] Compiling Bluebird Promise.swift
/host/spi-builder-workspace/Sources/Promise.swift:189:35: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:189:41: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
187 | switch (state, handler) {
188 | case (.resolved(let result), .resolve(let queue, let block)):
189 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
/host/spi-builder-workspace/Sources/Promise.swift:191:35: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
189 | queue.async { block(result) }
190 | case (.rejected(let error), .reject(let queue, let block)):
191 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
/host/spi-builder-workspace/Sources/Promise.swift:193:35: warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
191 | queue.async { block(error) }
192 | case (.canceled, .cancel(let queue, let block)):
193 | queue.async { block() }
| |- warning: capture of 'block' with non-sendable type '() -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
194 | default:
195 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:27: warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| |- warning: capture of 'block' with non-sendable type '(Result) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:231:33: warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
71 | }
72 |
73 | public final class Promise<Result> {
| `- note: consider making generic parameter 'Result' conform to the 'Sendable' protocol
74 |
75 | /// Private lock for performing state related operations
:
229 | switch handler {
230 | case .resolve(let queue, let block):
231 | queue.async { block(result) }
| `- warning: capture of 'result' with non-sendable type 'Result' in a '@Sendable' closure; this is an error in the Swift 6 language mode
232 | default:
233 | break
/host/spi-builder-workspace/Sources/Promise.swift:244:27: warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
242 | switch handler {
243 | case .reject(let queue, let block):
244 | queue.async { block(error) }
| |- warning: capture of 'block' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
245 | default:
246 | break
[10/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 | }
[11/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 | }
[12/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 | }
[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+reflect.swift
[20/27] Compiling Bluebird Promise+return.swift
[21/27] Compiling Bluebird Promise+tap.swift
[22/27] Compiling Bluebird Promise+tapCatch.swift
/host/spi-builder-workspace/Sources/Promise+timeout.swift:26:17: warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | ])
25 | queue.asyncAfter(deadline: .now() + seconds) {
26 | reject(error ?? BluebirdError.timeout(seconds))
| |- warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | }
28 | }
[23/27] Compiling Bluebird Promise+then.swift
/host/spi-builder-workspace/Sources/Promise+timeout.swift:26:17: warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | ])
25 | queue.asyncAfter(deadline: .now() + seconds) {
26 | reject(error ?? BluebirdError.timeout(seconds))
| |- warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | }
28 | }
[24/27] Compiling Bluebird Promise+timeout.swift
/host/spi-builder-workspace/Sources/Promise+timeout.swift:26:17: warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
24 | ])
25 | queue.asyncAfter(deadline: .now() + seconds) {
26 | reject(error ?? BluebirdError.timeout(seconds))
| |- warning: capture of 'reject' with non-sendable type '(any Error) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
27 | }
28 | }
[25/27] Compiling Bluebird Promise+all.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:17: warning: capture of 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' 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 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' 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> {
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
28 | let count = Array(promises).count
29 |
:
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 | }
[26/27] Compiling Bluebird Promise+any.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:17: warning: capture of 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' 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 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' 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> {
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
28 | let count = Array(promises).count
29 |
:
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 | }
[27/27] Compiling Bluebird Promise+catch.swift
/host/spi-builder-workspace/Sources/Promise+all.swift:44:17: warning: capture of 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' 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 'resolve' with non-sendable type '([A]) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
45 | }
46 | }
/host/spi-builder-workspace/Sources/Promise+all.swift:44:25: warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' 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> {
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
28 | let count = Array(promises).count
29 |
:
42 | guard remaining == 0 else { return }
43 | queue.async {
44 | resolve(promises.map { $0.result! })
| `- warning: capture of 'promises' with non-sendable type 'S' in a '@Sendable' closure; this is an error in the Swift 6 language mode
45 | }
46 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-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
[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/23] 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 {
[3/26] 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 | }
[4/26] 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 | }
[5/26] 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 | }
[6/26] Compiling Bluebird Promise+defer.swift
[7/26] Compiling Bluebird Promise+delay.swift
[8/26] Compiling Bluebird Promise+errors.swift
[9/26] Compiling Bluebird Promise+race.swift
[10/26] Compiling Bluebird Promise+recover.swift
[11/26] Compiling Bluebird Promise+reduce.swift
[12/26] Compiling Bluebird Promise+tapCatch.swift
[13/26] Compiling Bluebird Promise+then.swift
[14/26] Compiling Bluebird Promise+timeout.swift
[15/26] Compiling Bluebird Promise+reflect.swift
[16/26] Compiling Bluebird Promise+return.swift
[17/26] Compiling Bluebird Promise+tap.swift
[18/26] Compiling Bluebird Promise+all.swift
[19/26] Compiling Bluebird Promise+any.swift
[20/26] Compiling Bluebird Promise+catch.swift
[21/26] Compiling Bluebird Promise+finally.swift
[22/26] Compiling Bluebird Promise+join.swift
[23/26] Compiling Bluebird Promise+map.swift
[24/26] Compiling Bluebird Promise+try.swift
[25/26] Compiling Bluebird Promise+void.swift
[26/26] Compiling Bluebird Promise.swift
BUILD FAILURE 6.1 linux