Build Information
Failed to build MapboxDirections, reference v2.14.0 (651232
), with Swift 6.1 for Linux on 28 Apr 2025 23:06:18 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift:10:1: warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
8 | import Turf
9 |
10 | extension BoundingBox: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var description: String {
12 | return "\(southWest.longitude),\(southWest.latitude);\(northEast.longitude),\(northEast.latitude)"
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
80 |
81 | /// Represents the impact of the incident on local traffic.
82 | public enum Impact: String, Codable {
| `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
83 | /// Unknown impact
84 | case unknown
:
146 | public var endDate: Date
147 | /// Shows severity of an incident. May be not available for all incident types.
148 | public var impact: Impact?
| `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 | /// Provides additional classification of an incident. May be not available for all incident types.
150 | public var subtype: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 | ///
177 | /// `nil` value indicates that lanes data is not available
178 | public var lanesBlocked: BlockedLanes?
| `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 | /// The range of segments within the overall leg, where the incident spans.
180 | public var shapeIndexRange: Range<Int>
/host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 | If road class information is unavailable, this property is set to `nil`.
104 | */
105 | public let outletRoadClasses: RoadClasses?
| `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
4 | Option set that contains attributes of a road segment.
5 | */
6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
7 | public var rawValue: Int
8 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 | If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 | */
112 | public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
| `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 | If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 | */
162 | public let approachLanes: [LaneIndication]?
| `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift:10:1: warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
8 | import Turf
9 |
10 | extension BoundingBox: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var description: String {
12 | return "\(southWest.longitude),\(southWest.latitude);\(northEast.longitude),\(northEast.latitude)"
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
80 |
81 | /// Represents the impact of the incident on local traffic.
82 | public enum Impact: String, Codable {
| `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
83 | /// Unknown impact
84 | case unknown
:
146 | public var endDate: Date
147 | /// Shows severity of an incident. May be not available for all incident types.
148 | public var impact: Impact?
| `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 | /// Provides additional classification of an incident. May be not available for all incident types.
150 | public var subtype: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 | ///
177 | /// `nil` value indicates that lanes data is not available
178 | public var lanesBlocked: BlockedLanes?
| `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 | /// The range of segments within the overall leg, where the incident spans.
180 | public var shapeIndexRange: Range<Int>
/host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 | If road class information is unavailable, this property is set to `nil`.
104 | */
105 | public let outletRoadClasses: RoadClasses?
| `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
4 | Option set that contains attributes of a road segment.
5 | */
6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
7 | public var rawValue: Int
8 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 | If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 | */
112 | public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
| `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 | If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 | */
162 | public let approachLanes: [LaneIndication]?
| `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift:10:1: warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
8 | import Turf
9 |
10 | extension BoundingBox: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var description: String {
12 | return "\(southWest.longitude),\(southWest.latitude);\(northEast.longitude),\(northEast.latitude)"
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
80 |
81 | /// Represents the impact of the incident on local traffic.
82 | public enum Impact: String, Codable {
| `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
83 | /// Unknown impact
84 | case unknown
:
146 | public var endDate: Date
147 | /// Shows severity of an incident. May be not available for all incident types.
148 | public var impact: Impact?
| `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 | /// Provides additional classification of an incident. May be not available for all incident types.
150 | public var subtype: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 | ///
177 | /// `nil` value indicates that lanes data is not available
178 | public var lanesBlocked: BlockedLanes?
| `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 | /// The range of segments within the overall leg, where the incident spans.
180 | public var shapeIndexRange: Range<Int>
/host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 | If road class information is unavailable, this property is set to `nil`.
104 | */
105 | public let outletRoadClasses: RoadClasses?
| `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
4 | Option set that contains attributes of a road segment.
5 | */
6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
7 | public var rawValue: Int
8 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 | If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 | */
112 | public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
| `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 | If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 | */
162 | public let approachLanes: [LaneIndication]?
| `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift:10:1: warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
8 | import Turf
9 |
10 | extension BoundingBox: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var description: String {
12 | return "\(southWest.longitude),\(southWest.latitude);\(northEast.longitude),\(northEast.latitude)"
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
80 |
81 | /// Represents the impact of the incident on local traffic.
82 | public enum Impact: String, Codable {
| `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
83 | /// Unknown impact
84 | case unknown
:
146 | public var endDate: Date
147 | /// Shows severity of an incident. May be not available for all incident types.
148 | public var impact: Impact?
| `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 | /// Provides additional classification of an incident. May be not available for all incident types.
150 | public var subtype: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 | ///
177 | /// `nil` value indicates that lanes data is not available
178 | public var lanesBlocked: BlockedLanes?
| `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 | /// The range of segments within the overall leg, where the incident spans.
180 | public var shapeIndexRange: Range<Int>
/host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 | If road class information is unavailable, this property is set to `nil`.
104 | */
105 | public let outletRoadClasses: RoadClasses?
| `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
4 | Option set that contains attributes of a road segment.
5 | */
6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
7 | public var rawValue: Int
8 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 | If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 | */
112 | public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
| `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 | If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 | */
162 | public let approachLanes: [LaneIndication]?
| `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift:10:1: warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
8 | import Turf
9 |
10 | extension BoundingBox: CustomStringConvertible {
| |- warning: extension declares a conformance of imported type 'BoundingBox' to imported protocol 'CustomStringConvertible'; this will not behave correctly if the owners of 'Turf' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
11 | public var description: String {
12 | return "\(southWest.longitude),\(southWest.latitude);\(northEast.longitude),\(northEast.latitude)"
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
80 |
81 | /// Represents the impact of the incident on local traffic.
82 | public enum Impact: String, Codable {
| `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
83 | /// Unknown impact
84 | case unknown
:
146 | public var endDate: Date
147 | /// Shows severity of an incident. May be not available for all incident types.
148 | public var impact: Impact?
| `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 | /// Provides additional classification of an incident. May be not available for all incident types.
150 | public var subtype: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 | ///
177 | /// `nil` value indicates that lanes data is not available
178 | public var lanesBlocked: BlockedLanes?
| `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 | /// The range of segments within the overall leg, where the incident spans.
180 | public var shapeIndexRange: Range<Int>
/host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 | If road class information is unavailable, this property is set to `nil`.
104 | */
105 | public let outletRoadClasses: RoadClasses?
| `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
4 | Option set that contains attributes of a road segment.
5 | */
6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
7 | public var rawValue: Int
8 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 | If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 | */
112 | public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
| `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 | If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 | */
162 | public let approachLanes: [LaneIndication]?
| `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
7 | A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
8 | */
9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 | If no lane information is available for the intersection, this property’s value is `nil`
182 | */
183 | public let usableLaneIndication: ManeuverDirection?
| `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 | /// An object containing information about routing and passing interchange along the route.
214 | /// If such information is not available for an intersection, this property’s value is `nil`.
215 | public let interchange: Interchange?
| `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 | /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing interchange along the route.
4 | public struct Interchange: Codable, Equatable {
| `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
5 | /// The name of the interchange, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 | /// An object containing information about routing and passing junction along the route.
218 | /// If such information is not available for an intersection, this property’s value is `nil`.
219 | public let junction: Junction?
| `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
2 |
3 | /// Contains information about routing and passing junction along the route.
4 | public struct Junction: Codable, Equatable {
| `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
5 | /// The name of the junction, if available.
6 | public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 | }
253 |
254 | let streetClass: MapboxStreetsRoadClass?
| `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 | init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
3 |
4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
5 | public enum MapboxStreetsRoadClass: String, Codable {
| `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
6 | /// High-speed, grade-separated highways
7 | case motorway = "motorway"
[124/151] Compiling MapboxDirections SpokenInstruction.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[125/151] Compiling MapboxDirections TollCollection.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[126/151] Compiling MapboxDirections TollPrice.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[127/151] Compiling MapboxDirections TrafficTendency.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[128/151] Compiling MapboxDirections VisualInstruction.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[129/151] Compiling MapboxDirections VisualInstructionBanner.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[130/151] Compiling MapboxDirections VisualInstructionComponent.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[131/151] Compiling MapboxDirections Waypoint.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[132/151] Compiling MapboxDirections ProfileIdentifier.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[133/151] Compiling MapboxDirections QuickLook.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[134/151] Compiling MapboxDirections RefreshedRoute.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[135/151] Compiling MapboxDirections ResponseDisposition.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[136/151] Compiling MapboxDirections RestStop.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[137/151] Compiling MapboxDirections RoadClassExclusionViolation.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[138/151] Compiling MapboxDirections RoadClasses.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[139/151] Compiling MapboxDirections Route.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[140/151] Compiling MapboxDirections RouteLeg.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[141/151] Compiling MapboxDirections RouteLegAttributes.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[142/151] Compiling MapboxDirections RouteOptions.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[143/151] Compiling MapboxDirections RouteRefreshResponse.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[144/151] Compiling MapboxDirections RouteRefreshSource.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[145/151] Compiling MapboxDirections RouteResponse.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[146/151] Compiling MapboxDirections RouteStep.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[147/151] Compiling MapboxDirections SilentWaypoint.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
BUILD FAILURE 6.1 linux