Build Information
Successful build of Redux with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 0
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ReactComponentKit/Redux.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/ReactComponentKit/Redux
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 2dd0f78 Merge pull request #11 from ReactComponentKit/feature/adopt-async-type
Cloned https://github.com/ReactComponentKit/Redux.git
Revision (git rev-parse @):
2dd0f78510be907a928067d22e720cf03763de74
SUCCESS checkout https://github.com/ReactComponentKit/Redux.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/ReactComponentKit/Redux.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling Redux Store.swift
/Users/admin/builder/spi-builder-workspace/Sources/Redux/Store.swift:79:19: warning: capture of 'self' with non-sendable type 'Store<S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |
14 | // @dynamicMemberLookup
15 | open class Store<S: State>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
16 | private(set) public var state: S
17 | private var workListBeforeCommit: [(S) -> Void] = []
:
77 | doWorksAfterCommit()
78 | Task {
79 | await computeOnMainThread(new: state, old: old)
| `- warning: capture of 'self' with non-sendable type 'Store<S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redux/Store.swift:79:56: warning: capture of 'old' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |
14 | // @dynamicMemberLookup
15 | open class Store<S: State>: ObservableObject {
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
16 | private(set) public var state: S
17 | private var workListBeforeCommit: [(S) -> Void] = []
:
77 | doWorksAfterCommit()
78 | Task {
79 | await computeOnMainThread(new: state, old: old)
| `- warning: capture of 'old' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
80 | }
81 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redux/Store.swift:89:19: warning: capture of 'self' with non-sendable type 'Store<S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |
14 | // @dynamicMemberLookup
15 | open class Store<S: State>: ObservableObject {
| `- note: generic class 'Store' does not conform to the 'Sendable' protocol
16 | private(set) public var state: S
17 | private var workListBeforeCommit: [(S) -> Void] = []
:
87 | doWorksAfterCommit()
88 | Task {
89 | await computeOnMainThread(new: state, old: old)
| `- warning: capture of 'self' with non-sendable type 'Store<S>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | }
91 | }
/Users/admin/builder/spi-builder-workspace/Sources/Redux/Store.swift:89:56: warning: capture of 'old' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
13 |
14 | // @dynamicMemberLookup
15 | open class Store<S: State>: ObservableObject {
| `- note: consider making generic parameter 'S' conform to the 'Sendable' protocol
16 | private(set) public var state: S
17 | private var workListBeforeCommit: [(S) -> Void] = []
:
87 | doWorksAfterCommit()
88 | Task {
89 | await computeOnMainThread(new: state, old: old)
| `- warning: capture of 'old' with non-sendable type 'S' in a `@Sendable` closure; this is an error in the Swift 6 language mode
90 | }
91 | }
[4/6] Compiling Redux State.swift
[5/6] Compiling Redux Async.swift
[6/6] Emitting module Redux
Build complete! (17.05s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Redux",
"name" : "Redux",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
}
],
"products" : [
{
"name" : "Redux",
"targets" : [
"Redux"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ReduxTests",
"module_type" : "SwiftTarget",
"name" : "ReduxTests",
"path" : "Tests/ReduxTests",
"sources" : [
"AsyncEnumTypeTests.swift",
"ContextSwitching.swift",
"CounterStoreTests.swift",
"ReduxTests.swift",
"SSOTTests.swift",
"UserStoreTests.swift"
],
"target_dependencies" : [
"Redux"
],
"type" : "test"
},
{
"c99name" : "Redux",
"module_type" : "SwiftTarget",
"name" : "Redux",
"path" : "Sources/Redux",
"product_memberships" : [
"Redux"
],
"sources" : [
"Async.swift",
"State.swift",
"Store.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.