Build Information
Failed to build StateTree, reference v0.1.1 (d35898
), with Swift 6.1 for Android on 28 May 2025 21:30:33 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[306/317] Compiling StateTree FieldRecord.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[307/317] Compiling StateTree FieldType.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[308/317] Compiling StateTree LSID.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[309/317] Compiling StateTree NodeID.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[310/317] Compiling StateTree NodeRecord.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[311/317] Compiling StateTree RouteRecord.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[312/317] Compiling StateTree RouteSource.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[313/317] Compiling StateTree TreeState.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[314/317] Compiling StateTree TreeStateRecord.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[315/317] Compiling StateTree Union.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[316/317] Compiling StateTree ValueRecord.swift
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:39: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:17:46: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
15 | public init(from decoder: any Decoder) throws {
16 | let container = try decoder.container(keyedBy: Keys.self)
17 | self.activeIntent = try container.decode(ActiveIntent<NodeID>?.self, forKey: .activeIntent)
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
18 | let nodes = try container.decode([NodeRecord].self, forKey: .nodes)
19 | self.nodes = nodes.reduce(into: OrderedDictionary<NodeID, NodeRecord>()) { acc, curr in
/host/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
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:70:19: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
68 | forKey: .nodes
69 | )
70 | try container.encode(
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
71 | activeIntent,
72 | forKey: .activeIntent
/host/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
[317/317] Emitting module StateTree
/host/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: add '@MainActor' to make static property 'invalid' part of global actor 'MainActor'
| `- 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.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:92:14: warning: static property 'system' 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
:
90 |
91 | /// A custom `NodeID` indicating a reference to the StateTree system itself.
92 | static let system = NodeID(uuid: .zeros)
| |- warning: static property 'system' 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: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 |
94 | /// A custom `NodeID` identifying the root node.
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:95:14: warning: static property 'root' 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
:
93 |
94 | /// A custom `NodeID` identifying the root node.
95 | static let root = NodeID(uuid: .ones)
| |- warning: static property 'root' 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
96 |
97 | let uuid: UUID
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/NodeID.swift:103:7: warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
101 | // MARK: - NodeIDDecodingError
102 |
103 | class NodeIDDecodingError: Error { }
| `- warning: non-final class 'NodeIDDecodingError' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
104 |
105 | extension UUID {
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/RouteSource.swift:50:14: warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
25 | // MARK: - RouteSource
26 |
27 | public struct RouteSource: TreeState, CustomStringConvertible {
| `- note: consider making struct 'RouteSource' conform to the 'Sendable' protocol
28 |
29 | // MARK: Public
:
48 | // MARK: Internal
49 |
50 | static let system: RouteSource = .init(
| |- warning: static property 'system' is not concurrency-safe because non-'Sendable' type 'RouteSource' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'system' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | fieldID: .system,
52 | identity: nil,
/host/spi-builder-workspace/Sources/StateTree/Foundation/State/TreeStateRecord.swift:85:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
83 | var root: NodeID?
84 | var nodes: OrderedDictionary<NodeID, NodeRecord> = [:]
85 | var activeIntent: ActiveIntent<NodeID>?
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
86 |
87 | var nodeIDs: [NodeID] { nodes.keys.elements }
/host/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
/host/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: add '@MainActor' to make static property 'defaults' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
75 |
76 | @_spi(Internal)
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Projection.swift:93:36: warning: main actor-isolated property 'source' cannot be used to satisfy nonisolated requirement from protocol 'ProjectionField'; this is an error in the Swift 6 language mode
8 | @TreeActor
9 | func isValid() -> Bool
10 | var source: ProjectionSource { get }
| `- note: requirement 'source' declared here
11 | var projectionContext: ProjectionConnection? { get nonmutating set }
12 | @TreeActor var value: Value { get set }
:
37 | @propertyWrapper
38 | @dynamicMemberLookup
39 | public struct Projection<Value: Equatable>: ProjectionField, Accessor {
| `- note: add '@preconcurrency' to the 'ProjectionField' conformance to defer isolation checking to run time
40 |
41 | // MARK: Lifecycle
:
91 | }
92 |
93 | @_spi(Implementation) public var source: ProjectionSource {
| `- warning: main actor-isolated property 'source' cannot be used to satisfy nonisolated requirement from protocol 'ProjectionField'; this is an error in the Swift 6 language mode
94 | access.source
95 | }
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Projection.swift:104:18: warning: main actor-isolated property 'projectionContext' cannot be used to satisfy nonisolated requirement from protocol 'ProjectionField'; this is an error in the Swift 6 language mode
9 | func isValid() -> Bool
10 | var source: ProjectionSource { get }
11 | var projectionContext: ProjectionConnection? { get nonmutating set }
| `- note: requirement 'projectionContext' declared here
12 | @TreeActor var value: Value { get set }
13 | }
:
102 | // MARK: Internal
103 |
104 | @TreeActor var projectionContext: ProjectionConnection? {
| `- warning: main actor-isolated property 'projectionContext' cannot be used to satisfy nonisolated requirement from protocol 'ProjectionField'; this is an error in the Swift 6 language mode
105 | get { inner.projectionContext }
106 | nonmutating set { inner.projectionContext = newValue }
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Projection.swift:134:14: warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
131 | // MARK: Identifiable
132 |
133 | extension Projection: Identifiable where Value: Identifiable {
| `- note: add '@preconcurrency' to the 'Identifiable' conformance to defer isolation checking to run time
134 | public var id: Value.ID { value.id }
| `- warning: main actor-isolated property 'id' cannot be used to satisfy nonisolated requirement from protocol 'Identifiable'; this is an error in the Swift 6 language mode
135 | }
136 |
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Value.swift:130:7: warning: main actor-isolated property 'access' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
31 | protocol ValueField<WrappedValue> {
32 | associatedtype WrappedValue: TreeState
33 | var access: any TreeValueAccess { get }
| `- note: requirement 'access' declared here
34 | var anyInitial: any TreeState { get }
35 | var initial: WrappedValue { get }
:
40 | /// A property wrapper whose wrappedValue is managed by StateTree
41 | @propertyWrapper
42 | public struct Value<WrappedValue: TreeState>: ValueField, Accessor {
| `- note: add '@preconcurrency' to the 'ValueField' conformance to defer isolation checking to run time
43 |
44 | // MARK: Lifecycle
:
128 | let inner: InnerValue
129 |
130 | var access: any TreeValueAccess { inner }
| `- warning: main actor-isolated property 'access' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
131 | var anyInitial: any TreeState {
132 | initial
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Value.swift:131:7: warning: main actor-isolated property 'anyInitial' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
32 | associatedtype WrappedValue: TreeState
33 | var access: any TreeValueAccess { get }
34 | var anyInitial: any TreeState { get }
| `- note: requirement 'anyInitial' declared here
35 | var initial: WrappedValue { get }
36 | }
:
129 |
130 | var access: any TreeValueAccess { inner }
131 | var anyInitial: any TreeState {
| `- warning: main actor-isolated property 'anyInitial' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
132 | initial
133 | }
/host/spi-builder-workspace/Sources/StateTree/System/Fields/Value.swift:55:36: warning: main actor-isolated property 'initial' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
33 | var access: any TreeValueAccess { get }
34 | var anyInitial: any TreeState { get }
35 | var initial: WrappedValue { get }
| `- note: requirement 'initial' declared here
36 | }
37 |
:
53 | public typealias WrappedValue = WrappedValue
54 |
55 | @_spi(Implementation) public let initial: WrappedValue
| `- warning: main actor-isolated property 'initial' cannot be used to satisfy nonisolated requirement from protocol 'ValueField'; this is an error in the Swift 6 language mode
56 |
57 | /// The projectedValue of a ``Value`` is a `Projection`.
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:19:14: warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
11 | // MARK: - Projection + Collection
12 |
13 | extension Projection: Collection
| `- note: add '@preconcurrency' to the 'Collection' conformance to defer isolation checking to run time
14 | where Value: MutableCollection, Value.Element: Equatable & TreeState
15 | {
:
17 | public typealias Indices = Value.Indices
18 |
19 | public var startIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
20 | value.startIndex
21 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:23:14: warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public var endIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
24 | value.endIndex
25 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:39:10: warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public subscript(
| |- warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'subscript(_:)' to make this subscript not isolated to the actor
40 | position: Projection<Value>.Index
41 | ) -> Projection<Value.Element> {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:27:14: warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public var indices: Value.Indices {
| `- warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
28 | value.indices
29 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:31:15: warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func index(
| |- warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'Collection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'index(after:)' to make this instance method not isolated to the actor
32 | after i: Value.Index
33 | )
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:59:15: warning: main actor-isolated instance method 'index(before:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
50 | // MARK: - Projection + BidirectionalCollection
51 |
52 | extension Projection: BidirectionalCollection
| `- note: add '@preconcurrency' to the 'BidirectionalCollection' conformance to defer isolation checking to run time
53 | where
54 | Value: BidirectionalCollection,
:
57 | {
58 |
59 | public func index(
| |- warning: main actor-isolated instance method 'index(before:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'index(before:)' to make this instance method not isolated to the actor
60 | before i: Projection<Value>.Index
61 | ) -> Projection<Value>.Index {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:65:15: warning: main actor-isolated instance method 'formIndex(before:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public func formIndex(
| |- warning: main actor-isolated instance method 'formIndex(before:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'formIndex(before:)' to make this instance method not isolated to the actor
66 | before i: inout Projection<Value>.Index
67 | ) {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:31:15: warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func index(
| |- warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'index(after:)' to make this instance method not isolated to the actor
32 | after i: Value.Index
33 | )
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:27:14: warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public var indices: Value.Indices {
| `- warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
28 | value.indices
29 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:39:10: warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public subscript(
| |- warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'subscript(_:)' to make this subscript not isolated to the actor
40 | position: Projection<Value>.Index
41 | ) -> Projection<Value.Element> {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:19:14: warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
17 | public typealias Indices = Value.Indices
18 |
19 | public var startIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
20 | value.startIndex
21 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:23:14: warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public var endIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'BidirectionalCollection'; this is an error in the Swift 6 language mode
24 | value.endIndex
25 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:27:14: warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
25 | }
26 |
27 | public var indices: Value.Indices {
| `- warning: main actor-isolated property 'indices' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
28 | value.indices
29 | }
:
72 | // MARK: - Projection + RandomAccessCollection
73 |
74 | extension Projection: RandomAccessCollection
| `- note: add '@preconcurrency' to the 'RandomAccessCollection' conformance to defer isolation checking to run time
75 | where
76 | Value: MutableCollection,
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:39:10: warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public subscript(
| |- warning: main actor-isolated subscript 'subscript(_:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'subscript(_:)' to make this subscript not isolated to the actor
40 | position: Projection<Value>.Index
41 | ) -> Projection<Value.Element> {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:19:14: warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
17 | public typealias Indices = Value.Indices
18 |
19 | public var startIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'startIndex' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
20 | value.startIndex
21 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:23:14: warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
21 | }
22 |
23 | public var endIndex: Projection<Value>.Index {
| `- warning: main actor-isolated property 'endIndex' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
24 | value.endIndex
25 | }
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:59:15: warning: main actor-isolated instance method 'index(before:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
57 | {
58 |
59 | public func index(
| |- warning: main actor-isolated instance method 'index(before:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'index(before:)' to make this instance method not isolated to the actor
60 | before i: Projection<Value>.Index
61 | ) -> Projection<Value>.Index {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:65:15: warning: main actor-isolated instance method 'formIndex(before:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
63 | }
64 |
65 | public func formIndex(
| |- warning: main actor-isolated instance method 'formIndex(before:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'formIndex(before:)' to make this instance method not isolated to the actor
66 | before i: inout Projection<Value>.Index
67 | ) {
/host/spi-builder-workspace/Sources/StateTree/System/Projection/Operators/SequenceSubscript.swift:31:15: warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
29 | }
30 |
31 | public func index(
| |- warning: main actor-isolated instance method 'index(after:)' cannot be used to satisfy nonisolated requirement from protocol 'RandomAccessCollection'; this is an error in the Swift 6 language mode
| `- note: add 'nonisolated' to 'index(after:)' to make this instance method not isolated to the actor
32 | after i: Value.Index
33 | )
/host/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: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | let addedScopes: [NodeID]
/host/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]
/host/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
/host/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]
/host/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
/host/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]
/host/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
/host/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 {
/host/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
/host/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 | """
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/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 |
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Runtime/Runtime.swift:183:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
181 | }
182 |
183 | var activeIntent: ActiveIntent<NodeID>? {
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
184 | state.activeIntent
185 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Runtime/StateStorage.swift:28:7: warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
26 | }
27 |
28 | var activeIntent: ActiveIntent<NodeID>? {
| `- warning: type 'NodeID' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
29 | state.activeIntent
30 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/AnyScope.swift:39:15: warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; this is an error in the Swift 6 language mode
37 | }
38 |
39 | public func own(_ disposable: some Disposable) { underlying.own(disposable) }
| |- warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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
40 | public func canOwn() -> Bool { underlying.canOwn() }
41 |
:
51 | // MARK: StateSyncableScope, BehaviorScoping
52 |
53 | extension AnyScope: StateSyncableScope, BehaviorScoping {
| `- note: add '@preconcurrency' to the 'BehaviorScoping' conformance to defer isolation checking to run time
54 |
55 | // MARK: Public
/host/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 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/AnyScope.swift:40:15: warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; this is an error in the Swift 6 language mode
38 |
39 | public func own(_ disposable: some Disposable) { underlying.own(disposable) }
40 | public func canOwn() -> Bool { underlying.canOwn() }
| |- warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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
41 |
42 | // MARK: Internal
/host/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 |
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:50:7: warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated requirement from protocol 'ScopeTypeInternal'; 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 requirement from protocol 'ScopeTypeInternal'; this is an error in the Swift 6 language mode
51 | assertionFailure("NeverScope should never be invoked")
52 | return _node
/host/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeType.swift:32:7: note: requirement 'node' declared here
30 | nonisolated var nid: NodeID { get }
31 | nonisolated var depth: Int { get }
32 | var node: N { get }
| `- note: requirement 'node' declared here
33 | var isActive: Bool { get }
34 | var childScopes: [AnyScope] { get }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:50:7: warning: main actor-isolated property 'node' cannot be used to satisfy nonisolated requirement from protocol 'ScopeType'; 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 requirement from protocol 'ScopeType'; this is an error in the Swift 6 language mode
51 | assertionFailure("NeverScope should never be invoked")
52 | return _node
/host/spi-builder-workspace/Sources/StateTree/System/Scope/ScopeType.swift:20:7: note: requirement 'node' declared here
18 | associatedtype N: Node
19 | nonisolated var nid: NodeID { get }
20 | var node: N { get }
| `- note: requirement 'node' declared here
21 | }
22 |
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:90:7: warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
91 | assertionFailure("NeverScope should never be invoked")
92 | return false
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:22:7: note: requirement 'requiresReadying' declared here
20 | /// updated, and so must also reevaluate their ``Rules``.
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
| `- note: requirement 'requiresReadying' declared here
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:100:7: warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
101 | assertionFailure("NeverScope should never be invoked")
102 | return true
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:23:7: note: requirement 'requiresFinishing' declared here
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
| `- note: requirement 'requiresFinishing' declared here
24 | var isStable: Bool { get }
25 | func stop() throws
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:95:7: warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
96 | assertionFailure("NeverScope should never be invoked")
97 | return true
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:24:7: note: requirement 'isStable' declared here
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
24 | var isStable: Bool { get }
| `- note: requirement 'isStable' declared here
25 | func stop() throws
26 | func disconnectSendingNotification()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:138:8: warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:142:8: warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:160:8: warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:164:8: warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:168:8: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:172:8: warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:176:8: warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:180:8: warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:184:8: warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:114:8: warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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
/host/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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:150:8: warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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()
/host/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)
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:133:8: warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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()
/host/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()
/host/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 requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:110:8: warning: main actor-isolated instance method 'sendUpdateEvent()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; 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 | }
/host/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 |
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:123:8: warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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 requirement from protocol 'BehaviorScoping'; 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()
/host/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 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:128:8: warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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 requirement from protocol 'BehaviorScoping'; 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
/host/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 |
/host/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 requirement from protocol 'Hashable'; 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 requirement from protocol 'Hashable'; 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 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NeverScope.swift:105:15: warning: main actor-isolated operator function '==' cannot be used to satisfy nonisolated requirement from protocol 'Equatable'; 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 requirement from protocol 'Equatable'; 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
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift:109:15: warning: main actor-isolated instance method 'own' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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 requirement from protocol 'BehaviorScoping'; this is an error in the Swift 6 language mode
110 | if isActive {
111 | stage.stage(disposable)
/host/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 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/NodeScope.swift:118:15: warning: main actor-isolated instance method 'canOwn()' cannot be used to satisfy nonisolated requirement from protocol 'BehaviorScoping'; 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 requirement from protocol 'BehaviorScoping'; this is an error in the Swift 6 language mode
119 | isActive
120 | }
/host/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 |
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:47:25: warning: main actor-isolated property 'requiresReadying' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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: requirement '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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
48 | state.requiresReadying
49 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:51:25: warning: main actor-isolated property 'requiresFinishing' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
21 | protocol UpdatableScope {
22 | var requiresReadying: Bool { get }
23 | var requiresFinishing: Bool { get }
| `- note: requirement '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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
52 | state.requiresFinishing
53 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:55:25: warning: main actor-isolated property 'isStable' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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: requirement '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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
56 | state.isStable
57 | }
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:120:8: warning: main actor-isolated instance method 'stop()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
121 | assert(activeRules != nil)
122 | activeRules = nil
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:60:15: warning: main actor-isolated instance method 'disconnectSendingNotification()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
61 | runtime.disconnect(scopeID: nid)
62 | didUpdateSubject.finish()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:104:8: warning: main actor-isolated instance method 'stopSubtree()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
105 | assert(activeRules != nil)
106 | try activeRules?.removeRule(with: context)
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:68:8: warning: main actor-isolated instance method 'start()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
69 | // assert(activeRules == nil)
70 | activeRules = node.rules
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:85:8: warning: main actor-isolated instance method 'update()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
86 | assert(activeRules != nil)
87 | try activeRules?.updateRule(
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:95:8: warning: main actor-isolated instance method 'didUpdate()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
96 | assert(activeRules != nil)
97 | _ = activeRules?.act(
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:111:8: warning: main actor-isolated instance method 'willStop()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
112 | assert(activeRules != nil)
113 | _ = activeRules?.act(
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:76:8: warning: main actor-isolated instance method 'didStart()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
77 | assert(activeRules != nil)
78 | _ = activeRules?.act(
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:129:8: warning: main actor-isolated instance method 'handleIntents()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
130 | guard
131 | let activeIntent = runtime.activeIntent,
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:163:8: warning: main actor-isolated instance method 'applyIntent' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
164 | let resolutions = activeRules?
165 | .act(for: .handleIntent(intent), with: context)
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:178:8: warning: main actor-isolated instance method 'stepTowardsReady()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
179 | if let act = state.forward(scope: self) {
180 | return try act()
/host/spi-builder-workspace/Sources/StateTree/System/Scope/UpdatableScope.swift:188:8: warning: main actor-isolated instance method 'stepTowardsFinished()' cannot be used to satisfy nonisolated requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
189 | if let act = state.finalize(scope: self) {
190 | return try act()
/host/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 requirement from protocol 'UpdatableScope'; 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 requirement from protocol 'UpdatableScope'; this is an error in the Swift 6 language mode
199 | pending requirement: ExternalRequirement
200 | ) {
/host/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 | }
/host/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
/host/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>,
/host/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
/host/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>,
/host/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
/host/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>,
/host/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
/host/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> {
/host/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
BUILD FAILURE 6.1 android