Build Information
Successful build of StadiaMaps, reference main (7b43dc
), with Swift 6.0 for macOS (SPM) on 13 Sep 2024 11:32:06 UTC.
Swift 6 data race errors: 120
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.0.0-Release.Candidate.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
15 | private static var defaultJSONDecoder: JSONDecoder = {
16 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/CodableHelper.swift:15:24: warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
13 |
14 | private static var customJSONDecoder: JSONDecoder?
15 | private static var defaultJSONDecoder: JSONDecoder = {
| |- warning: static property 'defaultJSONDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONDecoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | let decoder = JSONDecoder()
17 | decoder.dateDecodingStrategy = .formatted(CodableHelper.dateFormatter)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/CodableHelper.swift:21:24: warning: static property 'customJSONEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
19 | }()
20 |
21 | private static var customJSONEncoder: JSONEncoder?
| |- warning: static property 'customJSONEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'customJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'customJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | private static var defaultJSONEncoder: JSONEncoder = {
23 | let encoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/CodableHelper.swift:22:24: warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 |
21 | private static var customJSONEncoder: JSONEncoder?
22 | private static var defaultJSONEncoder: JSONEncoder = {
| |- warning: static property 'defaultJSONEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'defaultJSONEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'defaultJSONEncoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | let encoder = JSONEncoder()
24 | encoder.dateEncodingStrategy = .formatted(CodableHelper.dateFormatter)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Configuration.swift:16:23: warning: static property 'successfulStatusCodeRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
14 | ///
15 | /// If a HTTP status code is outside of this range the response will be interpreted as failed.
16 | public static var successfulStatusCodeRange: Range = 200 ..< 300
| |- warning: static property 'successfulStatusCodeRange' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'successfulStatusCodeRange' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'successfulStatusCodeRange' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | }
18 |
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Extensions.swift:110:1: warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
108 | }
109 |
110 | extension String: CodingKey {
| |- warning: extension declares a conformance of imported type 'String' to imported protocol 'CodingKey'; this will not behave correctly if the owners of 'Swift' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
111 | public var stringValue: String {
112 | self
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:14:16: 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, JSONEncodable, Hashable {
14 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:15:16: 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, JSONEncodable, Hashable {
14 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:16:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | 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: annotate 'useHighwaysRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:17:16: 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 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | 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: annotate 'useTollsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:18:16: 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 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | 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: annotate 'useTracksRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | 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). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/AutoCostingOptions.swift:19:16: 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 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | 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: annotate 'topSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BaseCostingOptions.swift:14:16: 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, JSONEncodable, Hashable {
14 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | 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). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BaseCostingOptions.swift:15:16: 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, JSONEncodable, Hashable {
14 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
17 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BicycleCostingOptions.swift:21:16: 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 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BicycleCostingOptions.swift:22:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BicycleCostingOptions.swift:23:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | 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: annotate 'useRoadsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | static let avoidBadSurfacesRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BicycleCostingOptions.swift:24:16: 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 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
23 | static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | 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: annotate 'useHillsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | 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). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/BicycleCostingOptions.swift:25:16: 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 | static let useRoadsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
24 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
25 | 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: annotate 'avoidBadSurfacesRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
27 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/Coordinate.swift:14:16: warning: static property 'latRule' 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 Coordinate: Codable, JSONEncodable, Hashable {
14 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/Coordinate.swift:15:16: warning: static property 'lonRule' 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 Coordinate: Codable, JSONEncodable, Hashable {
14 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** The latitude of a point in the shape. */
17 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/GeoJSONPoint.swift:23:16: warning: static property 'coordinatesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | static let coordinatesRule = ArrayRule(minItems: 2, maxItems: 3, uniqueItems: false)
| |- warning: static property 'coordinatesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'coordinatesRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public var type: ModelType
25 | public var coordinates: [Double]
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/HeightRequest.swift:19:16: warning: static property 'heightPrecisionRule' 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 | }
18 |
19 | static let heightPrecisionRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 2, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'heightPrecisionRule' 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: annotate 'heightPrecisionRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let resampleDistanceRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
21 | /** An identifier to disambiguate requests (echoed by the server). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/HeightRequest.swift:20:16: warning: static property 'resampleDistanceRule' 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
18 |
19 | static let heightPrecisionRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 2, exclusiveMaximum: false, multipleOf: nil)
20 | static let resampleDistanceRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'resampleDistanceRule' 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: annotate 'resampleDistanceRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /** An identifier to disambiguate requests (echoed by the server). */
22 | public var id: String?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/IsochroneRequest.swift:14:16: warning: static property 'contoursRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct IsochroneRequest: Codable, JSONEncodable, Hashable {
14 | static let contoursRule = ArrayRule(minItems: 1, maxItems: 4, uniqueItems: false)
| |- warning: static property 'contoursRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'contoursRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let denoiseRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | /** An identifier to disambiguate requests (echoed by the server). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/IsochroneRequest.swift:15:16: warning: static property 'denoiseRule' 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 IsochroneRequest: Codable, JSONEncodable, Hashable {
14 | static let contoursRule = ArrayRule(minItems: 1, maxItems: 4, uniqueItems: false)
15 | static let denoiseRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'denoiseRule' 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: annotate 'denoiseRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** An identifier to disambiguate requests (echoed by the server). */
17 | public var id: String?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LocateNode.swift:21:16: warning: static property 'latRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
23 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LocateNode.swift:22:16: warning: static property 'lonRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** The latitude of a point in the shape. */
24 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LowSpeedVehicleCostingOptions.swift:19:16: 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
17 | }
18 |
19 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | static let topSpeedRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 60, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LowSpeedVehicleCostingOptions.swift:20:16: 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
18 |
19 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
20 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let topSpeedRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 60, exclusiveMaximum: false, multipleOf: nil)
22 | static let maxAllowedSpeedLimitRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 80, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LowSpeedVehicleCostingOptions.swift:21:16: 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
19 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
20 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | static let topSpeedRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 60, 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: annotate 'topSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let maxAllowedSpeedLimitRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 80, exclusiveMaximum: false, multipleOf: nil)
23 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/LowSpeedVehicleCostingOptions.swift:22:16: warning: static property 'maxAllowedSpeedLimitRule' 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
20 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | static let topSpeedRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 60, exclusiveMaximum: false, multipleOf: nil)
22 | static let maxAllowedSpeedLimitRule = NumericRule<Int>(minimum: 20, exclusiveMinimum: false, maximum: 80, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'maxAllowedSpeedLimitRule' 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: annotate 'maxAllowedSpeedLimitRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
24 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MapMatchWaypoint.swift:21:16: warning: static property 'latRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
23 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MapMatchWaypoint.swift:22:16: warning: static property 'lonRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** The latitude of a point in the shape. */
24 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixRequest.swift:20:16: warning: static property 'sourcesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | static let sourcesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'sourcesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sourcesRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let targetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
22 | public var units: DistanceUnit?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixRequest.swift:21:16: warning: static property 'targetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | static let sourcesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
21 | static let targetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'targetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public var units: DistanceUnit?
23 | public var language: ValhallaLanguages?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixResponse.swift:14:16: warning: static property 'sourcesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct MatrixResponse: Codable, JSONEncodable, Hashable {
14 | static let sourcesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'sourcesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sourcesRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let targetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
16 | static let sourcesToTargetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixResponse.swift:15:16: warning: static property 'targetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
13 | public struct MatrixResponse: Codable, JSONEncodable, Hashable {
14 | static let sourcesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
15 | static let targetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'targetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'targetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let sourcesToTargetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
17 | /** An identifier to disambiguate requests (echoed by the server). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixResponse.swift:16:16: warning: static property 'sourcesToTargetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
14 | static let sourcesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
15 | static let targetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
16 | static let sourcesToTargetsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'sourcesToTargetsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'sourcesToTargetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | /** An identifier to disambiguate requests (echoed by the server). */
18 | public var id: String?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixWaypoint.swift:14:16: warning: static property 'latRule' 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 MatrixWaypoint: Codable, JSONEncodable, Hashable {
14 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MatrixWaypoint.swift:15:16: warning: static property 'lonRule' 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 MatrixWaypoint: Codable, JSONEncodable, Hashable {
14 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | /** The latitude of a point in the shape. */
17 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:14:16: 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 MotorScooterCostingOptions: Codable, JSONEncodable, Hashable {
14 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:15:16: 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 MotorScooterCostingOptions: Codable, JSONEncodable, Hashable {
14 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:16:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | 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: annotate 'useHighwaysRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:17:16: 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 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | 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: annotate 'useTollsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:18:16: 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 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | 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: annotate 'useTracksRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | static let usePrimaryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:19:16: 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 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | 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: annotate 'topSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let usePrimaryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:20:16: warning: static property 'usePrimaryRule' 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
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | static let usePrimaryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'usePrimaryRule' 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: annotate 'usePrimaryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
22 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorScooterCostingOptions.swift:21:16: 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
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | static let usePrimaryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | 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: annotate 'useHillsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
23 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:14:16: 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 MotorcycleCostingOptions: Codable, JSONEncodable, Hashable {
14 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:15:16: 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 MotorcycleCostingOptions: Codable, JSONEncodable, Hashable {
14 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:16:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | 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: annotate 'useHighwaysRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:17:16: 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 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | 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: annotate 'useTollsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:18:16: 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 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | 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: annotate 'useTracksRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | static let useTrailsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:19:16: 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 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | 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: annotate 'topSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let useTrailsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
21 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/MotorcycleCostingOptions.swift:20:16: warning: static property 'useTrailsRule' 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
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
20 | static let useTrailsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useTrailsRule' 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: annotate 'useTrailsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
22 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/NearestRoadsRequest.swift:20:16: warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | static let locationsRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public var units: DistanceUnit?
22 | public var language: ValhallaLanguages?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/OptimizedRouteRequest.swift:25:16: warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static let locationsRule = ArrayRule(minItems: 3, maxItems: nil, uniqueItems: false)
| |- warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public var units: DistanceUnit?
27 | public var language: ValhallaLanguages?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/OsrmIntersection.swift:23:16: warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
21 | }
22 |
23 | static let locationRule = ArrayRule(minItems: 2, maxItems: 2, uniqueItems: false)
| |- warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /** A (longitude, latitude) coordinate pair. */
25 | public var location: [Double]
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/OsrmStepManeuver.swift:33:16: warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
31 | }
32 |
33 | static let locationRule = ArrayRule(minItems: 2, maxItems: 2, uniqueItems: false)
| |- warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /** A (longitude, latitude) coordinate pair. */
35 | public var location: [Double]
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/OsrmWaypoint.swift:14:16: warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct OsrmWaypoint: Codable, JSONEncodable, Hashable {
14 | static let locationRule = ArrayRule(minItems: 2, maxItems: 2, uniqueItems: false)
| |- warning: static property 'locationRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var name: String?
16 | /** A (longitude, latitude) coordinate pair. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:14:16: warning: static property 'walkingSpeedRule' 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
12 |
13 | public struct PedestrianCostingOptions: Codable, JSONEncodable, Hashable {
14 | static let walkingSpeedRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 25, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'walkingSpeedRule' 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: annotate 'walkingSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:15:16: 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 PedestrianCostingOptions: Codable, JSONEncodable, Hashable {
14 | static let walkingSpeedRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 25, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:16:16: 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
14 | static let walkingSpeedRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 25, exclusiveMaximum: false, multipleOf: nil)
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:17:16: 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
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | 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: annotate 'useTracksRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let useLitRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:18:16: 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
16 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | 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: annotate 'useHillsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let useLitRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
20 | static let maxHikingDifficultyRule = NumericRule<Int>(minimum: 1, exclusiveMinimum: false, maximum: 6, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:19:16: warning: static property 'useLitRule' 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
17 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let useLitRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'useLitRule' 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: annotate 'useLitRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let maxHikingDifficultyRule = NumericRule<Int>(minimum: 1, exclusiveMinimum: false, maximum: 6, exclusiveMaximum: false, multipleOf: nil)
21 | /** Walking speed in kph. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PedestrianCostingOptions.swift:20:16: warning: static property 'maxHikingDifficultyRule' 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
18 | static let useHillsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let useLitRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
20 | static let maxHikingDifficultyRule = NumericRule<Int>(minimum: 1, exclusiveMinimum: false, maximum: 6, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'maxHikingDifficultyRule' 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: annotate 'maxHikingDifficultyRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | /** Walking speed in kph. */
22 | public var walkingSpeed: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PeliasGeoJSONFeature.swift:18:16: warning: static property 'bboxRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
16 | }
17 |
18 | static let bboxRule = ArrayRule(minItems: 4, maxItems: 4, uniqueItems: false)
| |- warning: static property 'bboxRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bboxRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | public var type: ModelType
20 | public var geometry: GeoJSONPoint
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/PeliasResponse.swift:14:16: warning: static property 'bboxRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct PeliasResponse: Codable, JSONEncodable, Hashable {
14 | static let bboxRule = ArrayRule(minItems: 4, maxItems: 4, uniqueItems: false)
| |- warning: static property 'bboxRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'bboxRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var geocoding: GeocodingObject
16 | /** An array of 4 floating point numbers representing the (W, S, E, N) extremes of the features found. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RouteLeg.swift:14:16: warning: static property 'maneuversRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | public struct RouteLeg: Codable, JSONEncodable, Hashable {
14 | static let maneuversRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'maneuversRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maneuversRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | public var maneuvers: [RouteManeuver]
16 | /** An encoded polyline (https://developers.google.com/maps/documentation/utilities/polylinealgorithm) with 6 digits of decimal precision. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RouteRequest.swift:25:16: warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
23 | }
24 |
25 | static let locationsRule = ArrayRule(minItems: 2, maxItems: nil, uniqueItems: false)
| |- warning: static property 'locationsRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'locationsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public var units: DistanceUnit?
27 | public var language: ValhallaLanguages?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingResponseWaypoint.swift:21:16: warning: static property 'latRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
23 | static let originalIndexRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingResponseWaypoint.swift:22:16: warning: static property 'lonRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | static let originalIndexRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
24 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingResponseWaypoint.swift:23:16: warning: static property 'originalIndexRule' 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
21 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
23 | static let originalIndexRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'originalIndexRule' 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: annotate 'originalIndexRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /** The latitude of a point in the shape. */
25 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:27:16: warning: static property 'latRule' 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
25 | }
26 |
27 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
29 | static let headingRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:28:16: warning: static property 'lonRule' 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
26 |
27 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
28 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | static let headingRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
30 | static let headingToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:29:16: warning: static property 'headingRule' 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
27 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
28 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
29 | static let headingRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'headingRule' 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: annotate 'headingRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | static let headingToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
31 | static let minimumReachabilityRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:30:16: warning: static property 'headingToleranceRule' 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
28 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
29 | static let headingRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
30 | static let headingToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'headingToleranceRule' 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: annotate 'headingToleranceRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | static let minimumReachabilityRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
32 | static let radiusRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:31:16: warning: static property 'minimumReachabilityRule' 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
29 | static let headingRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
30 | static let headingToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
31 | static let minimumReachabilityRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'minimumReachabilityRule' 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: annotate 'minimumReachabilityRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | static let radiusRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
33 | static let nodeSnapToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:32:16: warning: static property 'radiusRule' 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
30 | static let headingToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: 360, exclusiveMaximum: false, multipleOf: nil)
31 | static let minimumReachabilityRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
32 | static let radiusRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'radiusRule' 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: annotate 'radiusRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | static let nodeSnapToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
34 | static let streetSideToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:33:16: warning: static property 'nodeSnapToleranceRule' 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
31 | static let minimumReachabilityRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
32 | static let radiusRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
33 | static let nodeSnapToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'nodeSnapToleranceRule' 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: annotate 'nodeSnapToleranceRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | static let streetSideToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
35 | static let streetSideMaxDistanceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:34:16: warning: static property 'streetSideToleranceRule' 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
32 | static let radiusRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
33 | static let nodeSnapToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
34 | static let streetSideToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'streetSideToleranceRule' 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: annotate 'streetSideToleranceRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | static let streetSideMaxDistanceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
36 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/RoutingWaypoint.swift:35:16: warning: static property 'streetSideMaxDistanceRule' 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
33 | static let nodeSnapToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
34 | static let streetSideToleranceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
35 | static let streetSideMaxDistanceRule = NumericRule<Int>(minimum: 0, exclusiveMinimum: false, maximum: nil, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'streetSideMaxDistanceRule' 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: annotate 'streetSideMaxDistanceRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /** The latitude of a point in the shape. */
37 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:14:16: warning: static property 'focusPointLatRule' 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 SearchQuery: Codable, JSONEncodable, Hashable {
14 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'focusPointLatRule' 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: annotate 'focusPointLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:15:16: warning: static property 'focusPointLonRule' 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 SearchQuery: Codable, JSONEncodable, Hashable {
14 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'focusPointLonRule' 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: annotate 'focusPointLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:16:16: warning: static property 'boundaryRectMinLatRule' 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 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMinLatRule' 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: annotate 'boundaryRectMinLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:17:16: warning: static property 'boundaryRectMaxLatRule' 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 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMaxLatRule' 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: annotate 'boundaryRectMaxLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:18:16: warning: static property 'boundaryRectMinLonRule' 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 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMinLonRule' 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: annotate 'boundaryRectMinLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:19:16: warning: static property 'boundaryRectMaxLonRule' 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
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMaxLonRule' 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: annotate 'boundaryRectMaxLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:20:16: warning: static property 'boundaryCircleLatRule' 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
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryCircleLatRule' 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: annotate 'boundaryCircleLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
22 | /** The place name (address, venue name, etc.) to search for. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchQuery.swift:21:16: warning: static property 'boundaryCircleLonRule' 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 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryCircleLonRule' 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: annotate 'boundaryCircleLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /** The place name (address, venue name, etc.) to search for. */
23 | public var text: String?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:14:16: warning: static property 'focusPointLatRule' 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 SearchStructuredQuery: Codable, JSONEncodable, Hashable {
14 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'focusPointLatRule' 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: annotate 'focusPointLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:15:16: warning: static property 'focusPointLonRule' 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 SearchStructuredQuery: Codable, JSONEncodable, Hashable {
14 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'focusPointLonRule' 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: annotate 'focusPointLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:16:16: warning: static property 'boundaryRectMinLatRule' 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 | static let focusPointLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
15 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMinLatRule' 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: annotate 'boundaryRectMinLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:17:16: warning: static property 'boundaryRectMaxLatRule' 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 | static let focusPointLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
16 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMaxLatRule' 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: annotate 'boundaryRectMaxLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:18:16: warning: static property 'boundaryRectMinLonRule' 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 | static let boundaryRectMinLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMinLonRule' 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: annotate 'boundaryRectMinLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:19:16: warning: static property 'boundaryRectMaxLonRule' 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
17 | static let boundaryRectMaxLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryRectMaxLonRule' 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: annotate 'boundaryRectMaxLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:20:16: warning: static property 'boundaryCircleLatRule' 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
18 | static let boundaryRectMinLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
19 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryCircleLatRule' 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: annotate 'boundaryCircleLatRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
22 | /** A street name, optionally with a house number. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SearchStructuredQuery.swift:21:16: warning: static property 'boundaryCircleLonRule' 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 | static let boundaryRectMaxLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
20 | static let boundaryCircleLatRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
21 | static let boundaryCircleLonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'boundaryCircleLonRule' 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: annotate 'boundaryCircleLonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | /** A street name, optionally with a house number. */
23 | public var address: String?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SimpleRoutingWaypoint.swift:21:16: warning: static property 'latRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'latRule' 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: annotate 'latRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
23 | /** The latitude of a point in the shape. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/SimpleRoutingWaypoint.swift:22:16: warning: static property 'lonRule' 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 | static let latRule = NumericRule<Double>(minimum: -90, exclusiveMinimum: false, maximum: 90, exclusiveMaximum: false, multipleOf: nil)
22 | static let lonRule = NumericRule<Double>(minimum: -180, exclusiveMinimum: false, maximum: 180, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'lonRule' 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: annotate 'lonRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | /** The latitude of a point in the shape. */
24 | public var lat: Double
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributeFilterOptions.swift:19:16: warning: static property 'attributesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
17 | }
18 |
19 | static let attributesRule = ArrayRule(minItems: 1, maxItems: nil, uniqueItems: false)
| |- warning: static property 'attributesRule' is not concurrency-safe because non-'Sendable' type 'ArrayRule' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'attributesRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | public var attributes: [TraceAttributeKey]
21 | /** Determines whether the list of attributes will be used as a whitelist or a blacklist. */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Validation.swift:23:15: note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
21 | }
22 |
23 | public struct ArrayRule {
| `- note: consider making struct 'ArrayRule' conform to the 'Sendable' protocol
24 | public var minItems: Int?
25 | public var maxItems: Int?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesBaseResponse.swift:14:16: warning: static property 'confidenceScoreRule' 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 TraceAttributesBaseResponse: Codable, JSONEncodable, Hashable {
14 | static let confidenceScoreRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'confidenceScoreRule' 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: annotate 'confidenceScoreRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /** The list of edges matched along the path. */
16 | public var edges: [TraceEdge]?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:16: warning: static property 'confidenceScoreRule' 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 TraceAttributesResponse: Codable, JSONEncodable, Hashable {
14 | static let confidenceScoreRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
| |- warning: static property 'confidenceScoreRule' 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: annotate 'confidenceScoreRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | /** The list of edges matched along the path. */
16 | public var edges: [TraceEdge]?
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:14:16: 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, JSONEncodable, Hashable {
14 | 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: annotate 'useLivingStreetsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:15:16: 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, JSONEncodable, Hashable {
14 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | 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: annotate 'useFerryRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:16:16: 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 | static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
15 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | 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: annotate 'useHighwaysRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:17:16: 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 | static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
16 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | 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: annotate 'useTollsRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:18:16: 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 | static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
17 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | 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: annotate 'useTracksRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 | 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). */
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TruckCostingOptions.swift:19:16: 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 | static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
18 | static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
19 | 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: annotate 'topSpeedRule' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
21 | public var maneuverPenalty: Int? = 5
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/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
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:62:13: warning: var 'challengeHandlerStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
60 |
61 | // Store current taskDidReceiveChallenge for every URLSessionTask
62 | private var challengeHandlerStore = SynchronizedDictionary<Int, StadiaMapsAPIChallengeHandler>()
| |- warning: var 'challengeHandlerStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'challengeHandlerStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'challengeHandlerStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
63 |
64 | // Store current URLCredential for every URLSessionTask
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:65:13: warning: var 'credentialStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
63 |
64 | // Store current URLCredential for every URLSessionTask
65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
| |- warning: var 'credentialStore' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'credentialStore' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'credentialStore' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
66 |
67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:358:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
356 | }
357 |
358 | private class SessionDelegate: NSObject, URLSessionTaskDelegate {
| `- warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
359 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
360 | var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
Build complete! (17.18s)
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.87s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (0.70s)
Creating working copy for https://github.com/Flight-School/AnyCodable
Working copy of https://github.com/Flight-School/AnyCodable resolved at 0.6.7
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" : "StadiaMaps",
"name" : "StadiaMaps",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "11.0"
},
{
"name" : "macos",
"version" : "10.13"
},
{
"name" : "tvos",
"version" : "11.0"
},
{
"name" : "watchos",
"version" : "4.0"
}
],
"products" : [
{
"name" : "StadiaMaps",
"targets" : [
"StadiaMaps"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "StadiaMapsTests",
"module_type" : "SwiftTarget",
"name" : "StadiaMapsTests",
"path" : "tests",
"sources" : [
"EUEndpointTestCase.swift",
"GeocodingAPIIntegrationTestCase.swift",
"GeospatialAPIIntegrationTestCase.swift",
"IntegrationXCTestCase.swift",
"RoutingAPITestCase.swift"
],
"target_dependencies" : [
"StadiaMaps"
],
"type" : "test"
},
{
"c99name" : "StadiaMaps",
"module_type" : "SwiftTarget",
"name" : "StadiaMaps",
"path" : "Sources/StadiaMaps",
"product_dependencies" : [
"AnyCodable"
],
"product_memberships" : [
"StadiaMaps"
],
"sources" : [
"APIHelper.swift",
"APIs.swift",
"APIs/GeocodingAPI.swift",
"APIs/GeospatialAPI.swift",
"APIs/RoutingAPI.swift",
"CodableHelper.swift",
"Configuration.swift",
"Extensions.swift",
"JSONDataEncoding.swift",
"JSONEncodingHelper.swift",
"Models.swift",
"Models/Access.swift",
"Models/AdminRegion.swift",
"Models/Administrative.swift",
"Models/AnnotationFilters.swift",
"Models/AutoCostingOptions.swift",
"Models/BaseCostingOptions.swift",
"Models/BaseTraceRequest.swift",
"Models/BicycleCostingOptions.swift",
"Models/BikeNetwork.swift",
"Models/BulkRequest.swift",
"Models/BulkRequestQuery.swift",
"Models/BulkSearchResponse.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/ExtendedDirectionsOptions.swift",
"Models/GeoAttributes.swift",
"Models/GeoJSONGeometry.swift",
"Models/GeoJSONGeometryBase.swift",
"Models/GeoJSONLineString.swift",
"Models/GeoJSONPoint.swift",
"Models/GeoJSONPolygon.swift",
"Models/GeocodingObject.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/LowSpeedVehicleCostingOptions.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/MatrixWaypoint.swift",
"Models/MotorScooterCostingOptions.swift",
"Models/MotorcycleCostingOptions.swift",
"Models/NearestRoadsRequest.swift",
"Models/NodeId.swift",
"Models/NodeType.swift",
"Models/OptimizedRouteRequest.swift",
"Models/OsrmAdmin.swift",
"Models/OsrmAnnotation.swift",
"Models/OsrmBannerComponent.swift",
"Models/OsrmBannerContent.swift",
"Models/OsrmBannerInstruction.swift",
"Models/OsrmBaseApiResponse.swift",
"Models/OsrmGuidanceModifier.swift",
"Models/OsrmIntersection.swift",
"Models/OsrmLane.swift",
"Models/OsrmRoute.swift",
"Models/OsrmRouteLeg.swift",
"Models/OsrmRouteResponse.swift",
"Models/OsrmRouteStep.swift",
"Models/OsrmSpeedLimit.swift",
"Models/OsrmStepManeuver.swift",
"Models/OsrmViaWaypoint.swift",
"Models/OsrmVoiceInstruction.swift",
"Models/OsrmWaypoint.swift",
"Models/PedestrianCostingOptions.swift",
"Models/PeliasGeoJSONFeature.swift",
"Models/PeliasGeoJSONProperties.swift",
"Models/PeliasGeoJSONPropertiesAddendum.swift",
"Models/PeliasGeoJSONPropertiesAddendumOsm.swift",
"Models/PeliasLayer.swift",
"Models/PeliasResponse.swift",
"Models/PeliasSource.swift",
"Models/Restrictions.swift",
"Models/RoadClass.swift",
"Models/Route200Response.swift",
"Models/RouteLeg.swift",
"Models/RouteManeuver.swift",
"Models/RouteRequest.swift",
"Models/RouteResponse.swift",
"Models/RouteResponseAlternatesInner.swift",
"Models/RouteSummary.swift",
"Models/RouteTrip.swift",
"Models/RoutingResponseWaypoint.swift",
"Models/RoutingWaypoint.swift",
"Models/RoutingWaypointAllOfSearchFilter.swift",
"Models/SearchQuery.swift",
"Models/SearchStructuredQuery.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",
"OpenISO8601DateFormatter.swift",
"SynchronizedDictionary.swift",
"URLSessionImplementations.swift",
"Validation.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.