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

Failed to build MapboxSpeech, reference main (a9ef28), with Swift 6.2 (beta) for Linux on 19 Jun 2025 21:33:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mapbox/mapbox-speech-swift.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/mapbox/mapbox-speech-swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at a9ef284 Merge pull request #60 from mapbox/kried/2.1.1
Cloned https://github.com/mapbox/mapbox-speech-swift.git
Revision (git rev-parse @):
a9ef284deae227c6111c27a3535098c1e9a9d8e3
SUCCESS checkout https://github.com/mapbox/mapbox-speech-swift.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mapbox/mapbox-speech-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Building for debugging...
[0/7] Write sources
[2/7] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling MapboxSpeech MBSpeechOptions.swift
[5/10] Emitting module MapboxSpeech
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:41:25: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 39 |         system = "unknown"
 40 |     #endif
 41 |     let systemVersion = ProcessInfo().operatingSystemVersion
    |                         `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 42 |     components.append("\(system)/\(systemVersion.majorVersion).\(systemVersion.minorVersion).\(systemVersion.patchVersion)")
 43 |
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:150:124: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |      - returns: The data task used to perform the HTTP request. If, while waiting for the completion handler to execute, you no longer want the resulting audio, cancel this task.
149 |      */
150 |     @discardableResult open func audioData(with options: SpeechOptions, completionHandler: @escaping CompletionHandler) -> URLSessionDataTask {
    |                                                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |         let url = self.url(forSynthesizing: options)
152 |         let task = dataTask(with: url, completionHandler: { (data) in
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:174:158: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |      - postcondition: The caller must resume the returned task.
173 |      */
174 |     fileprivate func dataTask(with url: URL, completionHandler: @escaping (_ data: Data) -> Void, errorHandler: @escaping (_ error: SpeechError) -> Void) -> URLSessionDataTask {
    |                                                                                                                                                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 |
176 |         var request = URLRequest(url: url)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:240:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 |      Returns an error that supplements the given underlying error with additional information from the an HTTP response’s body or headers.
239 |      */
240 |     static func informativeError(code: String?, message: String?, response: URLResponse?, underlyingError error: Error?) -> SpeechError {
    |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 |         if let response = response as? HTTPURLResponse {
242 |             switch (response.statusCode, code ?? "") {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:257:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     case invalidResponse
256 |     case rateLimited(rateLimitInterval: TimeInterval?, rateLimit: UInt?, resetTime: Date?)
257 |     case unknown(response: URLResponse?, underlying: Error?, code: String?, message: String?)
    |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |
259 |     public var failureReason: String? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:299:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
297 | }
298 |
299 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
300 |     var rateLimit: UInt? {
301 |         guard let limit = allHeaderFields["X-Rate-Limit-Limit"] as? String else {
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
[6/10] Compiling MapboxSpeech MapboxSpeech.swift
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:41:25: error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 39 |         system = "unknown"
 40 |     #endif
 41 |     let systemVersion = ProcessInfo().operatingSystemVersion
    |                         `- error: 'ProcessInfo' initializer is inaccessible due to 'internal' protection level
 42 |     components.append("\(system)/\(systemVersion.majorVersion).\(systemVersion.minorVersion).\(systemVersion.patchVersion)")
 43 |
FoundationEssentials.ProcessInfo.init:2:10: note: 'init()' declared here
1 | class ProcessInfo {
2 | internal init()}
  |          `- note: 'init()' declared here
3 |
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:150:124: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
148 |      - returns: The data task used to perform the HTTP request. If, while waiting for the completion handler to execute, you no longer want the resulting audio, cancel this task.
149 |      */
150 |     @discardableResult open func audioData(with options: SpeechOptions, completionHandler: @escaping CompletionHandler) -> URLSessionDataTask {
    |                                                                                                                            `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
