Build Information
Successful build of TrainingPlanKit, reference main (6d4cc5), with Swift 6.1 for Linux on 21 Nov 2026 04:23:14 UTC.
Swift 6 data race errors: 69
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344844-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1Build Log
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[26/46] Compiling TrainingPlanKit FixedProtocol.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:102:23: warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
100 | /// Brisk walking with short jogs, for a runner who can't yet start Couch to 5K: six weeks
101 | /// that end on its first session (8 x 1 min with 90 s walks).
102 | public static let walkToRun = FixedProtocol(key: "walk_to_run", idBase: 70_000, weeks: [
| |- warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'walkToRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | week(.runWalk(reps: 6, run: 30, walk: 150)),
104 | week(.runWalk(reps: 8, run: 30, walk: 120)),
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:113:23: warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
111 | /// From 30 minutes of running to a 10K in eight weeks: two steady runs and one longer run
112 | /// that grows by five minutes a week, a lighter week four, and the 10K itself to finish.
113 | public static let fiveToTenK = FixedProtocol(key: "five_to_ten_k", idBase: 71_000, weeks: [
| |- warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fiveToTenK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | [.run(minutes: 30), .run(minutes: 30), .run(minutes: 35)],
115 | [.run(minutes: 30), .run(minutes: 32), .run(minutes: 40)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:127:23: warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
125 | /// a week, then continuous runs from 15 minutes back to 30. Weekly running climbs
126 | /// 43, 55, 68, 80 minutes: quick, because the runner is regaining, not building.
127 | public static let returnToRunning = FixedProtocol(key: "return_to_running", idBase: 72_000, weeks: [
| |- warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnToRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | [.runWalk(reps: 5, run: 120, walk: 60), .runWalk(reps: 5, run: 180, walk: 60), .runWalk(reps: 6, run: 180, walk: 60)],
129 | [.run(minutes: 15), .runWalk(reps: 4, run: 300, walk: 60), .run(minutes: 20)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:16:23: warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 | extension PlanConfiguration {
15 |
16 | public static let accessibleBeginner5Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | raceDate: Date(),
18 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:44:23: warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 | )
43 |
44 | public static let accessibleIntermediate5Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | raceDate: Date(),
46 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:72:23: warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | )
71 |
72 | public static let accessibleAdvanced5Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | raceDate: Date(),
74 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:100:23: warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
98 | )
99 |
100 | public static let accessibleBeginner10Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | raceDate: Date(),
102 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:128:23: warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
126 | )
127 |
128 | public static let accessibleIntermediate10Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | raceDate: Date(),
130 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:156:23: warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
154 | )
155 |
156 | public static let accessibleAdvanced10Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | raceDate: Date(),
158 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:184:23: warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
182 | )
183 |
184 | public static let accessibleBeginner21Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | raceDate: Date(),
186 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:212:23: warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
210 | )
211 |
212 | public static let accessibleIntermediate21Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | raceDate: Date(),
214 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:240:23: warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
238 | )
239 |
240 | public static let accessibleAdvanced21Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | raceDate: Date(),
242 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:268:23: warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
266 | )
267 |
268 | public static let accessibleBeginner42Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | raceDate: Date(),
270 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:295:23: warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[27/46] Compiling TrainingPlanKit IntermediatePlanGenerator.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:102:23: warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
100 | /// Brisk walking with short jogs, for a runner who can't yet start Couch to 5K: six weeks
101 | /// that end on its first session (8 x 1 min with 90 s walks).
102 | public static let walkToRun = FixedProtocol(key: "walk_to_run", idBase: 70_000, weeks: [
| |- warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'walkToRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | week(.runWalk(reps: 6, run: 30, walk: 150)),
104 | week(.runWalk(reps: 8, run: 30, walk: 120)),
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:113:23: warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
111 | /// From 30 minutes of running to a 10K in eight weeks: two steady runs and one longer run
112 | /// that grows by five minutes a week, a lighter week four, and the 10K itself to finish.
113 | public static let fiveToTenK = FixedProtocol(key: "five_to_ten_k", idBase: 71_000, weeks: [
| |- warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fiveToTenK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | [.run(minutes: 30), .run(minutes: 30), .run(minutes: 35)],
115 | [.run(minutes: 30), .run(minutes: 32), .run(minutes: 40)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:127:23: warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
125 | /// a week, then continuous runs from 15 minutes back to 30. Weekly running climbs
126 | /// 43, 55, 68, 80 minutes: quick, because the runner is regaining, not building.
127 | public static let returnToRunning = FixedProtocol(key: "return_to_running", idBase: 72_000, weeks: [
| |- warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnToRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | [.runWalk(reps: 5, run: 120, walk: 60), .runWalk(reps: 5, run: 180, walk: 60), .runWalk(reps: 6, run: 180, walk: 60)],
129 | [.run(minutes: 15), .runWalk(reps: 4, run: 300, walk: 60), .run(minutes: 20)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:16:23: warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 | extension PlanConfiguration {
15 |
16 | public static let accessibleBeginner5Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | raceDate: Date(),
18 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:44:23: warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 | )
43 |
44 | public static let accessibleIntermediate5Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | raceDate: Date(),
46 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:72:23: warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | )
71 |
72 | public static let accessibleAdvanced5Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | raceDate: Date(),
74 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:100:23: warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
98 | )
99 |
100 | public static let accessibleBeginner10Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | raceDate: Date(),
102 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:128:23: warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
126 | )
127 |
128 | public static let accessibleIntermediate10Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | raceDate: Date(),
130 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:156:23: warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
154 | )
155 |
156 | public static let accessibleAdvanced10Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | raceDate: Date(),
158 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:184:23: warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
182 | )
183 |
184 | public static let accessibleBeginner21Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | raceDate: Date(),
186 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:212:23: warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
210 | )
211 |
212 | public static let accessibleIntermediate21Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | raceDate: Date(),
214 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:240:23: warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
238 | )
239 |
240 | public static let accessibleAdvanced21Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | raceDate: Date(),
242 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:268:23: warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
266 | )
267 |
268 | public static let accessibleBeginner42Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | raceDate: Date(),
270 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:295:23: warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[28/46] Compiling TrainingPlanKit MaintenancePlanGenerator.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:102:23: warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
100 | /// Brisk walking with short jogs, for a runner who can't yet start Couch to 5K: six weeks
101 | /// that end on its first session (8 x 1 min with 90 s walks).
102 | public static let walkToRun = FixedProtocol(key: "walk_to_run", idBase: 70_000, weeks: [
| |- warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'walkToRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | week(.runWalk(reps: 6, run: 30, walk: 150)),
104 | week(.runWalk(reps: 8, run: 30, walk: 120)),
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:113:23: warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
111 | /// From 30 minutes of running to a 10K in eight weeks: two steady runs and one longer run
112 | /// that grows by five minutes a week, a lighter week four, and the 10K itself to finish.
113 | public static let fiveToTenK = FixedProtocol(key: "five_to_ten_k", idBase: 71_000, weeks: [
| |- warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fiveToTenK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | [.run(minutes: 30), .run(minutes: 30), .run(minutes: 35)],
115 | [.run(minutes: 30), .run(minutes: 32), .run(minutes: 40)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:127:23: warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
125 | /// a week, then continuous runs from 15 minutes back to 30. Weekly running climbs
126 | /// 43, 55, 68, 80 minutes: quick, because the runner is regaining, not building.
127 | public static let returnToRunning = FixedProtocol(key: "return_to_running", idBase: 72_000, weeks: [
| |- warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnToRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | [.runWalk(reps: 5, run: 120, walk: 60), .runWalk(reps: 5, run: 180, walk: 60), .runWalk(reps: 6, run: 180, walk: 60)],
129 | [.run(minutes: 15), .runWalk(reps: 4, run: 300, walk: 60), .run(minutes: 20)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:16:23: warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 | extension PlanConfiguration {
15 |
16 | public static let accessibleBeginner5Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | raceDate: Date(),
18 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:44:23: warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 | )
43 |
44 | public static let accessibleIntermediate5Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | raceDate: Date(),
46 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:72:23: warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | )
71 |
72 | public static let accessibleAdvanced5Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | raceDate: Date(),
74 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:100:23: warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
98 | )
99 |
100 | public static let accessibleBeginner10Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | raceDate: Date(),
102 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:128:23: warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
126 | )
127 |
128 | public static let accessibleIntermediate10Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | raceDate: Date(),
130 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:156:23: warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
154 | )
155 |
156 | public static let accessibleAdvanced10Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | raceDate: Date(),
158 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:184:23: warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
182 | )
183 |
184 | public static let accessibleBeginner21Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | raceDate: Date(),
186 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:212:23: warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
210 | )
211 |
212 | public static let accessibleIntermediate21Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | raceDate: Date(),
214 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:240:23: warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
238 | )
239 |
240 | public static let accessibleAdvanced21Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | raceDate: Date(),
242 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:268:23: warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
266 | )
267 |
268 | public static let accessibleBeginner42Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | raceDate: Date(),
270 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:295:23: warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[29/46] Compiling TrainingPlanKit PlanBreak.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:102:23: warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
100 | /// Brisk walking with short jogs, for a runner who can't yet start Couch to 5K: six weeks
101 | /// that end on its first session (8 x 1 min with 90 s walks).
102 | public static let walkToRun = FixedProtocol(key: "walk_to_run", idBase: 70_000, weeks: [
| |- warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'walkToRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | week(.runWalk(reps: 6, run: 30, walk: 150)),
104 | week(.runWalk(reps: 8, run: 30, walk: 120)),
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:113:23: warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
111 | /// From 30 minutes of running to a 10K in eight weeks: two steady runs and one longer run
112 | /// that grows by five minutes a week, a lighter week four, and the 10K itself to finish.
113 | public static let fiveToTenK = FixedProtocol(key: "five_to_ten_k", idBase: 71_000, weeks: [
| |- warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fiveToTenK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | [.run(minutes: 30), .run(minutes: 30), .run(minutes: 35)],
115 | [.run(minutes: 30), .run(minutes: 32), .run(minutes: 40)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:127:23: warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
125 | /// a week, then continuous runs from 15 minutes back to 30. Weekly running climbs
126 | /// 43, 55, 68, 80 minutes: quick, because the runner is regaining, not building.
127 | public static let returnToRunning = FixedProtocol(key: "return_to_running", idBase: 72_000, weeks: [
| |- warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnToRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | [.runWalk(reps: 5, run: 120, walk: 60), .runWalk(reps: 5, run: 180, walk: 60), .runWalk(reps: 6, run: 180, walk: 60)],
129 | [.run(minutes: 15), .runWalk(reps: 4, run: 300, walk: 60), .run(minutes: 20)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:16:23: warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 | extension PlanConfiguration {
15 |
16 | public static let accessibleBeginner5Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | raceDate: Date(),
18 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:44:23: warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 | )
43 |
44 | public static let accessibleIntermediate5Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | raceDate: Date(),
46 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:72:23: warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | )
71 |
72 | public static let accessibleAdvanced5Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | raceDate: Date(),
74 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:100:23: warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
98 | )
99 |
100 | public static let accessibleBeginner10Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | raceDate: Date(),
102 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:128:23: warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
126 | )
127 |
128 | public static let accessibleIntermediate10Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | raceDate: Date(),
130 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:156:23: warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
154 | )
155 |
156 | public static let accessibleAdvanced10Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | raceDate: Date(),
158 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:184:23: warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
182 | )
183 |
184 | public static let accessibleBeginner21Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | raceDate: Date(),
186 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:212:23: warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
210 | )
211 |
212 | public static let accessibleIntermediate21Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | raceDate: Date(),
214 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:240:23: warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
238 | )
239 |
240 | public static let accessibleAdvanced21Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | raceDate: Date(),
242 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:268:23: warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
266 | )
267 |
268 | public static let accessibleBeginner42Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | raceDate: Date(),
270 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:295:23: warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[30/46] Compiling TrainingPlanKit PlanConfiguration+Accessible.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:102:23: warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
100 | /// Brisk walking with short jogs, for a runner who can't yet start Couch to 5K: six weeks
101 | /// that end on its first session (8 x 1 min with 90 s walks).
102 | public static let walkToRun = FixedProtocol(key: "walk_to_run", idBase: 70_000, weeks: [
| |- warning: static property 'walkToRun' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'walkToRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
103 | week(.runWalk(reps: 6, run: 30, walk: 150)),
104 | week(.runWalk(reps: 8, run: 30, walk: 120)),
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:113:23: warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
111 | /// From 30 minutes of running to a 10K in eight weeks: two steady runs and one longer run
112 | /// that grows by five minutes a week, a lighter week four, and the 10K itself to finish.
113 | public static let fiveToTenK = FixedProtocol(key: "five_to_ten_k", idBase: 71_000, weeks: [
| |- warning: static property 'fiveToTenK' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fiveToTenK' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
114 | [.run(minutes: 30), .run(minutes: 30), .run(minutes: 35)],
115 | [.run(minutes: 30), .run(minutes: 32), .run(minutes: 40)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/FixedProtocol.swift:127:23: warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
85 |
86 | /// A plan as a fixed list of weeks, each a list of sessions in day order.
87 | public struct FixedProtocol: Equatable {
| `- note: consider making struct 'FixedProtocol' conform to the 'Sendable' protocol
88 | /// Stable prefix for its workouts' keys and ids.
89 | public let key: String
:
125 | /// a week, then continuous runs from 15 minutes back to 30. Weekly running climbs
126 | /// 43, 55, 68, 80 minutes: quick, because the runner is regaining, not building.
127 | public static let returnToRunning = FixedProtocol(key: "return_to_running", idBase: 72_000, weeks: [
| |- warning: static property 'returnToRunning' is not concurrency-safe because non-'Sendable' type 'FixedProtocol' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'returnToRunning' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
128 | [.runWalk(reps: 5, run: 120, walk: 60), .runWalk(reps: 5, run: 180, walk: 60), .runWalk(reps: 6, run: 180, walk: 60)],
129 | [.run(minutes: 15), .runWalk(reps: 4, run: 300, walk: 60), .run(minutes: 20)],
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:16:23: warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
14 | extension PlanConfiguration {
15 |
16 | public static let accessibleBeginner5Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | raceDate: Date(),
18 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:44:23: warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
42 | )
43 |
44 | public static let accessibleIntermediate5Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | raceDate: Date(),
46 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:72:23: warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
70 | )
71 |
72 | public static let accessibleAdvanced5Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced5Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced5Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
73 | raceDate: Date(),
74 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:100:23: warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
98 | )
99 |
100 | public static let accessibleBeginner10Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | raceDate: Date(),
102 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:128:23: warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
126 | )
127 |
128 | public static let accessibleIntermediate10Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
129 | raceDate: Date(),
130 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:156:23: warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
154 | )
155 |
156 | public static let accessibleAdvanced10Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced10Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced10Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
157 | raceDate: Date(),
158 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:184:23: warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
182 | )
183 |
184 | public static let accessibleBeginner21Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
185 | raceDate: Date(),
186 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:212:23: warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
210 | )
211 |
212 | public static let accessibleIntermediate21Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
213 | raceDate: Date(),
214 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:240:23: warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
238 | )
239 |
240 | public static let accessibleAdvanced21Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced21Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced21Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
241 | raceDate: Date(),
242 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:268:23: warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
266 | )
267 |
268 | public static let accessibleBeginner42Default = PlanConfiguration(
| |- warning: static property 'accessibleBeginner42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleBeginner42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
269 | raceDate: Date(),
270 | runnerLevel: .beginner,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:295:23: warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
293 | )
294 |
295 | public static let accessibleIntermediate42Default = PlanConfiguration(
| |- warning: static property 'accessibleIntermediate42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleIntermediate42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
296 | raceDate: Date(),
297 | runnerLevel: .intermediate,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration+Accessible.swift:322:23: warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
320 | )
321 |
322 | public static let accessibleAdvanced42Default = PlanConfiguration(
| |- warning: static property 'accessibleAdvanced42Default' is not concurrency-safe because non-'Sendable' type 'PlanConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'accessibleAdvanced42Default' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
323 | raceDate: Date(),
324 | runnerLevel: .advanced,
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanConfiguration.swift:85:15: note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
83 | }
84 |
85 | public struct PlanConfiguration {
| `- note: consider making struct 'PlanConfiguration' conform to the 'Sendable' protocol
86 | // Race details
87 | public let raceDate: Date
[31/46] Compiling TrainingPlanKit API.swift
[32/46] Compiling TrainingPlanKit AdvancedPlanGenerator.swift
[33/46] Compiling TrainingPlanKit BeginnerPlanGenerator.swift
[34/46] Compiling TrainingPlanKit C25KPlanGenerator.swift
[35/46] Compiling TrainingPlanKit ComebackRamp.swift
[36/46] Compiling TrainingPlanKit CompetitivePlanGenerator.swift
[37/46] Compiling TrainingPlanKit PlanGeneratorV3.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanGeneratorV3.swift:771:16: warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // Every race-rehearsal subtype. eligibleDistances pins at most one of these to
770 | // a given plan, so "the plan's rehearsal" is well-defined.
771 | static let rehearsalSubtypes: Set<WorkoutSubtype> = [
| |- warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rehearsalSubtypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | .raceRehearsalM, .raceRehearsalHM, .raceRehearsal10K,
773 | ]
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:88:13: note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
86 | }
87 |
88 | public enum WorkoutSubtype: String, CaseIterable, Identifiable, Codable {
| `- note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
89 | case intervals
90 | case pyramidIntervals
[38/46] Compiling TrainingPlanKit PlanProfile.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanGeneratorV3.swift:771:16: warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // Every race-rehearsal subtype. eligibleDistances pins at most one of these to
770 | // a given plan, so "the plan's rehearsal" is well-defined.
771 | static let rehearsalSubtypes: Set<WorkoutSubtype> = [
| |- warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rehearsalSubtypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | .raceRehearsalM, .raceRehearsalHM, .raceRehearsal10K,
773 | ]
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:88:13: note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
86 | }
87 |
88 | public enum WorkoutSubtype: String, CaseIterable, Identifiable, Codable {
| `- note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
89 | case intervals
90 | case pyramidIntervals
[39/46] Compiling TrainingPlanKit RaceWorkoutFactory.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanGeneratorV3.swift:771:16: warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // Every race-rehearsal subtype. eligibleDistances pins at most one of these to
770 | // a given plan, so "the plan's rehearsal" is well-defined.
771 | static let rehearsalSubtypes: Set<WorkoutSubtype> = [
| |- warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rehearsalSubtypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | .raceRehearsalM, .raceRehearsalHM, .raceRehearsal10K,
773 | ]
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:88:13: note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
86 | }
87 |
88 | public enum WorkoutSubtype: String, CaseIterable, Identifiable, Codable {
| `- note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
89 | case intervals
90 | case pyramidIntervals
[40/46] Compiling TrainingPlanKit ShortRunsPlanGenerator.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanGeneratorV3.swift:771:16: warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // Every race-rehearsal subtype. eligibleDistances pins at most one of these to
770 | // a given plan, so "the plan's rehearsal" is well-defined.
771 | static let rehearsalSubtypes: Set<WorkoutSubtype> = [
| |- warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rehearsalSubtypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | .raceRehearsalM, .raceRehearsalHM, .raceRehearsal10K,
773 | ]
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:88:13: note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
86 | }
87 |
88 | public enum WorkoutSubtype: String, CaseIterable, Identifiable, Codable {
| `- note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
89 | case intervals
90 | case pyramidIntervals
[41/46] Compiling TrainingPlanKit WeekShaping.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Engine/PlanGeneratorV3.swift:771:16: warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
769 | // Every race-rehearsal subtype. eligibleDistances pins at most one of these to
770 | // a given plan, so "the plan's rehearsal" is well-defined.
771 | static let rehearsalSubtypes: Set<WorkoutSubtype> = [
| |- warning: static property 'rehearsalSubtypes' is not concurrency-safe because non-'Sendable' type 'Set<WorkoutSubtype>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rehearsalSubtypes' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
772 | .raceRehearsalM, .raceRehearsalHM, .raceRehearsal10K,
773 | ]
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:88:13: note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
86 | }
87 |
88 | public enum WorkoutSubtype: String, CaseIterable, Identifiable, Codable {
| `- note: consider making enum 'WorkoutSubtype' conform to the 'Sendable' protocol
89 | case intervals
90 | case pyramidIntervals
[42/46] Compiling TrainingPlanKit Plan.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:47:23: warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
45 |
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
| |- warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'easyRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:48:23: warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
| |- warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'longRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:49:23: warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
| |- warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'progressionRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:50:23: warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
| |- warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intervalRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:51:23: warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
| |- warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:52:23: warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
| |- warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thresholdRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:53:23: warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
| |- warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fartlekRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:54:23: warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
| |- warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recoveryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:55:23: warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
| |- warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'freeRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:56:23: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:57:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
| |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let yoga = WorkoutType(name: "Yoga")
59 |
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:58:23: warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
| |- warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yoga' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // Static array for default types
[43/46] Compiling TrainingPlanKit Workout.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:47:23: warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
45 |
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
| |- warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'easyRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:48:23: warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
| |- warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'longRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:49:23: warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
| |- warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'progressionRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:50:23: warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
| |- warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intervalRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:51:23: warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
| |- warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:52:23: warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
| |- warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thresholdRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:53:23: warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
| |- warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fartlekRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:54:23: warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
| |- warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recoveryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:55:23: warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
| |- warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'freeRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:56:23: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:57:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
| |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let yoga = WorkoutType(name: "Yoga")
59 |
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:58:23: warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
| |- warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yoga' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // Static array for default types
[44/46] Compiling TrainingPlanKit WorkoutEvent.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:47:23: warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
45 |
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
| |- warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'easyRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:48:23: warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
| |- warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'longRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:49:23: warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
| |- warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'progressionRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:50:23: warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
| |- warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intervalRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:51:23: warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
| |- warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:52:23: warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
| |- warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thresholdRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:53:23: warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
| |- warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fartlekRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:54:23: warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
| |- warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recoveryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:55:23: warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
| |- warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'freeRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:56:23: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:57:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
| |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let yoga = WorkoutType(name: "Yoga")
59 |
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:58:23: warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
| |- warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yoga' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // Static array for default types
[45/46] Compiling TrainingPlanKit WorkoutTypes.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:47:23: warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
45 |
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
| |- warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'easyRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:48:23: warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
| |- warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'longRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:49:23: warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
| |- warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'progressionRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:50:23: warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
| |- warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intervalRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:51:23: warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
| |- warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:52:23: warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
| |- warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thresholdRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:53:23: warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
| |- warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fartlekRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:54:23: warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
| |- warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recoveryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:55:23: warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
| |- warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'freeRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:56:23: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:57:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
| |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let yoga = WorkoutType(name: "Yoga")
59 |
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:58:23: warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
| |- warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yoga' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // Static array for default types
[46/46] Compiling TrainingPlanKit CompetitiveGate.swift
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:47:23: warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
45 |
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
| |- warning: static property 'easyRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'easyRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:48:23: warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
46 | // Default cases
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
| |- warning: static property 'longRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'longRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:49:23: warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
47 | public static let easyRun = WorkoutType(name: "Easy Run")
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
| |- warning: static property 'progressionRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'progressionRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:50:23: warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
48 | public static let longRun = WorkoutType(name: "Long Run")
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
| |- warning: static property 'intervalRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'intervalRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:51:23: warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
49 | public static let progressionRun = WorkoutType(name: "Progression Run")
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
| |- warning: static property 'speedRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'speedRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:52:23: warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
50 | public static let intervalRun = WorkoutType(name: "Intervals")
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
| |- warning: static property 'thresholdRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'thresholdRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:53:23: warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
51 | public static let speedRun = WorkoutType(name: "Speed Run")
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
| |- warning: static property 'fartlekRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fartlekRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:54:23: warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
52 | public static let thresholdRun = WorkoutType(name: "Threshold")
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
| |- warning: static property 'recoveryRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'recoveryRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:55:23: warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
53 | public static let fartlekRun = WorkoutType(name: "Fartlek Run")
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
| |- warning: static property 'freeRun' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'freeRun' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:56:23: warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
54 | public static let recoveryRun = WorkoutType(name: "Recovery Run")
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
| |- warning: static property 'race' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'race' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:57:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
55 | public static let freeRun = WorkoutType(name: "Free Run")
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
| |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let yoga = WorkoutType(name: "Yoga")
59 |
/host/spi-builder-workspace/Sources/TrainingPlanKit/Models/WorkoutTypes.swift:58:23: warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
35 | }
36 |
37 | public struct WorkoutType: Identifiable, Codable, Equatable, Hashable {
| `- note: consider making struct 'WorkoutType' conform to the 'Sendable' protocol
38 | public var name: String
39 |
:
56 | public static let race = WorkoutType(name: "Race")
57 | public static let cycling = WorkoutType(name: "Cycling")
58 | public static let yoga = WorkoutType(name: "Yoga")
| |- warning: static property 'yoga' is not concurrency-safe because non-'Sendable' type 'WorkoutType' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'yoga' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | // Static array for default types
Build complete! (4.45s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "TrainingPlanKit",
"name" : "TrainingPlanKit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
},
{
"name" : "ios",
"version" : "16.0"
}
],
"products" : [
{
"name" : "TrainingPlanKit",
"targets" : [
"TrainingPlanKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "TrainingPlanKitTests",
"module_type" : "SwiftTarget",
"name" : "TrainingPlanKitTests",
"path" : "Tests/TrainingPlanKitTests",
"sources" : [
"CmpDeloadTests.swift",
"ComebackRampTests.swift",
"EasyVsLongPaceTests.swift",
"FixedProtocolTests.swift",
"LateOffsetTests.swift",
"MissedTrainingDirectionTests.swift",
"PaceRenderInvariantTests.swift",
"PaceZoneConverterTests.swift",
"PlanBreakTests.swift",
"PlanChangeLedgerTests.swift",
"PlanRecalculatorTests.swift",
"QualityCapTests.swift",
"RecalibrationDriftTests.swift",
"RunEffortTests.swift",
"SeasonEditTests.swift",
"SeasonPlanBuilderTests.swift",
"SeasonPlannerTests.swift",
"StoredPlannedRacePaceTests.swift",
"TrainingPlanKitTests.swift",
"VDOTTests.swift"
],
"target_dependencies" : [
"TrainingPlanKit"
],
"type" : "test"
},
{
"c99name" : "TrainingPlanKit",
"module_type" : "SwiftTarget",
"name" : "TrainingPlanKit",
"path" : "Sources/TrainingPlanKit",
"product_memberships" : [
"TrainingPlanKit"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/TrainingPlanKit/Catalog/sample_catalog.json",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"API.swift",
"Engine/AdvancedPlanGenerator.swift",
"Engine/BeginnerPlanGenerator.swift",
"Engine/C25KPlanGenerator.swift",
"Engine/ComebackRamp.swift",
"Engine/CompetitivePlanGenerator.swift",
"Engine/DistanceClass.swift",
"Engine/FixedProtocol.swift",
"Engine/IntermediatePlanGenerator.swift",
"Engine/MaintenancePlanGenerator.swift",
"Engine/PlanBreak.swift",
"Engine/PlanConfiguration+Accessible.swift",
"Engine/PlanConfiguration+Advanced.swift",
"Engine/PlanConfiguration+Beginner.swift",
"Engine/PlanConfiguration+Competitive.swift",
"Engine/PlanConfiguration+CouchTo5K.swift",
"Engine/PlanConfiguration+Intermediate.swift",
"Engine/PlanConfiguration+Maintenance.swift",
"Engine/PlanConfiguration+ShortRuns.swift",
"Engine/PlanConfiguration+VO2.swift",
"Engine/PlanConfiguration.swift",
"Engine/PlanDistribution.swift",
"Engine/PlanGeneratorV3.swift",
"Engine/PlanProfile.swift",
"Engine/RaceWorkoutFactory.swift",
"Engine/ShortRunsPlanGenerator.swift",
"Engine/WeekShaping.swift",
"Models/Plan.swift",
"Models/Workout.swift",
"Models/WorkoutEvent.swift",
"Models/WorkoutTypes.swift",
"Pacing/CompetitiveGate.swift",
"Pacing/PaceZoneConverter.swift",
"Pacing/PlanChangeLedger.swift",
"Pacing/PlanRecalculator.swift",
"Pacing/RunEffort.swift",
"Pacing/VDOT.swift",
"Season/Plan+Season.swift",
"Season/SeasonEdit.swift",
"Season/SeasonPlanBuilder.swift",
"Season/SeasonPlanner.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
linux-6.1-latest: Pulling from saguaro1/spi-images
Digest: sha256:7d3901f429179dbcdf211e3b1483da850ea4f8eb21d9382c50c6a18afc5ab319
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.1-latest
Done.