Build Information
Failed to build StateTree with Swift 6.0 for macOS (SPM).
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
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[273/322] Compiling StateTree StateApplier.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[274/322] Compiling StateTree StateUpdater.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[275/322] Compiling StateTree UpdateEffectInfoCollector.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[276/322] Compiling StateTree UpdateStats.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[277/322] Compiling StateTree NodeEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[278/322] Compiling StateTree RecordingEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[279/322] Compiling StateTree RouteChanges.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[280/322] Compiling StateTree RuntimeConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
[281/322] Compiling StateTree RuntimeErrors.swift
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift:19:10: warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.stateStorage = stateStorage
18 | self.scopeStorage = scopeStorage
19 | self.newState = newState
| `- warning: main actor-isolated property 'newState' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
38 | private let stateStorage: StateStorage
39 | private let scopeStorage: ScopeStorage
40 | private let newState: TreeStateRecord
| `- note: mutation of this property is only permitted within the actor
41 |
42 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift:23:14: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
1 | // MARK: - TreeChanges
2 |
3 | struct TreeChanges: TreeState {
| `- note: consider making struct 'TreeChanges' conform to the 'Sendable' protocol
4 |
5 | // MARK: Lifecycle
:
21 | // MARK: Internal
22 |
23 | static let none = TreeChanges()
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'TreeChanges' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'none' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift:19:10: warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
17 | self.state = state
18 | self.scopes = scopes
19 | self.stagedChanges = changes
| `- warning: main actor-isolated property 'stagedChanges' can not be mutated from a non-isolated context; this is an error in the Swift 6 language mode
20 | }
21 |
:
50 | private let scopes: ScopeStorage
51 |
52 | private var stagedChanges: TreeChanges = .none
| `- note: mutation of this property is only permitted within the actor
53 |
54 | private func updateScopes() throws -> (events: [NodeEvent], stats: UpdateStats) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:18:14: warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
16 | }
17 |
18 | public let state: TreeStateRecord
| `- warning: stored property 'state' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type 'TreeStateRecord'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:19:14: warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
17 |
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
| `- warning: stored property 'scopeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:20:14: warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
18 | public let state: TreeStateRecord
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
| `- warning: stored property 'nodeIDs' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:21:14: warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
19 | public let scopeIDs: [NodeID]
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
| `- warning: stored property 'stateDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
22 | public let scopeDiscrepancy: [NodeID]
23 | public var description: String {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:22:14: warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
20 | public let nodeIDs: [NodeID]
21 | public let stateDiscrepancy: [NodeID]
22 | public let scopeDiscrepancy: [NodeID]
| `- warning: stored property 'scopeDiscrepancy' of 'Sendable'-conforming struct 'InternalStateInconsistency' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
23 | public var description: String {
24 | """
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:42:7: warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
40 |
41 | struct NodeNotFoundError: Error {
42 | let id: NodeID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'NodeNotFoundError' has non-sendable type 'NodeID'; this is an error in the Swift 6 language mode
43 | }
44 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:48:7: warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
46 |
47 | struct RouteNotFoundError: Error {
48 | let id: RouteID
| `- warning: stored property 'id' of 'Sendable'-conforming struct 'RouteNotFoundError' has non-sendable type 'RouteID'; this is an error in the Swift 6 language mode
49 | }
50 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:15:15: note: consider making struct 'RouteID' conform to the 'Sendable' protocol
13 | // MARK: - RouteID
14 |
15 | public struct RouteID {
| `- note: consider making struct 'RouteID' conform to the 'Sendable' protocol
16 | public init(fieldID: FieldID, identity: LSID? = nil) {
17 | self.fieldID = fieldID
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:54:7: warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
52 |
53 | struct NodesNotFoundError: Error {
54 | let ids: [NodeID]
| `- warning: stored property 'ids' of 'Sendable'-conforming struct 'NodesNotFoundError' has non-sendable type '[NodeID]'; this is an error in the Swift 6 language mode
55 | }
56 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift:10:37: warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
8 | init(state: TreeStateRecord, scopes: [AnyScope]) {
9 | self.state = state
10 | let scopeIDs = Set(scopes.map(\.nid))
| `- warning: cannot form key path to main actor-isolated property 'nid'; this is an error in the Swift 6 language mode
11 | let nodeIDs = Set(state.nodeIDs)
12 | self.scopeIDs = Array(scopeIDs)
error: compile command failed due to signal 6 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:50:7: warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
8 | // MARK: - NeverScope
9 |
10 | struct NeverScope: ScopeTypeInternal {
| `- note: add '@preconcurrency' to the 'ScopeTypeInternal' conformance to defer isolation checking to run time
11 |
12 | // MARK: Lifecycle
:
48 | }
49 |
50 | var node: N {
| `- warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
51 | assertionFailure("NeverScope should never be invoked")
52 | return _node
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeType.swift:32:7: note: 'node' declared here
30 | nonisolated var nid: NodeID { get }
31 | nonisolated var depth: Int { get }
32 | var node: N { get }
| `- note: 'node' declared here
33 | var isActive: Bool { get }
34 | var childScopes: [AnyScope] { get }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:50:7: warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
48 | }
49 |
50 | var node: N {
| `- warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
51 | assertionFailure("NeverScope should never be invoked")
52 | return _node
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeType.swift:20:7: note: 'node' declared here
18 | associatedtype N: Node
19 | nonisolated var nid: NodeID { get }
20 | var node: N { get }
| `- note: 'node' declared here
21 | }
22 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:90:7: warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
88 | }
89 |
90 | var requiresReadying: Bool {
| `- warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
91 | assertionFailure("NeverScope should never be invoked")
92 | return false
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:22:7: note: 'requiresReadying' declared here
20 | /// updated, and so must also reevaluate their ``Rules``.
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
| `- note: 'requiresReadying' declared here
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:100:7: warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
98 | }
99 |
100 | var requiresFinishing: Bool {
| `- warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
101 | assertionFailure("NeverScope should never be invoked")
102 | return true
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:23:7: note: 'requiresFinishing' declared here
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
| `- note: 'requiresFinishing' declared here
24 | var isStable: Bool { get }
25 | func stop() throws
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:95:7: warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
93 | }
94 |
95 | var isStable: Bool {
| `- warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
96 | assertionFailure("NeverScope should never be invoked")
97 | return true
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:24:7: note: 'isStable' declared here
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
| `- note: 'isStable' declared here
25 | func stop() throws
26 | func disconnectSendingNotification()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:138:8: warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
136 | }
137 |
138 | func stop() throws {
| |- warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stop()' to make this instance method not isolated to the actor
139 | assertionFailure("NeverScope should never be invoked")
140 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:25:8: note: mark the protocol requirement 'stop()' 'async' to allow actor-isolated conformances
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
25 | func stop() throws
| `- note: mark the protocol requirement 'stop()' 'async' to allow actor-isolated conformances
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:142:8: warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
140 | }
141 |
142 | func disconnectSendingNotification() {
| |- warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'disconnectSendingNotification()' to make this instance method not isolated to the actor
143 | assertionFailure("NeverScope should never be invoked")
144 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:26:8: note: mark the protocol requirement 'disconnectSendingNotification()' 'async' to allow actor-isolated conformances
24 | var isStable: Bool { get }
25 | func stop() throws
26 | func disconnectSendingNotification()
| `- note: mark the protocol requirement 'disconnectSendingNotification()' 'async' to allow actor-isolated conformances
27 | func stopSubtree() throws
28 | func start() throws
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:160:8: warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
158 | }
159 |
160 | func stopSubtree() throws {
| |- warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stopSubtree()' to make this instance method not isolated to the actor
161 | assertionFailure("NeverScope should never be invoked")
162 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:27:8: note: mark the protocol requirement 'stopSubtree()' 'async' to allow actor-isolated conformances
25 | func stop() throws
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
| `- note: mark the protocol requirement 'stopSubtree()' 'async' to allow actor-isolated conformances
28 | func start() throws
29 | func update() throws
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:164:8: warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
162 | }
163 |
164 | func start() throws {
| |- warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'start()' to make this instance method not isolated to the actor
165 | assertionFailure("NeverScope should never be invoked")
166 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:28:8: note: mark the protocol requirement 'start()' 'async' to allow actor-isolated conformances
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
28 | func start() throws
| `- note: mark the protocol requirement 'start()' 'async' to allow actor-isolated conformances
29 | func update() throws
30 | func didUpdate()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:168:8: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
166 | }
167 |
168 | func update() throws {
| |- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'update()' to make this instance method not isolated to the actor
169 | assertionFailure("NeverScope should never be invoked")
170 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:29:8: note: mark the protocol requirement 'update()' 'async' to allow actor-isolated conformances
27 | func stopSubtree() throws
28 | func start() throws
29 | func update() throws
| `- note: mark the protocol requirement 'update()' 'async' to allow actor-isolated conformances
30 | func didUpdate()
31 | func willStop()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:172:8: warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
170 | }
171 |
172 | func didUpdate() {
| |- warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'didUpdate()' to make this instance method not isolated to the actor
173 | assertionFailure("NeverScope should never be invoked")
174 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:30:8: note: mark the protocol requirement 'didUpdate()' 'async' to allow actor-isolated conformances
28 | func start() throws
29 | func update() throws
30 | func didUpdate()
| `- note: mark the protocol requirement 'didUpdate()' 'async' to allow actor-isolated conformances
31 | func willStop()
32 | func didStart()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:176:8: warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
174 | }
175 |
176 | func willStop() {
| |- warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'willStop()' to make this instance method not isolated to the actor
177 | assertionFailure("NeverScope should never be invoked")
178 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:31:8: note: mark the protocol requirement 'willStop()' 'async' to allow actor-isolated conformances
29 | func update() throws
30 | func didUpdate()
31 | func willStop()
| `- note: mark the protocol requirement 'willStop()' 'async' to allow actor-isolated conformances
32 | func didStart()
33 | func handleIntents()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:180:8: warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
178 | }
179 |
180 | func didStart() {
| |- warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'didStart()' to make this instance method not isolated to the actor
181 | assertionFailure("NeverScope should never be invoked")
182 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:32:8: note: mark the protocol requirement 'didStart()' 'async' to allow actor-isolated conformances
30 | func didUpdate()
31 | func willStop()
32 | func didStart()
| `- note: mark the protocol requirement 'didStart()' 'async' to allow actor-isolated conformances
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:184:8: warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
182 | }
183 |
184 | func handleIntents() {
| |- warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'handleIntents()' to make this instance method not isolated to the actor
185 | assertionFailure("NeverScope should never be invoked")
186 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:33:8: note: mark the protocol requirement 'handleIntents()' 'async' to allow actor-isolated conformances
31 | func willStop()
32 | func didStart()
33 | func handleIntents()
| `- note: mark the protocol requirement 'handleIntents()' 'async' to allow actor-isolated conformances
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:114:8: warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
112 | }
113 |
114 | func applyIntent(_: Intent) -> IntentStepResolution {
| |- warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'applyIntent' to make this instance method not isolated to the actor
115 | assertionFailure("NeverScope should never be invoked")
116 | return .inapplicable
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:34:8: note: mark the protocol requirement 'applyIntent' 'async' to allow actor-isolated conformances
32 | func didStart()
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
| `- note: mark the protocol requirement 'applyIntent' 'async' to allow actor-isolated conformances
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:150:8: warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
148 | }
149 |
150 | func stepTowardsReady() throws -> Bool {
| |- warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stepTowardsReady()' to make this instance method not isolated to the actor
151 | assertionFailure("NeverScope should never be invoked")
152 | throw NeverScopeError()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:35:8: note: mark the protocol requirement 'stepTowardsReady()' 'async' to allow actor-isolated conformances
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
| `- note: mark the protocol requirement 'stepTowardsReady()' 'async' to allow actor-isolated conformances
36 | func stepTowardsFinished() throws -> Bool
37 | func markDirty(pending: ExternalRequirement)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:133:8: warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
131 | }
132 |
133 | func stepTowardsFinished() throws -> Bool {
| |- warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'stepTowardsFinished()' to make this instance method not isolated to the actor
134 | assertionFailure("NeverScope should never be invoked")
135 | throw NeverScopeError()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:36:8: note: mark the protocol requirement 'stepTowardsFinished()' 'async' to allow actor-isolated conformances
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
| `- note: mark the protocol requirement 'stepTowardsFinished()' 'async' to allow actor-isolated conformances
37 | func markDirty(pending: ExternalRequirement)
38 | func sendUpdateEvent()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:146:8: warning: main actor-isolated instance method 'markDirty(pending:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
144 | }
145 |
146 | func markDirty(pending _: ExternalRequirement) {
| |- warning: main actor-isolated instance method 'markDirty(pending:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'markDirty(pending:)' to make this instance method not isolated to the actor
147 | assertionFailure("NeverScope should never be invoked")
148 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:37:8: note: mark the protocol requirement 'markDirty(pending:)' 'async' to allow actor-isolated conformances
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
37 | func markDirty(pending: ExternalRequirement)
| `- note: mark the protocol requirement 'markDirty(pending:)' 'async' to allow actor-isolated conformances
38 | func sendUpdateEvent()
39 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:110:8: warning: main actor-isolated instance method 'sendUpdateEvent()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
108 | }
109 |
110 | func sendUpdateEvent() {
| |- warning: main actor-isolated instance method 'sendUpdateEvent()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'sendUpdateEvent()' to make this instance method not isolated to the actor
111 | assertionFailure("NeverScope should never be invoked")
112 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:38:8: note: mark the protocol requirement 'sendUpdateEvent()' 'async' to allow actor-isolated conformances
36 | func stepTowardsFinished() throws -> Bool
37 | func markDirty(pending: ExternalRequirement)
38 | func sendUpdateEvent()
| `- note: mark the protocol requirement 'sendUpdateEvent()' 'async' to allow actor-isolated conformances
39 | }
40 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:123:8: warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | }
122 |
123 | func own(_ disposable: some Disposable) {
| |- warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'own' to make this instance method not isolated to the actor
124 | assertionFailure("NeverScope should never be invoked")
125 | disposable.dispose()
/Users/admin/builder/spi-builder-workspace/Sources/Behavior/Scoping/BehaviorScoping.swift:8:8: note: mark the protocol requirement 'own' 'async' to allow actor-isolated conformances
6 |
7 | public protocol BehaviorScoping {
8 | func own(_ disposable: some Disposable)
| `- note: mark the protocol requirement 'own' 'async' to allow actor-isolated conformances
9 | func canOwn() -> Bool
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:128:8: warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
126 | }
127 |
128 | func canOwn() -> Bool {
| |- warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'canOwn()' to make this instance method not isolated to the actor
129 | assertionFailure("NeverScope should never be invoked")
130 | return false
/Users/admin/builder/spi-builder-workspace/Sources/Behavior/Scoping/BehaviorScoping.swift:9:8: note: mark the protocol requirement 'canOwn()' 'async' to allow actor-isolated conformances
7 | public protocol BehaviorScoping {
8 | func own(_ disposable: some Disposable)
9 | func canOwn() -> Bool
| `- note: mark the protocol requirement 'canOwn()' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:119:8: warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
117 | }
118 |
119 | func hash(into _: inout Hasher) {
| |- warning: main actor-isolated instance method 'hash(into:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'hash(into:)' to make this instance method not isolated to the actor
120 | assertionFailure("NeverScope should never be invoked")
121 | }
Swift.Hashable:3:10: note: 'hash(into:)' declared here
1 | public protocol Hashable : Equatable {
2 | var hashValue: Int { get }
3 | func hash(into hasher: inout Hasher)
| `- note: 'hash(into:)' declared here
4 | func _rawHashValue(seed: Int) -> Int
5 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:105:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
103 | }
104 |
105 | static func == (_: NeverScope, _: NeverScope) -> Bool {
| |- warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to '==' to make this operator function not isolated to the actor
106 | assertionFailure("NeverScope should never be invoked")
107 | return false
Swift.Equatable:2:17: note: '==' declared here
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: '==' declared here
3 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:89:14: warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'NodeID' may have shared mutable state; this is an error in the Swift 6 language mode
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
:
87 |
88 | /// A custom invalid `NodeID` which should never be present in serialised output.
89 | static let invalid = NodeID(uuid: .fifteens)
| |- warning: static property 'invalid' is not concurrency-safe because non-'Sendable' type 'NodeID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'invalid' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Dependency/DependencyValues.swift:74:21: warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'DependencyValues' may have shared mutable state; this is an error in the Swift 6 language mode
68 | ///
69 | /// ```
70 | public struct DependencyValues {
| `- note: consider making struct 'DependencyValues' conform to the 'Sendable' protocol
71 |
72 | // MARK: Public
73 |
74 | public static let defaults: DependencyValues = .init()
| |- warning: static property 'defaults' is not concurrency-safe because non-'Sendable' type 'DependencyValues' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'defaults' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @_spi(Internal)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift:109:15: warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
104 | // MARK: BehaviorScoping
105 |
106 | extension NodeScope: BehaviorScoping {
| `- note: add '@preconcurrency' to the 'BehaviorScoping' conformance to defer isolation checking to run time
107 |
108 | @TreeActor
109 | public func own(_ disposable: some Disposable) {
| `- warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
110 | if isActive {
111 | stage.stage(disposable)
/Users/admin/builder/spi-builder-workspace/Sources/Behavior/Scoping/BehaviorScoping.swift:8:8: note: mark the protocol requirement 'own' 'async' to allow actor-isolated conformances
6 |
7 | public protocol BehaviorScoping {
8 | func own(_ disposable: some Disposable)
| `- note: mark the protocol requirement 'own' 'async' to allow actor-isolated conformances
9 | func canOwn() -> Bool
10 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift:118:15: warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
116 |
117 | @TreeActor
118 | public func canOwn() -> Bool {
| `- warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
119 | isActive
120 | }
/Users/admin/builder/spi-builder-workspace/Sources/Behavior/Scoping/BehaviorScoping.swift:9:8: note: mark the protocol requirement 'canOwn()' 'async' to allow actor-isolated conformances
7 | public protocol BehaviorScoping {
8 | func own(_ disposable: some Disposable)
9 | func canOwn() -> Bool
| `- note: mark the protocol requirement 'canOwn()' 'async' to allow actor-isolated conformances
10 | }
11 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:47:25: warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
20 | /// updated, and so must also reevaluate their ``Rules``.
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
| `- note: 'requiresReadying' declared here
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
:
41 | // MARK: - NodeScope + UpdatableScope
42 |
43 | extension NodeScope: UpdatableScope {
| `- note: add '@preconcurrency' to the 'UpdatableScope' conformance to defer isolation checking to run time
44 |
45 | // MARK: Public
46 |
47 | @TreeActor public var requiresReadying: Bool {
| `- warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
48 | state.requiresReadying
49 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:51:25: warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
| `- note: 'requiresFinishing' declared here
24 | var isStable: Bool { get }
25 | func stop() throws
:
49 | }
50 |
51 | @TreeActor public var requiresFinishing: Bool {
| `- warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
52 | state.requiresFinishing
53 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:55:25: warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
| `- note: 'isStable' declared here
25 | func stop() throws
26 | func disconnectSendingNotification()
:
53 | }
54 |
55 | @TreeActor public var isStable: Bool {
| `- warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
56 | state.isStable
57 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:120:8: warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
25 | func stop() throws
| `- note: mark the protocol requirement 'stop()' 'async' to allow actor-isolated conformances
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
:
118 |
119 | @TreeActor
120 | func stop() throws {
| `- warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
121 | assert(activeRules != nil)
122 | activeRules = nil
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:60:15: warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
24 | var isStable: Bool { get }
25 | func stop() throws
26 | func disconnectSendingNotification()
| `- note: mark the protocol requirement 'disconnectSendingNotification()' 'async' to allow actor-isolated conformances
27 | func stopSubtree() throws
28 | func start() throws
:
58 |
59 | @TreeActor
60 | public func disconnectSendingNotification() {
| `- warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
61 | runtime.disconnect(scopeID: nid)
62 | didUpdateSubject.finish()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:104:8: warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
25 | func stop() throws
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
| `- note: mark the protocol requirement 'stopSubtree()' 'async' to allow actor-isolated conformances
28 | func start() throws
29 | func update() throws
:
102 |
103 | @TreeActor
104 | func stopSubtree() throws {
| `- warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
105 | assert(activeRules != nil)
106 | try activeRules?.removeRule(with: context)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:68:8: warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
26 | func disconnectSendingNotification()
27 | func stopSubtree() throws
28 | func start() throws
| `- note: mark the protocol requirement 'start()' 'async' to allow actor-isolated conformances
29 | func update() throws
30 | func didUpdate()
:
66 |
67 | @TreeActor
68 | func start() throws {
| `- warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
69 | // assert(activeRules == nil)
70 | activeRules = node.rules
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:85:8: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
27 | func stopSubtree() throws
28 | func start() throws
29 | func update() throws
| `- note: mark the protocol requirement 'update()' 'async' to allow actor-isolated conformances
30 | func didUpdate()
31 | func willStop()
:
83 |
84 | @TreeActor
85 | func update() throws {
| `- warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
86 | assert(activeRules != nil)
87 | try activeRules?.updateRule(
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:95:8: warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
28 | func start() throws
29 | func update() throws
30 | func didUpdate()
| `- note: mark the protocol requirement 'didUpdate()' 'async' to allow actor-isolated conformances
31 | func willStop()
32 | func didStart()
:
93 |
94 | @TreeActor
95 | func didUpdate() {
| `- warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
96 | assert(activeRules != nil)
97 | _ = activeRules?.act(
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:111:8: warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
29 | func update() throws
30 | func didUpdate()
31 | func willStop()
| `- note: mark the protocol requirement 'willStop()' 'async' to allow actor-isolated conformances
32 | func didStart()
33 | func handleIntents()
:
109 |
110 | @TreeActor
111 | func willStop() {
| `- warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
112 | assert(activeRules != nil)
113 | _ = activeRules?.act(
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:76:8: warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
30 | func didUpdate()
31 | func willStop()
32 | func didStart()
| `- note: mark the protocol requirement 'didStart()' 'async' to allow actor-isolated conformances
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
:
74 |
75 | @TreeActor
76 | func didStart() {
| `- warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
77 | assert(activeRules != nil)
78 | _ = activeRules?.act(
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:129:8: warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
31 | func willStop()
32 | func didStart()
33 | func handleIntents()
| `- note: mark the protocol requirement 'handleIntents()' 'async' to allow actor-isolated conformances
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
:
127 |
128 | @TreeActor
129 | func handleIntents() {
| `- warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
130 | guard
131 | let activeIntent = runtime.activeIntent,
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:163:8: warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
32 | func didStart()
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
| `- note: mark the protocol requirement 'applyIntent' 'async' to allow actor-isolated conformances
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
:
161 |
162 | @TreeActor
163 | func applyIntent(_ intent: Intent) -> IntentStepResolution {
| `- warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
164 | let resolutions = activeRules?
165 | .act(for: .handleIntent(intent), with: context)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:178:8: warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
33 | func handleIntents()
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
| `- note: mark the protocol requirement 'stepTowardsReady()' 'async' to allow actor-isolated conformances
36 | func stepTowardsFinished() throws -> Bool
37 | func markDirty(pending: ExternalRequirement)
:
176 |
177 | @TreeActor
178 | func stepTowardsReady() throws -> Bool {
| `- warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
179 | if let act = state.forward(scope: self) {
180 | return try act()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:188:8: warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
34 | func applyIntent(_ intent: Intent) -> IntentStepResolution
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
| `- note: mark the protocol requirement 'stepTowardsFinished()' 'async' to allow actor-isolated conformances
37 | func markDirty(pending: ExternalRequirement)
38 | func sendUpdateEvent()
:
186 |
187 | @TreeActor
188 | func stepTowardsFinished() throws -> Bool {
| `- warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
189 | if let act = state.finalize(scope: self) {
190 | return try act()
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:198:8: warning: main actor-isolated instance method 'markDirty(pending:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
35 | func stepTowardsReady() throws -> Bool
36 | func stepTowardsFinished() throws -> Bool
37 | func markDirty(pending: ExternalRequirement)
| `- note: mark the protocol requirement 'markDirty(pending:)' 'async' to allow actor-isolated conformances
38 | func sendUpdateEvent()
39 | }
:
196 |
197 | @TreeActor
198 | func markDirty(
| `- warning: main actor-isolated instance method 'markDirty(pending:)' cannot be used to satisfy nonisolated protocol requirement; this is an error in the Swift 6 language mode
199 | pending requirement: ExternalRequirement
200 | ) {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:132:33: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
130 | guard
131 | let activeIntent = runtime.activeIntent,
132 | let intent = activeIntent.intent,
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
133 | nid == activeIntent.lastConsumerID || ancestors.contains(activeIntent.lastConsumerID)
134 | else {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:133:27: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
131 | let activeIntent = runtime.activeIntent,
132 | let intent = activeIntent.intent,
133 | nid == activeIntent.lastConsumerID || ancestors.contains(activeIntent.lastConsumerID)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | else {
135 | return
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:133:77: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
131 | let activeIntent = runtime.activeIntent,
132 | let intent = activeIntent.intent,
133 | nid == activeIntent.lastConsumerID || ancestors.contains(activeIntent.lastConsumerID)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
134 | else {
135 | return
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/StateTreeInfo.swift:70:27: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | /// remains pending until it finishes or is replaced.
69 | @TreeActor public var pendingIntent: Intent? {
70 | runtime.activeIntent?.intent
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | }
72 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:11:15: note: consider making struct 'NodeID' conform to the 'Sendable' protocol
9 | ///
10 | /// String serialised `NodeIDs` are formatted as `<UUID>`
11 | public struct NodeID: TreeState, LosslessStringConvertible, Comparable {
| `- note: consider making struct 'NodeID' conform to the 'Sendable' protocol
12 |
13 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:144:9: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
142 | // MARK: Internal
143 |
144 | let result: Async.Value<Result<TreeStateRecord, TreeError>>
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
145 |
146 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:371:12: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
369 | case inactive
370 | case created(runtime: Runtime)
371 | case started(
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
372 | runtime: Runtime,
373 | root: NodeScope<N>,
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:387:36: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |
386 | private let sessionSubject = ValueSubject<Session, Never>(.inactive)
387 | private let onceSessionSubject = ValueSubject<(
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
388 | runtime: Runtime,
389 | root: NodeScope<N>,
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:387:15: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
385 |
386 | private let sessionSubject = ValueSubject<Session, Never>(.inactive)
387 | private let onceSessionSubject = ValueSubject<(
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
388 | runtime: Runtime,
389 | root: NodeScope<N>,
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:139:20: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
137 |
138 | public func result() async -> Result<TreeStateRecord, TreeError> {
139 | await result.value
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:139:13: warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
137 |
138 | public func result() async -> Result<TreeStateRecord, TreeError> {
139 | await result.value
| `- warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:139:20: warning: non-sendable type 'Result<TreeStateRecord, TreeError>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
137 |
138 | public func result() async -> Result<TreeStateRecord, TreeError> {
139 | await result.value
| `- warning: non-sendable type 'Result<TreeStateRecord, TreeError>' in asynchronous access to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
140 | }
141 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:232:48: warning: type 'NodeScope<N>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 | get async {
231 | while true {
232 | if let vals = await onceSessionSubject.compact().firstValue {
| `- warning: type 'NodeScope<N>' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 | return Once(runtime: vals.runtime, root: vals.root, result: vals.result)
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift:13:20: note: generic class 'NodeScope' does not conform to the 'Sendable' protocol
11 |
12 | @_spi(Implementation)
13 | public final class NodeScope<N: Node>: Equatable {
| `- note: generic class 'NodeScope' does not conform to the 'Sendable' protocol
14 |
15 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:232:48: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
230 | get async {
231 | while true {
232 | if let vals = await onceSessionSubject.compact().firstValue {
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
233 | return Once(runtime: vals.runtime, root: vals.root, result: vals.result)
234 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:293:19: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | initialState: state
292 | )
293 | let async = Async.Value<Result<TreeStateRecord, TreeError>>()
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | sessionSubject.value.state = .started(runtime: runtime, root: rootScope, result: async)
295 | onceSessionSubject.value = (runtime: runtime, root: rootScope, result: async)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:293:65: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | initialState: state
292 | )
293 | let async = Async.Value<Result<TreeStateRecord, TreeError>>()
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | sessionSubject.value.state = .started(runtime: runtime, root: rootScope, result: async)
295 | onceSessionSubject.value = (runtime: runtime, root: rootScope, result: async)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:293:11: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
291 | initialState: state
292 | )
293 | let async = Async.Value<Result<TreeStateRecord, TreeError>>()
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
294 | sessionSubject.value.state = .started(runtime: runtime, root: rootScope, result: async)
295 | onceSessionSubject.value = (runtime: runtime, root: rootScope, result: async)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:293:65: warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
291 | initialState: state
292 | )
293 | let async = Async.Value<Result<TreeStateRecord, TreeError>>()
| `- warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' returned by implicitly asynchronous call to actor-isolated function cannot cross actor boundary; this is an error in the Swift 6 language mode
294 | sessionSubject.value.state = .started(runtime: runtime, root: rootScope, result: async)
295 | onceSessionSubject.value = (runtime: runtime, root: rootScope, result: async)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:322:9: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
320 | let currentState = sessionSubject.value.state
321 | let runtime: Runtime
322 | let asyncResult: Async.Value<Result<TreeStateRecord, TreeError>>?
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
323 | switch currentState {
324 | case .inactive: throw TreeError(.inactive)
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:338:27: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
336 | if let asyncResult {
337 | Task.detached {
338 | await asyncResult.resolve(to: result)
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
339 | }
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:338:15: warning: capture of 'asyncResult' with non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 | if let asyncResult {
337 | Task.detached {
338 | await asyncResult.resolve(to: result)
| `- warning: capture of 'asyncResult' with non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 | }
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:338:39: warning: capture of 'result' with non-sendable type 'Result<TreeStateRecord, TreeError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
336 | if let asyncResult {
337 | Task.detached {
338 | await asyncResult.resolve(to: result)
| `- warning: capture of 'result' with non-sendable type 'Result<TreeStateRecord, TreeError>' in a `@Sendable` closure; this is an error in the Swift 6 language mode
339 | }
340 | }
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/TreeHandle.swift:15:7: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
13 | }
14 |
15 | let asyncValue: Async.Value<Result<TreeStateRecord, TreeError>>
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | let stopFunc: () throws -> Result<TreeStateRecord, TreeError>
17 | public func onFinish() async -> Result<TreeStateRecord, TreeError> {
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/TreeHandle.swift:18:22: warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
16 | let stopFunc: () throws -> Result<TreeStateRecord, TreeError>
17 | public func onFinish() async -> Result<TreeStateRecord, TreeError> {
18 | await asyncValue.value
| `- warning: type 'TreeStateRecord' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/TreeHandle.swift:18:11: warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
16 | let stopFunc: () throws -> Result<TreeStateRecord, TreeError>
17 | public func onFinish() async -> Result<TreeStateRecord, TreeError> {
18 | await asyncValue.value
| `- warning: non-sendable type 'Async.Value<Result<TreeStateRecord, TreeError>>' passed in call to actor-isolated property 'value' cannot cross actor boundary; this is an error in the Swift 6 language mode
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:8:15: note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
6 |
7 | /// The full StateTree state at a moment in time.
8 | public struct TreeStateRecord: TreeState {
| `- note: consider making struct 'TreeStateRecord' conform to the 'Sendable' protocol
9 |
10 | // MARK: Lifecycle
Assertion failed: ((!other.isActorIsolated() || !isActorIsolated() || hasSameIsolation(other)) && "Actor can only be merged with the same actor"), function merge, file PartitionUtils.cpp, line 522.
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/bin/swift-frontend -frontend -c /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/Export.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/FieldID.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/FieldRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/FieldType.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/LSID.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeState.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/Union.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/State/ValueRecord.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/Foundation/TreeError.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Dependency/DependencyKey.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Dependency/DependencyValues.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Dependency/MetatypeWrapper.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Fields/Dependency.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Fields/Projection.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Fields/Route.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Fields/Scope.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Fields/Value.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Initialization/AnyInitializedNode.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Initialization/FieldCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Initialization/InitializedNode.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Initialization/NodeCapture.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Initialization/UninitializedNode.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Node/Node.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Access/Access.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Access/Implementations/CapturedAccess.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Access/Implementations/ConstantAccess.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Access/Implementations/StoredAccess.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Access/Implementations/TransformedAccess.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Transformer/Implementations/PassthroughTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Transformer/Implementations/StatelessTransformer.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Implementation/Transformer/Transformer.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/CompactMap.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/DynamicMember.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/Initializers.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/Map.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/ReplaceNil.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceFilter.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceFirst.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/Statics.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Inject/Inject.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnChange.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnIntent.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnReceive.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnStart.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnStop.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Lifecycle/OnUpdate.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/InnerRouteField.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/RouterSet.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/RouterType.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/ListRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/MaybeSingleRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/MaybeUnion2Router.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/MaybeUnion3Router.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/SingleRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/Union2Router.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Routers/Union3Router.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Routing/Serve.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/RuleBuilder.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Rules.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/EitherRule.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/EmptyRule.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/ErrorRule.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/MaybeRule.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/RuleSet.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Rules/Structural/TupleRule.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateApplier.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/StateUpdater.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/UpdateEffectInfoCollector.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ChangeManagers/UpdateStats.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/NodeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RecordingEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RouteChanges.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeConfiguration.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/RuntimeErrors.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/StateChangeMetadata.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/TreeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Models/TreeLifecyclleEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/PriorityQueue.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/Runtime.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ScopeStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/StateStorage.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/TreeStateRecord+Ext.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Runtime/ValueDependencyTracker.swift /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/AnyScope.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeAccess.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeType.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeUpdateLifecycle.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/StateSyncableScope.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/StateTreeInfo.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/TreeHandle.swift -supplementary-output-file-map /var/folders/fs/0w3t9t1d28xc3bj0tgb8hcrw0000gn/T/TemporaryDirectory.1m2LNI/supplementaryOutputs-10 -target arm64-apple-macosx12.3 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -I /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/Modules -I /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature ConciseMagicFile -enable-upcoming-feature ExistentialAny -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature ImplicitOpenExistentials -enable-upcoming-feature BareSlashRegexLiterals -enable-upcoming-feature ForwardTrailingClosures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -isysroot -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.4.sdk -Xcc -F -Xcc /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -Xcc -fPIC -Xcc -g -module-name StateTree -package-name spi_builder_workspace -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Library/Developer/Toolchains/swift-6.0-DEVELOPMENT-SNAPSHOT-2024-05-26-a.xctoolchain/usr/local/lib/swift/host/plugins -target-sdk-version 14.4 -target-sdk-name macosx14.4 -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/local/lib/swift/host/plugins#/Applications/Xcode-15.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/NeverScope.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/NodeScope.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/ScopeAccess.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/ScopeType.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/ScopeUpdateLifecycle.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/StateSyncableScope.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/UpdatableScope.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/StateTreeInfo.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/Tree.swift.o -o /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/StateTree.build/TreeHandle.swift.o -index-store-path /Users/admin/builder/spi-builder-workspace/.build/arm64-apple-macosx/debug/index/store -index-system-modules
1. Apple Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While evaluating request ExecuteSILPipelineRequest(Run pipelines { Mandatory Diagnostic Passes + Enabling Optimization Passes } on SIL for StateTree)
4. While running pass #765 SILFunctionTransform "TransferNonSendable" on SILFunction "@$s9StateTree0B0C5start4fromAA0B6HandleVyxGAA0bA6RecordVSg_tKF".
for 'start(from:)' (at /Users/admin/builder/spi-builder-workspace/Sources/StateTree/System/Tree/Tree.swift:273:10)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000000010586fbf0 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) + 56
1 swift-frontend 0x000000010586e3bc llvm::sys::RunSignalHandlers() + 112
2 swift-frontend 0x0000000105870238 SignalHandler(int) + 304
3 libsystem_platform.dylib 0x0000000182a05a24 _sigtramp + 56
4 libsystem_pthread.dylib 0x00000001829d5cc0 pthread_kill + 288
5 libsystem_c.dylib 0x00000001828e1a40 abort + 180
6 libsystem_c.dylib 0x00000001828e0d30 err + 0
7 swift-frontend 0x0000000105b1dffc swift::SILIsolationInfo::hasSameIsolation(swift::SILIsolationInfo const&) const (.cold.1) + 0
8 swift-frontend 0x0000000101000af4 swift::SILIsolationInfo::hasSameIsolation(swift::SILIsolationInfo const&) const + 0
9 swift-frontend 0x0000000100b6d0c4 swift::regionanalysisimpl::BlockPartitionState::recomputeExitFromEntry(swift::regionanalysisimpl::PartitionOpTranslator&) + 2008
10 swift-frontend 0x0000000100b6e33c swift::RegionAnalysisFunctionInfo::runDataflow() + 1832
11 swift-frontend 0x0000000100b6db9c swift::RegionAnalysisFunctionInfo::RegionAnalysisFunctionInfo(swift::SILFunction*, swift::PostOrderFunctionInfo*) + 876
12 swift-frontend 0x0000000100b6ff7c swift::RegionAnalysis::newFunctionAnalysis(swift::SILFunction*) + 56
13 swift-frontend 0x0000000100db9b24 swift::FunctionAnalysisBase<swift::RegionAnalysisFunctionInfo>::get(swift::SILFunction*) + 80
14 swift-frontend 0x0000000100db9848 (anonymous namespace)::TransferNonSendable::run() + 124
15 swift-frontend 0x0000000100ddb97c swift::SILPassManager::runPassOnFunction(unsigned int, swift::SILFunction*) + 1432
16 swift-frontend 0x0000000100ddc7e8 swift::SILPassManager::runFunctionPasses(unsigned int, unsigned int) + 1060
17 swift-frontend 0x0000000100ddf154 swift::SILPassManager::execute() + 596
18 swift-frontend 0x0000000100dd995c swift::SILPassManager::executePassPipelinePlan(swift::SILPassPipelinePlan const&) + 72
19 swift-frontend 0x0000000100dd98dc swift::ExecuteSILPipelineRequest::evaluate(swift::Evaluator&, swift::SILPipelineExecutionDescriptor) const + 68
20 swift-frontend 0x0000000100e15170 swift::SimpleRequest<swift::ExecuteSILPipelineRequest, std::__1::tuple<> (swift::SILPipelineExecutionDescriptor), (swift::RequestFlags)1>::evaluateRequest(swift::ExecuteSILPipelineRequest const&, swift::Evaluator&) + 28
21 swift-frontend 0x0000000100df56cc swift::ExecuteSILPipelineRequest::OutputType swift::Evaluator::getResultUncached<swift::ExecuteSILPipelineRequest, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()>(swift::ExecuteSILPipelineRequest const&, swift::ExecuteSILPipelineRequest::OutputType swift::evaluateOrFatal<swift::ExecuteSILPipelineRequest>(swift::Evaluator&, swift::ExecuteSILPipelineRequest)::'lambda'()) + 204
22 swift-frontend 0x0000000100dd9b38 swift::executePassPipelinePlan(swift::SILModule*, swift::SILPassPipelinePlan const&, bool, swift::irgen::IRGenModule*) + 64
23 swift-frontend 0x0000000100df7b94 swift::runSILDiagnosticPasses(swift::SILModule&) + 192
24 swift-frontend 0x0000000100627594 swift::CompilerInstance::performSILProcessing(swift::SILModule*) + 80
25 swift-frontend 0x00000001003e9858 performCompileStepsPostSILGen(swift::CompilerInstance&, std::__1::unique_ptr<swift::SILModule, std::__1::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*) + 796
26 swift-frontend 0x00000001003e8f2c swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 648
27 swift-frontend 0x00000001003fa248 withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) + 160
28 swift-frontend 0x00000001003eb590 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) + 708
29 swift-frontend 0x00000001003ea4fc swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) + 2388
30 swift-frontend 0x00000001002043b0 swift::mainEntry(int, char const**) + 3096
31 dyld 0x00000001826550e0 start + 2360
Fetching https://github.com/GoodHatsLLC/Emitter.git
Fetching https://github.com/GoodHatsLLC/Disposable.git
Fetching https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
[1/274] Fetching disposable
[207/1200] Fetching disposable, emitter
[346/10099] Fetching disposable, emitter, swift-collections-v1_1-fork
Fetched https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git from cache (1.72s)
Fetched https://github.com/GoodHatsLLC/Emitter.git from cache (1.72s)
Fetched https://github.com/GoodHatsLLC/Disposable.git from cache (1.72s)
Computing version for https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
Computed https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git at 1.1.0 (0.86s)
Computing version for https://github.com/GoodHatsLLC/Emitter.git
Computed https://github.com/GoodHatsLLC/Emitter.git at 1.0.0 (0.53s)
Computing version for https://github.com/GoodHatsLLC/Disposable.git
Computed https://github.com/GoodHatsLLC/Disposable.git at 1.0.0 (0.53s)
Creating working copy for https://github.com/GoodHatsLLC/Disposable.git
Working copy of https://github.com/GoodHatsLLC/Disposable.git resolved at 1.0.0
Creating working copy for https://github.com/GoodHatsLLC/Emitter.git
Working copy of https://github.com/GoodHatsLLC/Emitter.git resolved at 1.0.0
Creating working copy for https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git
Working copy of https://github.com/GoodHatsLLC/swift-collections-v1_1-fork.git resolved at 1.1.0
BUILD FAILURE 6.0 macosSpm