The Swift Package Index logo.Swift Package Index

Build Information

Successful build of StadiaMaps, reference main (893ed7), with Swift 6.1 for macOS (SPM) on 27 Apr 2026 10:37:32 UTC.

Swift 6 data race errors: 149

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
[164/168] Compiling StadiaMaps WofContextComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:23: 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 |     public 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: add '@MainActor' to make static property 'confidenceScoreRule' part of global actor 'MainActor'
   |                       `- 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:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = 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:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public 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:16:23: warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useRailFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public 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:17:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public 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:18:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public 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:19:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = 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:20:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
[165/168] Compiling StadiaMaps OpenISO8601DateFormatter.swift
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:23: 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 |     public 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: add '@MainActor' to make static property 'confidenceScoreRule' part of global actor 'MainActor'
   |                       `- 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:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = 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:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public 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:16:23: warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useRailFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public 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:17:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public 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:18:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public 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:19:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = 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:20:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
[166/168] Compiling StadiaMaps SynchronizedDictionary.swift
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:23: 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 |     public 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: add '@MainActor' to make static property 'confidenceScoreRule' part of global actor 'MainActor'
   |                       `- 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:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = 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:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public 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:16:23: warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useRailFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public 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:17:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public 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:18:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public 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:19:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = 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:20:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
[167/168] Compiling StadiaMaps URLSessionImplementations.swift
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:23: 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 |     public 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: add '@MainActor' to make static property 'confidenceScoreRule' part of global actor 'MainActor'
   |                       `- 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:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = 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:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public 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:16:23: warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useRailFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public 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:17:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public 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:18:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public 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:19:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = 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:20:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
[168/168] Compiling StadiaMaps Validation.swift
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TraceAttributesResponse.swift:14:23: 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 |     public 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: add '@MainActor' to make static property 'confidenceScoreRule' part of global actor 'MainActor'
   |                       `- 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:23: warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 12 |
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useLivingStreetsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useLivingStreetsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = 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:23: warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | public struct TruckCostingOptions: Codable, JSONEncodable, Hashable {
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public 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:16:23: warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 14 |     public static let useLivingStreetsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useRailFerryRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useRailFerryRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public 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:17:23: warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 15 |     public static let useFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useHighwaysRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useHighwaysRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public 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:18:23: warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 16 |     public static let useRailFerryRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTollsRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTollsRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public 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:19:23: warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 17 |     public static let useHighwaysRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTracksRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTracksRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = 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:20:23: warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
 18 |     public static let useTollsRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 19 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'topSpeedRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'topSpeedRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, 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:21:23: warning: static property 'useDistanceRule' is 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 |     public static let useTracksRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 20 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useDistanceRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useDistanceRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, 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:22:23: warning: static property 'closureFactorRule' is 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 |     public static let topSpeedRule = NumericRule<Int>(minimum: 10, exclusiveMinimum: false, maximum: 252, exclusiveMaximum: false, multipleOf: nil)
 21 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'closureFactorRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'closureFactorRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = 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:23:23: warning: static property 'axleCountRule' 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 |     public static let useDistanceRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'axleCountRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Int>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'axleCountRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
 25 |     /** 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:24:23: warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
 22 |     public static let closureFactorRule = NumericRule<Double>(minimum: 1, exclusiveMinimum: false, maximum: 10, exclusiveMaximum: false, multipleOf: nil)
 23 |     public static let axleCountRule = NumericRule<Int>(minimum: 2, exclusiveMinimum: false, maximum: 20, exclusiveMaximum: false, multipleOf: nil)
 24 |     public static let useTruckRouteRule = NumericRule<Double>(minimum: 0, exclusiveMinimum: false, maximum: 1, exclusiveMaximum: false, multipleOf: nil)
    |                       |- warning: static property 'useTruckRouteRule' is not concurrency-safe because non-'Sendable' type 'NumericRule<Double>' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'useTruckRouteRule' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 25 |     /** A penalty (in seconds) applied when transitioning between roads (determined by name). */
 26 |     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/TzResponse.swift:31:14: warning: 'dstOffset' is deprecated: This property is deprecated.
29 |         self.tzId = tzId
30 |         self.baseUtcOffset = baseUtcOffset
31 |         self.dstOffset = dstOffset
   |              `- warning: 'dstOffset' is deprecated: This property is deprecated.
32 |         self.timestamp = timestamp
33 |         self.localRfc2822Timestamp = localRfc2822Timestamp
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/Models/TzResponse.swift:52:30: warning: 'dstOffset' is deprecated: This property is deprecated.
50 |         try container.encode(tzId, forKey: .tzId)
51 |         try container.encode(baseUtcOffset, forKey: .baseUtcOffset)
52 |         try container.encode(dstOffset, forKey: .dstOffset)
   |                              `- warning: 'dstOffset' is deprecated: This property is deprecated.
53 |         try container.encode(timestamp, forKey: .timestamp)
54 |         try container.encodeIfPresent(localRfc2822Timestamp, forKey: .localRfc2822Timestamp)
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/OpenISO8601DateFormatter.swift:11:14: warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
 9 |
10 | /// https://stackoverflow.com/a/50281094/976628
11 | public class OpenISO8601DateFormatter: DateFormatter {
   |              `- warning: class 'OpenISO8601DateFormatter' must restate inherited '@unchecked Sendable' conformance
