Build Information
Successful build of Bluebird, reference 6.0.0 (e235da
), with Swift 6.0 for macOS (SPM) on 28 Nov 2024 21:07:13 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.58.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/AndrewBarba/Bluebird.swift.git
Reference: 6.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
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
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "bluebird.swift",
"name": "Bluebird",
"url": "https://github.com/AndrewBarba/Bluebird.swift.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Bluebird.swift",
"dependencies": [
]
}
]
}
Fetching https://github.com/AndrewBarba/Bluebird.swift.git
[1/1049] Fetching bluebird.swift
Fetched https://github.com/AndrewBarba/Bluebird.swift.git from cache (1.01s)
Creating working copy for https://github.com/AndrewBarba/Bluebird.swift.git
Working copy of https://github.com/AndrewBarba/Bluebird.swift.git resolved at 6.0.0 (e235da7)
warning: '.resolve-product-dependencies': dependency 'bluebird.swift' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/AndrewBarba/Bluebird.swift.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/25] Emitting module Bluebird
[4/27] Compiling Bluebird Promise+defer.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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
/Users/admin/builder/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 | }
/Users/admin/builder/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+all.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[8/27] Compiling Bluebird Promise+any.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[9/27] Compiling Bluebird Promise+catch.swift
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
[10/27] Compiling Bluebird Promise+void.swift
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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() }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[11/27] Compiling Bluebird Promise.swift
/Users/admin/builder/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) }
/Users/admin/builder/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) }
/Users/admin/builder/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() }
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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
[12/27] Compiling Bluebird Promise+tapCatch.swift
[13/27] Compiling Bluebird Promise+then.swift
[14/27] Compiling Bluebird Lock.swift
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:20:29: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
18 | self
19 | .then(on: queue) {
20 | promise.resume(returning: $0)
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | }
22 | .catch(on: queue) {
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:34:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | public convenience init(_ resolver: @escaping () async throws -> Result) {
33 | self.init { resolve, reject in
34 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 | do {
36 | let value = try await resolver()
| `- note: closure captures 'resolver' which is accessible to code in the current task
37 | resolve(value)
38 | } catch {
[15/27] Compiling Bluebird Promise+Combine.swift
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:20:29: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
18 | self
19 | .then(on: queue) {
20 | promise.resume(returning: $0)
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | }
22 | .catch(on: queue) {
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:34:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | public convenience init(_ resolver: @escaping () async throws -> Result) {
33 | self.init { resolve, reject in
34 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 | do {
36 | let value = try await resolver()
| `- note: closure captures 'resolver' which is accessible to code in the current task
37 | resolve(value)
38 | } catch {
[16/27] Compiling Bluebird Promise+Concurrency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:20:29: warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
18 | self
19 | .then(on: queue) {
20 | promise.resume(returning: $0)
| |- warning: sending '$0' risks causing data races; this is an error in the Swift 6 language mode
| `- note: task-isolated '$0' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
21 | }
22 | .catch(on: queue) {
/Users/admin/builder/spi-builder-workspace/Sources/Promise+Concurrency.swift:34:18: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
32 | public convenience init(_ resolver: @escaping () async throws -> Result) {
33 | self.init { resolve, reject in
34 | Task {
| `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
35 | do {
36 | let value = try await resolver()
| `- note: closure captures 'resolver' which is accessible to code in the current task
37 | resolve(value)
38 | } catch {
[17/27] Compiling Bluebird Promise+finally.swift
[18/27] Compiling Bluebird Promise+join.swift
[19/27] Compiling Bluebird Promise+map.swift
[20/27] Compiling Bluebird Promise+reduce.swift
[21/27] Compiling Bluebird Promise+reflect.swift
[22/27] Compiling Bluebird Promise+timeout.swift
/Users/admin/builder/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+try.swift
/Users/admin/builder/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+return.swift
[25/27] Compiling Bluebird Promise+tap.swift
[26/27] Compiling Bluebird Promise+race.swift
[27/27] Compiling Bluebird Promise+recover.swift
Build complete! (18.00s)
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/Library.xcconfig
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Bluebird",
"name" : "Bluebird",
"path" : "/Users/admin/builder/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"
}
Done.