Build Information
Failed to build TripKit, reference 4.7.1 (1a62a5
), with Swift 6.0 for macOS (SPM) on 1 Dec 2024 01:36:25 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
250 | @Published public var enableInBackground: Bool = false {
| `- error: 'Published' is only available in macOS 10.15 or newer
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:274:27: error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
272 | if isMonitoring {
273 | if enableVisitMonitoring {
274 | locationManager.startMonitoringVisits()
| |- error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
275 | } else {
276 | locationManager.stopMonitoringVisits()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:276:27: error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
274 | locationManager.startMonitoringVisits()
275 | } else {
276 | locationManager.stopMonitoringVisits()
| |- error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
277 | }
278 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:21:36: error: 'ObservableObject' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| | `- error: 'ObservableObject' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:542:77: error: 'CLVisit' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
540 | }
541 |
542 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| | `- error: 'CLVisit' is only available in macOS 10.15 or newer
| `- note: add @available attribute to enclosing instance method
543 | guard isMonitoring else {
544 | eventHandler(.status("GeoMonitor detected visit change, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:105:5: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
99 | /// - dataSource: Data source that provides regions. Will be maintained strongly.
100 | /// - onEvent: Handler that's called when a relevant event is happening, including when one of the monitored regions is entered.
101 | public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
| `- note: add @available attribute to enclosing initializer
102 | fetchSource = dataSource
103 | eventHandler = onEvent
104 | locationManager = .init()
105 | hasAccess = false
| |- error: setter for 'hasAccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
106 | self.enabledKey = enabledKey
107 | if let enabledKey = enabledKey {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:108:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
99 | /// - dataSource: Data source that provides regions. Will be maintained strongly.
100 | /// - onEvent: Handler that's called when a relevant event is happening, including when one of the monitored regions is entered.
101 | public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
| `- note: add @available attribute to enclosing initializer
102 | fetchSource = dataSource
103 | eventHandler = onEvent
:
106 | self.enabledKey = enabledKey
107 | if let enabledKey = enabledKey {
108 | enableInBackground = UserDefaults.standard.bool(forKey: enabledKey)
| |- error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
109 | } else {
110 | enableInBackground = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:110:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
99 | /// - dataSource: Data source that provides regions. Will be maintained strongly.
100 | /// - onEvent: Handler that's called when a relevant event is happening, including when one of the monitored regions is entered.
101 | public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
| `- note: add @available attribute to enclosing initializer
102 | fetchSource = dataSource
103 | eventHandler = onEvent
:
108 | enableInBackground = UserDefaults.standard.bool(forKey: enabledKey)
109 | } else {
110 | enableInBackground = false
| |- error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
111 | }
112 |
<unknown>:0: error: cannot convert value of type 'any KeyPath<GeoMonitor, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:116:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
99 | /// - dataSource: Data source that provides regions. Will be maintained strongly.
100 | /// - onEvent: Handler that's called when a relevant event is happening, including when one of the monitored regions is entered.
101 | public init(enabledKey: String? = nil, dataSource: GeoMonitorDataSource, onEvent: @escaping (Event) -> Void) {
| `- note: add @available attribute to enclosing initializer
102 | fetchSource = dataSource
103 | eventHandler = onEvent
:
114 |
115 | locationManager.delegate = self
116 | locationManager.allowsBackgroundLocationUpdates = true
| |- error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
117 |
118 | #if !DEBUG
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:132:28: error: 'authorizationStatus' is only available in macOS 11.0 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
129 |
130 | /// Whether it's possible to bring up the system prompt to ask for access to the device's location
131 | public var canAsk: Bool {
| `- note: add @available attribute to enclosing property
132 | switch locationManager.authorizationStatus {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
133 | case .notDetermined:
134 | return true
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:143:28: error: 'authorizationStatus' is only available in macOS 11.0 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
144 | case .authorizedAlways:
145 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
145 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
| |- error: setter for 'hasAccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
146 | // Note: We do NOT update `enableInBackground` here, as that's the user's
147 | // setting, i.e., they might not want to have it enabled even though the
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:145:57: error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
145 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
| |- error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
146 | // Note: We do NOT update `enableInBackground` here, as that's the user's
147 | // setting, i.e., they might not want to have it enabled even though the
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
148 | // app has permissions.
149 | case .authorizedWhenInUse:
150 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
| |- error: setter for 'hasAccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
151 | enableInBackground = false
152 | case .denied, .notDetermined, .restricted:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:150:57: error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
148 | // app has permissions.
149 | case .authorizedWhenInUse:
150 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
| |- error: 'accuracyAuthorization' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
151 | enableInBackground = false
152 | case .denied, .notDetermined, .restricted:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:151:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
149 | case .authorizedWhenInUse:
150 | hasAccess = !needsFullAccuracy || locationManager.accuracyAuthorization == .fullAccuracy
151 | enableInBackground = false
| |- error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
152 | case .denied, .notDetermined, .restricted:
153 | hasAccess = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:153:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
151 | enableInBackground = false
152 | case .denied, .notDetermined, .restricted:
153 | hasAccess = false
| |- error: setter for 'hasAccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
154 | enableInBackground = false
155 | @unknown default:
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:154:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
152 | case .denied, .notDetermined, .restricted:
153 | hasAccess = false
154 | enableInBackground = false
| |- error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
155 | @unknown default:
156 | hasAccess = false
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:156:7: error: setter for 'hasAccess' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
154 | enableInBackground = false
155 | @unknown default:
156 | hasAccess = false
| |- error: setter for 'hasAccess' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
157 | enableInBackground = false
158 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:157:7: error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
140 | }
141 |
142 | private func updateAccess() {
| `- note: add @available attribute to enclosing instance method
143 | switch locationManager.authorizationStatus {
144 | case .authorizedAlways:
:
155 | @unknown default:
156 | hasAccess = false
157 | enableInBackground = false
| |- error: setter for 'enableInBackground' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
158 | }
159 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:163:26: error: 'authorizationStatus' is only available in macOS 11.0 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
159 | }
160 |
161 | public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
| `- note: add @available attribute to enclosing instance method
162 | if forBackground {
163 | if locationManager.authorizationStatus == .notDetermined {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
164 | // Need to *first* ask for when in use, and only for always if that
165 | // is granted.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:175:25: error: 'requestAlwaysAuthorization()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
159 | }
160 |
161 | public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
| `- note: add @available attribute to enclosing instance method
162 | if forBackground {
163 | if locationManager.authorizationStatus == .notDetermined {
:
173 | } else {
174 | self.askHandler = handler
175 | locationManager.requestAlwaysAuthorization()
| |- error: 'requestAlwaysAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
176 | }
177 | } else {
<unknown>:0: error: cannot convert value of type 'any KeyPath<GeoMonitor, CLLocation?> & Sendable' to expected argument type 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: cannot convert value of type 'any KeyPath<GeoMonitor, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:179:23: error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
159 | }
160 |
161 | public func ask(forBackground: Bool = false, _ handler: @escaping (Bool) -> Void = { _ in }) {
| `- note: add @available attribute to enclosing instance method
162 | if forBackground {
163 | if locationManager.authorizationStatus == .notDetermined {
:
177 | } else {
178 | self.askHandler = handler
179 | locationManager.requestWhenInUseAuthorization()
| |- error: 'requestWhenInUseAuthorization()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
180 | }
181 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:221:21: error: 'requestLocation()' is only available in macOS 10.14 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
204 | private var fetchTimer: Timer?
205 |
206 | private func fetchCurrentLocation() async throws -> CLLocation {
| `- note: add @available attribute to enclosing instance method
207 | guard hasAccess else {
208 | throw LocationFetchError.accessNotProvided
:
219 | let originalAccuracy = locationManager.desiredAccuracy
220 | locationManager.desiredAccuracy = desiredAccuracy
221 | locationManager.requestLocation()
| |- error: 'requestLocation()' is only available in macOS 10.14 or newer
| `- note: add 'if #available' version check
222 |
223 | fetchTimer = .scheduledTimer(withTimeInterval: Constants.currentLocationFetchTimeOut, repeats: false) { [unowned self] _ in
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:227:22: error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
204 | private var fetchTimer: Timer?
205 |
206 | private func fetchCurrentLocation() async throws -> CLLocation {
| `- note: add @available attribute to enclosing instance method
207 | guard hasAccess else {
208 | throw LocationFetchError.accessNotProvided
:
225 | }
226 |
227 | return try await withCheckedThrowingContinuation { continuation in
| |- error: 'withCheckedThrowingContinuation(isolation:function:_:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
228 | withNextLocation.append({ [unowned self] result in
229 | self.locationManager.desiredAccuracy = originalAccuracy
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:230:22: error: 'resume(with:)' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
204 | private var fetchTimer: Timer?
205 |
206 | private func fetchCurrentLocation() async throws -> CLLocation {
| `- note: add @available attribute to enclosing instance method
207 | guard hasAccess else {
208 | throw LocationFetchError.accessNotProvided
:
228 | withNextLocation.append({ [unowned self] result in
229 | self.locationManager.desiredAccuracy = originalAccuracy
230 | continuation.resume(with: result)
| |- error: 'resume(with:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
231 | })
232 | }
<unknown>:0: error: cannot convert value of type 'any KeyPath<GeoMonitor, Bool> & Sendable' to expected argument type 'ReferenceWritableKeyPath<GeoMonitor, Bool>'
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:227:55: error: 'isolation()' is only available in macOS 10.15 or newer
`- /Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:227:54: note: expanded code originates here
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
204 | private var fetchTimer: Timer?
205 |
206 | private func fetchCurrentLocation() async throws -> CLLocation {
| `- note: add @available attribute to enclosing instance method
207 | guard hasAccess else {
208 | throw LocationFetchError.accessNotProvided
:
225 | }
226 |
227 | return try await withCheckedThrowingContinuation { continuation in
+--- /Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift
|225 |
|226 |
|227 | #isolation
| | `- error: 'isolation()' is only available in macOS 10.15 or newer
+---------------------------------------------------------------------------------------------------------------
228 | withNextLocation.append({ [unowned self] result in
229 | self.locationManager.desiredAccuracy = originalAccuracy
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:286:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
280 | }
281 |
282 | public func startMonitoring() {
| `- note: add @available attribute to enclosing instance method
283 | guard !isMonitoring, hasAccess else { return }
284 |
285 | isMonitoring = true
286 | locationManager.allowsBackgroundLocationUpdates = true
| |- error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
287 | locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
288 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:287:21: error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
280 | }
281 |
282 | public func startMonitoring() {
| `- note: add @available attribute to enclosing instance method
283 | guard !isMonitoring, hasAccess else { return }
284 |
285 | isMonitoring = true
286 | locationManager.allowsBackgroundLocationUpdates = true
287 | locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
| |- error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
288 |
289 | Task {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: error: 'Task' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
280 | }
281 |
282 | public func startMonitoring() {
| `- note: add @available attribute to enclosing instance method
283 | guard !isMonitoring, hasAccess else { return }
284 |
:
287 | locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
288 |
289 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | // Check if in region, which will also re-monitor the current location
291 | // and update the regions(!)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:289:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
280 | }
281 |
282 | public func startMonitoring() {
| `- note: add @available attribute to enclosing instance method
283 | guard !isMonitoring, hasAccess else { return }
284 |
:
287 | locationManager.pausesLocationUpdatesAutomatically = enableInBackground // we can do that, as it implies "always on" permissions
288 |
289 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
290 | // Check if in region, which will also re-monitor the current location
291 | // and update the regions(!)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:296:23: error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
280 | }
281 |
282 | public func startMonitoring() {
| `- note: add @available attribute to enclosing instance method
283 | guard !isMonitoring, hasAccess else { return }
284 |
:
294 |
295 | if enableVisitMonitoring {
296 | locationManager.startMonitoringVisits()
| |- error: 'startMonitoringVisits()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
297 | }
298 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:304:21: error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
298 | }
299 |
300 | public func stopMonitoring() {
| `- note: add @available attribute to enclosing instance method
301 | guard isMonitoring else { return }
302 |
303 | isMonitoring = false
304 | locationManager.allowsBackgroundLocationUpdates = false
| |- error: 'allowsBackgroundLocationUpdates' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
305 | locationManager.pausesLocationUpdatesAutomatically = true
306 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:305:21: error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
298 | }
299 |
300 | public func stopMonitoring() {
| `- note: add @available attribute to enclosing instance method
301 | guard isMonitoring else { return }
302 |
303 | isMonitoring = false
304 | locationManager.allowsBackgroundLocationUpdates = false
305 | locationManager.pausesLocationUpdatesAutomatically = true
| |- error: 'pausesLocationUpdatesAutomatically' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
306 |
307 | stopMonitoringCurrentArea()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:308:21: error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
19 | /// monitoring is limited for brief durations (e.g., "get off here" alerts for transit apps)
20 | @available(iOS 14.0, *)
21 | public class GeoMonitor: NSObject, ObservableObject {
| `- note: add @available attribute to enclosing class
22 | enum Constants {
23 | static var currentLocationRegionMaximumRadius: CLLocationDistance = 2_500
:
298 | }
299 |
300 | public func stopMonitoring() {
| `- note: add @available attribute to enclosing instance method
301 | guard isMonitoring else { return }
302 |
:
306 |
307 | stopMonitoringCurrentArea()
308 | locationManager.stopMonitoringVisits()
| |- error: 'stopMonitoringVisits()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:402:18: error: 'cancel()' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing instance method
402 | monitorTask?.cancel()
| |- error: 'cancel()' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
403 | monitorTask = Task {
404 | if let delay {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: error: 'Task' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing instance method
402 | monitorTask?.cancel()
403 | monitorTask = Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
404 | if let delay {
405 | try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:403:19: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing instance method
402 | monitorTask?.cancel()
403 | monitorTask = Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
404 | if let delay {
405 | try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:19: error: 'Task' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing instance method
402 | monitorTask?.cancel()
403 | monitorTask = Task {
404 | if let delay {
405 | try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | }
407 | monitorNow(regions, location: location)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:405:24: error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
| `- note: add @available attribute to enclosing instance method
402 | monitorTask?.cancel()
403 | monitorTask = Task {
404 | if let delay {
405 | try await Task.sleep(nanoseconds: UInt64(delay * 1_000_000_000))
| |- error: 'sleep(nanoseconds:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
406 | }
407 | monitorNow(regions, location: location)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:12: error: 'Task' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
:
409 | }
410 |
411 | private func monitorNow(_ regions: [CLCircularRegion], location: CLLocation?) {
| `- note: add @available attribute to enclosing instance method
412 | guard !Task.isCancelled else { return }
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
413 |
414 | // Remember all the regions, if it currently too far away
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:412:17: error: 'isCancelled' is only available in macOS 10.15 or newer
397 |
398 | @available(iOS 14.0, *)
399 | extension GeoMonitor {
| `- note: add @available attribute to enclosing extension
400 |
401 | private func monitorDebounced(_ regions: [CLCircularRegion], location: CLLocation?, delay: TimeInterval? = nil) {
:
409 | }
410 |
411 | private func monitorNow(_ regions: [CLCircularRegion], location: CLLocation?) {
| `- note: add @available attribute to enclosing instance method
412 | guard !Task.isCancelled else { return }
| |- error: 'isCancelled' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
413 |
414 | // Remember all the regions, if it currently too far away
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: error: 'Task' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| `- note: add @available attribute to enclosing instance method
486 | guard isMonitoring else {
487 | eventHandler(.status("GeoMonitor exited region, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
493 | }
494 |
495 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
496 | // Make sure this is still a *current* region => update data
497 | await runUpdateCycle(trigger: .regionMonitoring)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:495:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
| `- note: add @available attribute to enclosing instance method
486 | guard isMonitoring else {
487 | eventHandler(.status("GeoMonitor exited region, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
493 | }
494 |
495 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
496 | // Make sure this is still a *current* region => update data
497 | await runUpdateCycle(trigger: .regionMonitoring)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: error: 'Task' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
524 | }
525 |
526 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| `- note: add @available attribute to enclosing instance method
527 | guard isMonitoring else {
528 | eventHandler(.status("GeoMonitor entered region, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
534 | }
535 |
536 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
537 | // 3. When leaving the current location, fetch...
538 | await runUpdateCycle(trigger: .departedCurrentArea)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:536:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
524 | }
525 |
526 | public func locationManager(_ manager: CLLocationManager, didExitRegion region: CLRegion) {
| `- note: add @available attribute to enclosing instance method
527 | guard isMonitoring else {
528 | eventHandler(.status("GeoMonitor entered region, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
534 | }
535 |
536 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
537 | // 3. When leaving the current location, fetch...
538 | await runUpdateCycle(trigger: .departedCurrentArea)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: error: 'Task' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
540 | }
541 |
542 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| `- note: add @available attribute to enclosing instance method
543 | guard isMonitoring else {
544 | eventHandler(.status("GeoMonitor detected visit change, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
553 | }
554 |
555 | Task {
| |- error: 'Task' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
556 | // TODO: We could detect if it's an arrival at a new location, by checking `visit.departureTime == .distanceFuture`
557 | await runUpdateCycle(trigger: .visitMonitoring)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:555:5: error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
540 | }
541 |
542 | public func locationManager(_ manager: CLLocationManager, didVisit visit: CLVisit) {
| `- note: add @available attribute to enclosing instance method
543 | guard isMonitoring else {
544 | eventHandler(.status("GeoMonitor detected visit change, even though we've since stopped monitoring. Ignoring...", .enteredRegion))
:
553 | }
554 |
555 | Task {
| |- error: 'init(priority:operation:)' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
556 | // TODO: We could detect if it's an arrival at a new location, by checking `visit.departureTime == .distanceFuture`
557 | await runUpdateCycle(trigger: .visitMonitoring)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:576:5: error: setter for 'currentLocation' is only available in macOS 10.15 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
559 | }
560 |
561 | public func locationManager(_ manager: CLLocationManager, didUpdateLocations locations: [CLLocation]) {
| `- note: add @available attribute to enclosing instance method
562 | #if DEBUG
563 | print("GeoMonitor updated locations -> \(locations)")
:
574 | }
575 |
576 | self.currentLocation = latestAccurate
| |- error: setter for 'currentLocation' is only available in macOS 10.15 or newer
| `- note: add 'if #available' version check
577 |
578 | notify(.success(latestAccurate))
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:599:20: error: 'authorizationStatus' is only available in macOS 11.0 or newer
481 |
482 | @available(iOS 14.0, *)
483 | extension GeoMonitor: CLLocationManagerDelegate {
| `- note: add @available attribute to enclosing extension
484 |
485 | public func locationManager(_ manager: CLLocationManager, didEnterRegion region: CLRegion) {
:
592 | }
593 |
594 | public func locationManagerDidChangeAuthorization(_ manager: CLLocationManager) {
| `- note: add @available attribute to enclosing instance method
595 | updateAccess()
596 | askHandler(hasAccess)
597 | askHandler = { _ in }
598 |
599 | switch manager.authorizationStatus {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
600 | case .authorizedAlways, .authorizedWhenInUse:
601 | if isMonitoring {
/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 {
/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 {
[262/552] Compiling TripKit TKRealTimeFetcher.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 {
[263/552] Compiling TripKit TKRegion.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 {
/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 {
[268/552] Compiling TripKit TKQuickBookingHelper+Fake.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 {
[269/552] Compiling TripKit TKQuickBookingHelper.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 {
[270/552] Compiling TripKit TKRealTime.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/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/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: annotate 'iso8601formatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public enum DateConversionError: Error {
Foundation.ISO8601DateFormatter:2:12: note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.12, *)
2 | open class ISO8601DateFormatter : Formatter, NSSecureCoding {
| `- note: class 'ISO8601DateFormatter' does not conform to the 'Sendable' protocol
3 | open var timeZone: TimeZone! { get set }
4 | open var formatOptions: ISO8601DateFormatter.Options { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/categories/NSUserDefaults+SharedDefaults.swift:13: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
11 | extension UserDefaults {
12 |
13 | public static let shared = UserDefaults.__shared()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
Foundation.UserDefaults:1:12: note: class 'UserDefaults' does not conform to the 'Sendable' protocol
1 | open class UserDefaults : NSObject {
| `- note: class 'UserDefaults' does not conform to the 'Sendable' protocol
2 | open class var standard: UserDefaults { get }
3 | @available(swift, obsoleted: 3, renamed: "standard")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKConfig.swift:13: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
11 | extension TKConfig {
12 |
13 | public static let shared = TKConfig.__sharedInstance()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | }
TripKitObjc.TKConfig:1:12: note: class 'TKConfig' does not conform to the 'Sendable' protocol
1 | open class TKConfig : NSObject {
| `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
2 | open class func __sharedInstance() -> TKConfig
3 | open func globalTintColor() -> [AnyHashable : Any]?
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:13:27: warning: static property 'iconSearchTimetable' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension TKImage {
12 |
13 | @objc public static let iconSearchTimetable = named("icon-search-timetable")
| |- warning: static property 'iconSearchTimetable' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconSearchTimetable' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 | @objc public static let backgroundNavSecondary = named("bg-nav-secondary")
15 |
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:14:27: warning: static property 'backgroundNavSecondary' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
12 |
13 | @objc public static let iconSearchTimetable = named("icon-search-timetable")
14 | @objc public static let backgroundNavSecondary = named("bg-nav-secondary")
| |- warning: static property 'backgroundNavSecondary' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'backgroundNavSecondary' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | @objc public static let iconPin = named("icon-pin")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:16:27: warning: static property 'iconPin' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
14 | @objc public static let backgroundNavSecondary = named("bg-nav-secondary")
15 |
16 | @objc public static let iconPin = named("icon-pin")
| |- warning: static property 'iconPin' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconPin' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
17 |
18 | // MARK: Modes
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:20:21: warning: static property 'iconModeAeroplane' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
18 | // MARK: Modes
19 |
20 | public static let iconModeAeroplane = named("icon-mode-aeroplane")
| |- warning: static property 'iconModeAeroplane' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeAeroplane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | public static let iconModeAutoRickshaw = named("icon-mode-auto-rickshaw")
22 | public static let iconModeBicycle = named("icon-mode-bicycle")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:21:21: warning: static property 'iconModeAutoRickshaw' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public static let iconModeAeroplane = named("icon-mode-aeroplane")
21 | public static let iconModeAutoRickshaw = named("icon-mode-auto-rickshaw")
| |- warning: static property 'iconModeAutoRickshaw' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeAutoRickshaw' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | public static let iconModeBicycle = named("icon-mode-bicycle")
23 | public static let iconModeBicycleElectric = named("icon-mode-bicycle-electric")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:22:21: warning: static property 'iconModeBicycle' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
20 | public static let iconModeAeroplane = named("icon-mode-aeroplane")
21 | public static let iconModeAutoRickshaw = named("icon-mode-auto-rickshaw")
22 | public static let iconModeBicycle = named("icon-mode-bicycle")
| |- warning: static property 'iconModeBicycle' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeBicycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
23 | public static let iconModeBicycleElectric = named("icon-mode-bicycle-electric")
24 | public static let iconModeBicycleFolding = named("icon-mode-folding-bike")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:23:21: warning: static property 'iconModeBicycleElectric' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
21 | public static let iconModeAutoRickshaw = named("icon-mode-auto-rickshaw")
22 | public static let iconModeBicycle = named("icon-mode-bicycle")
23 | public static let iconModeBicycleElectric = named("icon-mode-bicycle-electric")
| |- warning: static property 'iconModeBicycleElectric' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeBicycleElectric' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | public static let iconModeBicycleFolding = named("icon-mode-folding-bike")
25 | public static let iconModeBus = named("icon-mode-bus")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:24:21: warning: static property 'iconModeBicycleFolding' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
22 | public static let iconModeBicycle = named("icon-mode-bicycle")
23 | public static let iconModeBicycleElectric = named("icon-mode-bicycle-electric")
24 | public static let iconModeBicycleFolding = named("icon-mode-folding-bike")
| |- warning: static property 'iconModeBicycleFolding' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeBicycleFolding' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
25 | public static let iconModeBus = named("icon-mode-bus")
26 | public static let iconModeCablecar = named("icon-mode-cablecar")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:25:21: warning: static property 'iconModeBus' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
23 | public static let iconModeBicycleElectric = named("icon-mode-bicycle-electric")
24 | public static let iconModeBicycleFolding = named("icon-mode-folding-bike")
25 | public static let iconModeBus = named("icon-mode-bus")
| |- warning: static property 'iconModeBus' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeBus' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | public static let iconModeCablecar = named("icon-mode-cablecar")
27 | public static let iconModeCar = named("icon-mode-car")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:26:21: warning: static property 'iconModeCablecar' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
24 | public static let iconModeBicycleFolding = named("icon-mode-folding-bike")
25 | public static let iconModeBus = named("icon-mode-bus")
26 | public static let iconModeCablecar = named("icon-mode-cablecar")
| |- warning: static property 'iconModeCablecar' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCablecar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 | public static let iconModeCar = named("icon-mode-car")
28 | public static let iconModeCarPool = named("icon-mode-car-pool")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:27:21: warning: static property 'iconModeCar' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
25 | public static let iconModeBus = named("icon-mode-bus")
26 | public static let iconModeCablecar = named("icon-mode-cablecar")
27 | public static let iconModeCar = named("icon-mode-car")
| |- warning: static property 'iconModeCar' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCar' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | public static let iconModeCarPool = named("icon-mode-car-pool")
29 | public static let iconModeCarRideShare = named("icon-mode-car-ride-share")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:28:21: warning: static property 'iconModeCarPool' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
26 | public static let iconModeCablecar = named("icon-mode-cablecar")
27 | public static let iconModeCar = named("icon-mode-car")
28 | public static let iconModeCarPool = named("icon-mode-car-pool")
| |- warning: static property 'iconModeCarPool' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCarPool' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | public static let iconModeCarRideShare = named("icon-mode-car-ride-share")
30 | public static let iconModeCarShare = named("icon-mode-car-share")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:29:21: warning: static property 'iconModeCarRideShare' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
27 | public static let iconModeCar = named("icon-mode-car")
28 | public static let iconModeCarPool = named("icon-mode-car-pool")
29 | public static let iconModeCarRideShare = named("icon-mode-car-ride-share")
| |- warning: static property 'iconModeCarRideShare' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCarRideShare' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public static let iconModeCarShare = named("icon-mode-car-share")
31 | public static let iconModeCoach = named("icon-mode-coach")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:30:21: warning: static property 'iconModeCarShare' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
28 | public static let iconModeCarPool = named("icon-mode-car-pool")
29 | public static let iconModeCarRideShare = named("icon-mode-car-ride-share")
30 | public static let iconModeCarShare = named("icon-mode-car-share")
| |- warning: static property 'iconModeCarShare' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCarShare' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 | public static let iconModeCoach = named("icon-mode-coach")
32 | public static let iconModeFerry = named("icon-mode-ferry")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:31:21: warning: static property 'iconModeCoach' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
29 | public static let iconModeCarRideShare = named("icon-mode-car-ride-share")
30 | public static let iconModeCarShare = named("icon-mode-car-share")
31 | public static let iconModeCoach = named("icon-mode-coach")
| |- warning: static property 'iconModeCoach' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeCoach' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | public static let iconModeFerry = named("icon-mode-ferry")
33 | public static let iconModeFunicular = named("icon-mode-funicular")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:32:21: warning: static property 'iconModeFerry' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
30 | public static let iconModeCarShare = named("icon-mode-car-share")
31 | public static let iconModeCoach = named("icon-mode-coach")
32 | public static let iconModeFerry = named("icon-mode-ferry")
| |- warning: static property 'iconModeFerry' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeFerry' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 | public static let iconModeFunicular = named("icon-mode-funicular")
34 | public static let iconModeGondola = named("icon-mode-gondola")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:33:21: warning: static property 'iconModeFunicular' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
31 | public static let iconModeCoach = named("icon-mode-coach")
32 | public static let iconModeFerry = named("icon-mode-ferry")
33 | public static let iconModeFunicular = named("icon-mode-funicular")
| |- warning: static property 'iconModeFunicular' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeFunicular' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | public static let iconModeGondola = named("icon-mode-gondola")
35 | public static let iconModeHoverboard = named("icon-mode-hoverboard")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:34:21: warning: static property 'iconModeGondola' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
32 | public static let iconModeFerry = named("icon-mode-ferry")
33 | public static let iconModeFunicular = named("icon-mode-funicular")
34 | public static let iconModeGondola = named("icon-mode-gondola")
| |- warning: static property 'iconModeGondola' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeGondola' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
35 | public static let iconModeHoverboard = named("icon-mode-hoverboard")
36 | public static let iconModeKickscooter = named("icon-mode-kickscooter")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:35:21: warning: static property 'iconModeHoverboard' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
33 | public static let iconModeFunicular = named("icon-mode-funicular")
34 | public static let iconModeGondola = named("icon-mode-gondola")
35 | public static let iconModeHoverboard = named("icon-mode-hoverboard")
| |- warning: static property 'iconModeHoverboard' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeHoverboard' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | public static let iconModeKickscooter = named("icon-mode-kickscooter")
37 | public static let iconModeMonorail = named("icon-mode-monorail")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:36:21: warning: static property 'iconModeKickscooter' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
34 | public static let iconModeGondola = named("icon-mode-gondola")
35 | public static let iconModeHoverboard = named("icon-mode-hoverboard")
36 | public static let iconModeKickscooter = named("icon-mode-kickscooter")
| |- warning: static property 'iconModeKickscooter' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeKickscooter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 | public static let iconModeMonorail = named("icon-mode-monorail")
38 | public static let iconModeMotorbike = named("icon-mode-motorbike")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:37:21: warning: static property 'iconModeMonorail' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
35 | public static let iconModeHoverboard = named("icon-mode-hoverboard")
36 | public static let iconModeKickscooter = named("icon-mode-kickscooter")
37 | public static let iconModeMonorail = named("icon-mode-monorail")
| |- warning: static property 'iconModeMonorail' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeMonorail' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | public static let iconModeMotorbike = named("icon-mode-motorbike")
39 | public static let iconModeMotoscooter = named("icon-mode-motoscooter")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:38:21: warning: static property 'iconModeMotorbike' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
36 | public static let iconModeKickscooter = named("icon-mode-kickscooter")
37 | public static let iconModeMonorail = named("icon-mode-monorail")
38 | public static let iconModeMotorbike = named("icon-mode-motorbike")
| |- warning: static property 'iconModeMotorbike' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeMotorbike' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 | public static let iconModeMotoscooter = named("icon-mode-motoscooter")
40 | public static let iconModeParking = named("icon-mode-parking")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:39:21: warning: static property 'iconModeMotoscooter' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
37 | public static let iconModeMonorail = named("icon-mode-monorail")
38 | public static let iconModeMotorbike = named("icon-mode-motorbike")
39 | public static let iconModeMotoscooter = named("icon-mode-motoscooter")
| |- warning: static property 'iconModeMotoscooter' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeMotoscooter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | public static let iconModeParking = named("icon-mode-parking")
41 | public static let iconModePublicTransport = named("icon-mode-public-transport")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:40:21: warning: static property 'iconModeParking' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
38 | public static let iconModeMotorbike = named("icon-mode-motorbike")
39 | public static let iconModeMotoscooter = named("icon-mode-motoscooter")
40 | public static let iconModeParking = named("icon-mode-parking")
| |- warning: static property 'iconModeParking' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeParking' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
41 | public static let iconModePublicTransport = named("icon-mode-public-transport")
42 | public static let iconModeSegway = named("icon-mode-segway")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:41:21: warning: static property 'iconModePublicTransport' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
39 | public static let iconModeMotoscooter = named("icon-mode-motoscooter")
40 | public static let iconModeParking = named("icon-mode-parking")
41 | public static let iconModePublicTransport = named("icon-mode-public-transport")
| |- warning: static property 'iconModePublicTransport' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModePublicTransport' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | public static let iconModeSegway = named("icon-mode-segway")
43 | public static let iconModeTaxi = named("icon-mode-taxi")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:42:21: warning: static property 'iconModeSegway' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
40 | public static let iconModeParking = named("icon-mode-parking")
41 | public static let iconModePublicTransport = named("icon-mode-public-transport")
42 | public static let iconModeSegway = named("icon-mode-segway")
| |- warning: static property 'iconModeSegway' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeSegway' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
43 | public static let iconModeTaxi = named("icon-mode-taxi")
44 | public static let iconModeTrain = named("icon-mode-train")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:43:21: warning: static property 'iconModeTaxi' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
41 | public static let iconModePublicTransport = named("icon-mode-public-transport")
42 | public static let iconModeSegway = named("icon-mode-segway")
43 | public static let iconModeTaxi = named("icon-mode-taxi")
| |- warning: static property 'iconModeTaxi' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeTaxi' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | public static let iconModeTrain = named("icon-mode-train")
45 | public static let iconModeTrainIntercity = named("icon-mode-train-intercity")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:44:21: warning: static property 'iconModeTrain' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
42 | public static let iconModeSegway = named("icon-mode-segway")
43 | public static let iconModeTaxi = named("icon-mode-taxi")
44 | public static let iconModeTrain = named("icon-mode-train")
| |- warning: static property 'iconModeTrain' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeTrain' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 | public static let iconModeTrainIntercity = named("icon-mode-train-intercity")
46 | public static let iconModeTram = named("icon-mode-tram")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:45:21: warning: static property 'iconModeTrainIntercity' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
43 | public static let iconModeTaxi = named("icon-mode-taxi")
44 | public static let iconModeTrain = named("icon-mode-train")
45 | public static let iconModeTrainIntercity = named("icon-mode-train-intercity")
| |- warning: static property 'iconModeTrainIntercity' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeTrainIntercity' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let iconModeTram = named("icon-mode-tram")
47 | public static let iconModeUnicycle = named("icon-mode-unicycle")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:46:21: warning: static property 'iconModeTram' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
44 | public static let iconModeTrain = named("icon-mode-train")
45 | public static let iconModeTrainIntercity = named("icon-mode-train-intercity")
46 | public static let iconModeTram = named("icon-mode-tram")
| |- warning: static property 'iconModeTram' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeTram' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 | public static let iconModeUnicycle = named("icon-mode-unicycle")
48 | public static let iconModeWalk = named("icon-mode-walk")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:47:21: warning: static property 'iconModeUnicycle' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
45 | public static let iconModeTrainIntercity = named("icon-mode-train-intercity")
46 | public static let iconModeTram = named("icon-mode-tram")
47 | public static let iconModeUnicycle = named("icon-mode-unicycle")
| |- warning: static property 'iconModeUnicycle' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeUnicycle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | public static let iconModeWalk = named("icon-mode-walk")
49 | public static let iconModeWheelchair = named("icon-mode-wheelchair")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:48:21: warning: static property 'iconModeWalk' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
46 | public static let iconModeTram = named("icon-mode-tram")
47 | public static let iconModeUnicycle = named("icon-mode-unicycle")
48 | public static let iconModeWalk = named("icon-mode-walk")
| |- warning: static property 'iconModeWalk' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeWalk' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let iconModeWheelchair = named("icon-mode-wheelchair")
50 |
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:49:21: warning: static property 'iconModeWheelchair' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
47 | public static let iconModeUnicycle = named("icon-mode-unicycle")
48 | public static let iconModeWalk = named("icon-mode-walk")
49 | public static let iconModeWheelchair = named("icon-mode-wheelchair")
| |- warning: static property 'iconModeWheelchair' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconModeWheelchair' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | // Battery
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:53:21: warning: static property 'iconBattery0' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
51 | // Battery
52 |
53 | public static let iconBattery0 = named("icon-battery-0")
| |- warning: static property 'iconBattery0' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery0' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | public static let iconBattery25 = named("icon-battery-25")
55 | public static let iconBattery50 = named("icon-battery-50")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:54:21: warning: static property 'iconBattery25' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
52 |
53 | public static let iconBattery0 = named("icon-battery-0")
54 | public static let iconBattery25 = named("icon-battery-25")
| |- warning: static property 'iconBattery25' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery25' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
55 | public static let iconBattery50 = named("icon-battery-50")
56 | public static let iconBattery75 = named("icon-battery-75")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:55:21: warning: static property 'iconBattery50' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
53 | public static let iconBattery0 = named("icon-battery-0")
54 | public static let iconBattery25 = named("icon-battery-25")
55 | public static let iconBattery50 = named("icon-battery-50")
| |- warning: static property 'iconBattery50' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery50' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | public static let iconBattery75 = named("icon-battery-75")
57 | public static let iconBattery100 = named("icon-battery-100")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:56:21: warning: static property 'iconBattery75' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
54 | public static let iconBattery25 = named("icon-battery-25")
55 | public static let iconBattery50 = named("icon-battery-50")
56 | public static let iconBattery75 = named("icon-battery-75")
| |- warning: static property 'iconBattery75' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery75' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
57 | public static let iconBattery100 = named("icon-battery-100")
58 | public static let iconBattery = named("icon-battery")
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:57:21: warning: static property 'iconBattery100' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
55 | public static let iconBattery50 = named("icon-battery-50")
56 | public static let iconBattery75 = named("icon-battery-75")
57 | public static let iconBattery100 = named("icon-battery-100")
| |- warning: static property 'iconBattery100' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery100' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | public static let iconBattery = named("icon-battery")
59 | }
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKImage+TripKit.swift:58:21: warning: static property 'iconBattery' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
56 | public static let iconBattery75 = named("icon-battery-75")
57 | public static let iconBattery100 = named("icon-battery-100")
58 | public static let iconBattery = named("icon-battery")
| |- warning: static property 'iconBattery' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'iconBattery' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 | }
60 |
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TKLog.swift:140: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
138 | /// The loggers which do the actual logging work. By default this is empty, unless TripKit is compiled with
139 | /// a `BETA` or `DEBUG` Swift flag, then it's a `TKConsoleLogger` with a log level of "warning".
140 | 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: annotate 'loggers' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
141 | #if BETA || DEBUG
142 | return [TKConsoleLogger(level: .warning)]
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TripKit.swift:18:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKTripKit' may have shared mutable state; this is an error in the Swift 6 language mode
16 | public enum TripKit {
17 |
18 | public static let shared = TKTripKit.__sharedInstance()
| `- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKTripKit' may have shared mutable state; this is an error in the Swift 6 language mode
19 |
20 | public static let bundle: Bundle = {
TripKitObjc.TKTripKit:1:12: note: class 'TKTripKit' does not conform to the 'Sendable' protocol
1 | open class TKTripKit : NSObject {
| `- note: class 'TKTripKit' does not conform to the 'Sendable' protocol
2 | open var persistentStoreCoordinator: NSPersistentStoreCoordinator! { get set }
3 | open var tripKitContext: NSManagedObjectContext! { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TripKit.swift:13:12: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TripKitObjc'
11 |
12 | #if SWIFT_PACKAGE
13 | @_exported import TripKitObjc
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'TripKitObjc'
14 | #endif
15 |
16 | public enum TripKit {
17 |
18 | public static let shared = TKTripKit.__sharedInstance()
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 | public static let bundle: Bundle = {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKCalendarManager.swift:15:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKCalendarManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import EventKit
11 |
12 | public class TKCalendarManager: TKPermissionManager {
| `- note: class 'TKCalendarManager' does not conform to the 'Sendable' protocol
13 |
14 | @objc(sharedInstance)
15 | public static let shared = TKCalendarManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKCalendarManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | @objc
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKContactsManager.swift:48:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKContactsManager' may have shared mutable state; this is an error in the Swift 6 language mode
10 | import Contacts
11 |
12 | public class TKContactsManager: TKPermissionManager {
| `- note: class 'TKContactsManager' does not conform to the 'Sendable' protocol
13 |
14 | public enum AddressKind {
:
46 |
47 | @objc(sharedInstance)
48 | public static let shared = TKContactsManager()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKContactsManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |
50 | let queue: DispatchQueue
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKContactsManager.swift:53:22: warning: static property 'keysToFetch' is not concurrency-safe because non-'Sendable' type '[any CNKeyDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
51 |
52 | private let store: CNContactStore
53 | private static let keysToFetch: [CNKeyDescriptor] = [
| `- warning: static property 'keysToFetch' is not concurrency-safe because non-'Sendable' type '[any CNKeyDescriptor]' may have shared mutable state; this is an error in the Swift 6 language mode
54 | CNContactGivenNameKey as CNKeyDescriptor,
55 | CNContactPostalAddressesKey as CNKeyDescriptor,
Contacts.CNKeyDescriptor:1:17: note: protocol 'CNKeyDescriptor' does not conform to the 'Sendable' protocol
1 | public protocol CNKeyDescriptor : NSCopying, NSSecureCoding, NSObjectProtocol {
| `- note: protocol 'CNKeyDescriptor' does not conform to the 'Sendable' protocol
2 | }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKContactsManager.swift:10:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Contacts'
8 |
9 | import Foundation
10 | import Contacts
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Contacts'
11 |
12 | public class TKContactsManager: TKPermissionManager {
:
51 |
52 | private let store: CNContactStore
53 | private static let keysToFetch: [CNKeyDescriptor] = [
| |- note: annotate 'keysToFetch' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | CNContactGivenNameKey as CNKeyDescriptor,
55 | CNContactPostalAddressesKey as CNKeyDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKLocationManager.swift:21:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKLocationManager' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | static let shared = TKLocationManager.__sharedInstance()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKLocationManager' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | var currentLocation: MKAnnotation {
TripKitObjc.TKLocationManager:1:12: note: class 'TKLocationManager' does not conform to the 'Sendable' protocol
1 | open class TKLocationManager : TKPermissionManager, CLLocationManagerDelegate {
| `- note: class 'TKLocationManager' does not conform to the 'Sendable' protocol
2 | open class func __sharedInstance() -> TKLocationManager
3 | open func annotationIsCurrentLocation(_ currentLocation: any MKAnnotation, orCloseEnough closeEnough: Bool) -> Bool
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKRegionManager.swift:19: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
15 | }
16 |
17 | public class TKRegionManager: NSObject {
| `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
18 | @objc
19 | 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 |
21 | @objc
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:31:22: warning: static property 'dummyImage' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
29 | extension TKStyleManager {
30 |
31 | private static let dummyImage = TKImage()
| |- warning: static property 'dummyImage' is not concurrency-safe because non-'Sendable' type 'TKImage' (aka 'NSImage') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'dummyImage' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
32 | private static let imageCache = NSCache<NSString, TKImage>()
33 |
AppKit.NSImage:1:12: note: class 'NSImage' does not conform to the 'Sendable' protocol
1 | open class NSImage : NSObject {
| `- note: class 'NSImage' does not conform to the 'Sendable' protocol
2 | public /*not inherited*/ init?(named name: NSImage.Name)
3 | @available(*, unavailable, renamed: "init(named:)", message: "Not available in Swift")
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:32:22: warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, TKImage>' (aka 'NSCache<NSString, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
30 |
31 | private static let dummyImage = TKImage()
32 | private static let imageCache = NSCache<NSString, TKImage>()
| |- warning: static property 'imageCache' is not concurrency-safe because non-'Sendable' type 'NSCache<NSString, TKImage>' (aka 'NSCache<NSString, NSImage>') may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'imageCache' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | public static func activityImage(_ partial: String) -> TKImage {
Foundation.NSCache:2:12: note: generic class 'NSCache' does not conform to the 'Sendable' protocol
1 | @available(macOS 10.6, *)
2 | open class NSCache<KeyType, ObjectType> : NSObject where KeyType : AnyObject, ObjectType : AnyObject {
| `- note: generic class 'NSCache' does not conform to the 'Sendable' protocol
3 | open var name: String { get set }
4 | unowned(unsafe) open var delegate: (any NSCacheDelegate)? { get set }
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:100:22: warning: static property 'exerciseFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
98 | extension TKStyleManager {
99 |
100 | private static var exerciseFormatter: EnergyFormatter = {
| |- warning: static property 'exerciseFormatter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'exerciseFormatter' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'exerciseFormatter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
101 | let formatter = EnergyFormatter()
102 | formatter.isForFoodEnergyUse = false // For exercise
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/API/EventAPIModel.swift:14:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKAPI.EventsResponse' may have shared mutable state; this is an error in the Swift 6 language mode
11 | extension TKAPI {
12 |
13 | public struct EventsResponse: Codable, Hashable {
| `- note: consider making struct 'EventsResponse' conform to the 'Sendable' protocol
14 | public static let empty: EventsResponse = EventsResponse(events: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKAPI.EventsResponse' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | public let events: [Event]
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/API/LocationAPIModel.swift:374:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKAPI.LocationsResponse' may have shared mutable state; this is an error in the Swift 6 language mode
371 | }
372 |
373 | public struct LocationsResponse: Codable, Hashable {
| `- note: consider making struct 'LocationsResponse' conform to the 'Sendable' protocol
374 | public static let empty: LocationsResponse = LocationsResponse(groups: [])
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKAPI.LocationsResponse' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'empty' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
375 |
376 | public let groups: [Group]
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/API/OpeningHoursAPIModel.swift:130:27: warning: static property 'weekdays' is not concurrency-safe because non-'Sendable' type '[TKAPI.OpeningHours.Day.DayOfWeek]' may have shared mutable state; this is an error in the Swift 6 language mode
118 |
119 |
120 | public enum DayOfWeek: String, Codable {
| `- note: consider making enum 'DayOfWeek' conform to the 'Sendable' protocol
121 | case monday = "MONDAY"
122 | case tuesday = "TUESDAY"
:
128 | case publicHoliday = "PUBLIC_HOLIDAY"
129 |
130 | public static let weekdays: [DayOfWeek] = [
| |- warning: static property 'weekdays' is not concurrency-safe because non-'Sendable' type '[TKAPI.OpeningHours.Day.DayOfWeek]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'weekdays' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
131 | .monday, .tuesday, .wednesday, .thursday, .friday, .saturday, .sunday
132 | ]
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKModeInfo.swift:70:21: warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'TKModeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
14 | /// Information to identify and display a transport mode. Kind of like the
15 | /// big sibling of a mode identifier string.
16 | public class TKModeInfo: NSObject, Codable, NSSecureCoding {
| `- note: class 'TKModeInfo' does not conform to the 'Sendable' protocol
17 |
18 | /// The mode identifier string. Can be `nil`, e.g., for parking as that can
:
68 | }
69 |
70 | public static let unknown: TKModeInfo = modeInfo(for: ["alt": "unknown"])!
| |- warning: static property 'unknown' is not concurrency-safe because non-'Sendable' type 'TKModeInfo' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'unknown' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
71 |
72 | // MARK: Equatable
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/search/TKGeoJSON+NamedCoordinate.swift:84:22: warning: static property 'mapZenAttribution' is not concurrency-safe because non-'Sendable' type 'TKAPI.DataAttribution' may have shared mutable state; this is an error in the Swift 6 language mode
82 | extension TKPeliasProperties {
83 |
84 | private static let mapZenAttribution = TKAPI.DataAttribution(provider: TKAPI.CompanyInfo(name: "MapZen", website: URL(string: "https://mapzen.com")))
| |- warning: static property 'mapZenAttribution' is not concurrency-safe because non-'Sendable' type 'TKAPI.DataAttribution' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'mapZenAttribution' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
85 |
86 | private var specificSource: TKAPI.DataAttribution? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/API/BaseAPIModels.swift:51:17: note: consider making struct 'DataAttribution' conform to the 'Sendable' protocol
49 | }
50 |
51 | public struct DataAttribution: Codable, Hashable {
| `- note: consider making struct 'DataAttribution' conform to the 'Sendable' protocol
52 | public let provider: CompanyInfo
53 | public let disclaimer: String?
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/search/TKGeocoderHelper.swift:35:21: warning: static property 'preferredGeocoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
33 | public class TKGeocoderHelper: NSObject {
34 |
35 | public static var preferredGeocoder: TKGeocoding = {
| |- warning: static property 'preferredGeocoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'preferredGeocoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'preferredGeocoder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | return TKAppleGeocoder()
37 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/search/TKModeImageBuilder.swift:15:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKModeImageFactory' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | @objc
12 | public class TKModeImageFactory: NSObject {
| `- note: class 'TKModeImageFactory' does not conform to the 'Sendable' protocol
13 |
14 | @objc(sharedInstance)
15 | public static let shared = TKModeImageFactory()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKModeImageFactory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
16 |
17 | private let cache = NSCache<NSString, TKImage>()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKError.swift:23:7: warning: class 'TKUserError' must restate inherited '@unchecked Sendable' conformance
21 | }
22 |
23 | class TKUserError: TKError {
| `- warning: class 'TKUserError' must restate inherited '@unchecked Sendable' conformance
24 | override var isUserError: Bool {
25 | return true
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKError.swift:29:7: warning: class 'TKServerError' must restate inherited '@unchecked Sendable' conformance
27 | }
28 |
29 | class TKServerError: TKError {
| `- warning: class 'TKServerError' must restate inherited '@unchecked Sendable' conformance
30 | }
31 |
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKError.swift:32:14: warning: class 'TKError' must restate inherited '@unchecked Sendable' conformance
30 | }
31 |
32 | public class TKError: NSError {
| `- warning: class 'TKError' must restate inherited '@unchecked Sendable' conformance
33 | @objc public var title: String?
34 | public var details: TKAPI.ServerError?
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKRegion.swift:21:27: warning: static property 'international' is not concurrency-safe because non-'Sendable' type 'TKInternationalRegion' may have shared mutable state; this is an error in the Swift 6 language mode
19 | public class TKRegion : NSObject, Codable {
20 |
21 | @objc public static let international = TKInternationalRegion()
| |- warning: static property 'international' is not concurrency-safe because non-'Sendable' type 'TKInternationalRegion' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'international' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | @objc(TKRegionCity)
:
203 |
204 |
205 | public class TKInternationalRegion : TKRegion {
| `- note: class 'TKInternationalRegion' does not conform to the 'Sendable' protocol
206 |
207 | fileprivate init() {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/server/TKServer.swift:13: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
11 | extension TKServer {
12 |
13 | public static let shared = TKServer.__sharedInstance()
| |- 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: annotate 'shared' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
14 |
15 | public static func imageURL(iconFileNamePart: String?, iconType: TKStyleModeIconType? = nil) -> URL? {
TripKitObjc.TKServer:1:12: note: class 'TKServer' does not conform to the 'Sendable' protocol
1 | open class TKServer : NSObject {
| `- note: class 'TKServer' does not conform to the 'Sendable' protocol
2 | open class func __sharedInstance() -> TKServer
3 | open func getRequestWithSkedGoHTTPHeaders(for URL: URL, paras: [AnyHashable : Any]?) -> URLRequest
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/Users/admin/builder/spi-builder-workspace/Sources/TripKitUI/vendor/RxCombine/LICENSE
BUILD FAILURE 6.0 macosSpm