151 |         let url = self.url(forSynthesizing: options)
152 |         let task = dataTask(with: url, completionHandler: { (data) in
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:174:158: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
172 |      - postcondition: The caller must resume the returned task.
173 |      */
174 |     fileprivate func dataTask(with url: URL, completionHandler: @escaping (_ data: Data) -> Void, errorHandler: @escaping (_ error: SpeechError) -> Void) -> URLSessionDataTask {
    |                                                                                                                                                              `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 |
176 |         var request = URLRequest(url: url)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:240:77: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 |      Returns an error that supplements the given underlying error with additional information from the an HTTP response’s body or headers.
239 |      */
240 |     static func informativeError(code: String?, message: String?, response: URLResponse?, underlyingError error: Error?) -> SpeechError {
    |                                                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 |         if let response = response as? HTTPURLResponse {
242 |             switch (response.statusCode, code ?? "") {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:257:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |     case invalidResponse
256 |     case rateLimited(rateLimitInterval: TimeInterval?, rateLimit: UInt?, resetTime: Date?)
257 |     case unknown(response: URLResponse?, underlying: Error?, code: String?, message: String?)
    |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |
259 |     public var failureReason: String? {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:299:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
297 | }
298 |
299 | extension HTTPURLResponse {
    | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#NominalTypes]
300 |     var rateLimit: UInt? {
301 |         guard let limit = allHeaderFields["X-Rate-Limit-Limit"] as? String else {
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:98:32: error: cannot find 'Selector' in scope
 96 |     private var skuToken: String? {
 97 |         guard let mbx: AnyClass = NSClassFromString("MBXAccounts"),
 98 |               mbx.responds(to: Selector(("serviceSkuToken"))),
    |                                `- error: cannot find 'Selector' in scope
 99 |               let serviceSkuToken = mbx.value(forKeyPath: "serviceSkuToken") as? String
100 |         else { return nil }
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:98:19: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'responds'
 96 |     private var skuToken: String? {
 97 |         guard let mbx: AnyClass = NSClassFromString("MBXAccounts"),
 98 |               mbx.responds(to: Selector(("serviceSkuToken"))),
    |                   `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'responds'
 99 |               let serviceSkuToken = mbx.value(forKeyPath: "serviceSkuToken") as? String
100 |         else { return nil }
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:99:41: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'value'
 97 |         guard let mbx: AnyClass = NSClassFromString("MBXAccounts"),
 98 |               mbx.responds(to: Selector(("serviceSkuToken"))),
 99 |               let serviceSkuToken = mbx.value(forKeyPath: "serviceSkuToken") as? String
    |                                         `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'value'
100 |         else { return nil }
101 |         if mbx.responds(to: Selector(("serviceAccessToken"))) {
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:101:29: error: cannot find 'Selector' in scope
 99 |               let serviceSkuToken = mbx.value(forKeyPath: "serviceSkuToken") as? String
100 |         else { return nil }
101 |         if mbx.responds(to: Selector(("serviceAccessToken"))) {
    |                             `- error: cannot find 'Selector' in scope
102 |             guard let serviceAccessToken = mbx.value(forKeyPath: "serviceAccessToken") as? String,
103 |                   serviceAccessToken == accessToken
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:101:16: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'responds'
 99 |               let serviceSkuToken = mbx.value(forKeyPath: "serviceSkuToken") as? String
100 |         else { return nil }
101 |         if mbx.responds(to: Selector(("serviceAccessToken"))) {
    |                `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'responds'
102 |             guard let serviceAccessToken = mbx.value(forKeyPath: "serviceAccessToken") as? String,
103 |                   serviceAccessToken == accessToken
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:102:48: error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'value'
100 |         else { return nil }
101 |         if mbx.responds(to: Selector(("serviceAccessToken"))) {
102 |             guard let serviceAccessToken = mbx.value(forKeyPath: "serviceAccessToken") as? String,
    |                                                `- error: value of type 'AnyClass' (aka 'any AnyObject.Type') has no member 'value'
103 |                   serviceAccessToken == accessToken
104 |             else { return nil }
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:161:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
159 |             }
160 |         }
161 |         task.resume()
    |              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
162 |         return task
163 |     }
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:176:23: error: cannot find 'URLRequest' in scope
174 |     fileprivate func dataTask(with url: URL, completionHandler: @escaping (_ data: Data) -> Void, errorHandler: @escaping (_ error: SpeechError) -> Void) -> URLSessionDataTask {
175 |
176 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
177 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
178 |         let task = URLSession.shared.dataTask(with: request as URLRequest) { (possibleData, possibleResponse, possibleError) in
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:178:64: error: cannot find type 'URLRequest' in scope
176 |         var request = URLRequest(url: url)
177 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
178 |         let task = URLSession.shared.dataTask(with: request as URLRequest) { (possibleData, possibleResponse, possibleError) in
    |                                                                `- error: cannot find type 'URLRequest' in scope
179 |             if let error = possibleError {
180 |                 errorHandler(.unknown(response: possibleResponse, underlying: error, code: nil, message: nil))
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:178:31: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
176 |         var request = URLRequest(url: url)
177 |         request.setValue(userAgent, forHTTPHeaderField: "User-Agent")
178 |         let task = URLSession.shared.dataTask(with: request as URLRequest) { (possibleData, possibleResponse, possibleError) in
    |                               `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
179 |             if let error = possibleError {
180 |                 errorHandler(.unknown(response: possibleResponse, underlying: error, code: nil, message: nil))
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:180:49: error: argument type '_' expected to be an instance of a class or class-constrained type
178 |         let task = URLSession.shared.dataTask(with: request as URLRequest) { (possibleData, possibleResponse, possibleError) in
179 |             if let error = possibleError {
180 |                 errorHandler(.unknown(response: possibleResponse, underlying: error, code: nil, message: nil))
    |                                                 `- error: argument type '_' expected to be an instance of a class or class-constrained type
181 |                 return
182 |             }
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:241:36: warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
239 |      */
240 |     static func informativeError(code: String?, message: String?, response: URLResponse?, underlyingError error: Error?) -> SpeechError {
241 |         if let response = response as? HTTPURLResponse {
    |                                    `- warning: conditional downcast from 'URLResponse?' (aka 'Optional<AnyObject>') to 'HTTPURLResponse' (aka 'AnyObject') does nothing
242 |             switch (response.statusCode, code ?? "") {
243 |             case (429, _):
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:241:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
239 |      */
240 |     static func informativeError(code: String?, message: String?, response: URLResponse?, underlyingError error: Error?) -> SpeechError {
241 |         if let response = response as? HTTPURLResponse {
    |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 |             switch (response.statusCode, code ?? "") {
243 |             case (429, _):
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:242:30: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
240 |     static func informativeError(code: String?, message: String?, response: URLResponse?, underlyingError error: Error?) -> SpeechError {
241 |         if let response = response as? HTTPURLResponse {
242 |             switch (response.statusCode, code ?? "") {
    |                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
243 |             case (429, _):
244 |                 return .rateLimited(rateLimitInterval: response.rateLimitInterval, rateLimit: response.rateLimit, resetTime: response.rateLimitResetTime)
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:244:65: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimitInterval'
242 |             switch (response.statusCode, code ?? "") {
243 |             case (429, _):
244 |                 return .rateLimited(rateLimitInterval: response.rateLimitInterval, rateLimit: response.rateLimit, resetTime: response.rateLimitResetTime)
    |                                                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimitInterval'
245 |             default:
246 |                 return .unknown(response: response, underlying: error, code: code, message: message)
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:244:104: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimit'
242 |             switch (response.statusCode, code ?? "") {
243 |             case (429, _):
244 |                 return .rateLimited(rateLimitInterval: response.rateLimitInterval, rateLimit: response.rateLimit, resetTime: response.rateLimitResetTime)
    |                                                                                                        `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimit'
245 |             default:
246 |                 return .unknown(response: response, underlying: error, code: code, message: message)
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:244:135: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimitResetTime'
242 |             switch (response.statusCode, code ?? "") {
243 |             case (429, _):
244 |                 return .rateLimited(rateLimitInterval: response.rateLimitInterval, rateLimit: response.rateLimit, resetTime: response.rateLimitResetTime)
    |                                                                                                                                       `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'rateLimitResetTime'
245 |             default:
246 |                 return .unknown(response: response, underlying: error, code: code, message: message)
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:266:37: error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
264 |             return "The server returned a response that isn’t correctly formatted."
265 |         case let .rateLimited(rateLimitInterval: interval, rateLimit: limit, _):
266 |             let intervalFormatter = DateComponentsFormatter()
    |                                     `- error: 'DateComponentsFormatter' is unavailable: Not supported in swift-corelibs-foundation
267 |             intervalFormatter.unitsStyle = .full
268 |             guard let interval = interval, let limit = limit else {
Foundation.DateComponentsFormatter:2:12: note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 1 | @available(*, unavailable, message: "Not supported in swift-corelibs-foundation")
 2 | open class DateComponentsFormatter : Formatter, @unchecked Sendable {
   |            `- note: 'DateComponentsFormatter' has been explicitly marked unavailable here
 3 |     public enum UnitsStyle : Int, Sendable {
 4 |         case positional
/host/spi-builder-workspace/Sources/MapboxSpeech/MapboxSpeech.swift:277:36: error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
275 |             return message
276 |                 ?? (error as NSError?)?.userInfo[NSLocalizedFailureReasonErrorKey] as? String
277 |                 ?? HTTPURLResponse.localizedString(forStatusCode: (error as NSError?)?.code ?? -1)
    |                                    `- error: type 'HTTPURLResponse' (aka 'AnyObject') has no member 'localizedString'
278 |         }
279 |     }
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
BUILD FAILURE 6.2 linux