Build Information
Failed to build MapboxDirections, reference main (32bf19
), with Swift 6.2 (beta) for Linux on 21 Jun 2025 16:43:09 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
88 | /**
89 | The actual toll price in `currencyCode` currency.
[124/160] Compiling MapboxDirections AdministrativeRegion.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[125/160] Compiling MapboxDirections Amenity.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[126/160] Compiling MapboxDirections AmenityType.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[127/160] Compiling MapboxDirections AttributeOptions.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[128/160] Compiling MapboxDirections BlockedLanes.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[129/160] Compiling MapboxDirections Congestion.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[130/160] Compiling MapboxDirections Credentials.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[131/160] Compiling MapboxDirections CustomValueOptionSet.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[132/160] Compiling MapboxDirections Directions.swift
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:145:51: warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
143 | do {
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
| `- warning: type 'RouteOptions' does not conform to the 'Sendable' protocol
146 | .credentials: self.credentials]
147 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteOptions.swift:12:12: note: class 'RouteOptions' does not conform to the 'Sendable' protocol
10 | Pass an instance of this class into the `Directions.calculate(_:completionHandler:)` method.
11 | */
12 | open class RouteOptions: DirectionsOptions {
| `- note: class 'RouteOptions' does not conform to the 'Sendable' protocol
13 | // MARK: Creating a Route Options Object
14 |
/host/spi-builder-workspace/Sources/MapboxDirections/Directions.swift:146:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
144 | let decoder = JSONDecoder()
145 | decoder.userInfo = [.options: options,
146 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
147 |
148 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:233:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
231 | do {
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
234 | .credentials: self.credentials]
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
/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/Directions.swift:234:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
232 | let decoder = JSONDecoder()
233 | decoder.userInfo = [.options: options,
234 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
235 | guard let disposition = try? decoder.decode(ResponseDisposition.self, from: data) else {
236 | let apiError = DirectionsError(code: nil, message: nil, response: possibleResponse, underlyingError: possibleError)
/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/Directions.swift:318:51: warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
316 | do {
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
| `- warning: type 'MatchOptions' does not conform to the 'Sendable' protocol
319 | .credentials: self.credentials]
320 |
/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/Directions.swift:319:60: warning: type 'Credentials' does not conform to the 'Sendable' protocol
317 | let decoder = JSONDecoder()
318 | decoder.userInfo = [.options: options,
319 | .credentials: self.credentials]
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
320 |
321 |
/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/Directions.swift:444:44: warning: type 'Credentials' does not conform to the 'Sendable' protocol
442 | .routeIndex: routeIndex,
443 | .startLegIndex: startLegIndex,
444 | .credentials: self.credentials,
| `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
445 | ]
446 |
/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 | /**
[133/160] Compiling MapboxDirections SpokenInstruction.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[134/160] Compiling MapboxDirections TollCollection.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[135/160] Compiling MapboxDirections TollPrice.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[136/160] Compiling MapboxDirections TrafficTendency.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[137/160] Compiling MapboxDirections VisualInstruction.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[138/160] Compiling MapboxDirections VisualInstructionBanner.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[139/160] Compiling MapboxDirections VisualInstructionComponent.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[140/160] Compiling MapboxDirections Waypoint.swift
/host/spi-builder-workspace/Sources/MapboxDirections/TollCollection.swift:18:16: warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
8 | public var foreignMembers: JSONObject = [:]
9 |
10 | public enum CollectionType: String, Codable {
| `- note: consider making enum 'CollectionType' conform to the 'Sendable' protocol
11 | case booth = "toll_booth"
12 | case gantry = "toll_gantry"
:
16 | The type of the toll collection point.
17 | */
18 | public let type: CollectionType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'TollCollection' has non-Sendable type 'TollCollection.CollectionType'; this is an error in the Swift 6 language mode
19 |
20 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:83:16: warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
6 | Information about toll payment method.
7 | */
8 | public struct TollPaymentMethod: Hashable, Equatable {
| `- note: consider making struct 'TollPaymentMethod' conform to the 'Sendable' protocol
9 | /**
10 | Method identifier.
:
81 | Information about toll payment.
82 | */
83 | public let paymentMethod: TollPaymentMethod
| `- warning: stored property 'paymentMethod' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollPaymentMethod'; this is an error in the Swift 6 language mode
84 | /**
85 | Toll category information.
/host/spi-builder-workspace/Sources/MapboxDirections/TollPrice.swift:87:16: warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
26 | Categories by which toll fees are divided.
27 | */
28 | public struct TollCategory: Hashable, Equatable {
| `- note: consider making struct 'TollCategory' conform to the 'Sendable' protocol
29 | /**
30 | Category name.
:
85 | Toll category information.
86 | */
87 | public let category: TollCategory
| `- warning: stored property 'category' of 'Sendable'-conforming struct 'TollPrice' has non-Sendable type 'TollCategory'; this is an error in the Swift 6 language mode
88 | /**
89 | The actual toll price in `currencyCode` currency.
[141/160] Compiling MapboxDirections ProfileIdentifier.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[142/160] Compiling MapboxDirections QuickLook.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[143/160] Compiling MapboxDirections RefreshedRoute.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[144/160] Compiling MapboxDirections ResponseDisposition.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[145/160] Compiling MapboxDirections RestStop.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[146/160] Compiling MapboxDirections RoadClassExclusionViolation.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[147/160] Compiling MapboxDirections RoadClasses.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[148/160] Compiling MapboxDirections Route.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:27:16: warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
11 | A kind of rest stop.
12 | */
13 | public enum StopType: String, Codable {
| `- note: consider making enum 'StopType' conform to the 'Sendable' protocol
14 | /**
15 | A primitive rest stop that provides parking but no additional services.
:
25 | The kind of the rest stop.
26 | */
27 | public let type: StopType
| `- warning: stored property 'type' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type 'RestStop.StopType'; this is an error in the Swift 6 language mode
28 |
29 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RestStop.swift:38:16: warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
36 | Facilities associated with the rest stop, if available.
37 | */
38 | public let amenities: [Amenity]?
| `- warning: stored property 'amenities' of 'Sendable'-conforming struct 'RestStop' has non-Sendable type '[Amenity]?'; this is an error in the Swift 6 language mode
39 |
40 | private enum CodingKeys: String, CodingKey {
/host/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
5 | Provides information about amenity that is available at a given `RestStop`.
6 | */
7 | public struct Amenity: Codable, Equatable {
| `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
8 |
9 | /**
[149/160] Compiling MapboxDirections RouteLeg.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[150/160] Compiling MapboxDirections RouteLegAttributes.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[151/160] Compiling MapboxDirections RouteOptions.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[152/160] Compiling MapboxDirections RouteRefreshResponse.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[153/160] Compiling MapboxDirections RouteRefreshSource.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[154/160] Compiling MapboxDirections RouteResponse.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[155/160] Compiling MapboxDirections RouteStep.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
[156/160] Compiling MapboxDirections SilentWaypoint.swift
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:45:20: warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
43 | This property is set if the `RouteOptions.attributeOptions` property contains `AttributeOptions.congestionLevel`.
44 | */
45 | public var segmentCongestionLevels: [CongestionLevel]?
| `- warning: stored property 'segmentCongestionLevels' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[CongestionLevel]?'; this is an error in the Swift 6 language mode
46 |
47 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Congestion.swift:6:13: note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
4 | A `CongestionLevel` indicates the level of traffic congestion along a road segment relative to the normal flow of traffic along that segment. You can color-code a route line according to the congestion level along each segment of the route.
5 | */
6 | public enum CongestionLevel: String, Codable, CaseIterable {
| `- note: consider making enum 'CongestionLevel' conform to the 'Sendable' protocol
7 | /**
8 | There is not enough data to determine the level of congestion along the road segment.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteLegAttributes.swift:73:20: warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
71 | The tendency value conveys the changing state of traffic congestion (increasing, decreasing, constant etc).
72 | */
73 | public var trafficTendencies: [TrafficTendency]?
| `- warning: stored property 'trafficTendencies' of 'Sendable'-conforming struct 'Attributes' has non-Sendable type '[TrafficTendency]?'; this is an error in the Swift 6 language mode
74 | }
75 | }
/host/spi-builder-workspace/Sources/MapboxDirections/TrafficTendency.swift:7:13: note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
5 | ///
6 | /// New values could be introduced in the future without an API version change.
7 | public enum TrafficTendency: Int, Codable, CaseIterable {
| `- note: consider making enum 'TrafficTendency' conform to the 'Sendable' protocol
8 | /// Congestion tendency is unknown.
9 | case unknown = 0
/host/spi-builder-workspace/Sources/MapboxDirections/RouteRefreshResponse.swift:41:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
39 | The credentials used to make the request.
40 | */
41 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteRefreshResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
42 |
43 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:32:16: warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
30 | This property contains a maximum of two `Route`s.
31 | */
32 | public var routes: [Route]? {
| `- warning: stored property 'routes' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Route]?'; this is an error in the Swift 6 language mode
33 | didSet {
34 | updateRoadClassExclusionViolations()
/host/spi-builder-workspace/Sources/MapboxDirections/Route.swift:9:12: note: class 'Route' does not conform to the 'Sendable' protocol
7 | Typically, you do not create instances of this class directly. Instead, you receive route objects when you request directions using the `Directions.calculate(_:completionHandler:)` or `Directions.calculateRoutes(matching:completionHandler:)` method. However, if you use the `Directions.url(forCalculating:)` method instead, you can use `JSONDecoder` to convert the HTTP response into a `RouteResponse` or `MapMatchingResponse` object and access the `RouteResponse.routes` or `MapMatchingResponse.routes` property.
8 | */
9 | open class Route: DirectionsResult {
| `- note: class 'Route' does not conform to the 'Sendable' protocol
10 | private enum CodingKeys: String, CodingKey, CaseIterable {
11 | case tollPrices = "toll_costs"
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:43:16: warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
41 | This property omits the waypoint corresponding to any waypoint in `RouteOptions.waypoints` that has `Waypoint.separatesLegs` set to `true`.
42 | */
43 | public let waypoints: [Waypoint]?
| `- warning: stored property 'waypoints' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[Waypoint]?'; this is an error in the Swift 6 language mode
44 |
45 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Waypoint.swift:9:14: note: class 'Waypoint' does not conform to the 'Sendable' protocol
7 | A `Waypoint` object indicates a location along a route. It may be the route’s origin or destination, or it may be another location that the route visits. A waypoint object indicates the location’s geographic location along with other optional information, such as a name or the user’s direction approaching the waypoint. You create a `RouteOptions` object using waypoint objects and also receive waypoint objects in the completion handler of the `Directions.calculate(_:completionHandler:)` method.
8 | */
9 | public class Waypoint: Codable, ForeignMemberContainerClass {
| `- note: class 'Waypoint' does not conform to the 'Sendable' protocol
10 | public var foreignMembers: JSONObject = [:]
11 |
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:48:16: warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
5 | #endif
6 |
7 | public enum ResponseOptions {
| `- note: consider making enum 'ResponseOptions' conform to the 'Sendable' protocol
8 | case route(RouteOptions)
9 | case match(MatchOptions)
:
46 | The criteria for the directions response.
47 | */
48 | public let options: ResponseOptions
| `- warning: stored property 'options' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'ResponseOptions'; this is an error in the Swift 6 language mode
49 |
50 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:53:16: warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
51 | The credentials used to make the request.
52 | */
53 | public let credentials: Credentials
| `- warning: stored property 'credentials' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type 'Credentials'; this is an error in the Swift 6 language mode
54 |
55 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: consider making struct 'Credentials' conform to the 'Sendable' protocol
8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
9 |
10 | public struct Credentials: Equatable {
| `- note: consider making struct 'Credentials' conform to the 'Sendable' protocol
11 |
12 | /**
/host/spi-builder-workspace/Sources/MapboxDirections/RouteResponse.swift:87:29: warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
85 | Violations are ordered by routes from the `routes` array, then by a leg, step, and intersection, where `RoadClasses` restrictions were ignored. `nil` and empty return arrays correspond to `nil` and empty `routes` array respectively.
86 | */
87 | public private(set) var roadClassExclusionViolations: [RoadClassExclusionViolation]?
| `- warning: stored property 'roadClassExclusionViolations' of 'Sendable'-conforming struct 'RouteResponse' has non-Sendable type '[RoadClassExclusionViolation]?'; this is an error in the Swift 6 language mode
88 | }
89 |
/host/spi-builder-workspace/Sources/MapboxDirections/RoadClassExclusionViolation.swift:7:15: note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
5 | Exact `RoadClass` exclusion violation case.
6 | */
7 | public struct RoadClassExclusionViolation {
| `- note: consider making struct 'RoadClassExclusionViolation' conform to the 'Sendable' protocol
8 | /**
9 | `RoadClasses` that were violated at this point.
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:437:13: warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
90 | To avoid a complex series of if-else-if statements or switch statements, use pattern matching with a single switch statement on a tuple that consists of the maneuver type and maneuver direction.
91 | */
92 | public enum ManeuverType: String, Codable {
| `- note: consider making enum 'ManeuverType' conform to the 'Sendable' protocol
93 | /**
94 | The step requires the user to depart from a waypoint.
:
435 |
436 | let instructions: String
437 | let maneuverType: ManeuverType
| `- warning: stored property 'maneuverType' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverType'; this is an error in the Swift 6 language mode
438 | let maneuverDirection: ManeuverDirection?
439 | let maneuverLocation: Turf.LocationCoordinate2D
/host/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:438:13: warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
222 | A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
223 | */
224 | public enum ManeuverDirection: String, Codable {
| `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
225 | /**
226 | The maneuver requires a sharp turn to the right.
:
436 | let instructions: String
437 | let maneuverType: ManeuverType
438 | let maneuverDirection: ManeuverDirection?
| `- warning: stored property 'maneuverDirection' of 'Sendable'-conforming struct 'Maneuver' has non-Sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
439 | let maneuverLocation: Turf.LocationCoordinate2D
440 | let initialHeading: Turf.LocationDirection?
BUILD FAILURE 6.2 linux