The Swift Package Index logo.Swift Package Index

Build Information

Failed to build TripKit, reference main (387001), with Swift 6.1 for macOS (SPM) on 30 Oct 2026 08:54:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/vendor/ASPolygonKit/Polygon.swift:19:8: warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/vendor/ASPolygonKit/Polygon.swift:19:8: warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/vendor/ASPolygonKit/Polygon.swift:19:8: warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/vendor/ASPolygonKit/Polygon.swift:19:8: warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:90:42: warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 88 |     }
 89 |
 90 |     let response = await TKServer.shared.hit(TKAPI.RegionsResponse.self, .POST, url: regionsURL, parameters: paras)
    |                                          `- warning: non-sendable result type 'TKServer.Response<TKAPI.RegionsResponse>' cannot be sent from nonisolated context in call to instance method 'hit(_:_:url:parameters:headers:decoderConfig:)'; this is an error in the Swift 6 language mode
 91 |     try Task.checkCancellation()
 92 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:258:17: note: consider making generic struct 'Response' conform to the 'Sendable' protocol
256 | extension TKServer {
257 |   /// Captures server response with HTTP status code, headers and typed response
258 |   public struct Response<T> {
    |                 `- note: consider making generic struct 'Response' conform to the 'Sendable' protocol
259 |
260 |     /// HTTP status code of response. Can be `nil` if request failed.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:576:7: warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
574 |         result = .success(data)
575 |       }
576 |       info(uuid, .response(request, response, result))
    |       |- warning: capture of 'info' with non-sendable type '(UUID, TKServer.Info) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