12 |     static let withoutSeconds: DateFormatter = {
13 |         let formatter = DateFormatter()
/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: add '@MainActor' to make var 'challengeHandlerStore' part of global actor 'MainActor'
    |             `- 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: add '@MainActor' to make var 'credentialStore' part of global actor 'MainActor'
    |             `- 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:351:15: warning: non-final class 'SessionDelegate' cannot conform to 'Sendable'; use '@unchecked Sendable'; this is an error in the Swift 6 language mode
349 | }
350 |
351 | 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
352 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
353 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure; this is an error in the Swift 6 language mode
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure; this is an error in the Swift 6 language mode
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:21: warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
 65 | private var credentialStore = SynchronizedDictionary<Int, URLCredential>()
 66 |
 67 | open class URLSessionRequestBuilder<T>: RequestBuilder<T> {
    |            `- note: generic class 'URLSessionRequestBuilder' does not conform to the 'Sendable' protocol
 68 |     /**
 69 |      May be assigned if you want to control the authentication challenges.
    :
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                     `- warning: capture of 'self' with non-sendable type 'URLSessionRequestBuilder<T>' in a '@Sendable' closure
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:159:128: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
157 |             let dataTask = urlSession.dataTaskFromProtocol(with: request) { data, response, error in
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
    |                                                                                                                                |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                                                                                                                                `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
160 |                     cleanupRequest()
161 |                 }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:160:21: warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
158 |                 apiResponseQueue.async {
159 |                     self.processRequestResponse(urlRequest: request, data: data, response: response, error: error, completion: completion)
160 |                     cleanupRequest()
    |                     |- warning: capture of 'cleanupRequest' with non-sendable type '() -> ()' in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
161 |                 }
162 |             }
/Users/admin/builder/spi-builder-workspace/Sources/StadiaMaps/URLSessionImplementations.swift:175:17: warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
173 |         } catch {
174 |             apiResponseQueue.async {
175 |                 completion(.failure(ErrorResponse.error(415, nil, nil, error)))
    |                 |- warning: capture of 'completion' with non-sendable type '(Result<Response<T>, ErrorResponse>) -> Void' in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
176 |             }
177 |         }
Build complete! (10.14s)
Fetching https://github.com/Flight-School/AnyCodable
[1/782] Fetching anycodable
Fetched https://github.com/Flight-School/AnyCodable from cache (0.75s)
Computing version for https://github.com/Flight-School/AnyCodable
Computed https://github.com/Flight-School/AnyCodable at 0.6.7 (1.36s)
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/AddendumV2.swift",
        "Models/AddressComponentsV2.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/Context.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/FeaturePropertiesV2.swift",
        "Models/FeaturePropertiesV2Properties.swift",
        "Models/FoursquareAddendum.swift",
        "Models/GeoAttributes.swift",
        "Models/GeoJSONGeometry.swift",
        "Models/GeoJSONGeometryBase.swift",
        "Models/GeoJSONLineString.swift",
        "Models/GeoJSONPoint.swift",
        "Models/GeoJSONPolygon.swift",
        "Models/GeocodeResponse.swift",
        "Models/GeocodeResponseEnvelopePropertiesV2.swift",
        "Models/GeocodingGeoJSONFeature.swift",
        "Models/GeocodingGeoJSONProperties.swift",
        "Models/GeocodingGeoJSONPropertiesAddendum.swift",
        "Models/GeocodingGeoJSONPropertiesAddendumOsm.swift",
        "Models/GeocodingLayer.swift",
        "Models/GeocodingMeta.swift",
        "Models/GeocodingObject.swift",
        "Models/GeocodingSource.swift",
        "Models/GeonamesAddendum.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/LayerId.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/MatchType.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/NearestRoadsCostingModel.swift",
        "Models/NearestRoadsRequest.swift",
        "Models/NodeId.swift",
        "Models/NodeType.swift",
        "Models/OpenStreetMapAddendum.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/PedestrianType.swift",
        "Models/Point.swift",
        "Models/Precision.swift",
        "Models/PropertiesV2.swift",
        "Models/Restrictions.swift",
        "Models/ReverseQuery.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/RoutingLanguages.swift",
        "Models/RoutingLongUnits.swift",
        "Models/RoutingResponseWaypoint.swift",
        "Models/RoutingWaypoint.swift",
        "Models/RoutingWaypointAllOfSearchFilter.swift",
        "Models/SearchQuery.swift",
        "Models/SearchStructuredQuery.swift",
        "Models/ShapeFormat.swift",
        "Models/SimpleRoutingWaypoint.swift",
        "Models/SourceAttribution.swift",
        "Models/SourceId.swift",
        "Models/Speeds.swift",
        "Models/TimeConstraintV1.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/TzResponseV2.swift",
        "Models/Warning.swift",
        "Models/WhosOnFirstConcordances.swift",
        "Models/WofContext.swift",
        "Models/WofContextComponent.swift",
        "OpenISO8601DateFormatter.swift",
        "SynchronizedDictionary.swift",
        "URLSessionImplementations.swift",
        "Validation.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.