Build Information
Failed to build TripKit, reference main (e24c63
), with Swift 6.0 for macOS (SPM) on 13 Nov 2024 07:21:06 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
Build Log
========================================
RunAll
========================================
Builder version: 4.57.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skedgo/tripkit-ios.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/skedgo/tripkit-ios
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e24c63c Helper to reset image caches
Cloned https://github.com/skedgo/tripkit-ios.git
Revision (git rev-parse @):
e24c63cba44a08d669db578df757ece3f3b929ae
SUCCESS checkout https://github.com/skedgo/tripkit-ios.git at main
Fetching https://github.com/skedgo/TGCardViewController.git
Fetching https://github.com/skedgo/GeoMonitor.git
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/onevcat/Kingfisher.git
[1/187] Fetching geomonitor
[30/5446] Fetching geomonitor, tgcardviewcontroller
[3081/36468] Fetching geomonitor, tgcardviewcontroller, kingfisher
[3445/88843] Fetching geomonitor, tgcardviewcontroller, kingfisher, rxswift
Fetched https://github.com/skedgo/GeoMonitor.git from cache (4.82s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (4.82s)
Fetched https://github.com/onevcat/Kingfisher.git from cache (4.82s)
Fetched https://github.com/skedgo/TGCardViewController.git from cache (4.82s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.2.10 (0.65s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.61s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.8.1 (0.64s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.6.0 (0.74s)
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.1.3
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.6.0
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.2.10
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.8.1
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "tripkit-ios",
"name": "TripKit",
"url": "https://github.com/skedgo/tripkit-ios.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/tripkit-ios",
"dependencies": [
{
"identity": "rxswift",
"name": "RxSwift",
"url": "https://github.com/ReactiveX/RxSwift.git",
"version": "6.8.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RxSwift",
"dependencies": [
]
},
{
"identity": "kingfisher",
"name": "Kingfisher",
"url": "https://github.com/onevcat/Kingfisher.git",
"version": "7.12.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Kingfisher",
"dependencies": [
]
},
{
"identity": "geomonitor",
"name": "GeoMonitor",
"url": "https://github.com/skedgo/GeoMonitor.git",
"version": "0.1.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/GeoMonitor",
"dependencies": [
]
},
{
"identity": "tgcardviewcontroller",
"name": "TGCardViewController",
"url": "https://github.com/skedgo/TGCardViewController.git",
"version": "2.3.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/TGCardViewController",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/skedgo/tripkit-ios.git
[1/106919] Fetching tripkit-ios
Fetched https://github.com/skedgo/tripkit-ios.git from cache (46.03s)
Fetching https://github.com/skedgo/TGCardViewController.git from cache
Fetching https://github.com/skedgo/GeoMonitor.git from cache
Fetching https://github.com/ReactiveX/RxSwift.git from cache
Fetching https://github.com/onevcat/Kingfisher.git from cache
Fetched https://github.com/onevcat/Kingfisher.git from cache (0.71s)
Fetched https://github.com/ReactiveX/RxSwift.git from cache (0.71s)
Fetched https://github.com/skedgo/TGCardViewController.git from cache (0.71s)
Fetched https://github.com/skedgo/GeoMonitor.git from cache (0.71s)
Computing version for https://github.com/skedgo/GeoMonitor.git
Computed https://github.com/skedgo/GeoMonitor.git at 0.1.3 (0.02s)
Computing version for https://github.com/skedgo/TGCardViewController.git
Computed https://github.com/skedgo/TGCardViewController.git at 2.3.3 (0.53s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 6.8.0 (0.45s)
Computing version for https://github.com/onevcat/Kingfisher.git
Computed https://github.com/onevcat/Kingfisher.git at 7.12.0 (0.44s)
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.8.0
Creating working copy for https://github.com/skedgo/tripkit-ios.git
Working copy of https://github.com/skedgo/tripkit-ios.git resolved at main (e24c63c)
Creating working copy for https://github.com/skedgo/GeoMonitor.git
Working copy of https://github.com/skedgo/GeoMonitor.git resolved at 0.1.3
Creating working copy for https://github.com/skedgo/TGCardViewController.git
Working copy of https://github.com/skedgo/TGCardViewController.git resolved at 2.3.3
Creating working copy for https://github.com/onevcat/Kingfisher.git
Working copy of https://github.com/onevcat/Kingfisher.git resolved at 7.12.0
warning: '.resolve-product-dependencies': dependency 'tripkit-ios' is not used by any target
Found 4 product dependencies
- RxSwift
- Kingfisher
- GeoMonitor
- TGCardViewController
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/skedgo/tripkit-ios.git
Running build ...
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
Building for debugging...
[0/99] Write sources
[4/99] Copying Shared.strings
[4/99] Copying TKUITripModeByModeHeader.xib
[4/99] Copying TKUIServiceTitleView.xib
[4/99] Copying TKUIServiceHeaderMiniView.xib
[4/99] Copying TKUIServiceVisitCell.xib
[4/99] Copying TripKit.strings
[4/99] Copying TKUITripCell.xib
[4/99] Copying TKUITripBoyView.xib
[12/99] Copying TKUISegmentStationaryCell.xib
[12/99] Copying TKUIServiceNumberCell.xib
[12/99] Copying TKUITimetableAccessoryView.xib
[15/99] Copying TKUIServiceHeaderView.xib
[16/99] Copying TKUISegmentMovingCell.xib
[17/99] Copying TKUISegmentStationaryDoubleCell.xib
[17/99] Copying TKUISegmentInstructionsView.xib
[17/99] Copying TKUITripTitleView.xib
[17/99] Copying TKUISegmentImpossibleCell.xib
[17/99] Copying TKUISegmentDirectionCell.xib
[17/99] Copying TKUISegmentTitleView.xib
[17/99] Copying TKUISectionedAlertViewController.xib
[17/99] Copying TKUIRoutingSupportView.xib
[17/99] Copying TKUISegmentAlertCell.xib
[17/99] Copying TKUIResultsTitleView.xib
[17/99] Copying TKUISectionedAlertTableHeader.xib
[17/99] Copying TKUIRoutingQueryInputTitleView.xib
[17/99] Copying TKUIResultsAccessoryView.xib
[17/99] Copying TKUIProgressCell.xib
[17/99] Copying TKUIEmptyAlertView.xib
[17/99] Copying TKUIModePickerCell.xib
[17/99] Copying TKUINearbyCell.xib
[17/99] Copying TKUILoadingAlertView.xib
[17/99] Copying TKUIHomeCustomizerCell.xib
[17/99] Copying TKUIGroupedAlertCell.xib
[17/99] Copying TKUIDepartureCell.xib
[17/99] Copying TKUINotificationView.xib
[17/99] Copying TKUIPathFriendlinessView.xib
[17/99] Copying Info.plist
[17/99] Copying Shared.strings
[17/99] Copying TKUIAttributionTableViewController.xib
[17/99] Copying TripKit.strings
[17/99] Copying TKUIAlertCell.xib
[17/99] Copying TKUIAttributionCell.xib
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Info.plist
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying Shared.strings
[17/99] Copying TripKit.strings
[17/99] Copying TGPageHeaderView.xib
[17/99] Copying Localizable.strings
[17/99] Copying TGPlainCardView.xib
[17/99] Copying TGPageCardView.xib
[17/99] Copying Info.plist
[17/99] Write sources
[17/99] Copying TGCardDefaultTitleView.xib
[17/99] Copying TGScrollCardView.xib
[17/99] Copying TGCardViewController.xib
[91/99] Copying TripKitModel.xcdatamodeld
[92/99] Copying TripKitUI.xcassets
[93/99] Copying TripKit.xcassets
[94/99] Write swift-version--7754E27361AE5C74.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[96/518] Emitting module TGCardViewController
/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 {
[97/520] Emitting module RxSwift
[98/536] Compiling TripKit Array+Duplicates.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 {
[99/536] Compiling TripKit Codable+Helpers.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 {
[100/536] Compiling TripKit Date+Helpers.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 {
[101/536] Compiling TripKit TKModeInfo.swift
[102/536] Compiling TripKit TKNamedCoordinate.swift
[103/536] Compiling TripKit TKPathFriendliness.swift
[104/536] Compiling TripKit TKRoutePolyline.swift
[105/536] Compiling TripKit TKSecureTransformers.swift
[106/536] Compiling TripKit TKSegment+Alerts.swift
[107/536] Compiling TripKit TKSegment+Images.swift
[108/536] Compiling TripKit TKSegment+StationaryType.swift
[109/536] Compiling TripKit TKSegment+TKTripSegment.swift
[110/536] Compiling TripKit TKSegment+Ticket.swift
[111/536] Compiling TripKit TKSegment.swift
[112/536] Compiling TripKit TKSortableAnnotation.swift
[113/536] Compiling TripKit TKStore.swift
[114/536] Compiling TripKit TKTimeType.swift
[115/536] Compiling TripKit TKTimetable.swift
[116/536] Compiling TripKit TKTransportMode.swift
[117/536] Compiling TripKit TKTripAndSegments.swift
[118/536] Compiling TripKit TKTripPattern.swift
[119/536] Compiling TripKit TKTurnByTurnMode.swift
[120/536] Compiling TripKit TKVehicular.swift
[121/536] Compiling TripKit TKWheelchairAccessibility.swift
[122/536] Compiling TripKit TKAggregateGeocoder.swift
[123/536] Compiling TripKit TKAnnotationClusterer.swift
[124/536] Compiling TripKit TKAppleGeocoder.swift
[125/536] Compiling TripKit TKAutocompletionResult+Icon.swift
[126/536] Compiling TripKit TKAutocompletionResult+Score.swift
[127/536] Compiling TripKit TKAutocompletionResult.swift
[128/536] Compiling TripKit TKGeoJSON+NamedCoordinate.swift
[129/536] Compiling TripKit TKGeoJSON.swift
[130/536] Compiling TripKit TKGeocoderHelper.swift
[131/536] Compiling TripKit TKGeocoding.swift
[132/536] Compiling TripKit TKGeocodingResultScorer.swift
[133/536] Compiling GeoMonitor PrioritizedRegion.swift
[134/536] Compiling TripKit VehicleAPIModel.swift
[135/536] Compiling TripKit Alert+CoreDataClass.swift
[136/536] Compiling TripKit Alert+CoreDataProperties.swift
[137/536] Compiling TripKit DLSEntry+CoreDataClass.swift
[138/536] Compiling TripKit DLSEntry+CoreDataProperties.swift
[139/536] Compiling TripKit SegmentReference+CoreDataClass.swift
[140/536] Compiling TripKit SegmentReference+CoreDataProperties.swift
[141/536] Compiling TripKit SegmentReference+Data.swift
[142/536] Compiling TripKit SegmentReference+Flags.swift
[143/536] Compiling TripKit SegmentTemplate+CoreDataClass.swift
[144/536] Compiling TripKit SegmentTemplate+CoreDataProperties.swift
[145/536] Compiling TripKit SegmentTemplate+Data.swift
[146/536] Compiling TripKit SegmentTemplate+Flags.swift
[147/536] Compiling TripKit Service+CoreDataClass.swift
[148/536] Compiling TripKit Service+CoreDataProperties.swift
[149/536] Compiling TripKit Service+Visits.swift
[150/536] Compiling TripKit TKImageBuilder.swift
[151/536] Compiling TripKit TKJSONCache.swift
[152/536] Compiling TripKit TKJSONSanitizer.swift
[153/536] Compiling TripKit TKModeHelper.swift
[154/536] Compiling TripKit TKParserHelper.swift
[155/536] Compiling TripKit TKRegion+RoutingMode.swift
[156/536] Compiling TripKit TKMetricClassifier.swift
[157/536] Compiling TripKit TKTripClassifier.swift
[158/536] Compiling TripKit TripRequest+Classify.swift
[159/536] Compiling TripKit TKCalendarManager+Autocompleting.swift
[160/536] Compiling TripKit TKCalendarManager.swift
[161/536] Compiling TripKit TKContactsManager+TKAutocompleting.swift
[162/536] Compiling TripKit TKContactsManager.swift
[163/536] Compiling TripKit ShareCarAPIModel.swift
[164/536] Compiling TripKit StopAPIModel.swift
[165/536] Compiling TripKit UserAPIModel.swift
[166/536] Compiling TripKit Shape+CoreDataClass.swift
[167/536] Compiling TripKit Shape+CoreDataProperties.swift
[168/536] Compiling TripKit Shape+Data.swift
[169/536] Compiling TripKit StopLocation+CoreDataClass.swift
[170/536] Compiling TripKit StopLocation+CoreDataProperties.swift
[171/536] Compiling TripKit StopLocation.swift
[172/536] Compiling TripKit StopVisits+CoreDataClass.swift
[173/536] Compiling TripKit StopVisits+CoreDataProperties.swift
[174/536] Compiling TripKit Trip+CoreDataClass.swift
[175/536] Compiling TripKit Trip+CoreDataProperties.swift
[176/536] Compiling TripKit Trip+Data.swift
[177/536] Compiling TripKit Trip+Flags.swift
[178/536] Compiling TripKit TripGroup+CoreDataClass.swift
[179/536] Compiling TripKit TripGroup+CoreDataProperties.swift
[180/536] Compiling TripKit TripRequest+CoreDataClass.swift
[181/536] Compiling TripKit TripRequest+CoreDataProperties.swift
[182/536] Compiling TripKit Vehicle+CoreDataClass.swift
[183/536] Compiling TripKit Vehicle+CoreDataProperties.swift
[184/536] Compiling TripKit TKAddressFormatter.swift
[185/536] Compiling TripKit TKAnnotations.swift
[186/536] Compiling TripKit TKBicycleAccessibility.swift
[187/536] Compiling TripKit TKBookingTypes.swift
[188/536] Compiling TripKit TKColoredRoute.swift
[189/536] Compiling TripKit TKCoordinates.swift
[190/536] Compiling TripKit TKDLSTable.swift
[191/536] Compiling TripKit TKGeocodable.swift
[192/536] Compiling TripKit TKInfoIcon.swift
[193/536] Compiling TripKit TKLocalCost.swift
[194/536] Compiling TripKit TKLocationTypes.swift
[195/536] Compiling TripKit TKMapTiles.swift
[196/536] Compiling TripKit TKMiniInstruction.swift
[197/536] Compiling TripKit TKModeInfo+Image.swift
[198/536] Compiling RxSwift Take.swift
[199/536] Compiling RxSwift TakeLast.swift
[200/536] Compiling RxSwift TakeWithPredicate.swift
[201/536] Compiling RxSwift Throttle.swift
[202/536] Compiling RxSwift Timeout.swift
[203/536] Compiling RxSwift Timer.swift
[204/536] Compiling RxSwift ToArray.swift
[205/536] Compiling RxSwift Using.swift
[206/536] Compiling RxSwift VirtualTimeConverterType.swift
[207/536] Compiling RxSwift VirtualTimeScheduler.swift
[208/536] Compiling RxSwift Window.swift
[209/536] Compiling RxSwift WithLatestFrom.swift
[210/536] Compiling RxSwift WithUnretained.swift
[211/536] Compiling RxSwift Zip+Collection.swift
[212/536] Compiling RxSwift Zip+arity.swift
[213/536] Compiling RxSwift Zip.swift
[214/536] Compiling TripKit NSManagedObjectContext+Async.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 {
[215/536] Compiling TripKit NSManagedObjectContext+Fetch.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 {
[216/536] Compiling TripKit NSNumber+Formatter.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 {
[217/536] Compiling TripKit MKMultiPoint+ClosestPoint.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 {
[218/536] Compiling TripKit MapKit+Extensions.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 {
[219/536] Compiling TripKit NSBundle+ProductName.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 {
[220/536] Compiling TripKit NSDate+Formatting.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 {
[221/536] Compiling TripKit NSError+customError.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 {
[222/536] Compiling TripKit NSManagedObject+Safely.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 {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[223/536] Emitting module GeoMonitor
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:79:28: 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
:
77 | private var recentlyReportedRegionIdentifiers: [(String, Date)] = []
78 |
79 | private var monitorTask: Task<Void, Error>? = nil
| `- error: 'Task' is only available in macOS 10.15 or newer
80 |
81 | public var maxRegionsToMonitor = 20
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:126:4: error: 'Published' 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
:
124 |
125 | /// Whether user has granted any kind of access to the device's location, when-in-use or always
126 | @Published public var hasAccess: Bool
| `- error: 'Published' is only available in macOS 10.15 or newer
127 |
128 | private var askHandler: (Bool) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:186:4: error: 'Published' 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
:
184 | // MARK: - Location tracking
185 |
186 | @Published public var currentLocation: CLLocation?
| `- error: 'Published' is only available in macOS 10.15 or newer
187 |
188 | @Published public var isTracking: Bool = false {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:188:4: error: 'Published' 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
:
186 | @Published public var currentLocation: CLLocation?
187 |
188 | @Published public var isTracking: Bool = false {
| `- error: 'Published' is only available in macOS 10.15 or newer
189 | didSet {
190 | if isTracking {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: 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
:
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
254 | ask(forBackground: true)
255 | } else if enableInBackground {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: 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
:
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
254 | ask(forBackground: true)
255 | } else if enableInBackground {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:128: error: 'authorizedWhenInUse' is unavailable in macOS
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| `- error: 'authorizedWhenInUse' is unavailable in macOS
254 | ask(forBackground: true)
255 | } else if enableInBackground {
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
18 | public static var AuthorizedAlways: CLAuthorizationStatus { get }
19 | @available(macOS, unavailable)
20 | case authorizedWhenInUse
| `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
21 | @available(macOS 10.6, *)
22 | public static var authorized: CLAuthorizationStatus { get }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:250:4: error: 'Published' 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
:
248 | ///
249 | /// - warning: Setting this will prompt for access to the user's location with always-on tracking.
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))
[224/536] Compiling GeoMonitor GeoMonitor.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:79:28: 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
:
77 | private var recentlyReportedRegionIdentifiers: [(String, Date)] = []
78 |
79 | private var monitorTask: Task<Void, Error>? = nil
| `- error: 'Task' is only available in macOS 10.15 or newer
80 |
81 | public var maxRegionsToMonitor = 20
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:126:4: error: 'Published' 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
:
124 |
125 | /// Whether user has granted any kind of access to the device's location, when-in-use or always
126 | @Published public var hasAccess: Bool
| `- error: 'Published' is only available in macOS 10.15 or newer
127 |
128 | private var askHandler: (Bool) -> Void = { _ in }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:186:4: error: 'Published' 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
:
184 | // MARK: - Location tracking
185 |
186 | @Published public var currentLocation: CLLocation?
| `- error: 'Published' is only available in macOS 10.15 or newer
187 |
188 | @Published public var isTracking: Bool = false {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:188:4: error: 'Published' 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
:
186 | @Published public var currentLocation: CLLocation?
187 |
188 | @Published public var isTracking: Bool = false {
| `- error: 'Published' is only available in macOS 10.15 or newer
189 | didSet {
190 | if isTracking {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:47: 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
:
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
254 | ask(forBackground: true)
255 | } else if enableInBackground {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:104: 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
:
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| |- error: 'authorizationStatus' is only available in macOS 11.0 or newer
| `- note: add 'if #available' version check
254 | ask(forBackground: true)
255 | } else if enableInBackground {
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:253:128: error: 'authorizedWhenInUse' is unavailable in macOS
251 | didSet {
252 | guard enableInBackground != oldValue else { return }
253 | if enableInBackground, (locationManager.authorizationStatus == .notDetermined || locationManager.authorizationStatus == .authorizedWhenInUse) {
| `- error: 'authorizedWhenInUse' is unavailable in macOS
254 | ask(forBackground: true)
255 | } else if enableInBackground {
CoreLocation.CLAuthorizationStatus:20:10: note: 'authorizedWhenInUse' has been explicitly marked unavailable here
18 | public static var AuthorizedAlways: CLAuthorizationStatus { get }
19 | @available(macOS, unavailable)
20 | case authorizedWhenInUse
| `- note: 'authorizedWhenInUse' has been explicitly marked unavailable here
21 | @available(macOS 10.6, *)
22 | public static var authorized: CLAuthorizationStatus { get }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/GeoMonitor/Sources/GeoMonitor/GeoMonitor.swift:250:4: error: 'Published' 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
:
248 | ///
249 | /// - warning: Setting this will prompt for access to the user's location with always-on tracking.
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 'KeyPath<GeoMonitor, Bool>' 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 'KeyPath<GeoMonitor, CLLocation?>' to expected argument type 'ReferenceWritableKeyPath<GeoMonitor, CLLocation?>'
<unknown>:0: error: cannot convert value of type 'KeyPath<GeoMonitor, Bool>' 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 'KeyPath<GeoMonitor, Bool>' 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/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/UserDefaults+SharedDefaults.swift:14: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
12 |
13 | @objc(sharedDefaults)
14 | public static let shared: UserDefaults = {
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'UserDefaults' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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
15 | if let shared = UserDefaults(suiteName: TKConfig.shared.appGroupName) {
16 | return shared
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
9 | import Foundation
10 |
11 | public class TKConfig {
| `- note: class 'TKConfig' does not conform to the 'Sendable' protocol
12 |
13 | public static let shared = TKConfig()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKConfig' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | private init() {
/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:17:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKStore' may have shared mutable state; this is an error in the Swift 6 language mode
15 | public enum TripKit {
16 |
17 | public static let shared = TKStore.shared
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKStore' 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
18 |
19 | public static let bundle: Bundle = {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKStore.swift:20:14: note: class 'TKStore' does not conform to the 'Sendable' protocol
18 | }
19 |
20 | public class TKStore {
| `- note: class 'TKStore' does not conform to the 'Sendable' protocol
21 |
22 | static let shared = TKStore()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/model/TKStore.swift:22:14: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKStore' may have shared mutable state; this is an error in the Swift 6 language mode
18 | }
19 |
20 | public class TKStore {
| `- note: class 'TKStore' does not conform to the 'Sendable' protocol
21 |
22 | static let shared = TKStore()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKStore' 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
23 |
24 | private init() {}
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/core/TripKit.swift:102:21: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ObjcTripKit' may have shared mutable state; this is an error in the Swift 6 language mode
97 |
98 | @objc(TKTripKit)
99 | public class ObjcTripKit: NSObject {
| `- note: class 'ObjcTripKit' does not conform to the 'Sendable' protocol
100 |
101 | @objc(sharedInstance)
102 | public static let shared = ObjcTripKit()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'ObjcTripKit' 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
103 |
104 | private override init() {
/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: NSObject {
| `- 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: NSObject, 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 | public var openSettingsHandler: (() -> Void)? = nil
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKContactsManager.swift:55: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
53 |
54 | private let store: CNContactStore
55 | 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
56 | CNContactGivenNameKey as CNKeyDescriptor,
57 | 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: NSObject, TKPermissionManager {
:
53 |
54 | private let store: CNContactStore
55 | 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
56 | CNContactGivenNameKey as CNKeyDescriptor,
57 | CNContactPostalAddressesKey as CNKeyDescriptor,
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKLocationManager.swift:21:21: 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
12 | import MapKit
13 |
14 | public class TKLocationManager: NSObject, TKPermissionManager {
| `- note: class 'TKLocationManager' does not conform to the 'Sendable' protocol
15 |
16 | public enum LocalizationError: Error {
:
19 | }
20 |
21 | public static let shared = TKLocationManager()
| |- 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 | public private(set) var lastKnownUserLocation: CLLocation? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKRegionManager.swift:20: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
16 | }
17 |
18 | public class TKRegionManager: NSObject {
| `- note: class 'TKRegionManager' does not conform to the 'Sendable' protocol
19 | @objc
20 | 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
21 |
22 | private var response: TKAPI.RegionsResponse? {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:42:21: warning: static property 'globalTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
40 | }
41 |
42 | public static var globalTintColor: TKColor = {
| |- warning: static property 'globalTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalTintColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalTintColor' 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 | color(for: TKConfig.shared.globalTintColor) ?? #colorLiteral(red: 0, green: 0.8, blue: 0.4, alpha: 1)
44 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:47:21: warning: static property 'globalBarTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
45 |
46 | @available(*, deprecated, message: "Use dynamic colors that are compatible with Dark Mode, e.g., from TripKitUI")
47 | public static var globalBarTintColor: TKColor = {
| |- warning: static property 'globalBarTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalBarTintColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalBarTintColor' 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 | color(for: TKConfig.shared.globalBarTintColor) ?? #colorLiteral(red: 0.1647058824, green: 0.2274509804, blue: 0.3019607843, alpha: 1)
49 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:52:21: warning: static property 'globalSecondaryBarTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
50 |
51 | @available(*, deprecated, message: "Use dynamic colors that are compatible with Dark Mode, e.g., from TripKitUI")
52 | public static var globalSecondaryBarTintColor: TKColor = {
| |- warning: static property 'globalSecondaryBarTintColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalSecondaryBarTintColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalSecondaryBarTintColor' 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
53 | color(for: TKConfig.shared.globalSecondaryBarTintColor) ?? #colorLiteral(red: 0.1176470588, green: 0.1647058824, blue: 0.2117647059, alpha: 1)
54 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:56:21: warning: static property 'globalAccentColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
54 | }()
55 |
56 | public static var globalAccentColor: TKColor = {
| |- warning: static property 'globalAccentColor' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'globalAccentColor' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'globalAccentColor' 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 | color(for: TKConfig.shared.globalAccentColor) ?? globalTintColor
58 | }()
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/managers/TKStyleManager.swift:66: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
64 | extension TKStyleManager {
65 |
66 | 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
67 | private static let imageCache = NSCache<NSString, TKImage>()
68 |
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:67: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
65 |
66 | private static let dummyImage = TKImage()
67 | 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
68 |
69 | 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:256: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
254 | extension TKStyleManager {
255 |
256 | 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
257 | let formatter = EnergyFormatter()
258 | 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/TKAppleGeocoder.swift:22:21: warning: static property 'pointsOfInterestsToExclude' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
20 | private var completerDelegate: LocalSearchCompleterDelegate!
21 |
22 | public static var pointsOfInterestsToExclude: [MKPointOfInterestCategory] = [.publicTransport]
| |- warning: static property 'pointsOfInterestsToExclude' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'pointsOfInterestsToExclude' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'pointsOfInterestsToExclude' 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 |
24 | public override init() {
/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/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
9 | import Foundation
10 |
11 | public class TKServer {
| `- note: class 'TKServer' does not conform to the 'Sendable' protocol
12 |
13 | public static let shared = TKServer(isShared: true)
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'TKServer' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: 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 | init(isShared: Bool) {
/Users/admin/builder/spi-builder-workspace/Sources/TripKit/sharing/TKShareHelper+Parsing.swift:34:23: warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKShareHelper.QueryDetails' may have shared mutable state; this is an error in the Swift 6 language mode
22 | }
23 |
24 | struct QueryDetails {
| `- note: consider making struct 'QueryDetails' conform to the 'Sendable' protocol
25 | public init(start: CLLocationCoordinate2D? = nil, end: CLLocationCoordinate2D, title: String? = nil, timeType: TKShareHelper.QueryDetails.Time = .leaveASAP, modes: [String] = [], additional: [URLQueryItem] = []) {
26 | self.start = start
:
32 | }
33 |
34 | public static let empty = QueryDetails(end: .invalid)
| |- warning: static property 'empty' is not concurrency-safe because non-'Sendable' type 'TKShareHelper.QueryDetails' 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
35 |
36 | public enum Time: Equatable {
[225/536] Compiling TripKit Loc+TripKit.swift
[226/536] Compiling TripKit Loc+TripKitBookings.swift
[227/536] Compiling TripKit Loc+TripKitInterApp.swift
[228/536] Compiling TripKit Loc+TripKitUI.swift
[229/536] Compiling TripKit TKLocationManager.swift
[230/536] Compiling TripKit TKOneOffLocationManager.swift
[231/536] Compiling TripKit TKPermissionManager+AuthorizationAlert.swift
[232/536] Compiling TripKit TKPermissionManager.swift
[233/536] Compiling TripKit TKRegionManager.swift
[234/536] Compiling TripKit TKStyleManager.swift
[235/536] Compiling TGCardViewController TGKeyboardTableView.swift
[236/536] Compiling TGCardViewController resource_bundle_accessor.swift
[237/536] Compiling TripKit BaseAPIModels.swift
[238/536] Compiling TripKit DeparturesAPIModel.swift
[239/536] Compiling TripKit EventAPIModel.swift
[240/536] Compiling TripKit GeocodeAPIModel.swift
[241/536] Compiling TripKit TKStyleManager+UIKit.swift
[242/536] Compiling TripKit UIColor+TripKit.swift
[243/536] Compiling TripKit UIColor+TripKitDefault.swift
[256/536] Compiling TripKit String+NonEmpty.swift
[257/536] Compiling TripKit UserDefaults+SharedDefaults.swift
warning: 'spi-builder-workspace': Invalid Exclude '/Users/admin/builder/spi-builder-workspace/Tests/TripKitTests/polygon/data': File not found.
BUILD FAILURE 6.0 macosSpm