577 |
578 |       completion(.init(
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:578:7: warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
576 |       info(uuid, .response(request, response, result))
577 |
578 |       completion(.init(
    |       |- warning: capture of 'completion' with non-sendable type '(TKServer.Response<Data?>) -> Void' in a '@Sendable' closure
    |       `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
579 |         statusCode: status,
580 |         headers: ((response as? HTTPURLResponse)?.allHeaderFields as? [String: Any]) ?? [:],
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:28:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 26 |   /// - Parameter forced: Set true to force overwriting the internal cache
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 29 |       try? await fetchRegions(forced: forced)
    |                  `- note: closure captures 'self' which is accessible to code in the current task
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:29:18: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 27 |   public func updateRegions(forced: Bool = false) {
 28 |     Task {
 29 |       try? await fetchRegions(forced: forced)
    |                  |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                  `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 30 |     }
 31 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:38:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 36 |       return completion(.success(()))
 37 |     }
 38 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   `- note: closure captures 'self' which is accessible to code in the current task
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer+Regions.swift:40:19: warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
 38 |     Task {
 39 |       do {
 40 |         try await fetchRegions(forced: false)
    |                   |- warning: sending 'self' risks causing data races; this is an error in the Swift 6 language mode
    |                   `- note: sending task-isolated 'self' to main actor-isolated instance method 'fetchRegions(forced:)' risks causing data races between main actor-isolated and task-isolated uses
 41 |         completion(.success(()))
 42 |       } catch {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:11: warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |           |- warning: sending 'completion' risks causing data races; this is an error in the Swift 6 language mode
    |           `- note: task-isolated 'completion' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:535:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
533 |       if callbackOnMain {
534 |         DispatchQueue.main.async {
535 |           completion(response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is captured by a main actor-isolated closure. main actor-isolated uses in closure may race against later nonisolated uses
536 |         }
537 |       } else {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:295:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
293 |           headers: headers)
294 |       { response in
295 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
296 |           guard let data, !data.isEmpty else { throw ServerError.noData }
297 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:318:22: warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
316 |         region: region)
317 |       { response in
318 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Data>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Data>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
319 |           guard let data, !data.isEmpty else { throw ServerError.noData }
320 |           return data
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:343:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
341 |         callbackOnMain: false
342 |       ) { response in
343 |         continuation.resume(returning: response.map { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
344 |           guard let data, !data.isEmpty else { throw ServerError.noData }
345 |           return try JSONDecoder().decode(Model.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:377:22: warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
375 |         callbackOnMain: false
376 |       ) { response in
377 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Output>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Output>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
378 |           guard let data, !data.isEmpty else { throw ServerError.noData }
379 |           return try decoder.decode(Output.self, from: data)
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:406:22: warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
404 |         callbackOnMain: false
405 |       ) { response in
406 |         continuation.resume(returning: response)
    |                      |- warning: sending 'response' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: task-isolated 'response' is passed as a 'sending' parameter; Uses in callee may race with later task-isolated uses
407 |       }
408 |     }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:429:22: warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
427 |           headers: headers)
428 |       { response in
429 |         continuation.resume(returning: response.map  { data in
    |                      |- warning: sending value of non-Sendable type 'TKServer.Response<Model>' risks causing data races; this is an error in the Swift 6 language mode
    |                      `- note: Passing task-isolated value of non-Sendable type 'TKServer.Response<Model>' as a 'sending' parameter risks causing races inbetween task-isolated uses and uses reachable from the callee
430 |           guard let data, !data.isEmpty else { throw ServerError.noData }
431 |           return try decoder.decode(Model.self, from: data)
[268/395] Emitting module TripKitAPI
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKServer.swift:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
 13 | #endif
 14 |
 15 | public class TKServer {
    |              `- note: class 'TKServer' does not conform to the 'Sendable' protocol
 16 |
 17 |   public static let shared = TKServer(isShared: true)
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 18 |
 19 |   init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/Date+Helpers.swift:13:22: warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension Date {
12 |
13 |   private static let iso8601formatter = ISO8601DateFormatter()
   |                      |- warning: static property 'iso8601formatter' is not concurrency-safe because non-'Sendable' type 'ISO8601DateFormatter' may have shared mutable state; this is an error in the Swift 6 language mode
   |                      |- note: add '@MainActor' to make static property 'iso8601formatter' part of global actor 'MainActor'
   |                      `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 |   public enum DateConversionError: Error {
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSISO8601DateFormatter.h:46:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
44 |
45 | API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0))
46 | @interface NSISO8601DateFormatter : NSFormatter <NSSecureCoding> {
   |            `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
47 | @private
48 |     CFDateFormatterRef _formatter;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/extensions/UserDefaults+SharedDefaults.swift:16:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
14 |   ///
15 |   /// Uses the suite defined if ``TKConfig/appGroupName`` is provided, or otherwise the `UserDefaults.standard`.
16 |   public static let shared: UserDefaults = {
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |     if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
18 |       return shared
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSUserDefaults.h:49:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 47 |  NSUserDefaults can be observed using Key-Value Observing for any key stored in it. Using NSKeyValueObservingOptionPrior to observe changes from other processes or devices will behave as though NSKeyValueObservingOptionPrior was not specified.
 48 |  */
 49 | @interface NSUserDefaults : NSObject {
    |            `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
 50 | @private
 51 |     id _kvo_;
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/vendor/ASPolygonKit/Polygon.swift:19:8: warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 17 |
 18 |   #if DEBUG
 19 |   case polygonTooComplex([Polygon.UnionStep])
    |        `- warning: associated value 'polygonTooComplex' of 'Sendable'-conforming enum 'PolygonUnionError' has non-sendable type 'Polygon.UnionStep'; this is an error in the Swift 6 language mode
 20 |   #else
 21 |   case polygonTooComplex
    :
 36 | public struct Polygon {
 37 |   #if DEBUG
 38 |   enum UnionStep {
    |        `- note: consider making enum 'UnionStep' conform to the 'Sendable' protocol
 39 |     case start(Polygon, Polygon, [Intersection], start: Point)
 40 |     case extendMine(partial: [Point])
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKConfig.swift:14:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// A helper to access `Config.plist` in the main bundle.
12 | public class TKConfig {
   |              `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
13 |
14 |   public static let shared = TKConfig()
   |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
   |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
   |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 |   private init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKLog.swift:151:21: warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
149 |   /// By default this is empty, unless TripKit is compiled with
150 |   /// a `BETA` or `DEBUG` Swift flag, then it's a ``TKConsoleLogger`` with a log level of "``LogLevel/warning``".
151 |   public static var loggers: [TKLogger] = {
    |                     |- warning: static property 'loggers' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'loggers' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'loggers' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |     #if BETA || DEBUG
153 |     return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:22:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
 19 | }
 20 |
 21 | public class TKRegionManager: NSObject {
    |              `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
 22 |   public static let shared = TKRegionManager()
    |                     |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKRegionManager' may have shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 23 |
 24 |   private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:25:21: warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 23 |
 24 |   /// Optional parameters to add to routing query. Only used by TripKit.
 25 |   public static var defaultParameters: [URLQueryItem]? = nil
    |                     |- warning: static property 'defaultParameters' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                     |- note: convert 'defaultParameters' to a 'let' constant to make 'Sendable' shared state immutable
    |                     |- note: add '@MainActor' to make static property 'defaultParameters' part of global actor 'MainActor'
    |                     `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 26 |
 27 |   /// Optional server to use instead of ``TKServer/shared``.
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:56:28: warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 54 |   public func cancelRequests() {
 55 |     if let queue = workerQueue {
 56 |       queue.async(execute: cancelRequestsWorker)
    |                            `- warning: converting non-sendable function value to '@Sendable @convention(block) () -> Void' may introduce data races
 57 |     } else {
 58 |       cancelRequestsWorker()
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRegionManager.swift:36:10: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 34 |   private override init() {
 35 |     super.init()
 36 |     Task {
    |          `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
 37 |       await loadRegionsFromCache()
    |             `- note: closure captures 'self' which is accessible to code in the current task
 38 |     }
 39 |   }
/Users/admin/builder/spi-builder-workspace/Sources/TripKitAPI/TKRouter.swift:108:44: warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
106 |       return try await withThrowingTaskGroup(of: TKAPI.RoutingResponse.self) { group in
107 |         for modeGroup in groupedIdentifier {
108 |           _ = group.addTaskUnlessCancelled {
    |                                            `- warning: passing closure as a 'sending' parameter risks causing data races between code in the current task and concurrent execution of the closure; this is an error in the Swift 6 language mode
109 |             try await Self.fetchTripsResponse(
110 |               for: request,
    :
113 |               additional: request.additional,
114 |               config: config,
115 |               server: server
    |                       `- note: closure captures 'server' which is accessible to code in the current task
116 |             )
117 |           }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[275/395] Compiling GeoMonitor PrioritizedRegion.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[276/395] Emitting module GeoMonitor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                       `- error: unknown attribute 'MainActor'
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                                  `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    :
778 |   }
779 |
780 |   public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 |     print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 |     dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 |   }
740 |
741 |   public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 |     dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 |   }
809 |
810 |   public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 |     eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 |     notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 |   }
814 |
815 |   public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 |     dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 |   }
801 |
802 |   public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 |     eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 |   }
805 |
806 |   public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 |     eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 |   }
758 |
759 |   public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 |     dispatchPrecondition(condition: .onQueue(.main))
761 |
[277/395] Compiling GeoMonitor GeoMonitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                       `- error: unknown attribute 'MainActor'
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                                  `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    :
778 |   }
779 |
780 |   public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 |     print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 |     dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 |   }
740 |
741 |   public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 |     dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 |   }
809 |
810 |   public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 |     eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 |     notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 |   }
814 |
815 |   public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 |     dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 |   }
801 |
802 |   public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 |     eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 |   }
805 |
806 |   public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 |     eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 |   }
758 |
759 |   public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 |     dispatchPrecondition(condition: .onQueue(.main))
761 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:848:11: error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
846 |
847 |   func fetchRegions(trigger: GeoMonitor.FetchTrigger) async -> [CLCircularRegion] {
848 |     await handler(trigger)
    |           `- error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
849 |   }
850 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h:27:12: note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
25 | API_UNAVAILABLE(visionos)
26 | #endif
27 | @interface CLCircularRegion : CLRegion
   |            `- note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
28 |
29 | /*
[277/395] Compiling RxCocoaRuntime _RXKVOObserver.m
[277/395] Compiling RxCocoaRuntime _RXObjCRuntime.m
[277/395] Compiling RxCocoaRuntime _RX.m
[277/395] Compiling RxCocoaRuntime _RXDelegateProxy.m
[277/395] Compiling RxCocoaRuntime resource_bundle_accessor.m
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/5783] Fetching tgcardviewcontroller
[117/6046] Fetching tgcardviewcontroller, geomonitor
[2462/40295] Fetching tgcardviewcontroller, geomonitor, kingfisher
[3157/94845] Fetching tgcardviewcontroller, geomonitor, kingfisher, rxswift
Fetched https://github.com/skedgo/TGCardViewController.git from cache (89.51s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (89.51s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (89.51s)
Fetched https://github.com/skedgo/GeoMonitor.git from cache (89.51s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.3.0 (90.29s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.7.1 (3.01s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.10.2 (0.64s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 8.12.0 (0.43s)
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.7.1
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 8.12.0
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.3.0
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.10.2
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKit.xcassets
    /Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKitModel.xcdatamodeld
warning: 'spi-builder-workspace': found 34 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/Resources/TripKitUI.xcassets
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUIAttributionCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentMovingCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUITimetableAccessoryView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIHomeCustomizerCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIModePickerCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentInstructionsView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIEmptyAlertView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingSupportView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceNumberCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsAccessoryView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceVisitCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryDoubleCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIGroupedAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUISectionedAlertTableHeader.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUITripTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUITripCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUIAttributionTableViewController.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripModeByModeHeader.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUILoadingAlertView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingQueryInputTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUINotificationView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripBoyView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentImpossibleCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIDepartureCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIProgressCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUINearbyCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUISectionedAlertViewController.xib
warning: 'tgcardviewcontroller': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGCardViewController.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPageCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPlainCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPageHeaderView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGScrollExtendedCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPlainExtendedCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/views/TGCardDefaultTitleView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGScrollCardView.xib
warning: 'kingfisher': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Info.plist
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/12] Write swift-version-2F0A5646E1D333AE.txt
[2/310] Compiling GeoMonitor PrioritizedRegion.swift
[3/310] Compiling RxSwift GroupedObservable.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[4/310] Compiling RxSwift HistoricalScheduler.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[5/310] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[6/313] Compiling RxSwift First.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[7/313] Compiling RxSwift Generate.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[8/313] Compiling RxSwift GroupBy.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[9/313] Compiling RxSwift Enumerated.swift
[10/313] Compiling RxSwift Error.swift
[11/313] Compiling RxSwift Errors.swift
[12/313] Compiling RxSwift Event.swift
[13/313] Compiling RxSwift Filter.swift
[20/313] Compiling TGCardViewController TGCardDefaultTitleView.swift
[21/313] Compiling TGCardViewController TGKeyboardTableView.swift
[22/313] Compiling TGCardViewController resource_bundle_accessor.swift
[23/313] Compiling RxSwift Infallible+Concurrency.swift
[24/313] Compiling RxSwift Infallible+Create.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/329] Emitting module GeoMonitor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                       `- error: unknown attribute 'MainActor'
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                                  `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    :
778 |   }
779 |
780 |   public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 |     print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 |     dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 |   }
740 |
741 |   public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 |     dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 |   }
809 |
810 |   public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 |     eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 |     notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 |   }
814 |
815 |   public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 |     dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 |   }
801 |
802 |   public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 |     eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 |   }
805 |
806 |   public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 |     eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 |   }
758 |
759 |   public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 |     dispatchPrecondition(condition: .onQueue(.main))
761 |
[29/329] Compiling GeoMonitor GeoMonitor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:701:23: error: unknown attribute 'MainActor'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                       `- error: unknown attribute 'MainActor'
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:780:15: error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
699 | // MARK: - CLLocationManagerDelegate
700 |
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
    |                                  `- note: add '@preconcurrency' to the 'CLLocationManagerDelegate' conformance to defer isolation checking to run time
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    :
778 |   }
779 |
780 |   public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didUpdateLocations:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didUpdateLocations:)' to make this instance method not isolated to the actor
781 | #if DEBUG
782 |     print("GeoMonitor updated locations -> \(locations)")
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:703:15: error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
701 | extension GeoMonitor: @MainActor CLLocationManagerDelegate {
702 |
703 |   public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didEnterRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didEnterRegion:)' to make this instance method not isolated to the actor
704 |     dispatchPrecondition(condition: .onQueue(.main))
705 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:741:15: error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
739 |   }
740 |
741 |   public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didExitRegion:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didExitRegion:)' to make this instance method not isolated to the actor
742 |     dispatchPrecondition(condition: .onQueue(.main))
743 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:810:15: error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
808 |   }
809 |
810 |   public func locationManager(_ manager: CLLocationManager, didFailWithError error: Error) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didFailWithError:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didFailWithError:)' to make this instance method not isolated to the actor
811 |     eventHandler(.status("GeoMonitor failed -> \(error) -- \(error.localizedDescription)", .failure))
812 |     notify(.failure(error))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:815:15: error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
813 |   }
814 |
815 |   public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidChangeAuthorization' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidChangeAuthorization' to make this instance method not isolated to the actor
816 |     dispatchPrecondition(condition: .onQueue(.main))
817 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:802:15: error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
800 |   }
801 |
802 |   public func locationManagerDidPauseLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidPauseLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidPauseLocationUpdates' to make this instance method not isolated to the actor
803 |     eventHandler(.status("GeoMonitor paused updates -> \(manager == locationManager)", .stateChange))
804 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:806:15: error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
804 |   }
805 |
806 |   public func locationManagerDidResumeLocationUpdates(_ manager: CLLocationManager) {
    |               |- error: main actor-isolated instance method 'locationManagerDidResumeLocationUpdates' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManagerDidResumeLocationUpdates' to make this instance method not isolated to the actor
807 |     eventHandler(.status("GeoMonitor resumed updates -> \(manager == locationManager)", .stateChange))
808 |   }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:759:15: error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
757 |   }
758 |
759 |   public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
    |               |- error: main actor-isolated instance method 'locationManager(_:didVisit:)' cannot be used to satisfy nonisolated requirement from protocol 'CLLocationManagerDelegate'
    |               `- note: add 'nonisolated' to 'locationManager(_:didVisit:)' to make this instance method not isolated to the actor
760 |     dispatchPrecondition(condition: .onQueue(.main))
761 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:848:11: error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
846 |
847 |   func fetchRegions(trigger: GeoMonitor.FetchTrigger) async -> [CLCircularRegion] {
848 |     await handler(trigger)
    |           `- error: non-sendable result type '[CLCircularRegion]' cannot be sent from nonisolated context in call to async function
849 |   }
850 | }
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularRegion.h:27:12: note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
25 | API_UNAVAILABLE(visionos)
26 | #endif
27 | @interface CLCircularRegion : CLRegion
   |            `- note: class 'CLCircularRegion' does not conform to the 'Sendable' protocol
28 |
29 | /*
[30/329] Compiling RxSwift AnyObserver.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[31/329] Compiling RxSwift AsMaybe.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
[32/329] Compiling RxSwift AsSingle.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGButtonPosition.swift:9:8: error: no such module 'UIKit'
 7 | //
 8 |
 9 | import UIKit
   |        `- error: no such module 'UIKit'
10 |
11 | public enum TGButtonPosition {
warning: 'spi-builder-workspace': found 2 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKit.xcassets
    /Users/admin/builder/spi-builder-workspace/Sources/TripKit/Resources/TripKitModel.xcdatamodeld
warning: 'spi-builder-workspace': found 34 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceNumberCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentInstructionsView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripBoyView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUINearbyCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUITimetableAccessoryView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIGroupedAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUITripTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUISectionedAlertViewController.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUINotificationView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIProgressCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/controller/TKUIAttributionTableViewController.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentImpossibleCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/segment cards/TKUISegmentTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentMovingCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/Resources/TripKitUI.xcassets
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingQueryInputTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUIAttributionCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIHomeCustomizerCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUISectionedAlertTableHeader.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIModePickerCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUIDepartureCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsTitleView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/timetable/TKUIServiceVisitCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/trip overview/TKUISegmentStationaryDoubleCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIEmptyAlertView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUIAlertCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIResultsAccessoryView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/TKUITripModeByModeHeader.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUIRoutingSupportView.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/results/TKUITripCell.xib
    /Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/views/alerts/TKUILoadingAlertView.xib
warning: 'tgcardviewcontroller': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPageCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPageHeaderView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPlainExtendedCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/views/TGCardDefaultTitleView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/TGCardViewController.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGScrollCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGScrollExtendedCardView.xib
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/TGCardViewController/Sources/TGCardViewController/cards/TGPlainCardView.xib
warning: 'kingfisher': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
    /Users/admin/builder/spi-builder-workspace/.build/checkouts/Kingfisher/Sources/Info.plist
BUILD FAILURE 6.1 macosSpm