Build Information
Failed to build MapboxDirections, reference main (f2a787), with Swift 6.4 for Linux on 20 Sep 2026 11:15:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-directions-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/mapbox/mapbox-directions-swift
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f2a7878 Merge pull request #855 from mapbox/ryndaniels-patch-1
Cloned https://github.com/mapbox/mapbox-directions-swift.git
Revision (git rev-parse @):
f2a787872f76ac13ba120cb96910276a165e43af
SUCCESS checkout https://github.com/mapbox/mapbox-directions-swift.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/mapbox/mapbox-directions-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/AliSoftware/OHHTTPStubs
Fetching https://github.com/mapbox/turf-swift.git
Fetching https://github.com/raphaelmor/Polyline.git
Fetching https://github.com/apple/swift-argument-parser
[1/894] Fetching polyline
[717/7068] Fetching polyline, turf-swift
[718/14968] Fetching polyline, turf-swift, ohhttpstubs
Fetched https://github.com/raphaelmor/Polyline.git (0.48s)
[4902/14074] Fetching turf-swift, ohhttpstubs
[13026/32992] Fetching turf-swift, ohhttpstubs, swift-argument-parser
Fetched https://github.com/AliSoftware/OHHTTPStubs (0.76s)
Fetched https://github.com/apple/swift-argument-parser (0.76s)
Fetched https://github.com/mapbox/turf-swift.git (0.76s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs
Computed https://github.com/AliSoftware/OHHTTPStubs at 9.1.0 (0.96s)
Computing version for https://github.com/mapbox/turf-swift.git
warning: 'turf-swift': /Package.swift:9:48: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
7 | name: "Turf",
8 | platforms: [
9 | .macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11), .custom("visionOS", versionString: "1.0")
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
10 | ],
11 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/mapbox/turf-swift.git at 2.8.0 (0.18s)
Computing version for https://github.com/raphaelmor/Polyline.git
Computed https://github.com/raphaelmor/Polyline.git at 5.1.0 (0.17s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.19s)
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs
Working copy of https://github.com/AliSoftware/OHHTTPStubs resolved at 9.1.0
Creating working copy for https://github.com/raphaelmor/Polyline.git
Working copy of https://github.com/raphaelmor/Polyline.git resolved at 5.1.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
Creating working copy for https://github.com/mapbox/turf-swift.git
Working copy of https://github.com/mapbox/turf-swift.git resolved at 2.8.0
warning: 'turf-swift': /host/spi-builder-workspace/.build/checkouts/turf-swift/Package.swift:9:48: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
7 | name: "Turf",
8 | platforms: [
9 | .macOS(.v10_13), .iOS(.v11), .watchOS(.v4), .tvOS(.v11), .custom("visionOS", versionString: "1.0")
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
10 | ],
11 | products: [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 243]
[Constructing 1 / 545]
[83 / 123] Turf
[87 / 132] Turf
[87 / 132] Polyline
[99 / 132] Turf
[100 / 132] Turf
[101 / 133] Turf
[112 / 135]
[116 / 153] MapboxDirections
[119 / 154] MapboxDirections
[121 / 154] Turf
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift failed with a nonzero exit code. Command line: cd /host
builtin-SwiftPerFileCompile Intersection.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:230:16: [1;33mwarning: [1;39mstored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'RoadClasses'; this is an error in the Swift 6 language mode[0;0m
[0;36m228 |[0;0m If road class information is unavailable, this property is set to `nil`.
[0;36m229 |[0;0m */
[0;36m230 |[0;0m public let outletRoadClasses: RoadClasses?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'RoadClasses'; this is an error in the Swift 6 language mode[0;0m
[0;36m231 |[0;0m
[0;36m232 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: [1;39mnote: [1;39mconsider making struct 'RoadClasses' conform to the 'Sendable' protocol[0;0m
[0;36m4 |[0;0m Option set that contains attributes of a road segment.
[0;36m5 |[0;0m */
[0;36m6 |[0;0m public struct RoadClasses: OptionSet, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'RoadClasses' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m public var rawValue: Int
[0;36m8 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:237:16: [1;33mwarning: [1;39mstored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'MapboxStreetsRoadClass'; this is an error in the Swift 6 language mode[0;0m
[0;36m235 |[0;0m 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.
[0;36m236 |[0;0m */
[0;36m237 |[0;0m public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'MapboxStreetsRoadClass'; this is an error in the Swift 6 language mode[0;0m
[0;36m238 |[0;0m
[0;36m239 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: [1;39mnote: [1;39mconsider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
[0;36m5 |[0;0m public enum MapboxStreetsRoadClass: String, Codable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol[0;0m
[0;36m6 |[0;0m /// High-speed, grade-separated highways
[0;36m7 |[0;0m case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:287:16: [1;33mwarning: [1;39mstored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'LaneIndication'; this is an error in the Swift 6 language mode[0;0m
[0;36m285 |[0;0m 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.
[0;36m286 |[0;0m */
[0;36m287 |[0;0m public let approachLanes: [LaneIndication]?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'LaneIndication'; this is an error in the Swift 6 language mode[0;0m
[0;36m288 |[0;0m
[0;36m289 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: [1;39mnote: [1;39mconsider making struct 'LaneIndication' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m 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.
[0;36m8 |[0;0m */
[0;36m9 |[0;0m public struct LaneIndication: OptionSet, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'LaneIndication' conform to the 'Sendable' protocol[0;0m
[0;36m10 |[0;0m public var rawValue: Int
[0;36m11 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:310:16: [1;33mwarning: [1;39mstored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m308 |[0;0m If no lane information is available for the intersection, this property’s value is `nil`.
[0;36m309 |[0;0m */
[0;36m310 |[0;0m public let laneValidIndications: [ManeuverDirection?]?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'laneValidIndications' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m311 |[0;0m
[0;36m312 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m222 |[0;0m 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.
[0;36m223 |[0;0m */
[0;36m224 |[0;0m public enum ManeuverDirection: String, Codable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m225 |[0;0m /**
[0;36m226 |[0;0m The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:324:9: [1;33mwarning: [1;39mstored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m322 |[0;0m }
[0;36m323 |[0;0m
[0;36m324 |[0;0m let _usableLaneIndication: ManeuverDirection?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property '_usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m325 |[0;0m
[0;36m326 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m222 |[0;0m 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.
[0;36m223 |[0;0m */
[0;36m224 |[0;0m public enum ManeuverDirection: String, Codable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m225 |[0;0m /**
[0;36m226 |[0;0m The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:356:16: [1;33mwarning: [1;39mstored property 'interchange' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'Interchange'; this is an error in the Swift 6 language mode[0;0m
[0;36m354 |[0;0m /// An object containing information about routing and passing interchange along the route.
[0;36m355 |[0;0m /// If such information is not available for an intersection, this property’s value is `nil`.
[0;36m356 |[0;0m public let interchange: Interchange?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'interchange' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'Interchange'; this is an error in the Swift 6 language mode[0;0m
[0;36m357 |[0;0m
[0;36m358 |[0;0m /// An object containing information about routing and passing junction along the route.
/host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: [1;39mnote: [1;39mconsider making struct 'Interchange' conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m /// Contains information about routing and passing interchange along the route.
[0;36m4 |[0;0m public struct Interchange: Codable, Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Interchange' conform to the 'Sendable' protocol[0;0m
[0;36m5 |[0;0m /// The name of the interchange, if available.
[0;36m6 |[0;0m public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:360:16: [1;33mwarning: [1;39mstored property 'junction' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'Junction'; this is an error in the Swift 6 language mode[0;0m
[0;36m358 |[0;0m /// An object containing information about routing and passing junction along the route.
[0;36m359 |[0;0m /// If such information is not available for an intersection, this property’s value is `nil`.
[0;36m360 |[0;0m public let junction: Junction?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'junction' of 'Sendable'-conforming struct 'Intersection' contains non-Sendable type 'Junction'; this is an error in the Swift 6 language mode[0;0m
[0;36m361 |[0;0m }
[0;36m362 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: [1;39mnote: [1;39mconsider making struct 'Junction' conform to the 'Sendable' protocol[0;0m
[0;36m2 |[0;0m
[0;36m3 |[0;0m /// Contains information about routing and passing junction along the route.
[0;36m4 |[0;0m public struct Junction: Codable, Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Junction' conform to the 'Sendable' protocol[0;0m
[0;36m5 |[0;0m /// The name of the junction, if available.
[0;36m6 |[0;0m public let name: String?
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:395:13: [1;33mwarning: [1;39mstored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' contains non-Sendable type 'MapboxStreetsRoadClass'; this is an error in the Swift 6 language mode[0;0m
[0;36m393 |[0;0m }
[0;36m394 |[0;0m
[0;36m395 |[0;0m let streetClass: MapboxStreetsRoadClass?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' contains non-Sendable type 'MapboxStreetsRoadClass'; this is an error in the Swift 6 language mode[0;0m
[0;36m396 |[0;0m
[0;36m397 |[0;0m init(streetClass: MapboxStreetsRoadClass?) {
/host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: [1;39mnote: [1;39mconsider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
[0;36m5 |[0;0m public enum MapboxStreetsRoadClass: String, Codable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol[0;0m
[0;36m6 |[0;0m /// High-speed, grade-separated highways
[0;36m7 |[0;0m case motorway = "motorway"
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:566:45: [1;31merror: [1;39mambiguous use of 'indices(where:)'[0;0m
[0;36m564 |[0;0m // “straight” and another “slight right”, so every lane keeps its own indication.
[0;36m565 |[0;0m let laneValidIndications = lanes.map { $0.validIndication }
[0;36m566 |[0;0m let usableApproachLanes = lanes.indices { $0.isValid }
[0;36m|[0;0m `- [1;31merror: [1;39mambiguous use of 'indices(where:)'[0;0m
[0;36m567 |[0;0m let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
[0;36m568 |[0;0m approachLanes = lanes.map { $0.indications }
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: [1;39mnote: [1;39mfound this candidate [0;0m
[0;36m13 |[0;0m Returns an index set containing the indices that satisfy the given predicate.
[0;36m14 |[0;0m */
[0;36m15 |[0;0m func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate [0;0m
[0;36m16 |[0;0m return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
[0;36m17 |[0;0m }
Swift.Collection.indices:3:26: [1;39mnote: [1;39mfound this candidate in module 'Swift'[0;0m
[0;36m1 |[0;0m protocol Collection {
[0;36m2 |[0;0m @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
[0;36m3 |[0;0m @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Swift'[0;0m
[0;36m4 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:567:48: [1;31merror: [1;39mambiguous use of 'indices(where:)'[0;0m
[0;36m565 |[0;0m let laneValidIndications = lanes.map { $0.validIndication }
[0;36m566 |[0;0m let usableApproachLanes = lanes.indices { $0.isValid }
[0;36m567 |[0;0m let preferredApproachLanes = lanes.indices { ($0.isActive ?? false) }
[0;36m|[0;0m `- [1;31merror: [1;39mambiguous use of 'indices(where:)'[0;0m
[0;36m568 |[0;0m approachLanes = lanes.map { $0.indications }
[0;36m569 |[0;0m self.usableApproachLanes = usableApproachLanes
/host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift:15:10: [1;39mnote: [1;39mfound this candidate [0;0m
[0;36m13 |[0;0m Returns an index set containing the indices that satisfy the given predicate.
[0;36m14 |[0;0m */
[0;36m15 |[0;0m func indices(where predicate: (Element) throws -> Bool) rethrows -> IndexSet {
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate [0;0m
[0;36m16 |[0;0m return IndexSet(try enumerated().filter { try predicate($0.element) }.map { $0.offset })
[0;36m17 |[0;0m }
Swift.Collection.indices:3:26: [1;39mnote: [1;39mfound this candidate in module 'Swift'[0;0m
[0;36m1 |[0;0m protocol Collection {
[0;36m2 |[0;0m @available(macOS 15.0, iOS 18.0, watchOS 11.0, tvOS 18.0, visionOS 2.0, *)
[0;36m3 |[0;0m @inlinable public func indices(where predicate: (Self.Element) throws -> Bool) rethrows -> RangeSet<Self.Index>}
[0;36m|[0;0m `- [1;39mnote: [1;39mfound this candidate in module 'Swift'[0;0m
[0;36m4 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:13:9: [1;33mwarning: [1;39mstored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-Sendable type 'LaneIndication'; this is an error in the Swift 6 language mode[0;0m
[0;36m11 |[0;0m The lane indications specifying the maneuvers that may be executed from the lane.
[0;36m12 |[0;0m */
[0;36m13 |[0;0m let indications: LaneIndication
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'indications' of 'Sendable'-conforming struct 'Lane' has non-Sendable type 'LaneIndication'; this is an error in the Swift 6 language mode[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: [1;39mnote: [1;39mconsider making struct 'LaneIndication' conform to the 'Sendable' protocol[0;0m
[0;36m7 |[0;0m 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.
[0;36m8 |[0;0m */
[0;36m9 |[0;0m public struct LaneIndication: OptionSet, CustomStringConvertible {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'LaneIndication' conform to the 'Sendable' protocol[0;0m
[0;36m10 |[0;0m public var rawValue: Int
[0;36m11 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift:29:9: [1;33mwarning: [1;39mstored property 'validIndication' of 'Sendable'-conforming struct 'Lane' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m27 |[0;0m Which of the `indications` is applicable to the current route, when there is more than one
[0;36m28 |[0;0m */
[0;36m29 |[0;0m var validIndication: ManeuverDirection?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'validIndication' of 'Sendable'-conforming struct 'Lane' contains non-Sendable type 'ManeuverDirection'; this is an error in the Swift 6 language mode[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m init(indications: LaneIndication, valid: Bool = false, active: Bool? = false, preferred: ManeuverDirection? = nil) {
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m222 |[0;0m 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.
[0;36m223 |[0;0m */
[0;36m224 |[0;0m public enum ManeuverDirection: String, Codable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making enum 'ManeuverDirection' conform to the 'Sendable' protocol[0;0m
[0;36m225 |[0;0m /**
[0;36m226 |[0;0m The maneuver requires a sharp turn to the right.
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:21:16: [1;33mwarning: [1;39mstored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' contains non-Sendable type 'Match'; this is an error in the Swift 6 language mode[0;0m
[0;36m19 |[0;0m An array of `Match` objects.
[0;36m20 |[0;0m */
[0;36m21 |[0;0m public var matches : [Match]?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'matches' of 'Sendable'-conforming struct 'MapMatchingResponse' contains non-Sendable type 'Match'; this is an error in the Swift 6 language mode[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift:45:12: [1;39mnote: [1;39mclass 'Match' does not conform to the 'Sendable' protocol[0;0m
[0;36m43 |[0;0m 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.
[0;36m44 |[0;0m */
[0;36m45 |[0;0m open class Match: DirectionsResult {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'Match' does not conform to the 'Sendable' protocol[0;0m
[0;36m46 |[0;0m private enum CodingKeys: String, CodingKey, CaseIterable {
[0;36m47 |[0;0m case confidence
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:27:16: [1;33mwarning: [1;39mstored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' contains non-Sendable type 'Tracepoint'; this is an error in the Swift 6 language mode[0;0m
[0;36m25 |[0;0m This property will be `nil` if a trace point is omitted by the Map Matching API because it is an outlier.
[0;36m26 |[0;0m */
[0;36m27 |[0;0m public var tracepoints: [Tracepoint?]?
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'tracepoints' of 'Sendable'-conforming struct 'MapMatchingResponse' contains non-Sendable type 'Tracepoint'; this is an error in the Swift 6 language mode[0;0m
[0;36m28 |[0;0m
[0;36m29 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift:7:14: [1;39mnote: [1;39mclass 'Tracepoint' does not conform to the 'Sendable' protocol[0;0m
[0;36m5 |[0;0m A `Tracepoint` represents a location matched to the road network.
[0;36m6 |[0;0m */
[0;36m7 |[0;0m public class Tracepoint: Waypoint {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'Tracepoint' does not conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m /**
[0;36m9 |[0;0m 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: [1;33mwarning: [1;39mstored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-Sendable type 'MatchOptions'; this is an error in the Swift 6 language mode[0;0m
[0;36m30 |[0;0m The criteria for the map matching response.
[0;36m31 |[0;0m */
[0;36m32 |[0;0m public let options: MatchOptions
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'options' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-Sendable type 'MatchOptions'; this is an error in the Swift 6 language mode[0;0m
[0;36m33 |[0;0m
[0;36m34 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift:12:12: [1;39mnote: [1;39mclass 'MatchOptions' does not conform to the 'Sendable' protocol[0;0m
[0;36m10 |[0;0m Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
[0;36m11 |[0;0m */
[0;36m12 |[0;0m open class MatchOptions: DirectionsOptions {
[0;36m|[0;0m `- [1;39mnote: [1;39mclass 'MatchOptions' does not conform to the 'Sendable' protocol[0;0m
[0;36m13 |[0;0m // MARK: Creating a Match Options Object
[0;36m14 |[0;0m
/host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift:37:16: [1;33mwarning: [1;39mstored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode[0;0m
[0;36m35 |[0;0m The credentials used to make the request.
[0;36m36 |[0;0m */
[0;36m37 |[0;0m public let credentials: Credentials
[0;36m|[0;0m `- [1;33mwarning: [1;39mstored property 'credentials' of 'Sendable'-conforming struct 'MapMatchingResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode[0;0m
[0;36m38 |[0;0m
[0;36m39 |[0;0m /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: [1;39mnote: [1;39mconsider making struct 'Credentials' conform to the 'Sendable' protocol[0;0m
[0;36m8 |[0;0m let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
[0;36m9 |[0;0m
[0;36m10 |[0;0m public struct Credentials: Equatable {
[0;36m|[0;0m `- [1;39mnote: [1;39mconsider making struct 'Credentials' conform to the 'Sendable' protocol[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /**
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/MapboxDirections/AdministrativeRegion.swift /host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift /host/spi-builder-workspace/Sources/MapboxDirections/AmenityType.swift /host/spi-builder-workspace/Sources/MapboxDirections/AttributeOptions.swift /host/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift /host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift /host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift /host/spi-builder-workspace/Sources/MapboxDirections/CustomValueOptionSet.swift /host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift /host/spi-builder-workspace/Sources/MapboxDirections/DirectionsError.swift /host/spi-builder-workspace/Sources/MapboxDirections/DirectionsLog.swift /host/spi-builder-workspace/Sources/MapboxDirections/DirectionsOptions.swift /host/spi-builder-workspace/Sources/MapboxDirections/DirectionsResult.swift /host/spi-builder-workspace/Sources/MapboxDirections/DrivingSide.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Array.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Codable.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/CoreLocation.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Double.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/ForeignMemberContainer.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/GeoJSON.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/HTTPURLResponse.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/Measurement.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/String.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/URL+Request.swift /host/spi-builder-workspace/Sources/MapboxDirections/Extensions/URLQueryItem.swift /host/spi-builder-workspace/Sources/MapboxDirections/Incident.swift /host/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/IsochroneError.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/IsochroneOptions.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/Isochrones.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/Junction.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/Lane.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MapMatchingResponse.swift -primary-file /host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Match.swift /host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/MatchOptions.swift /host/spi-builder-workspace/Sources/MapboxDirections/MapMatching/Tracepoint.swift /host/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift /host/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift /host/spi-builder-workspace/Sources/MapboxDirections/MatrixError.swift /host/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift /host/spi-builder-workspace/Sources/MapboxDirections/MatrixResponse.swift /host/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift /host/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift /host/spi-builder-workspace/Sources/MapboxDirections/QuickLook.swift /host/spi-builder-workspace/Sources/MapboxDirections/RefreshedRoute.swift /host/spi-builder-workspace/Sources/MapboxDirections/ResponseDisposition.swift /host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift /host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift /host/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift /host/spi-builder-workspace/Sources/MapboxDirections/Route.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteLeg.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshSource.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift /host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift /host/spi-builder-workspace/Sources/MapboxDirections/SilentWaypoint.swift /host/spi-builder-workspace/Sources/MapboxDirections/SpokenInstruction.swift /host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift /host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift /host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift /host/spi-builder-workspace/Sources/MapboxDirections/VisualInstruction.swift /host/spi-builder-workspace/Sources/MapboxDirections/VisualInstructionBanner.swift /host/spi-builder-workspace/Sources/MapboxDirections/VisualInstructionComponent.swift /host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/supplementaryOutputs-20 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MapboxDirections -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/MapboxDirections_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Intersection.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/IsochroneError.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/IsochroneOptions.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Isochrones.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Junction.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Lane.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/LaneIndication.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/MapMatchingResponse.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Match.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Intersection.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/IsochroneError.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/IsochroneOptions.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Isochrones.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Junction.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Lane.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/LaneIndication.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/MapMatchingResponse.o -index-unit-output-path /MapboxDirections.build/Debug-linux-x86_64/MapboxDirections-t.build/Objects-normal/x86_64/Match.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux