Build Information
Successful build of Finite, reference 4.0.0 (f5376d
), with Swift 6.0 for macOS (SPM) on 1 Nov 2024 00:03:33 UTC.
Swift 6 data race errors: 4
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
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/vknabel/Finite.git
Reference: 4.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/vknabel/Finite
* tag 4.0.0 -> FETCH_HEAD
HEAD is now at f5376dd Version 4.0.0
Cloned https://github.com/vknabel/Finite.git
Revision (git rev-parse @):
f5376dd4fe161d7d9f006247754db64982a5b87b
SUCCESS checkout https://github.com/vknabel/Finite.git at 4.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": "finite",
"name": "Finite",
"url": "https://github.com/vknabel/Finite.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Finite",
"dependencies": [
]
}
]
}
Fetching https://github.com/vknabel/Finite.git
[1/810] Fetching finite
Fetched https://github.com/vknabel/Finite.git from cache (1.10s)
Creating working copy for https://github.com/vknabel/Finite.git
Working copy of https://github.com/vknabel/Finite.git resolved at 4.0.0 (f5376dd)
warning: '.resolve-product-dependencies': dependency 'finite' 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/vknabel/Finite.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
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/7] Compiling Finite Transition.swift
[4/7] Compiling Finite Ref.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ref.swift:37:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | }
6 |
7 | internal class Ref<T> {
| `- note: 'T' previously declared here
8 | private var value: () -> T?
9 |
:
35 | }
36 |
37 | private struct Weak<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | fileprivate weak var value: Box<T>?
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Ref.swift:41:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | }
6 |
7 | internal class Ref<T> {
| `- note: 'T' previously declared here
8 | private var value: () -> T?
9 |
:
39 | }
40 |
41 | private class Box<T>: ReferenceDisposable {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 | var value: T?
43 |
[5/7] Compiling Finite StateFlow.swift
[6/7] Compiling Finite StateMachine.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine.swift:17:10: warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
13 |
14 | /// Indicates that a transition failed.
15 | public enum TransitionError<T: Hashable>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | /// Represents a tried transition that is not allowed.
17 | case denied(from: T, to: T)
| `- warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine.swift:17:10: warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
13 |
14 | /// Indicates that a transition failed.
15 | public enum TransitionError<T: Hashable>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | /// Represents a tried transition that is not allowed.
17 | case denied(from: T, to: T)
| `- warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
18 | }
19 |
[7/7] Emitting module Finite
/Users/admin/builder/spi-builder-workspace/Sources/Ref.swift:37:25: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | }
6 |
7 | internal class Ref<T> {
| `- note: 'T' previously declared here
8 | private var value: () -> T?
9 |
:
35 | }
36 |
37 | private struct Weak<T> {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
38 | fileprivate weak var value: Box<T>?
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/Ref.swift:41:23: warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
5 | }
6 |
7 | internal class Ref<T> {
| `- note: 'T' previously declared here
8 | private var value: () -> T?
9 |
:
39 | }
40 |
41 | private class Box<T>: ReferenceDisposable {
| `- warning: generic parameter 'T' shadows generic parameter from outer scope with the same name; this is an error in the Swift 6 language mode
42 | var value: T?
43 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine.swift:17:10: warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
13 |
14 | /// Indicates that a transition failed.
15 | public enum TransitionError<T: Hashable>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | /// Represents a tried transition that is not allowed.
17 | case denied(from: T, to: T)
| `- warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
18 | }
19 |
/Users/admin/builder/spi-builder-workspace/Sources/StateMachine.swift:17:10: warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
13 |
14 | /// Indicates that a transition failed.
15 | public enum TransitionError<T: Hashable>: Error {
| `- note: consider making generic parameter 'T' conform to the 'Sendable' protocol
16 | /// Represents a tried transition that is not allowed.
17 | case denied(from: T, to: T)
| `- warning: associated value 'denied(from:to:)' of 'Sendable'-conforming generic enum 'TransitionError' has non-sendable type 'T'; this is an error in the Swift 6 language mode
18 | }
19 |
Build complete! (2.55s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Finite",
"name" : "Finite",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Finite",
"targets" : [
"Finite"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FiniteTests",
"module_type" : "SwiftTarget",
"name" : "FiniteTests",
"path" : "Tests",
"sources" : [
"FiniteTests/StateFlowTests.swift",
"FiniteTests/StateMachine.swift",
"FiniteTests/SwiftShim.swift",
"FiniteTests/TransitionTests.swift",
"LinuxMain.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Finite"
],
"type" : "test"
},
{
"c99name" : "Finite",
"module_type" : "SwiftTarget",
"name" : "Finite",
"path" : "Sources",
"product_memberships" : [
"Finite"
],
"sources" : [
"Ref.swift",
"StateFlow.swift",
"StateMachine.swift",
"Transition.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.