Build Information
Successful build of ValhallaModels, reference v0.2.0 (d1e335), with Swift 6.1 for Linux on 10 Mar 2026 21:10:26 UTC.
Swift 6 data race errors: 64
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-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
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
17 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:21:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:22:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:23:23: warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useRoadsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:24:23: warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHillsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:25:23: warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBadSurfacesRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
27 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
17 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:21:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:22:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:23:23: warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useRoadsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:24:23: warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHillsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:25:23: warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBadSurfacesRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
27 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
17 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:21:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:22:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:23:23: warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useRoadsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:24:23: warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHillsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:25:23: warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBadSurfacesRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
27 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct AutoCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/AutoCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BaseCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct BaseCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
17 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:21:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:22:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:23:23: warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useRoadsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useRoadsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:24:23: warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHillsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHillsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/BicycleCostingOptions.swift:25:23: warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | public static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | public static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'avoidBadSurfacesRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'avoidBadSurfacesRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
27 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[130/138] Compiling ValhallaModels TraceEdge.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[131/138] Compiling ValhallaModels TravelMode.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[132/138] Compiling ValhallaModels Traversability.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[133/138] Compiling ValhallaModels TruckCostingOptions.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[134/138] Compiling ValhallaModels TzResponse.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[135/138] Compiling ValhallaModels ValhallaLanguages.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[136/138] Compiling ValhallaModels ValhallaLongUnits.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[137/138] Compiling ValhallaModels Warning.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
[138/138] Compiling ValhallaModels Validation.swift
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:14:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:15:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct TruckCostingOptions: Codable, Hashable {
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:16:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
14 | public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:17:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:18:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
/host/spi-builder-workspace/Sources/ValhallaModels/Models/TruckCostingOptions.swift:19:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
17 | public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/host/spi-builder-workspace/Sources/ValhallaModels/Support/Validation.swift:15:15: note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
13 | }
14 |
15 | public struct NumericRule<T: Comparable & Numeric> {
| `- note: consider making generic struct 'NumericRule' conform to the 'Sendable' protocol
16 | public var minimum: T?
17 | public var exclusiveMinimum = false
Build complete! (20.81s)
Build complete.
{
"dependencies" : [
{
"identity" : "anycodable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.6.1",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/Flight-School/AnyCodable"
}
],
"manifest_display_name" : "ValhallaModels",
"name" : "ValhallaModels",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "ValhallaModels",
"targets" : [
"ValhallaModels"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ValhallaConfigModels",
"targets" : [
"ValhallaConfigModels"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ValhallaModels",
"module_type" : "SwiftTarget",
"name" : "ValhallaModels",
"path" : "Sources/ValhallaModels",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"ValhallaModels"
],
"sources" : [
"Models/Access.swift",
"Models/AdminRegion.swift",
"Models/Administrative.swift",
"Models/AutoCostingOptions.swift",
"Models/BaseCostingOptions.swift",
"Models/BaseTraceRequest.swift",
"Models/BicycleCostingOptions.swift",
"Models/BikeNetwork.swift",
"Models/Contour.swift",
"Models/Coordinate.swift",
"Models/CostingModel.swift",
"Models/CostingOptions.swift",
"Models/DirectionsOptions.swift",
"Models/DistanceUnit.swift",
"Models/EdgeSign.swift",
"Models/EdgeUse.swift",
"Models/EndNode.swift",
"Models/GeoAttributes.swift",
"Models/HeightRequest.swift",
"Models/HeightResponse.swift",
"Models/HighwayClassification.swift",
"Models/IntersectingEdge.swift",
"Models/IsochroneCostingModel.swift",
"Models/IsochroneFeature.swift",
"Models/IsochroneProperties.swift",
"Models/IsochroneRequest.swift",
"Models/IsochroneResponse.swift",
"Models/LocateDetailedEdge.swift",
"Models/LocateEdge.swift",
"Models/LocateEdgeInfo.swift",
"Models/LocateNode.swift",
"Models/LocateObject.swift",
"Models/ManeuverSign.swift",
"Models/ManeuverSignElement.swift",
"Models/MapMatchCostingModel.swift",
"Models/MapMatchRequest.swift",
"Models/MapMatchRouteResponse.swift",
"Models/MapMatchTraceOptions.swift",
"Models/MapMatchWaypoint.swift",
"Models/MatchedPoint.swift",
"Models/MatrixCostingModel.swift",
"Models/MatrixDistance.swift",
"Models/MatrixRequest.swift",
"Models/MatrixResponse.swift",
"Models/MotorScooterCostingOptions.swift",
"Models/MotorcycleCostingOptions.swift",
"Models/NearestRoadsRequest.swift",
"Models/NodeId.swift",
"Models/NodeType.swift",
"Models/OptimizedRouteRequest.swift",
"Models/PedestrianCostingOptions.swift",
"Models/Restrictions.swift",
"Models/RoadClass.swift",
"Models/RouteLeg.swift",
"Models/RouteManeuver.swift",
"Models/RouteRequest.swift",
"Models/RouteResponse.swift",
"Models/RouteResponseTrip.swift",
"Models/RouteSummary.swift",
"Models/RoutingResponseWaypoint.swift",
"Models/RoutingWaypoint.swift",
"Models/RoutingWaypointAllOfSearchFilter.swift",
"Models/SimpleRoutingWaypoint.swift",
"Models/Speeds.swift",
"Models/TraceAttributeFilterOptions.swift",
"Models/TraceAttributeKey.swift",
"Models/TraceAttributesBaseResponse.swift",
"Models/TraceAttributesRequest.swift",
"Models/TraceAttributesResponse.swift",
"Models/TraceEdge.swift",
"Models/TravelMode.swift",
"Models/Traversability.swift",
"Models/TruckCostingOptions.swift",
"Models/TzResponse.swift",
"Models/ValhallaLanguages.swift",
"Models/ValhallaLongUnits.swift",
"Models/Warning.swift",
"Support/Validation.swift"
],
"type" : "library"
},
{
"c99name" : "ValhallaConfigModels",
"module_type" : "SwiftTarget",
"name" : "ValhallaConfigModels",
"path" : "Sources/ValhallaConfigModels",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"ValhallaConfigModels"
],
"sources" : [
"Models/AdditionalData.swift",
"Models/HeirarchyLimits.swift",
"Models/HeirarchyLimitsExpandWithinDistance.swift",
"Models/HeirarchyLimitsMaxUpTransitions.swift",
"Models/Httpd.swift",
"Models/HttpdService.swift",
"Models/Logging.swift",
"Models/Loki.swift",
"Models/LokiLogging.swift",
"Models/LokiService.swift",
"Models/LokiServiceDefaults.swift",
"Models/Meili.swift",
"Models/MeiliAuto.swift",
"Models/MeiliBicycle.swift",
"Models/MeiliDefault.swift",
"Models/MeiliGrid.swift",
"Models/MeiliMultimodal.swift",
"Models/MeiliPedestrian.swift",
"Models/MeiliService.swift",
"Models/Mjolnir.swift",
"Models/MjolnirDataProcessing.swift",
"Models/Odin.swift",
"Models/OdinMarkupFormatter.swift",
"Models/OdinService.swift",
"Models/ServiceLimits.swift",
"Models/ServiceLimitsAuto.swift",
"Models/ServiceLimitsBicycle.swift",
"Models/ServiceLimitsBus.swift",
"Models/ServiceLimitsCentroid.swift",
"Models/ServiceLimitsHeirarchyLimits.swift",
"Models/ServiceLimitsHeirarchyLimitsBidirectionalAstar.swift",
"Models/ServiceLimitsHeirarchyLimitsCostmatrix.swift",
"Models/ServiceLimitsHeirarchyLimitsCostmatrixMaxExpandWithinDistance.swift",
"Models/ServiceLimitsIsochrone.swift",
"Models/ServiceLimitsMultimodal.swift",
"Models/ServiceLimitsPedestrian.swift",
"Models/ServiceLimitsSkadi.swift",
"Models/ServiceLimitsStatus.swift",
"Models/ServiceLimitsTrace.swift",
"Models/Statsd.swift",
"Models/Thor.swift",
"Models/ThorBidirectionalAstar.swift",
"Models/ThorCostmatrix.swift",
"Models/ThorLogging.swift",
"Models/ThorService.swift",
"Models/ThorUnidirectionalAstar.swift",
"Models/ValhallaConfig.swift",
"Support/Validation.swift"
],
"type" : "library"
},
{
"c99name" : "Tests",
"module_type" : "SwiftTarget",
"name" : "Tests",
"path" : "Tests/Tests",
"sources" : [
"TestModelCodegen.swift"
],
"target_dependencies" : [
"ValhallaModels",
"ValhallaConfigModels"
],
"type" : "test"
}
],
"tools_version" : "5.8"
}
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8e1c3aab9de7fa4f6e33977b6a4cee007e876da3e605dda0be6b9b9bf86aa951
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Done.