Build Information
Successful build of Baggins, reference 1.1.0 (c31a6c
), with Swift 6.1 for macOS (SPM) on 26 Apr 2025 19:40:17 UTC.
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexito4/Baggins.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/alexito4/Baggins
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at c31a6ce Update ci.yml
Cloned https://github.com/alexito4/Baggins.git
Revision (git rev-parse @):
c31a6cec7936aacfd8a18cdb0a4aafa02c1954bf
SUCCESS checkout https://github.com/alexito4/Baggins.git at 1.1.0
Fetching https://github.com/alexito4/Flow.git
Fetching https://github.com/alexito4/UnwrapOrThrow
[1/48] Fetching flow
[49/85] Fetching flow, unwraporthrow
Fetched https://github.com/alexito4/Flow.git from cache (0.64s)
Fetched https://github.com/alexito4/UnwrapOrThrow from cache (0.64s)
Computing version for https://github.com/alexito4/UnwrapOrThrow
Computed https://github.com/alexito4/UnwrapOrThrow at 1.0.0 (1.25s)
Computing version for https://github.com/alexito4/Flow.git
Computed https://github.com/alexito4/Flow.git at 1.0.0 (0.59s)
Creating working copy for https://github.com/alexito4/Flow.git
Working copy of https://github.com/alexito4/Flow.git resolved at 1.0.0
Creating working copy for https://github.com/alexito4/UnwrapOrThrow
Working copy of https://github.com/alexito4/UnwrapOrThrow resolved at 1.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": "baggins",
"name": "Baggins",
"url": "https://github.com/alexito4/Baggins.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Baggins",
"dependencies": [
{
"identity": "flow",
"name": "Flow",
"url": "https://github.com/alexito4/Flow.git",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Flow",
"dependencies": [
]
},
{
"identity": "unwraporthrow",
"name": "UnwrapOrThrow",
"url": "https://github.com/alexito4/UnwrapOrThrow",
"version": "1.0.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/UnwrapOrThrow",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/alexito4/Baggins.git
[1/231] Fetching baggins
Fetched https://github.com/alexito4/Baggins.git from cache (0.63s)
Fetching https://github.com/alexito4/Flow.git from cache
Fetching https://github.com/alexito4/UnwrapOrThrow from cache
Fetched https://github.com/alexito4/UnwrapOrThrow from cache (0.41s)
Fetched https://github.com/alexito4/Flow.git from cache (0.41s)
Computing version for https://github.com/alexito4/UnwrapOrThrow
Computed https://github.com/alexito4/UnwrapOrThrow at 1.0.0 (0.47s)
Computing version for https://github.com/alexito4/Flow.git
Computed https://github.com/alexito4/Flow.git at 1.0.0 (0.03s)
Creating working copy for https://github.com/alexito4/UnwrapOrThrow
Working copy of https://github.com/alexito4/UnwrapOrThrow resolved at 1.0.0
Creating working copy for https://github.com/alexito4/Baggins.git
Working copy of https://github.com/alexito4/Baggins.git resolved at 1.1.0 (c31a6ce)
Creating working copy for https://github.com/alexito4/Flow.git
Working copy of https://github.com/alexito4/Flow.git resolved at 1.0.0
warning: '.resolve-product-dependencies': dependency 'baggins' is not used by any target
Found 2 product dependencies
- Flow
- UnwrapOrThrow
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/alexito4/Baggins.git
https://github.com/alexito4/Baggins.git
{
"dependencies" : [
{
"identity" : "flow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexito4/Flow.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexito4/UnwrapOrThrow"
}
],
"manifest_display_name" : "Baggins",
"name" : "Baggins",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Baggins",
"targets" : [
"Baggins"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BagginsTests",
"module_type" : "SwiftTarget",
"name" : "BagginsTests",
"path" : "Tests/BagginsTests",
"sources" : [
"BoolTests.swift",
"BrewingTests.swift",
"CollectionTests.swift",
"ConcurrencyTests.swift",
"ConcurrencyUnsafeBlockingTests.swift",
"SequenceTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"Baggins"
],
"type" : "test"
},
{
"c99name" : "Baggins",
"module_type" : "SwiftTarget",
"name" : "Baggins",
"path" : "Sources/Baggins",
"product_dependencies" : [
"Flow",
"UnwrapOrThrow"
],
"product_memberships" : [
"Baggins"
],
"sources" : [
"Bool.swift",
"Collection.swift",
"Concurrency.swift",
"Flow.swift",
"Sequence.swift",
"String.swift",
"UnwrapOrThrow.swift",
"_Brewing.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.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/4] Write sources
[3/4] Write swift-version-2F0A5646E1D333AE.txt
[5/11] Compiling Flow Functions.swift
[6/11] Compiling Flow Extensions.swift
[7/11] Compiling Flow Flowable.swift
[8/11] Emitting module UnwrapOrThrow
[9/11] Compiling UnwrapOrThrow UnwrapOrThrow.swift
[10/11] Emitting module Flow
[11/11] Compiling Flow Conformances.swift
[12/20] Compiling Baggins UnwrapOrThrow.swift
[13/20] Compiling Baggins _Brewing.swift
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/_Brewing.swift:11:28: warning: sending 'left' risks causing data races; this is an error in the Swift 6 language mode
9 | combined: (Left, Right) async throws -> Return
10 | ) async throws -> Return {
11 | async let leftResult = left()
| |- warning: sending 'left' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'left' into async let risks causing data races between nonisolated and task-isolated uses
12 | async let rightResult = right()
13 | return try await combined(leftResult, rightResult)
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/_Brewing.swift:12:29: warning: sending 'right' risks causing data races; this is an error in the Swift 6 language mode
10 | ) async throws -> Return {
11 | async let leftResult = left()
12 | async let rightResult = right()
| |- warning: sending 'right' risks causing data races; this is an error in the Swift 6 language mode
| `- note: sending task-isolated 'right' into async let risks causing data races between nonisolated and task-isolated uses
13 | return try await combined(leftResult, rightResult)
14 | }
[14/20] Compiling Baggins Sequence.swift
[15/20] Compiling Baggins Flow.swift
[16/20] Compiling Baggins String.swift
[17/20] Emitting module Baggins
[18/20] Compiling Baggins Bool.swift
[19/20] Compiling Baggins Concurrency.swift
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:30:22: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
28 | // `addTaskUnlessCancelled`...
29 | try Task.checkCancellation()
30 | return try await withThrowingTaskGroup(of: R.self) { group in
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
31 | try Task.checkCancellation()
32 | guard group.addTaskUnlessCancelled(operation: { try await f1() }) else {
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:32:21: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
30 | return try await withThrowingTaskGroup(of: R.self) { group in
31 | try Task.checkCancellation()
32 | guard group.addTaskUnlessCancelled(operation: { try await f1() }) else {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
33 | throw CancellationError()
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:35:21: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
33 | throw CancellationError()
34 | }
35 | guard group.addTaskUnlessCancelled(operation: { try await f2() }) else {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
36 | group.cancelAll()
37 | throw CancellationError()
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:36:19: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
34 | }
35 | guard group.addTaskUnlessCancelled(operation: { try await f2() }) else {
36 | group.cancelAll()
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
37 | throw CancellationError()
38 | }
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:39:43: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
37 | throw CancellationError()
38 | }
39 | guard let first = try await group.next() else {
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
40 | fatalError()
41 | }
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:42:15: warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
20 | // MARK: - Race
21 |
22 | public func firstOf<R>(
| `- note: consider making generic parameter 'R' conform to the 'Sendable' protocol
23 | _ f1: @escaping () async throws -> R,
24 | or f2: @escaping () async throws -> R
:
40 | fatalError()
41 | }
42 | group.cancelAll()
| `- warning: type 'R' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
43 | return first
44 | }
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:32:55: 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
30 | return try await withThrowingTaskGroup(of: R.self) { group in
31 | try Task.checkCancellation()
32 | guard group.addTaskUnlessCancelled(operation: { try await f1() }) else {
| | `- note: closure captures 'f1' which is accessible to code in the current 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
33 | throw CancellationError()
34 | }
/Users/admin/builder/spi-builder-workspace/Sources/Baggins/Concurrency.swift:35:55: 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
33 | throw CancellationError()
34 | }
35 | guard group.addTaskUnlessCancelled(operation: { try await f2() }) else {
| | `- note: closure captures 'f2' which is accessible to code in the current 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
36 | group.cancelAll()
37 | throw CancellationError()
[20/20] Compiling Baggins Collection.swift
Build complete! (13.11s)
Build complete.
{
"dependencies" : [
{
"identity" : "flow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexito4/Flow.git"
},
{
"identity" : "unwraporthrow",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/alexito4/UnwrapOrThrow"
}
],
"manifest_display_name" : "Baggins",
"name" : "Baggins",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Baggins",
"targets" : [
"Baggins"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "BagginsTests",
"module_type" : "SwiftTarget",
"name" : "BagginsTests",
"path" : "Tests/BagginsTests",
"sources" : [
"BoolTests.swift",
"BrewingTests.swift",
"CollectionTests.swift",
"ConcurrencyTests.swift",
"ConcurrencyUnsafeBlockingTests.swift",
"SequenceTests.swift",
"StringTests.swift"
],
"target_dependencies" : [
"Baggins"
],
"type" : "test"
},
{
"c99name" : "Baggins",
"module_type" : "SwiftTarget",
"name" : "Baggins",
"path" : "Sources/Baggins",
"product_dependencies" : [
"Flow",
"UnwrapOrThrow"
],
"product_memberships" : [
"Baggins"
],
"sources" : [
"Bool.swift",
"Collection.swift",
"Concurrency.swift",
"Flow.swift",
"Sequence.swift",
"String.swift",
"UnwrapOrThrow.swift",
"_Brewing.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.