The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Successful build of MapboxDirections, reference main (097137), with Swift 6.1 for macOS (SPM) on 9 Jul 2025 16:16:43 UTC.

Swift 6 data race errors: 104

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures

Build Log

/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[129/149] Compiling MapboxDirections Matrix.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:45:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 43 |      To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
 44 |      */
 45 |     public static let shared = Matrix()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:21: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:98:13: warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 96 |             }
 97 |
 98 |             self.processingQueue.async {
    |             `- warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
 99 |                 do {
100 |                     let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:29: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                             |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[130/149] Compiling MapboxDirections MatrixError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:45:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 43 |      To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
 44 |      */
 45 |     public static let shared = Matrix()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:21: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:98:13: warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 96 |             }
 97 |
 98 |             self.processingQueue.async {
    |             `- warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
 99 |                 do {
100 |                     let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:29: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                             |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[131/149] Compiling MapboxDirections MatrixOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:45:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 43 |      To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
 44 |      */
 45 |     public static let shared = Matrix()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:21: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:98:13: warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 96 |             }
 97 |
 98 |             self.processingQueue.async {
    |             `- warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
 99 |                 do {
100 |                     let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:29: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                             |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[132/149] Compiling MapboxDirections MatrixResponse.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:45:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 43 |      To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
 44 |      */
 45 |     public static let shared = Matrix()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:21: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:98:13: warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 96 |             }
 97 |
 98 |             self.processingQueue.async {
    |             `- warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
 99 |                 do {
100 |                     let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:29: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                             |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[133/149] Compiling MapboxDirections OfflineDirections.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:45:23: warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 43 |      To use this object, a Mapbox [access token](https://docs.mapbox.com/help/glossary/access-token/) should be specified in the `MBXAccessToken` key in the main application bundle’s Info.plist.
 44 |      */
 45 |     public static let shared = Matrix()
    |                       |- warning: static property 'shared' is not concurrency-safe because non-'Sendable' type 'Matrix' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'shared' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 46 |
 47 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:21: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:79:39: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 77 |             if let urlError = possibleError as? URLError {
 78 |                 DispatchQueue.main.async {
 79 |                     completionHandler(session, .failure(.network(urlError)))
    |                                       `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
 80 |                 }
 81 |                 return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:98:13: warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
  8 |  Computes distances and durations between origin-destination pairs, and returns the resulting distances in meters and durations in seconds.
  9 |  */
 10 | open class Matrix {
    |            `- note: class 'Matrix' does not conform to the 'Sendable' protocol
 11 |     /**
 12 |      A tuple type representing the matrix session that was generated from the request.
    :
 96 |             }
 97 |
 98 |             self.processingQueue.async {
    |             `- warning: capture of 'self' with non-sendable type 'Matrix' in a '@Sendable' closure
 99 |                 do {
100 |                     let decoder = JSONDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:29: warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                             |- warning: capture of 'completionHandler' with non-sendable type 'Matrix.MatrixCompletionHandler' (aka '((options: MatrixOptions, credentials: Credentials), Result<MatrixResponse, MatrixError>) -> ()') in a '@Sendable' closure
    |                             `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MatrixOptions.swift:7:14: note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  5 |  Options for calculating matrices from the Mapbox Matrix service.
  6 |  */
  7 | public class MatrixOptions: Codable {
    |              `- note: class 'MatrixOptions' does not conform to the 'Sendable' protocol
  8 |     // MARK: Creating a Matrix Options Object
  9 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Matrix.swift:106:47: warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
104 |
105 |                         DispatchQueue.main.async {
106 |                             completionHandler(session, .failure(apiError))
    |                                               `- warning: capture of 'session' with non-sendable type '(options: MatrixOptions, credentials: Credentials)' in a '@Sendable' closure
107 |                         }
108 |                         return
/Users/admin/builder/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 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:70:21: warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
 68 |             if let error = error {
 69 |                 DispatchQueue.main.async {
 70 |                     completionHandler(nil, error)
    |                     |- warning: capture of 'completionHandler' with non-sendable type 'OfflineVersionsHandler' (aka '(Optional<Array<String>>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                     `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
 71 |                 }
 72 |                 return
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/OfflineDirections.swift:113:17: warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
111 |         let url = tilesURL(for: coordinateBounds, version: version)
112 |         let task: URLSessionDownloadTask = URLSession.shared.downloadTask(with: url) {
113 |                 completionHandler($0, $1, $2)
    |                 |- warning: capture of 'completionHandler' with non-sendable type 'OfflineDownloaderCompletionHandler' (aka '(Optional<URL>, Optional<URLResponse>, Optional<any Error>) -> ()') in a '@Sendable' closure
    |                 `- note: a function type must be marked '@Sendable' to conform to 'Sendable'
114 |             }
115 |         task.resume()
[134/149] Compiling MapboxDirections ProfileIdentifier.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[135/149] Compiling MapboxDirections QuickLook.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[136/149] Compiling MapboxDirections RefreshedRoute.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[137/149] Compiling MapboxDirections ResponseDisposition.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[138/149] Compiling MapboxDirections RestStop.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[139/149] Compiling MapboxDirections RoadClassExclusionViolation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:18:23: warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
16 |     This profile prioritizes fast routes by preferring high-speed roads like highways. A driving route may use a ferry where necessary.
17 |     */
18 |     public static let automobile: ProfileIdentifier = .init(rawValue: "mapbox/driving")
   |                       |- warning: static property 'automobile' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobile' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
19 |
20 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:29:23: warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
27 |      - note: This profile is not supported by `Isochrones` API.
28 |     */
29 |     public static let automobileAvoidingTraffic: ProfileIdentifier = .init(rawValue: "mapbox/driving-traffic")
   |                       |- warning: static property 'automobileAvoidingTraffic' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'automobileAvoidingTraffic' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 |
31 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:36:23: warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
34 |     This profile prioritizes short, safe routes by avoiding highways and preferring cycling infrastructure, such as bike lanes on surface streets. A cycling route may, where necessary, use other modes of transportation, such as ferries or trains, or require dismounting the bicycle for a distance.
35 |     */
36 |     public static let cycling: ProfileIdentifier = .init(rawValue: "mapbox/cycling")
   |                       |- warning: static property 'cycling' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'cycling' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
37 |
38 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/ProfileIdentifier.swift:43:23: warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
 4 |  Options determining the primary mode of transportation.
 5 |  */
 6 | public struct ProfileIdentifier: Codable, Hashable, RawRepresentable {
   |               `- note: consider making struct 'ProfileIdentifier' conform to the 'Sendable' protocol
 7 |     public init(rawValue: String) {
 8 |         self.rawValue = rawValue
   :
41 |     This profile prioritizes short routes, making use of sidewalks and trails where available. A walking route may use other modes of transportation, such as ferries or trains, where necessary.
42 |     */
43 |     public static let walking: ProfileIdentifier = .init(rawValue: "mapbox/walking")
   |                       |- warning: static property 'walking' is not concurrency-safe because non-'Sendable' type 'ProfileIdentifier' may have shared mutable state; this is an error in the Swift 6 language mode
   |                       |- note: add '@MainActor' to make static property 'walking' part of global actor 'MainActor'
   |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
44 | }
45 |
/Users/admin/builder/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 |     /**
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Amenity.swift:7:15: note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 5 |  Provides information about amenity that is available at a given `RestStop`.
 6 |  */
 7 | public struct Amenity: Codable, Equatable {
   |               `- note: consider making struct 'Amenity' conform to the 'Sendable' protocol
 8 |
 9 |     /**
[140/149] Compiling MapboxDirections String.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[141/149] Compiling MapboxDirections URL+Request.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[142/149] Compiling MapboxDirections Incident.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[143/149] Compiling MapboxDirections Interchange.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[144/149] Compiling MapboxDirections Intersection.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[145/149] Compiling MapboxDirections IsochroneError.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[146/149] Compiling MapboxDirections IsochroneOptions.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:148:16: warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
 80 |
 81 |     /// Represents the impact of the incident on local traffic.
 82 |     public enum Impact: String, Codable {
    |                 `- note: consider making enum 'Impact' conform to the 'Sendable' protocol
 83 |         /// Unknown impact
 84 |         case unknown
    :
146 |     public var endDate: Date
147 |     /// Shows severity of an incident. May be not available for all incident types.
148 |     public var impact: Impact?
    |                `- warning: stored property 'impact' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'Incident.Impact?'; this is an error in the Swift 6 language mode
149 |     /// Provides additional classification of an incident. May be not available for all incident types.
150 |     public var subtype: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Incident.swift:178:16: warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
176 |     ///
177 |     /// `nil` value indicates that lanes data is not available
178 |     public var lanesBlocked: BlockedLanes?
    |                `- warning: stored property 'lanesBlocked' of 'Sendable'-conforming struct 'Incident' has non-sendable type 'BlockedLanes?'; this is an error in the Swift 6 language mode
179 |     /// The range of segments within the overall leg, where the incident spans.
180 |     public var shapeIndexRange: Range<Int>
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/BlockedLanes.swift:5:15: note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  3 |
  4 | /// Defines a lane affected by the `Incident`
  5 | public struct BlockedLanes: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'BlockedLanes' conform to the 'Sendable' protocol
  6 |     public var rawValue: Int
  7 |     var stringKey: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:105:16: warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
103 |      If road class information is unavailable, this property is set to `nil`.
104 |      */
105 |     public let outletRoadClasses: RoadClasses?
    |                `- warning: stored property 'outletRoadClasses' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'RoadClasses?'; this is an error in the Swift 6 language mode
106 |
107 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RoadClasses.swift:6:15: note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  4 | Option set that contains attributes of a road segment.
  5 | */
  6 | public struct RoadClasses: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'RoadClasses' conform to the 'Sendable' protocol
  7 |     public var rawValue: Int
  8 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:112:16: warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
110 |      If detailed road class information is unavailable, this property is set to `nil`. This property only indicates the road classification; for other aspects of the road, use the `outletRoadClasses` property.
111 |      */
112 |     public let outletMapboxStreetsRoadClass: MapboxStreetsRoadClass?
    |                `- warning: stored property 'outletMapboxStreetsRoadClass' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
113 |
114 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:162:16: warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
160 |      If no lane information is available for the intersection, this property’s value is `nil`. The first item corresponds to the leftmost lane, the second item corresponds to the second lane from the left, and so on, regardless of whether the surrounding country drives on the left or on the right.
161 |      */
162 |     public let approachLanes: [LaneIndication]?
    |                `- warning: stored property 'approachLanes' of 'Sendable'-conforming struct 'Intersection' has non-sendable type '[LaneIndication]?'; this is an error in the Swift 6 language mode
163 |
164 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/LaneIndication.swift:9:15: note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
  7 |  A Lane object has zero or more indications that usually correspond to arrows on signs or pavement markings. If no options are specified, it may be the case that no maneuvers are indicated on signage or pavement markings for the lane.
  8 |  */
  9 | public struct LaneIndication: OptionSet, CustomStringConvertible {
    |               `- note: consider making struct 'LaneIndication' conform to the 'Sendable' protocol
 10 |     public var rawValue: Int
 11 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:183:16: warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
181 |      If no lane information is available for the intersection, this property’s value is `nil`
182 |      */
183 |     public let usableLaneIndication: ManeuverDirection?
    |                `- warning: stored property 'usableLaneIndication' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'ManeuverDirection?'; this is an error in the Swift 6 language mode
184 |
185 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/RouteStep.swift:224:13: note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 222 |  A `ManeuverDirection` clarifies a `ManeuverType` with directional information. The exact meaning of the maneuver direction for a given step depends on the step’s maneuver type; see the `ManeuverType` documentation for details.
 223 |  */
 224 | public enum ManeuverDirection: String, Codable {
     |             `- note: consider making enum 'ManeuverDirection' conform to the 'Sendable' protocol
 225 |     /**
 226 |      The maneuver requires a sharp turn to the right.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:215:16: warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
213 |     /// An object containing information about routing and passing interchange along the route.
214 |     /// If such information is not available for an intersection, this property’s value is `nil`.
215 |     public let interchange: Interchange?
    |                `- warning: stored property 'interchange' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Interchange?'; this is an error in the Swift 6 language mode
216 |
217 |     /// An object containing information about routing and passing junction along the route.
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Interchange.swift:4:15: note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing interchange along the route.
 4 | public struct Interchange: Codable, Equatable {
   |               `- note: consider making struct 'Interchange' conform to the 'Sendable' protocol
 5 |     /// The name of the interchange, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:219:16: warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
217 |     /// An object containing information about routing and passing junction along the route.
218 |     /// If such information is not available for an intersection, this property’s value is `nil`.
219 |     public let junction: Junction?
    |                `- warning: stored property 'junction' of 'Sendable'-conforming struct 'Intersection' has non-sendable type 'Junction?'; this is an error in the Swift 6 language mode
220 | }
221 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Junction.swift:4:15: note: consider making struct 'Junction' conform to the 'Sendable' protocol
 2 |
 3 | /// Contains information about routing and passing junction along the route.
 4 | public struct Junction: Codable, Equatable {
   |               `- note: consider making struct 'Junction' conform to the 'Sendable' protocol
 5 |     /// The name of the junction, if available.
 6 |     public let name: String?
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Intersection.swift:254:13: warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
252 |         }
253 |
254 |         let streetClass: MapboxStreetsRoadClass?
    |             `- warning: stored property 'streetClass' of 'Sendable'-conforming struct 'MapboxStreetClassCodable' has non-sendable type 'MapboxStreetsRoadClass?'; this is an error in the Swift 6 language mode
255 |
256 |         init(streetClass: MapboxStreetsRoadClass?) {
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/MapboxStreetsRoadClass.swift:5:13: note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 3 |
 4 | /// A road classification according to the [Mapbox Streets source](https://docs.mapbox.com/vector-tiles/reference/mapbox-streets-v8/#road) , version 8.
 5 | public enum MapboxStreetsRoadClass: String, Codable {
   |             `- note: consider making enum 'MapboxStreetsRoadClass' conform to the 'Sendable' protocol
 6 |     /// High-speed, grade-separated highways
 7 |     case motorway = "motorway"
[147/152] Compiling MapboxDirectionsCLI main.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:48:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |         commandName: "mapbox-directions-swift",
50 |         abstract: "'mapbox-directions-swift' is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON.",
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:63:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | extension Command {
62 |     struct Match: ParsableCommand {
63 |         static var configuration =
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |             CommandConfiguration(commandName: "match",
65 |                                     abstract: "Command to process Map Matching Data.")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:81:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | extension Command {
80 |     struct Route: ParsableCommand {
81 |         static var configuration =
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |                     CommandConfiguration(commandName: "route",
83 |                                          abstract: "Command to process Routing Data.")
[148/152] Compiling MapboxDirectionsCLI CodingOperation.swift
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:139:13: warning: mutation of captured var 'responseData' in concurrently-executing code
137 |             }
138 |
139 |             responseData = data
    |             `- warning: mutation of captured var 'responseData' in concurrently-executing code
140 |             semaphore.signal()
141 |         }
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:195:39: warning: type 'OptionsType' does not conform to the 'Sendable' protocol
 18 | }
 19 |
 20 | class CodingOperation<ResponseType : Codable & DirectionsResultsProvider, OptionsType : DirectionsOptions > {
    |                                                                           `- note: consider making generic parameter 'OptionsType' conform to the 'Sendable' protocol
 21 |
 22 |     // MARK: - Parameters
    :
193 |
194 |         let decoder = JSONDecoder()
195 |         decoder.userInfo = [.options: directionsOptions,
    |                                       `- warning: type 'OptionsType' does not conform to the 'Sendable' protocol
196 |                             .credentials: credentials]
197 |
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:196:43: warning: type 'Credentials' does not conform to the 'Sendable' protocol
194 |         let decoder = JSONDecoder()
195 |         decoder.userInfo = [.options: directionsOptions,
196 |                             .credentials: credentials]
    |                                           `- warning: type 'Credentials' does not conform to the 'Sendable' protocol
197 |
198 |         let (data, directionsResultsProvider) = try processResponse(decoder, from: input)
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirections/Credentials.swift:10:15: note: struct 'Credentials' does not conform to the 'Sendable' protocol
 8 | let defaultApiEndPointURLString = Bundle.main.object(forInfoDictionaryKey: "MGLMapboxAPIBaseURL") as? String
 9 |
10 | public struct Credentials: Equatable {
   |               `- note: struct 'Credentials' does not conform to the 'Sendable' protocol
11 |
12 |     /**
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/CodingOperation.swift:2:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapboxDirections'
  1 | import Foundation
  2 | import MapboxDirections
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'MapboxDirections'
  3 | import Turf
  4 | #if canImport(FoundationNetworking)
[149/152] Emitting module MapboxDirectionsCLI
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:48:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
46 |     }
47 |
48 |     static var configuration = CommandConfiguration(
   |                |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 |         commandName: "mapbox-directions-swift",
50 |         abstract: "'mapbox-directions-swift' is a command line tool, designed to round-trip an arbitrary, JSON-formatted Directions or Map Matching API response through model objects and back to JSON.",
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:63:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
61 | extension Command {
62 |     struct Match: ParsableCommand {
63 |         static var configuration =
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |             CommandConfiguration(commandName: "match",
65 |                                     abstract: "Command to process Map Matching Data.")
/Users/admin/builder/spi-builder-workspace/Sources/MapboxDirectionsCLI/main.swift:81:20: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
79 | extension Command {
80 |     struct Route: ParsableCommand {
81 |         static var configuration =
   |                    |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |                    |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
   |                    |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
   |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
82 |                     CommandConfiguration(commandName: "route",
83 |                                          abstract: "Command to process Routing Data.")
[149/152] Write Objects.LinkFileList
[150/152] Linking mapbox-directions-swift
[151/152] Applying mapbox-directions-swift
Build complete! (15.27s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "polyline",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.2",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/raphaelmor/Polyline.git"
    },
    {
      "identity" : "turf-swift",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.8.0",
            "upper_bound" : "2.9.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mapbox/turf-swift.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser"
    },
    {
      "identity" : "ohhttpstubs",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.1.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/AliSoftware/OHHTTPStubs"
    }
  ],
  "manifest_display_name" : "MapboxDirections",
  "name" : "MapboxDirections",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.14"
    },
    {
      "name" : "ios",
      "version" : "12.0"
    },
    {
      "name" : "watchos",
      "version" : "5.0"
    },
    {
      "name" : "tvos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "MapboxDirections",
      "targets" : [
        "MapboxDirections"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "mapbox-directions-swift",
      "targets" : [
        "MapboxDirectionsCLI"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "MapboxDirectionsTests",
      "module_type" : "SwiftTarget",
      "name" : "MapboxDirectionsTests",
      "path" : "Tests/MapboxDirectionsTests",
      "product_dependencies" : [
        "OHHTTPStubsSwift"
      ],
      "resources" : [
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/match-polyline6.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/match.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Match/null-tracepoint.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Offline/2018-10-16-Liechtenstein.tar",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Offline/versions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/RouteRefreshResponseWithForeignMembers.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/RouteResponseWithForeignMembers.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/apiDestinationName.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/Responses/noDestinationName.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/incorrectRouteRefreshResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/partialRouteRefreshResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/routeRefreshResponse.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/RouteRefresh/routeRefreshRoute.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/amenities.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/incidents.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/instructions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/intersections.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/matrix.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/subLaneInstructions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/subVisualInstructions.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/tollAndFerryDirectionsRoute.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/annotation.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_dc_geojson.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_dc_polyline.json",
          "rule" : {
            "process" : {
            }
          }
        },
        {
          "path" : "/Users/admin/builder/spi-builder-workspace/Tests/MapboxDirectionsTests/Fixtures/v5/v5_driving_oldenburg_polyline.json",
          "rule" : {
            "process" : {
            }
          }
        }
      ],
      "sources" : [
        "AmenityTests.swift",
        "AnnotationTests.swift",
        "AttributeOptionsTests.swift",
        "CredentialsTests.swift",
        "CustomStringOptionSetTests.swift",
        "DirectionsErrorTests.swift",
        "DirectionsTests.swift",
        "Fixture.swift",
        "ForeignMemberContainerTests.swift",
        "GeoJSONTests.swift",
        "IntersectionTests.swift",
        "IsochroneTests.swift",
        "JSONSerialization.swift",
        "MatchOptionsTests.swift",
        "MatchTests.swift",
        "MatrixTests.swift",
        "OfflineDirectionsTests.swift",
        "ProfileIdentifierTests.swift",
        "QuickLookTests.swift",
        "RoutableMatchTests.swift",
        "RouteLegTests.swift",
        "RouteOptionsTests.swift",
        "RouteRefreshTests.swift",
        "RouteResponseTests.swift",
        "RouteStepTests.swift",
        "RouteTests.swift",
        "SpokenInstructionTests.swift",
        "TransportTypeTests.swift",
        "V5Tests.swift",
        "VisualInstructionComponentTests.swift",
        "VisualInstructionTests.swift",
        "WalkingOptionsTests.swift",
        "WaypointTests.swift"
      ],
      "target_dependencies" : [
        "MapboxDirections"
      ],
      "type" : "test"
    },
    {
      "c99name" : "MapboxDirectionsCLI",
      "module_type" : "SwiftTarget",
      "name" : "MapboxDirectionsCLI",
      "path" : "Sources/MapboxDirectionsCLI",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "mapbox-directions-swift"
      ],
      "sources" : [
        "CodingOperation.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "MapboxDirections"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "MapboxDirections",
      "module_type" : "SwiftTarget",
      "name" : "MapboxDirections",
      "path" : "Sources/MapboxDirections",
      "product_dependencies" : [
        "Polyline",
        "Turf"
      ],
      "product_memberships" : [
        "MapboxDirections",
        "mapbox-directions-swift"
      ],
      "sources" : [
        "AdministrativeRegion.swift",
        "Amenity.swift",
        "AmenityType.swift",
        "AttributeOptions.swift",
        "BlockedLanes.swift",
        "Congestion.swift",
        "Credentials.swift",
        "CustomValueOptionSet.swift",
        "Directions.swift",
        "DirectionsError.swift",
        "DirectionsOptions.swift",
        "DirectionsResult.swift",
        "DrivingSide.swift",
        "Extensions/Array.swift",
        "Extensions/Codable.swift",
        "Extensions/CoreLocation.swift",
        "Extensions/Double.swift",
        "Extensions/ForeignMemberContainer.swift",
        "Extensions/GeoJSON.swift",
        "Extensions/HTTPURLResponse.swift",
        "Extensions/Measurement.swift",
        "Extensions/String.swift",
        "Extensions/URL+Request.swift",
        "Incident.swift",
        "Interchange.swift",
        "Intersection.swift",
        "IsochroneError.swift",
        "IsochroneOptions.swift",
        "Isochrones.swift",
        "Junction.swift",
        "Lane.swift",
        "LaneIndication.swift",
        "MapMatching/MapMatchingResponse.swift",
        "MapMatching/Match.swift",
        "MapMatching/MatchOptions.swift",
        "MapMatching/Tracepoint.swift",
        "MapboxStreetsRoadClass.swift",
        "Matrix.swift",
        "MatrixError.swift",
        "MatrixOptions.swift",
        "MatrixResponse.swift",
        "OfflineDirections.swift",
        "ProfileIdentifier.swift",
        "QuickLook.swift",
        "RefreshedRoute.swift",
        "ResponseDisposition.swift",
        "RestStop.swift",
        "RoadClassExclusionViolation.swift",
        "RoadClasses.swift",
        "Route.swift",
        "RouteLeg.swift",
        "RouteLegAttributes.swift",
        "RouteOptions.swift",
        "RouteRefreshResponse.swift",
        "RouteRefreshSource.swift",
        "RouteResponse.swift",
        "RouteStep.swift",
        "SilentWaypoint.swift",
        "SpokenInstruction.swift",
        "TollCollection.swift",
        "TollPrice.swift",
        "TrafficTendency.swift",
        "VisualInstruction.swift",
        "VisualInstructionBanner.swift",
        "VisualInstructionComponent.swift",
        "Waypoint.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Done.