Build Information
Successful build of MapboxDirections, reference v2.15.0 (91fea2), with Swift 6.1 for macOS (SPM) on 25 Aug 2026 22:08:03 UTC.
Swift 6 data race errors: 105
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
37 | /// Indicates a U-turn.
38 | public static let uTurn = LaneIndication(rawValue: 1 << 8)
| |- warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uTurn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 | An array of `Match` objects.
20 | */
21 | public var matches : [Match]?
| `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
43 | Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
44 | */
45 | open class Match: DirectionsResult {
| `- note: class 'Match' does not conform to the 'Sendable' protocol
46 | private enum CodingKeys: String, CodingKey, CaseIterable {
47 | case confidence
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 | This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 | */
27 | public var tracepoints: [Tracepoint?]?
| `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
5 | A `Tracepoint` represents a location matched to the road network.
6 | */
7 | public class Tracepoint: Waypoint {
| `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
8 | /**
9 | Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 | The criteria for the map matching response.
31 | */
32 | public let options: MatchOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class MatchOptions: DirectionsOptions {
| `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Match Options Object
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 | The credentials used to make the request.
36 | */
37 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
[153/165] Compiling MapboxDirections Junction.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
44 | To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
45 | */
46 | public static let shared = Isochrones()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:21: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:99:13: warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
97 | }
98 |
99 | self.processingQueue.async {
| `- warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
100 | do {
101 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:29: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 | The lane indications specifying the maneuvers that may be executed from the lane.
12 | */
13 | let indications: LaneIndication
| `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 | Which of the `indications` is applicable to the current route, when there is more than one
28 | */
29 | var validIndication: ManeuverDirection?
| `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 | init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:17:23: warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
15 |
16 | /// Indicates a sharp turn to the right.
17 | public static let sharpRight = LaneIndication(rawValue: 1 << 1)
| |- warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:20:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 |
19 | /// Indicates a turn to the right.
20 | public static let right = LaneIndication(rawValue: 1 << 2)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:23:23: warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
21 |
22 | /// Indicates a turn to the right.
23 | public static let slightRight = LaneIndication(rawValue: 1 << 3)
| |- warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Indicates no turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:26:23: warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
24 |
25 | /// Indicates no turn.
26 | public static let straightAhead = LaneIndication(rawValue: 1 << 4)
| |- warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'straightAhead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Indicates a slight turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:29:23: warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
27 |
28 | /// Indicates a slight turn to the left.
29 | public static let slightLeft = LaneIndication(rawValue: 1 << 5)
| |- warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Indicates a turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:32:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
30 |
31 | /// Indicates a turn to the left.
32 | public static let left = LaneIndication(rawValue: 1 << 6)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Indicates a sharp turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:35:23: warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
33 |
34 | /// Indicates a sharp turn to the left.
35 | public static let sharpLeft = LaneIndication(rawValue: 1 << 7)
| |- warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Indicates a U-turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:38:23: warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
36 |
37 | /// Indicates a U-turn.
38 | public static let uTurn = LaneIndication(rawValue: 1 << 8)
| |- warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uTurn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 | An array of `Match` objects.
20 | */
21 | public var matches : [Match]?
| `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
43 | Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
44 | */
45 | open class Match: DirectionsResult {
| `- note: class 'Match' does not conform to the 'Sendable' protocol
46 | private enum CodingKeys: String, CodingKey, CaseIterable {
47 | case confidence
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 | This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 | */
27 | public var tracepoints: [Tracepoint?]?
| `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
5 | A `Tracepoint` represents a location matched to the road network.
6 | */
7 | public class Tracepoint: Waypoint {
| `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
8 | /**
9 | Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 | The criteria for the map matching response.
31 | */
32 | public let options: MatchOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class MatchOptions: DirectionsOptions {
| `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Match Options Object
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 | The credentials used to make the request.
36 | */
37 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
[154/165] Compiling MapboxDirections Lane.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
44 | To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
45 | */
46 | public static let shared = Isochrones()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:21: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:99:13: warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
97 | }
98 |
99 | self.processingQueue.async {
| `- warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
100 | do {
101 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:29: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 | The lane indications specifying the maneuvers that may be executed from the lane.
12 | */
13 | let indications: LaneIndication
| `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 | Which of the `indications` is applicable to the current route, when there is more than one
28 | */
29 | var validIndication: ManeuverDirection?
| `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 | init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:17:23: warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
15 |
16 | /// Indicates a sharp turn to the right.
17 | public static let sharpRight = LaneIndication(rawValue: 1 << 1)
| |- warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:20:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 |
19 | /// Indicates a turn to the right.
20 | public static let right = LaneIndication(rawValue: 1 << 2)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:23:23: warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
21 |
22 | /// Indicates a turn to the right.
23 | public static let slightRight = LaneIndication(rawValue: 1 << 3)
| |- warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Indicates no turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:26:23: warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
24 |
25 | /// Indicates no turn.
26 | public static let straightAhead = LaneIndication(rawValue: 1 << 4)
| |- warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'straightAhead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Indicates a slight turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:29:23: warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
27 |
28 | /// Indicates a slight turn to the left.
29 | public static let slightLeft = LaneIndication(rawValue: 1 << 5)
| |- warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Indicates a turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:32:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
30 |
31 | /// Indicates a turn to the left.
32 | public static let left = LaneIndication(rawValue: 1 << 6)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Indicates a sharp turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:35:23: warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
33 |
34 | /// Indicates a sharp turn to the left.
35 | public static let sharpLeft = LaneIndication(rawValue: 1 << 7)
| |- warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Indicates a U-turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:38:23: warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
36 |
37 | /// Indicates a U-turn.
38 | public static let uTurn = LaneIndication(rawValue: 1 << 8)
| |- warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uTurn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 | An array of `Match` objects.
20 | */
21 | public var matches : [Match]?
| `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
43 | Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
44 | */
45 | open class Match: DirectionsResult {
| `- note: class 'Match' does not conform to the 'Sendable' protocol
46 | private enum CodingKeys: String, CodingKey, CaseIterable {
47 | case confidence
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 | This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 | */
27 | public var tracepoints: [Tracepoint?]?
| `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
5 | A `Tracepoint` represents a location matched to the road network.
6 | */
7 | public class Tracepoint: Waypoint {
| `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
8 | /**
9 | Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 | The criteria for the map matching response.
31 | */
32 | public let options: MatchOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class MatchOptions: DirectionsOptions {
| `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Match Options Object
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 | The credentials used to make the request.
36 | */
37 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
[155/165] Compiling MapboxDirections LaneIndication.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
44 | To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
45 | */
46 | public static let shared = Isochrones()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:21: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:99:13: warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
97 | }
98 |
99 | self.processingQueue.async {
| `- warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
100 | do {
101 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:29: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 | The lane indications specifying the maneuvers that may be executed from the lane.
12 | */
13 | let indications: LaneIndication
| `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 | Which of the `indications` is applicable to the current route, when there is more than one
28 | */
29 | var validIndication: ManeuverDirection?
| `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 | init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:17:23: warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
15 |
16 | /// Indicates a sharp turn to the right.
17 | public static let sharpRight = LaneIndication(rawValue: 1 << 1)
| |- warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:20:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 |
19 | /// Indicates a turn to the right.
20 | public static let right = LaneIndication(rawValue: 1 << 2)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:23:23: warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
21 |
22 | /// Indicates a turn to the right.
23 | public static let slightRight = LaneIndication(rawValue: 1 << 3)
| |- warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Indicates no turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:26:23: warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
24 |
25 | /// Indicates no turn.
26 | public static let straightAhead = LaneIndication(rawValue: 1 << 4)
| |- warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'straightAhead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Indicates a slight turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:29:23: warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
27 |
28 | /// Indicates a slight turn to the left.
29 | public static let slightLeft = LaneIndication(rawValue: 1 << 5)
| |- warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Indicates a turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:32:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
30 |
31 | /// Indicates a turn to the left.
32 | public static let left = LaneIndication(rawValue: 1 << 6)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Indicates a sharp turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:35:23: warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
33 |
34 | /// Indicates a sharp turn to the left.
35 | public static let sharpLeft = LaneIndication(rawValue: 1 << 7)
| |- warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Indicates a U-turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:38:23: warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
36 |
37 | /// Indicates a U-turn.
38 | public static let uTurn = LaneIndication(rawValue: 1 << 8)
| |- warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uTurn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 | An array of `Match` objects.
20 | */
21 | public var matches : [Match]?
| `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
43 | Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
44 | */
45 | open class Match: DirectionsResult {
| `- note: class 'Match' does not conform to the 'Sendable' protocol
46 | private enum CodingKeys: String, CodingKey, CaseIterable {
47 | case confidence
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 | This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 | */
27 | public var tracepoints: [Tracepoint?]?
| `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
5 | A `Tracepoint` represents a location matched to the road network.
6 | */
7 | public class Tracepoint: Waypoint {
| `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
8 | /**
9 | Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 | The criteria for the map matching response.
31 | */
32 | public let options: MatchOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class MatchOptions: DirectionsOptions {
| `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Match Options Object
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 | The credentials used to make the request.
36 | */
37 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
[156/165] Compiling MapboxDirections MapMatchingResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:46:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
44 | To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
45 | */
46 | public static let shared = Isochrones()
| |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Isochrones' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
47 |
48 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:21: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:80:39: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
78 | if let urlError = possibleError as? URLError {
79 | DispatchQueue.main.async {
80 | completionHandler(session, .failure(.network(urlError)))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
81 | }
82 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:99:13: warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
8 | Computes areas that are reachable within a specified amount of time or distance from a location, and returns the reachable regions as contours of polygons or lines that you can display on a map.
9 | */
10 | open class Isochrones {
| `- note: class 'Isochrones' does not conform to the 'Sendable' protocol
11 |
12 | /**
:
97 | }
98 |
99 | self.processingQueue.async {
| `- warning: capture of 'self' with non-sendable type 'Isochrones' in a '@Sendable' closure
100 | do {
101 | let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:29: warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| |- warning: capture of 'completionHandler' with non-sendable type 'Isochrones.IsochroneCompletionHandler' (aka '((options: IsochroneOptions, credentials: Credentials), Result<FeatureCollection, IsochroneError>) -> ()') in a '@Sendable' closure
| `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift:14:14: note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
12 | Options for calculating contours from the Mapbox Isochrone service.
13 | */
14 | public class IsochroneOptions {
| `- note: class 'IsochroneOptions' does not conform to the 'Sendable' protocol
15 |
16 | public init(centerCoordinate: LocationCoordinate2D, contours: Contours, profileIdentifier: ProfileIdentifier = .automobile) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift:107:47: warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
105 |
106 | DispatchQueue.main.async {
107 | completionHandler(session, .failure(apiError))
| `- warning: capture of 'session' with non-sendable type '(options: IsochroneOptions, credentials: Credentials)' in a '@Sendable' closure
108 | }
109 | return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 | The lane indications specifying the maneuvers that may be executed from the lane.
12 | */
13 | let indications: LaneIndication
| `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 | Which of the `indications` is applicable to the current route, when there is more than one
28 | */
29 | var validIndication: ManeuverDirection?
| `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 | init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:17:23: warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
15 |
16 | /// Indicates a sharp turn to the right.
17 | public static let sharpRight = LaneIndication(rawValue: 1 << 1)
| |- warning: static property 'sharpRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:20:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 |
19 | /// Indicates a turn to the right.
20 | public static let right = LaneIndication(rawValue: 1 << 2)
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'right' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Indicates a turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:23:23: warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
21 |
22 | /// Indicates a turn to the right.
23 | public static let slightRight = LaneIndication(rawValue: 1 << 3)
| |- warning: static property 'slightRight' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightRight' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Indicates no turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:26:23: warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
24 |
25 | /// Indicates no turn.
26 | public static let straightAhead = LaneIndication(rawValue: 1 << 4)
| |- warning: static property 'straightAhead' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'straightAhead' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
27 |
28 | /// Indicates a slight turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:29:23: warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
27 |
28 | /// Indicates a slight turn to the left.
29 | public static let slightLeft = LaneIndication(rawValue: 1 << 5)
| |- warning: static property 'slightLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'slightLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 | /// Indicates a turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:32:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
30 |
31 | /// Indicates a turn to the left.
32 | public static let left = LaneIndication(rawValue: 1 << 6)
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'left' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
33 |
34 | /// Indicates a sharp turn to the left.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:35:23: warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
33 |
34 | /// Indicates a sharp turn to the left.
35 | public static let sharpLeft = LaneIndication(rawValue: 1 << 7)
| |- warning: static property 'sharpLeft' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'sharpLeft' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 |
37 | /// Indicates a U-turn.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:38:23: warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
36 |
37 | /// Indicates a U-turn.
38 | public static let uTurn = LaneIndication(rawValue: 1 << 8)
| |- warning: static property 'uTurn' is not concurrency-safe because non-'Sendable' type 'LaneIndication' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'uTurn' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
39 |
40 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 | An array of `Match` objects.
20 | */
21 | public var matches : [Match]?
| `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
43 | Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
44 | */
45 | open class Match: DirectionsResult {
| `- note: class 'Match' does not conform to the 'Sendable' protocol
46 | private enum CodingKeys: String, CodingKey, CaseIterable {
47 | case confidence
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 | This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 | */
27 | public var tracepoints: [Tracepoint?]?
| `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
5 | A `Tracepoint` represents a location matched to the road network.
6 | */
7 | public class Tracepoint: Waypoint {
| `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
8 | /**
9 | Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 | The criteria for the map matching response.
31 | */
32 | public let options: MatchOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class MatchOptions: DirectionsOptions {
| `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Match Options Object
14 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 | The credentials used to make the request.
36 | */
37 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
[157/165] Compiling MapboxDirections TollPrice.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[158/165] Compiling MapboxDirections TrafficTendency.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[159/165] Compiling MapboxDirections VisualInstruction.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[160/165] Compiling MapboxDirections VisualInstructionBanner.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[161/165] Compiling MapboxDirections VisualInstructionComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[162/165] Compiling MapboxDirections Waypoint.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:17:23: warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
15 | Payment is done by electronic toll collection.
16 | */
17 | public static let electronicTollCollection = TollPaymentMethod(identifier: "etc")
| |- warning: static property 'electronicTollCollection' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'electronicTollCollection' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 | /**
19 | Payment is done by cash.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:21:23: warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
19 | Payment is done by cash.
20 | */
21 | public static let cash = TollPaymentMethod(identifier: "cash")
| |- warning: static property 'cash' is not concurrency-safe because non-'Sendable' type 'TollPaymentMethod' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'cash' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 | }
23 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:39:23: warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
37 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
38 | */
39 | public static let small = TollCategory(name: "small")
| |- warning: static property 'small' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'small' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /**
41 | A standard sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:45:23: warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
43 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
44 | */
45 | public static let standard = TollCategory(name: "standard")
| |- warning: static property 'standard' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'standard' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /**
47 | A middle sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:51:23: warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
49 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
50 | */
51 | public static let middle = TollCategory(name: "middle")
| |- warning: static property 'middle' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'middle' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /**
53 | A large sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:57:23: warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
55 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
56 | */
57 | public static let large = TollCategory(name: "large")
| |- warning: static property 'large' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'large' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /**
59 | A jumbo sized vehicle.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:63:23: warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
61 | In Japan, this is a [standard vehicle size](https://en.wikipedia.org/wiki/Expressways_of_Japan#Tolls).
62 | */
63 | public static let jumbo = TollCategory(name: "jumbo")
| |- warning: static property 'jumbo' is not concurrency-safe because non-'Sendable' type 'TollCategory' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'jumbo' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | }
65 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[163/168] Compiling MapboxDirectionsCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:48:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | commandName: "mapbox-directions-swift",
50 | abstract: "'mapbox-directions-swift' is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON.",
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:63:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | extension Command {
62 | struct Match: ParsableCommand {
63 | static var configuration =
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | CommandConfiguration(commandName: "match",
65 | abstract: "Command to process Map Matching Data.")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:81:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | extension Command {
80 | struct Route: ParsableCommand {
81 | static var configuration =
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | CommandConfiguration(commandName: "route",
83 | abstract: "Command to process Routing Data.")
[164/168] Compiling MapboxDirectionsCLI CodingOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:139:13: warning: mutation of captured var 'responseData' in concurrently-executing code
137 | }
138 |
139 | responseData = data
| `- warning: mutation of captured var 'responseData' in concurrently-executing code
140 | semaphore.signal()
141 | }
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:195:39: warning: type 'OptionsType' does not conform to the 'Sendable' protocol
18 | }
19 |
20 | class CodingOperation<ResponseType : Codable & DirectionsResultsProvider, OptionsType : DirectionsOptions > {
| `- note: consider making generic parameter 'OptionsType' conform to the 'Sendable' protocol
21 |
22 | // MARK: - Parameters
:
193 |
194 | let decoder = JSONDecoder()
195 | decoder.userInfo = [.options: directionsOptions,
| `- warning: type 'OptionsType' does not conform to the 'Sendable' protocol
196 | .credentials: credentials]
197 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:196:43: warning: type 'Credentials' does not conform to the 'Sendable' protocol
194 | let decoder = JSONDecoder()
195 | decoder.userInfo = [.options: directionsOptions,
196 | .credentials: credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
197 |
198 | let (data, directionsResultsProvider) = try processResponse(decoder, from: input)
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: struct 'Credentials' does not conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: struct 'Credentials' does not conform to the 'Sendable' protocol
11 |
12 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapboxDirections'
1 | import Foundation
2 | import MapboxDirections
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapboxDirections'
3 | import Turf
4 | #if canImport(FoundationNetworking)
[165/168] Emitting module MapboxDirectionsCLI
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:48:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 | }
47 |
48 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | commandName: "mapbox-directions-swift",
50 | abstract: "'mapbox-directions-swift' is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON.",
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:63:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | extension Command {
62 | struct Match: ParsableCommand {
63 | static var configuration =
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 | CommandConfiguration(commandName: "match",
65 | abstract: "Command to process Map Matching Data.")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:81:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | extension Command {
80 | struct Route: ParsableCommand {
81 | static var configuration =
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | CommandConfiguration(commandName: "route",
83 | abstract: "Command to process Routing Data.")
[165/168] Write Objects.LinkFileList
[166/168] Linking mapbox-directions-swift
[167/168] Applying mapbox-directions-swift
Build complete! (22.68s)
Fetching https://github.com/mapbox/turf-swift.git
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/raphaelmor/Polyline.git
Fetching https://github.com/apple/swift-argument-parser from cache
[1/894] Fetching polyline
[815/8794] Fetching polyline, ohhttpstubs
[974/14968] Fetching polyline, ohhttpstubs, turf-swift
Fetched https://github.com/mapbox/turf-swift.git from cache (1.95s)
Fetched https://github.com/AliSoftware/OHHTTPStubs from cache (2.10s)
Fetched https://github.com/raphaelmor/Polyline.git from cache (2.11s)
Fetched https://github.com/apple/swift-argument-parser from cache (2.16s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (2.77s)
Computing version for https://github.com/mapbox/turf-swift.git
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.57s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.56s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.51s)
Creating working copy for https://github.com/raphaelmor/Polyline.git
Working copy of https://github.com/raphaelmor/Polyline.git resolved at 5.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 2.8.0
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Build complete.
{
"dependencies" : [
{
"identity" : "polyline",
"requirement" : {
"range" : [
{
"lower_bound" : "5.0.2",
"upper_bound" : "6.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/raphaelmor/Polyline.git"
},
{
"identity" : "turf-swift",
"requirement" : {
"range" : [
{
"lower_bound" : "2.8.0",
"upper_bound" : "2.9.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/mapbox/turf-swift.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "ohhttpstubs",
"requirement" : {
"range" : [
{
"lower_bound" : "9.1.0",
"upper_bound" : "10.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/AliSoftware/OHHTTPStubs"
}
],
"manifest_display_name" : "MapboxDirections",
"name" : "MapboxDirections",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.14"
},
{
"name" : "ios",
"version" : "12.0"
},
{
"name" : "watchos",
"version" : "5.0"
},
{
"name" : "tvos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "MapboxDirections",
"targets" : [
"MapboxDirections"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "mapbox-directions-swift",
"targets" : [
"MapboxDirectionsCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "MapboxDirectionsTests",
"module_type" : "SwiftTarget",
"name" : "MapboxDirectionsTests",
"path" : "Tests/MapboxDirectionsTests",
"product_dependencies" : [
"OHHTTPStubsSwift"
],
"resources" : [
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/match-polyline6.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/match.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/null-tracepoint.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Offline/2018-10-16-Liechtenstein.tar",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Offline/versions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/RouteRefreshResponseWithForeignMembers.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/RouteResponseWithForeignMembers.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/apiDestinationName.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/noDestinationName.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/incorrectRouteRefreshResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/partialRouteRefreshResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/routeRefreshResponse.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/routeRefreshRoute.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/amenities.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/incidents.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/instructions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/intersections.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/matrix.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/subLaneInstructions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/subVisualInstructions.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/tollAndFerryDirectionsRoute.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/annotation.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_dc_geojson.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_dc_polyline.json",
"rule" : {
"process" : {
}
}
},
{
"path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_oldenburg_polyline.json",
"rule" : {
"process" : {
}
}
}
],
"sources" : [
"AmenityTests.swift",
"AnnotationTests.swift",
"AttributeOptionsTests.swift",
"Common.swift",
"CredentialsTests.swift",
"CustomIsochroneOptions.swift",
"CustomMatrixOptions.swift",
"CustomRouteOptions.swift",
"CustomStringOptionSetTests.swift",
"DirectionsErrorTests.swift",
"DirectionsTests.swift",
"Fixture.swift",
"ForeignMemberContainerTests.swift",
"GeoJSONTests.swift",
"IncidentTests.swift",
"IntersectionTests.swift",
"IsochroneTests.swift",
"JSONSerialization.swift",
"MatchOptionsTests.swift",
"MatchTests.swift",
"MatrixTests.swift",
"OfflineDirectionsTests.swift",
"ProfileIdentifierTests.swift",
"QuickLookTests.swift",
"RoadClassesTests.swift",
"RoutableMatchTests.swift",
"RouteLegTests.swift",
"RouteOptionsTests.swift",
"RouteRefreshTests.swift",
"RouteResponseTests.swift",
"RouteStepTests.swift",
"RouteTests.swift",
"SpokenInstructionTests.swift",
"TransportTypeTests.swift",
"V5Tests.swift",
"VisualInstructionComponentTests.swift",
"VisualInstructionTests.swift",
"WalkingOptionsTests.swift",
"WaypointTests.swift"
],
"target_dependencies" : [
"MapboxDirections"
],
"type" : "test"
},
{
"c99name" : "MapboxDirectionsCLI",
"module_type" : "SwiftTarget",
"name" : "MapboxDirectionsCLI",
"path" : "Sources/MapboxDirectionsCLI",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"mapbox-directions-swift"
],
"sources" : [
"CodingOperation.swift",
"main.swift"
],
"target_dependencies" : [
"MapboxDirections"
],
"type" : "executable"
},
{
"c99name" : "MapboxDirections",
"module_type" : "SwiftTarget",
"name" : "MapboxDirections",
"path" : "Sources/MapboxDirections",
"product_dependencies" : [
"Polyline",
"Turf"
],
"product_memberships" : [
"MapboxDirections",
"mapbox-directions-swift"
],
"sources" : [
"AdministrativeRegion.swift",
"Amenity.swift",
"AmenityType.swift",
"AttributeOptions.swift",
"BlockedLanes.swift",
"Congestion.swift",
"Credentials.swift",
"CustomValueOptionSet.swift",
"Directions.swift",
"DirectionsError.swift",
"DirectionsLog.swift",
"DirectionsOptions.swift",
"DirectionsResult.swift",
"DrivingSide.swift",
"Extensions/Array.swift",
"Extensions/Codable.swift",
"Extensions/CoreLocation.swift",
"Extensions/Double.swift",
"Extensions/ForeignMemberContainer.swift",
"Extensions/GeoJSON.swift",
"Extensions/HTTPURLResponse.swift",
"Extensions/Measurement.swift",
"Extensions/String.swift",
"Extensions/URL+Request.swift",
"Extensions/URLQueryItem.swift",
"Incident.swift",
"Interchange.swift",
"Intersection.swift",
"IsochroneError.swift",
"IsochroneOptions.swift",
"Isochrones.swift",
"Junction.swift",
"Lane.swift",
"LaneIndication.swift",
"MapMatching/MapMatchingResponse.swift",
"MapMatching/Match.swift",
"MapMatching/MatchOptions.swift",
"MapMatching/Tracepoint.swift",
"MapboxStreetsRoadClass.swift",
"Matrix.swift",
"MatrixError.swift",
"MatrixOptions.swift",
"MatrixResponse.swift",
"OfflineDirections.swift",
"ProfileIdentifier.swift",
"QuickLook.swift",
"RefreshedRoute.swift",
"ResponseDisposition.swift",
"RestStop.swift",
"RoadClassExclusionViolation.swift",
"RoadClasses.swift",
"Route.swift",
"RouteLeg.swift",
"RouteLegAttributes.swift",
"RouteOptions.swift",
"RouteRefreshResponse.swift",
"RouteRefreshSource.swift",
"RouteResponse.swift",
"RouteStep.swift",
"SilentWaypoint.swift",
"SpokenInstruction.swift",
"TollCollection.swift",
"TollPrice.swift",
"TrafficTendency.swift",
"VisualInstruction.swift",
"VisualInstructionBanner.swift",
"VisualInstructionComponent.swift",
"Waypoint.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.