The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MapboxDirections, reference main (f2a787), with Swift 6.1 for Linux on 20 Sep 2026 11:15:41 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344847-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

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?
/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?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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/Intersection.swift:230: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
228 |      If road class information is unavailable, this property is set to `nil`.
229 |      */
230 |     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
231 |
232 |     /**
/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:237: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
235 |      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.
236 |      */
237 |     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
238 |
239 |     /**
/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:287: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
285 |      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.
286 |      */
287 |     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
288 |
289 |     /**
/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:310:16: warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
308 |      If no lane information is available for the intersection, this property’s value is `nil`.
309 |      */
310 |     public let laneValidIndications: [ManeuverDirection?]?
    |                `- warning: stored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[ManeuverDirection?]?'; this is an error in the Swift 6 language mode
311 |
312 |     /**
/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:324:9: warning: stored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
322 |     }
323 |
324 |     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
325 |
326 |     /**
/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:356: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
354 |     /// An object containing information about routing and passing interchange along the route.
355 |     /// If such information is not available for an intersection, this property’s value is `nil`.
356 |     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
357 |
358 |     /// 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:360: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
358 |     /// An object containing information about routing and passing junction along the route.
359 |     /// If such information is not available for an intersection, this property’s value is `nil`.
360 |     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
361 | }
362 |
/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:395: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
393 |         }
394 |
395 |         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
396 |
397 |         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/Intersection.swift:566:45: error: ambiguous use of 'indices(where:)'
564 |             // “straight” and another “slight right”, so every lane keeps its own indication.
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
    |                                             `- error: ambiguous use of 'indices(where:)'
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
568 |             approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: error: ambiguous use of 'indices(where:)'
565 |             let laneValidIndications = lanes.map { $0.validIndication }
566 |             let usableApproachLanes = lanes.indices { $0.isValid }
567 |             let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
    |                                                `- error: ambiguous use of 'indices(where:)'
568 |             approachLanes = lanes.map { $0.indications }
569 |             self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: note: found this candidate
13 |      Returns an index set containing the indices that satisfy the given predicate.
14 |      */
15 |     func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
   |          `- note: found this candidate
16 |         return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
17 |     }
Swift.Collection.indices:3:26: note: found this candidate in module 'Swift'
1 | protocol Collection {
2 | @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
3 |   @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
  |                          `- note: found this candidate in module 'Swift'
4 |
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
11 |      The lane indications specifying the maneuvers that may be executed from the lane.
12 |      */
13 |     let indications: LaneIndication
   |         `- warning: stored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'LaneIndication'; this is an error in the Swift 6 language mode
14 |
15 |     /**
/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/Lane.swift:29:9: warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
27 |      Which of the `indications` is applicable to the current route, when there is more than one
28 |      */
29 |     var validIndication: ManeuverDirection?
   |         `- warning: stored property 'validIndication' of 'Sendable'-conforming struct 'Lane' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
30 |
31 |     init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/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/MapMatching/MapMatchingResponse.swift:21:16: warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
19 |      An array of `Match` objects.
20 |      */
21 |     public var matches : [Match]?
   |                `- warning: stored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Match]?'; this is an error in the Swift 6 language mode
22 |
23 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: note: class 'Match' does not conform to the 'Sendable' protocol
 43 |  Typically, you do not create instances of this class directly. Instead, you receive match objects when you pass a `MatchOptions` object into the `Directions.calculate(_:completionHandler:)` method.
 44 |  */
 45 | open class Match: DirectionsResult {
    |            `- note: class 'Match' does not conform to the 'Sendable' protocol
 46 |     private enum CodingKeys: String, CodingKey, CaseIterable {
 47 |         case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
25 |      This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
26 |      */
27 |     public var tracepoints: [Tracepoint?]?
   |                `- warning: stored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type '[Tracepoint?]?'; this is an error in the Swift 6 language mode
28 |
29 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 5 |  A `Tracepoint` represents a location matched to the road network.
 6 |  */
 7 | public class Tracepoint: Waypoint {
   |              `- note: class 'Tracepoint' does not conform to the 'Sendable' protocol
 8 |     /**
 9 |      Number of probable alternative matchings for this tracepoint. A value of zero indicates that this point was matched unambiguously.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:32:16: warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
30 |      The criteria for the map matching response.
31 |      */
32 |     public let options: MatchOptions
   |                `- warning: stored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'MatchOptions'; this is an error in the Swift 6 language mode
33 |
34 |     /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 10 |  Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
 11 |  */
 12 | open class MatchOptions: DirectionsOptions {
    |            `- note: class 'MatchOptions' does not conform to the 'Sendable' protocol
 13 |     // MARK: Creating a Match Options Object
 14 |
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
35 |      The credentials used to make the request.
36 |      */
37 |     public let credentials: Credentials
   |                `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-sendable type 'Credentials'; this is an error in the Swift 6 language mode
38 |
39 |     /**
/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 |     /**
BUILD FAILURE 6.1 linux