Build Information
Successful build of Prelude, reference master (146f53), with Swift 6.1 for Android on 28 May 2025 05:46:55 UTC.
Swift 6 data race errors: 2
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wayfair-archive/prelude.git
Reference: master
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/wayfair-archive/prelude
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 146f53b Fix a version for App Store validation (#27)
Cloned https://github.com/wayfair-archive/prelude.git
Revision (git rev-parse @):
146f53bb562859602e14fa632a71b141970cdbd8
SUCCESS checkout https://github.com/wayfair-archive/prelude.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/wayfair-archive/prelude.git
https://github.com/wayfair-archive/prelude.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Prelude",
"name" : "Prelude",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Prelude",
"targets" : [
"Prelude"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreludeTests",
"module_type" : "SwiftTarget",
"name" : "PreludeTests",
"path" : "Tests/PreludeTests",
"sources" : [
"ChangeTrackingTests.swift",
"Laters+OperationTests.swift",
"LatersTests.swift",
"MonoidTests.swift",
"PredicateTests.swift",
"PreludeTests.swift",
"ReducersTests.swift",
"RefinementsTests.swift",
"SequenceExtensionsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Prelude"
],
"type" : "test"
},
{
"c99name" : "Prelude",
"module_type" : "SwiftTarget",
"name" : "Prelude",
"path" : "Sources/Prelude",
"product_memberships" : [
"Prelude"
],
"sources" : [
"ChangeTracking.swift",
"Laters+Operation.swift",
"Laters.swift",
"Monoid.swift",
"Nat.swift",
"Operators.swift",
"Predicate.swift",
"Prelude.swift",
"Reducers.swift",
"Refinements.swift",
"Sequence+Prelude.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/13] Compiling Prelude Nat.swift
[4/13] Compiling Prelude Operators.swift
[5/14] Compiling Prelude Refinements.swift
[6/14] Compiling Prelude Reducers.swift
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:27: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
11 | public struct Reducer<A, X> {
| `- note: 'A' previously declared here
12 | public let updateAccumulatingResult: (inout A, X) -> Void
13 |
:
83 | /// - rhs: another reducer
84 | /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
85 | public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
86 | lhs.followed(by: rhs)
87 | }
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:30: warning: generic parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
11 | public struct Reducer<A, X> {
| `- note: 'X' previously declared here
12 | public let updateAccumulatingResult: (inout A, X) -> Void
13 |
:
83 | /// - rhs: another reducer
84 | /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
85 | public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
| `- warning: generic parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
86 | lhs.followed(by: rhs)
87 | }
[7/14] Compiling Prelude Prelude.swift
[8/14] Compiling Prelude Predicate.swift
[9/14] Compiling Prelude Sequence+Prelude.swift
[10/14] Emitting module Prelude
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:18:20: warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
16 | }
17 |
18 | public final class LaterOperation<L: Later>: Operation {
| `- warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
19 | private let upstream: L
20 |
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:27: warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
11 | public struct Reducer<A, X> {
| `- note: 'A' previously declared here
12 | public let updateAccumulatingResult: (inout A, X) -> Void
13 |
:
83 | /// - rhs: another reducer
84 | /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
85 | public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
| `- warning: generic parameter 'A' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
86 | lhs.followed(by: rhs)
87 | }
/host/spi-builder-workspace/Sources/Prelude/Reducers.swift:85:30: warning: generic parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
9 |
10 | /// a struct that wraps a function suitable for passing to the `updateAccumulatingResult:` parameter of `Sequence.reduce(into:_:)`
11 | public struct Reducer<A, X> {
| `- note: 'X' previously declared here
12 | public let updateAccumulatingResult: (inout A, X) -> Void
13 |
:
83 | /// - rhs: another reducer
84 | /// - Returns: a reducer that for each input, first runs `lhs`, then runs `rhs`
85 | public static func <><A, X>(_ lhs: Reducer<A, X>, _ rhs: Reducer<A, X>) -> Reducer<A, X> {
| `- warning: generic parameter 'X' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
86 | lhs.followed(by: rhs)
87 | }
[11/14] Compiling Prelude ChangeTracking.swift
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:18:20: warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
16 | }
17 |
18 | public final class LaterOperation<L: Later>: Operation {
| `- warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
19 | private let upstream: L
20 |
[12/14] Compiling Prelude Laters+Operation.swift
/host/spi-builder-workspace/Sources/Prelude/Laters+Operation.swift:18:20: warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
16 | }
17 |
18 | public final class LaterOperation<L: Later>: Operation {
| `- warning: class 'LaterOperation' must restate inherited '@unchecked Sendable' conformance
19 | private let upstream: L
20 |
[13/14] Compiling Prelude Laters.swift
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:65:49: warning: capture of 'next' with non-sendable type '(L.Output) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | public func run(_ next: @escaping (L.Output) -> Void) {
64 | upstream.run { value in
65 | self.taggedQueue.getQueue().async { next(value) }
| |- warning: capture of 'next' with non-sendable type '(L.Output) -> 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'
66 | }
67 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:65:54: warning: capture of 'value' with non-sendable type 'L.Output' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | public func run(_ next: @escaping (L.Output) -> Void) {
64 | upstream.run { value in
65 | self.taggedQueue.getQueue().async { next(value) }
| `- warning: capture of 'value' with non-sendable type 'L.Output' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | }
67 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:353:13: warning: capture of 'next' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
351 | public func run(_ next: @escaping (A) -> Void) {
352 | queue.asyncAfter(deadline: deadline(), execute: {
353 | next(self.value())
| |- warning: capture of 'next' 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'
354 | })
355 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:353:18: warning: capture of 'self' with non-sendable type 'Laters.After<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
329 |
330 | public extension Laters {
331 | struct After<A> {
| `- note: consider making generic struct 'After' conform to the 'Sendable' protocol
332 | private let deadline: () -> DispatchTime
333 | private let queue: DispatchQueue
:
351 | public func run(_ next: @escaping (A) -> Void) {
352 | queue.asyncAfter(deadline: deadline(), execute: {
353 | next(self.value())
| `- warning: capture of 'self' with non-sendable type 'Laters.After<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 | })
355 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:387:31: warning: when calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
385 | // Q: When calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
386 | // A: No
387 | func f(_ v: @escaping (Void) -> Void) {
| `- warning: when calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
388 | upstream { v(()) }
389 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:479:13: warning: capture of 'next' with non-sendable type '(Result<(Data, URLResponse), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
477 | session.dataTask(with: request) { data, response, error in
478 | let result = try! process(data: data, response: response, error: error)
479 | next(result)
| |- warning: capture of 'next' with non-sendable type '(Result<(Data, URLResponse), 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'
480 | return
481 | }.resume()
[14/14] Compiling Prelude Monoid.swift
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:65:49: warning: capture of 'next' with non-sendable type '(L.Output) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | public func run(_ next: @escaping (L.Output) -> Void) {
64 | upstream.run { value in
65 | self.taggedQueue.getQueue().async { next(value) }
| |- warning: capture of 'next' with non-sendable type '(L.Output) -> 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'
66 | }
67 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:65:54: warning: capture of 'value' with non-sendable type 'L.Output' in a '@Sendable' closure; this is an error in the Swift 6 language mode
63 | public func run(_ next: @escaping (L.Output) -> Void) {
64 | upstream.run { value in
65 | self.taggedQueue.getQueue().async { next(value) }
| `- warning: capture of 'value' with non-sendable type 'L.Output' in a '@Sendable' closure; this is an error in the Swift 6 language mode
66 | }
67 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:353:13: warning: capture of 'next' with non-sendable type '(A) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
351 | public func run(_ next: @escaping (A) -> Void) {
352 | queue.asyncAfter(deadline: deadline(), execute: {
353 | next(self.value())
| |- warning: capture of 'next' 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'
354 | })
355 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:353:18: warning: capture of 'self' with non-sendable type 'Laters.After<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
329 |
330 | public extension Laters {
331 | struct After<A> {
| `- note: consider making generic struct 'After' conform to the 'Sendable' protocol
332 | private let deadline: () -> DispatchTime
333 | private let queue: DispatchQueue
:
351 | public func run(_ next: @escaping (A) -> Void) {
352 | queue.asyncAfter(deadline: deadline(), execute: {
353 | next(self.value())
| `- warning: capture of 'self' with non-sendable type 'Laters.After<A>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
354 | })
355 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:387:31: warning: when calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
385 | // Q: When calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
386 | // A: No
387 | func f(_ v: @escaping (Void) -> Void) {
| `- warning: when calling this function in Swift 4 or later, you must pass a '()' tuple; did you mean for the input type to be '()'?
388 | upstream { v(()) }
389 | }
/host/spi-builder-workspace/Sources/Prelude/Laters.swift:479:13: warning: capture of 'next' with non-sendable type '(Result<(Data, URLResponse), any Error>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
477 | session.dataTask(with: request) { data, response, error in
478 | let result = try! process(data: data, response: response, error: error)
479 | next(result)
| |- warning: capture of 'next' with non-sendable type '(Result<(Data, URLResponse), 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'
480 | return
481 | }.resume()
Build complete! (14.78s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Prelude",
"name" : "Prelude",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Prelude",
"targets" : [
"Prelude"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "PreludeTests",
"module_type" : "SwiftTarget",
"name" : "PreludeTests",
"path" : "Tests/PreludeTests",
"sources" : [
"ChangeTrackingTests.swift",
"Laters+OperationTests.swift",
"LatersTests.swift",
"MonoidTests.swift",
"PredicateTests.swift",
"PreludeTests.swift",
"ReducersTests.swift",
"RefinementsTests.swift",
"SequenceExtensionsTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Prelude"
],
"type" : "test"
},
{
"c99name" : "Prelude",
"module_type" : "SwiftTarget",
"name" : "Prelude",
"path" : "Sources/Prelude",
"product_memberships" : [
"Prelude"
],
"sources" : [
"ChangeTracking.swift",
"Laters+Operation.swift",
"Laters.swift",
"Monoid.swift",
"Nat.swift",
"Operators.swift",
"Predicate.swift",
"Prelude.swift",
"Reducers.swift",
"Refinements.swift",
"Sequence+Prelude.swift"
],
"type" : "library"
}
],
"tools_version" : "5.1"
}
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Done.