Build Information
Successful build of MapboxDirections, reference v2.14.0 (651232
), with Swift 6.0 for macOS (SPM) on 5 Nov 2024 05:55:44 UTC.
Swift 6 data race errors: 104
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
| |- note: annotate 'highOccupancyVehicle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:39:23: warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
| |- warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'side' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:41:23: warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
| |- warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shoulder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:43:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:45:23: warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
| |- warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:47:23: warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
| |- warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:49:23: warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
| |- warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:51:23: warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
| |- warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:53:23: warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
| |- warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:55:23: warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
| |- warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:57:23: warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
| |- warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:59:23: warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
| |- warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:61:23: warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
| |- warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:63:23: warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
| |- warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | static var allLanes: [BlockedLanes] {
[143/149] Compiling MapboxDirections AttributeOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:28:23: warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
26 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests.
27 | */
28 | public static let closures = AttributeOptions(rawValue: 1)
| |- warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closures' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:36:23: warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
34 | When used in Matrix request - will produce a distances matrix in response.
35 | */
36 | public static let distance = AttributeOptions(rawValue: 1 << 1)
| |- warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'distance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:44:23: warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
42 | When used in Matrix request - will produce a durations matrix in response.
43 | */
44 | public static let expectedTravelTime = AttributeOptions(rawValue: 1 << 2)
| |- warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedTravelTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:51:23: warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
49 | When this attribute is specified, the `RouteLeg.segmentSpeeds` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
50 | */
51 | public static let speed = AttributeOptions(rawValue: 1 << 3)
| |- warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:60:23: warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
58 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `CongestionLevel.unknown` for each segment along the route.
59 | */
60 | public static let congestionLevel = AttributeOptions(rawValue: 1 << 4)
| |- warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'congestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:67:23: warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
65 | When this attribute is specified, the `RouteLeg.segmentMaximumSpeedLimits` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
66 | */
67 | public static let maximumSpeedLimit = AttributeOptions(rawValue: 1 << 5)
| |- warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maximumSpeedLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:76:23: warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
74 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `nil` for each segment along the route.
75 | */
76 | public static let numericCongestionLevel = AttributeOptions(rawValue: 1 << 6)
| |- warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericCongestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:82:23: warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
80 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
81 | */
82 | public static let trafficTendency = AttributeOptions(rawValue: 1 << 7)
| |- warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trafficTendency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:19:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
17 |
18 | /// Left lane
19 | public static let left = BlockedLanes(rawValue: 1 << 0, key: "LEFT")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Left center lane
21 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:23:23: warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
21 | ///
22 | /// Usually refers to the second lane from left on a four-lane highway
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
| |- warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:25:23: warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
| |- warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:27:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:29:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Right center lane
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:33:23: warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
31 | ///
32 | /// Usually refers to the second lane from right on a four-lane highway
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
| |- warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:35:23: warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
| |- warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:37:23: warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
| |- warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'highOccupancyVehicle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:39:23: warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
| |- warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'side' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:41:23: warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
| |- warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shoulder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:43:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:45:23: warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
| |- warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:47:23: warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
| |- warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:49:23: warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
| |- warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:51:23: warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
| |- warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:53:23: warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
| |- warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:55:23: warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
| |- warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:57:23: warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
| |- warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:59:23: warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
| |- warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:61:23: warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
| |- warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:63:23: warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
| |- warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | static var allLanes: [BlockedLanes] {
[144/149] Compiling MapboxDirections BlockedLanes.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:28:23: warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
26 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests.
27 | */
28 | public static let closures = AttributeOptions(rawValue: 1)
| |- warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closures' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:36:23: warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
34 | When used in Matrix request - will produce a distances matrix in response.
35 | */
36 | public static let distance = AttributeOptions(rawValue: 1 << 1)
| |- warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'distance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:44:23: warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
42 | When used in Matrix request - will produce a durations matrix in response.
43 | */
44 | public static let expectedTravelTime = AttributeOptions(rawValue: 1 << 2)
| |- warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedTravelTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:51:23: warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
49 | When this attribute is specified, the `RouteLeg.segmentSpeeds` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
50 | */
51 | public static let speed = AttributeOptions(rawValue: 1 << 3)
| |- warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:60:23: warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
58 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `CongestionLevel.unknown` for each segment along the route.
59 | */
60 | public static let congestionLevel = AttributeOptions(rawValue: 1 << 4)
| |- warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'congestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:67:23: warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
65 | When this attribute is specified, the `RouteLeg.segmentMaximumSpeedLimits` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
66 | */
67 | public static let maximumSpeedLimit = AttributeOptions(rawValue: 1 << 5)
| |- warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maximumSpeedLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:76:23: warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
74 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `nil` for each segment along the route.
75 | */
76 | public static let numericCongestionLevel = AttributeOptions(rawValue: 1 << 6)
| |- warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericCongestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:82:23: warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
80 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
81 | */
82 | public static let trafficTendency = AttributeOptions(rawValue: 1 << 7)
| |- warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trafficTendency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:19:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
17 |
18 | /// Left lane
19 | public static let left = BlockedLanes(rawValue: 1 << 0, key: "LEFT")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Left center lane
21 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:23:23: warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
21 | ///
22 | /// Usually refers to the second lane from left on a four-lane highway
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
| |- warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:25:23: warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
| |- warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:27:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:29:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Right center lane
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:33:23: warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
31 | ///
32 | /// Usually refers to the second lane from right on a four-lane highway
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
| |- warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:35:23: warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
| |- warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:37:23: warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
| |- warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'highOccupancyVehicle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:39:23: warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
| |- warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'side' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:41:23: warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
| |- warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shoulder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:43:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:45:23: warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
| |- warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:47:23: warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
| |- warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:49:23: warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
| |- warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:51:23: warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
| |- warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:53:23: warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
| |- warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:55:23: warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
| |- warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:57:23: warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
| |- warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:59:23: warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
| |- warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:61:23: warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
| |- warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:63:23: warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
| |- warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | static var allLanes: [BlockedLanes] {
[145/149] Compiling MapboxDirections Congestion.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:28:23: warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
26 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests.
27 | */
28 | public static let closures = AttributeOptions(rawValue: 1)
| |- warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closures' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:36:23: warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
34 | When used in Matrix request - will produce a distances matrix in response.
35 | */
36 | public static let distance = AttributeOptions(rawValue: 1 << 1)
| |- warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'distance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:44:23: warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
42 | When used in Matrix request - will produce a durations matrix in response.
43 | */
44 | public static let expectedTravelTime = AttributeOptions(rawValue: 1 << 2)
| |- warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedTravelTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:51:23: warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
49 | When this attribute is specified, the `RouteLeg.segmentSpeeds` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
50 | */
51 | public static let speed = AttributeOptions(rawValue: 1 << 3)
| |- warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:60:23: warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
58 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `CongestionLevel.unknown` for each segment along the route.
59 | */
60 | public static let congestionLevel = AttributeOptions(rawValue: 1 << 4)
| |- warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'congestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:67:23: warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
65 | When this attribute is specified, the `RouteLeg.segmentMaximumSpeedLimits` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
66 | */
67 | public static let maximumSpeedLimit = AttributeOptions(rawValue: 1 << 5)
| |- warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maximumSpeedLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:76:23: warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
74 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `nil` for each segment along the route.
75 | */
76 | public static let numericCongestionLevel = AttributeOptions(rawValue: 1 << 6)
| |- warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericCongestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:82:23: warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
80 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
81 | */
82 | public static let trafficTendency = AttributeOptions(rawValue: 1 << 7)
| |- warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trafficTendency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:19:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
17 |
18 | /// Left lane
19 | public static let left = BlockedLanes(rawValue: 1 << 0, key: "LEFT")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Left center lane
21 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:23:23: warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
21 | ///
22 | /// Usually refers to the second lane from left on a four-lane highway
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
| |- warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:25:23: warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
| |- warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:27:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:29:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Right center lane
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:33:23: warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
31 | ///
32 | /// Usually refers to the second lane from right on a four-lane highway
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
| |- warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:35:23: warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
| |- warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:37:23: warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
| |- warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'highOccupancyVehicle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:39:23: warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
| |- warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'side' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:41:23: warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
| |- warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shoulder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:43:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:45:23: warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
| |- warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:47:23: warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
| |- warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:49:23: warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
| |- warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:51:23: warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
| |- warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:53:23: warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
| |- warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:55:23: warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
| |- warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:57:23: warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
| |- warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:59:23: warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
| |- warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:61:23: warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
| |- warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:63:23: warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
| |- warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | static var allLanes: [BlockedLanes] {
[146/149] Compiling MapboxDirections Credentials.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:28:23: warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
26 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests.
27 | */
28 | public static let closures = AttributeOptions(rawValue: 1)
| |- warning: static property 'closures' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'closures' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 |
30 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:36:23: warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
34 | When used in Matrix request - will produce a distances matrix in response.
35 | */
36 | public static let distance = AttributeOptions(rawValue: 1 << 1)
| |- warning: static property 'distance' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'distance' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:44:23: warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
42 | When used in Matrix request - will produce a durations matrix in response.
43 | */
44 | public static let expectedTravelTime = AttributeOptions(rawValue: 1 << 2)
| |- warning: static property 'expectedTravelTime' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'expectedTravelTime' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
45 |
46 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:51:23: warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
49 | When this attribute is specified, the `RouteLeg.segmentSpeeds` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
50 | */
51 | public static let speed = AttributeOptions(rawValue: 1 << 3)
| |- warning: static property 'speed' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'speed' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 |
53 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:60:23: warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
58 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `CongestionLevel.unknown` for each segment along the route.
59 | */
60 | public static let congestionLevel = AttributeOptions(rawValue: 1 << 4)
| |- warning: static property 'congestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'congestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
61 |
62 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:67:23: warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
65 | When this attribute is specified, the `RouteLeg.segmentMaximumSpeedLimits` property contains one value for each segment in the leg’s full geometry. This attribute is supported only by Directions and Map Matching requests.
66 | */
67 | public static let maximumSpeedLimit = AttributeOptions(rawValue: 1 << 5)
| |- warning: static property 'maximumSpeedLimit' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'maximumSpeedLimit' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
68 |
69 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:76:23: warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
74 | This attribute requires `ProfileIdentifier.automobileAvoidingTraffic` and is supported only by Directions and Map Matching requests. Any other profile identifier produces `nil` for each segment along the route.
75 | */
76 | public static let numericCongestionLevel = AttributeOptions(rawValue: 1 << 6)
| |- warning: static property 'numericCongestionLevel' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'numericCongestionLevel' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
77 |
78 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift:82:23: warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
6 | When any of the attributes are specified, the resulting route leg contains one attribute value for each segment in leg, where a segment is the straight line between two coordinates in the route leg’s full geometry.
7 | */
8 | public struct AttributeOptions: CustomValueOptionSet, CustomStringConvertible {
| `- note: consider making struct 'AttributeOptions' conform to the 'Sendable' protocol
9 | public var rawValue: Int
10 |
:
80 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
81 | */
82 | public static let trafficTendency = AttributeOptions(rawValue: 1 << 7)
| |- warning: static property 'trafficTendency' is not concurrency-safe because non-'Sendable' type 'AttributeOptions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trafficTendency' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
83 |
84 | /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:19:23: warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
17 |
18 | /// Left lane
19 | public static let left = BlockedLanes(rawValue: 1 << 0, key: "LEFT")
| |- warning: static property 'left' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'left' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
20 | /// Left center lane
21 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:23:23: warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
21 | ///
22 | /// Usually refers to the second lane from left on a four-lane highway
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
| |- warning: static property 'leftCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:25:23: warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
23 | public static let leftCenter = BlockedLanes(rawValue: 1 << 1, key: "LEFT CENTER")
24 | /// Left turn lane
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
| |- warning: static property 'leftTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'leftTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:27:23: warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
25 | public static let leftTurnLane = BlockedLanes(rawValue: 1 << 2, key: "LEFT TURN LANE")
26 | /// Center lane
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
| |- warning: static property 'center' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'center' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:29:23: warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
27 | public static let center = BlockedLanes(rawValue: 1 << 3, key: "CENTER")
28 | /// Right lane
29 | public static let right = BlockedLanes(rawValue: 1 << 4, key: "RIGHT")
| |- warning: static property 'right' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'right' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | /// Right center lane
31 | ///
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:33:23: warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
31 | ///
32 | /// Usually refers to the second lane from right on a four-lane highway
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
| |- warning: static property 'rightCenter' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightCenter' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:35:23: warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
33 | public static let rightCenter = BlockedLanes(rawValue: 1 << 5, key: "RIGHT CENTER")
34 | /// Right turn lane
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
| |- warning: static property 'rightTurnLane' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'rightTurnLane' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:37:23: warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
35 | public static let rightTurnLane = BlockedLanes(rawValue: 1 << 6, key: "RIGHT TURN LANE")
36 | /// High occupancy vehicle lane
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
| |- warning: static property 'highOccupancyVehicle' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'highOccupancyVehicle' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:39:23: warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
37 | public static let highOccupancyVehicle = BlockedLanes(rawValue: 1 << 7, key: "HOV")
38 | /// Side lane
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
| |- warning: static property 'side' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'side' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:41:23: warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
39 | public static let side = BlockedLanes(rawValue: 1 << 8, key: "SIDE")
40 | /// Shoulder lane
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
| |- warning: static property 'shoulder' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'shoulder' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:43:23: warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
41 | public static let shoulder = BlockedLanes(rawValue: 1 << 9, key: "SHOULDER")
42 | /// Median lane
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
| |- warning: static property 'median' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'median' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:45:23: warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
43 | public static let median = BlockedLanes(rawValue: 1 << 10, key: "MEDIAN")
44 | /// 1st Lane.
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
| |- warning: static property 'lane1' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane1' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:47:23: warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
45 | public static let lane1 = BlockedLanes(rawValue: 1 << 11, key: "1")
46 | /// 2nd Lane.
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
| |- warning: static property 'lane2' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane2' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:49:23: warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
47 | public static let lane2 = BlockedLanes(rawValue: 1 << 12, key: "2")
48 | /// 3rd Lane.
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
| |- warning: static property 'lane3' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane3' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:51:23: warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
49 | public static let lane3 = BlockedLanes(rawValue: 1 << 13, key: "3")
50 | /// 4th Lane.
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
| |- warning: static property 'lane4' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane4' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:53:23: warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
51 | public static let lane4 = BlockedLanes(rawValue: 1 << 14, key: "4")
52 | /// 5th Lane.
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
| |- warning: static property 'lane5' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane5' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:55:23: warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
53 | public static let lane5 = BlockedLanes(rawValue: 1 << 15, key: "5")
54 | /// 6th Lane.
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
| |- warning: static property 'lane6' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane6' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:57:23: warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
55 | public static let lane6 = BlockedLanes(rawValue: 1 << 16, key: "6")
56 | /// 7th Lane.
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
| |- warning: static property 'lane7' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane7' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:59:23: warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
57 | public static let lane7 = BlockedLanes(rawValue: 1 << 17, key: "7")
58 | /// 8th Lane.
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
| |- warning: static property 'lane8' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane8' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:61:23: warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
59 | public static let lane8 = BlockedLanes(rawValue: 1 << 18, key: "8")
60 | /// 9th Lane.
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
| |- warning: static property 'lane9' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane9' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:63:23: warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
3 |
4 | /// Defines a lane affected by the `Incident`
5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
6 | public var rawValue: Int
7 | var stringKey: String?
:
61 | public static let lane9 = BlockedLanes(rawValue: 1 << 19, key: "9")
62 | /// 10th Lane.
63 | public static let lane10 = BlockedLanes(rawValue: 1 << 20, key: "10")
| |- warning: static property 'lane10' is not concurrency-safe because non-'Sendable' type 'BlockedLanes' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'lane10' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | static var allLanes: [BlockedLanes] {
[147/152] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | CommandConfiguration(commandName: "route",
83 | abstract: "Command to process Routing Data.")
[148/152] 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; this is an error in the Swift 6 language mode
137 | }
138 |
139 | responseData = data
| `- warning: mutation of captured var 'responseData' in concurrently-executing code; this is an error in the Swift 6 language mode
140 | semaphore.signal()
141 | }
[149/152] 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | 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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
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: annotate 'configuration' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 | CommandConfiguration(commandName: "route",
83 | abstract: "Command to process Routing Data.")
[149/152] Write Objects.LinkFileList
[150/152] Linking mapbox-directions-swift
[151/152] Applying mapbox-directions-swift
Build complete! (27.39s)
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",
"CredentialsTests.swift",
"CustomStringOptionSetTests.swift",
"DirectionsErrorTests.swift",
"DirectionsTests.swift",
"Fixture.swift",
"ForeignMemberContainerTests.swift",
"GeoJSONTests.swift",
"IntersectionTests.swift",
"IsochroneTests.swift",
"JSONSerialization.swift",
"MatchOptionsTests.swift",
"MatchTests.swift",
"MatrixTests.swift",
"OfflineDirectionsTests.swift",
"QuickLookTests.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",
"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",
"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.