Build Information
Failed to build Moya with Swift 6.0 (beta) for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
184 | }
185 |
186 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
187 | task: URLSessionTask,
188 | willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:187:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
185 |
186 | open func urlSession(_ session: URLSession,
187 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 | willPerformHTTPRedirection response: HTTPURLResponse,
189 | newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:188:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 | open func urlSession(_ session: URLSession,
187 | task: URLSessionTask,
188 | willPerformHTTPRedirection response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 | newRequest request: URLRequest,
190 | completionHandler: @escaping (URLRequest?) -> Void) {
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/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:100: error: cannot find type 'URLSessionTaskMetrics' in scope
198 | }
199 |
200 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
201 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
202 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | }
199 |
200 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
202 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
198 | }
199 |
200 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
202 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 | }
207 |
208 | open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 | eventMonitor?.urlSession(session, task: task, didCompleteWithError: error)
210 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
206 | }
207 |
208 | open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 | eventMonitor?.urlSession(session, task: task, didCompleteWithError: error)
210 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 |
218 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
219 | open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
221 | }
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
217 |
218 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
219 | open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
220 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
221 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' 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 URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:226:28: error: cannot find type 'URLSessionDataDelegate' in scope
224 | // MARK: URLSessionDataDelegate
225 |
226 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
227 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
228 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
225 |
226 | extension SessionDelegate: URLSessionDataDelegate {
227 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
228 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
229 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
225 |
226 | extension SessionDelegate: URLSessionDataDelegate {
227 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
228 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
229 |
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/.build/checkouts/Alamofire/Source/SessionDelegate.swift:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | }
239 |
240 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | dataTask: URLSessionDataTask,
242 | willCacheResponse proposedResponse: CachedURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
239 |
240 | open func urlSession(_ session: URLSession,
241 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 | willCacheResponse proposedResponse: CachedURLResponse,
243 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
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/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 | open func urlSession(_ session: URLSession,
241 | dataTask: URLSessionDataTask,
242 | willCacheResponse proposedResponse: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
244 | eventMonitor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse)
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | dataTask: URLSessionDataTask,
242 | willCacheResponse proposedResponse: CachedURLResponse,
243 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | eventMonitor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse)
245 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
254 | // MARK: URLSessionDownloadDelegate
255 |
256 | extension SessionDelegate: URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
257 | open func urlSession(_ session: URLSession,
258 | downloadTask: URLSessionDownloadTask,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |
256 | extension SessionDelegate: URLSessionDownloadDelegate {
257 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | downloadTask: URLSessionDownloadTask,
259 | didResumeAtOffset fileOffset: Int64,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
256 | extension SessionDelegate: URLSessionDownloadDelegate {
257 | open func urlSession(_ session: URLSession,
258 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 | didResumeAtOffset fileOffset: Int64,
260 | expectedTotalBytes: Int64) {
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 | }
273 |
274 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 | downloadTask: URLSessionDownloadTask,
276 | didWriteData bytesWritten: Int64,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
273 |
274 | open func urlSession(_ session: URLSession,
275 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | didWriteData bytesWritten: Int64,
277 | totalBytesWritten: Int64,
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | }
292 |
293 | open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
294 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
295 |
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | }
292 |
293 | open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
294 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
295 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' 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 URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:242:48: error: cannot find type 'URLRequest' in scope
240 | task: URLSessionTask,
241 | willPerformHTTPRedirection response: HTTPURLResponse,
242 | newRequest request: URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
243 | public func urlSession(_ session: URLSession,
244 | task: URLSessionTask,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:245:57: error: cannot find type 'URLSessionTaskMetrics' in scope
243 | public func urlSession(_ session: URLSession,
244 | task: URLSessionTask,
245 | didFinishCollecting metrics: URLSessionTaskMetrics) {}
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
246 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
247 | public func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:93:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
91 |
92 | let evaluation: ChallengeEvaluation
93 | switch challenge.protectionSpace.authenticationMethod {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
94 | case NSURLAuthenticationMethodServerTrust:
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:94:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
92 | let evaluation: ChallengeEvaluation
93 | switch challenge.protectionSpace.authenticationMethod {
94 | case NSURLAuthenticationMethodServerTrust:
| `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
94 | case NSURLAuthenticationMethodServerTrust:
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
| `- error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
97 | NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
94 | case NSURLAuthenticationMethodServerTrust:
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
| `- error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
97 | NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
94 | case NSURLAuthenticationMethodServerTrust:
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
| `- error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
97 | NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
97 | NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
| `- error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
99 | default:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
95 | evaluation = attemptServerTrustAuthentication(with: challenge)
96 | case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
97 | NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
| `- error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
99 | default:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:28: error: cannot infer contextual base in reference to member 'performDefaultHandling'
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
99 | default:
100 | evaluation = (.performDefaultHandling, nil, nil)
| `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
101 | }
102 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:52: error: 'nil' requires a contextual type
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
99 | default:
100 | evaluation = (.performDefaultHandling, nil, nil)
| `- error: 'nil' requires a contextual type
101 | }
102 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:57: error: 'nil' requires a contextual type
98 | evaluation = attemptCredentialAuthentication(for: challenge, belongingTo: task)
99 | default:
100 | evaluation = (.performDefaultHandling, nil, nil)
| `- error: 'nil' requires a contextual type
101 | }
102 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:116:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
114 | /// - Returns: The `ChallengeEvaluation`.
115 | func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
116 | let host = challenge.protectionSpace.host
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
117 |
118 | guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
116 | let host = challenge.protectionSpace.host
117 |
118 | guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
| `- error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
119 | let trust = challenge.protectionSpace.serverTrust
120 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
116 | let host = challenge.protectionSpace.host
117 |
118 | guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
119 | let trust = challenge.protectionSpace.serverTrust
120 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:119:37: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
117 |
118 | guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
119 | let trust = challenge.protectionSpace.serverTrust
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
120 | else {
121 | return (.performDefaultHandling, nil, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:146:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
144 | func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
145 | belongingTo task: URLSessionTask) -> ChallengeEvaluation {
146 | guard challenge.previousFailureCount == 0 else {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
147 | return (.rejectProtectionSpace, nil, nil)
148 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:150:83: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
148 | }
149 |
150 | guard let credential = stateProvider?.credential(for: task, in: challenge.protectionSpace) else {
| `- error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
151 | return (.performDefaultHandling, nil, nil)
152 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:191:23: error: no exact matches in call to instance method 'urlSession'
189 | newRequest request: URLRequest,
190 | completionHandler: @escaping (URLRequest?) -> Void) {
191 | eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
| `- error: no exact matches in call to instance method 'urlSession'
192 |
193 | if let redirectHandler = stateProvider?.request(for: task)?.redirectHandler ?? stateProvider?.redirectHandler {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:82:10: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
80 |
81 | /// Event called during `URLSessionDownloadDelegate`'s `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)` method.
82 | func urlSession(_ session: URLSession,
| `- note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
83 | downloadTask: URLSessionDownloadTask,
84 | didResumeAtOffset fileOffset: Int64,
:
250 | dataTask: URLSessionDataTask,
251 | willCacheResponse proposedResponse: CachedURLResponse) {}
252 | public func urlSession(_ session: URLSession,
| `- note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
253 | downloadTask: URLSessionDownloadTask,
254 | didResumeAtOffset fileOffset: Int64,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:201:23: error: no exact matches in call to instance method 'urlSession'
199 |
200 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
201 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
| `- error: no exact matches in call to instance method 'urlSession'
202 |
203 | stateProvider?.request(for: task)?.didGatherMetrics(metrics)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:43:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
41 |
42 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didReceive:completionHandler:)` method.
43 | func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge)
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
44 |
45 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)` method.
:
63 |
64 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:task:didCompleteWithError:)` method.
65 | func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
66 |
67 | /// Event called during `URLSessionTaskDelegate`'s `urlSession(_:taskIsWaitingForConnectivity:)` method.
:
228 |
229 | public func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {}
230 | public func urlSession(_ session: URLSession,
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
231 | task: URLSessionTask,
232 | didReceive challenge: URLAuthenticationChallenge) {}
:
244 | task: URLSessionTask,
245 | didFinishCollecting metrics: URLSessionTaskMetrics) {}
246 | public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
| `- note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
247 | public func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {}
248 | public func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:434:38: error: cannot find type 'URLSessionTaskMetrics' in scope
432 | ///
433 | /// - Parameter metrics: The `URLSessionTaskMetrics` gathered.
434 | func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
435 | dispatchPrecondition(condition: .onQueue(underlyingQueue))
436 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:264:84: error: cannot find type 'URLRequest' in scope
262 | downloadTask: URLSessionDownloadTask,
263 | didFinishDownloadingTo location: URL) {}
264 | public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
266 | public func request(_ request: Request,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:267:64: error: cannot find type 'URLRequest' in scope
265 | public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
268 | to adaptedRequest: URLRequest) {}
269 | public func request(_ request: Request,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:268:44: error: cannot find type 'URLRequest' in scope
266 | public func request(_ request: Request,
267 | didAdaptInitialRequest initialRequest: URLRequest,
268 | to adaptedRequest: URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
269 | public func request(_ request: Request,
270 | didFailToAdaptURLRequest initialRequest: URLRequest,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:270:66: error: cannot find type 'URLRequest' in scope
268 | to adaptedRequest: URLRequest) {}
269 | public func request(_ request: Request,
270 | didFailToAdaptURLRequest initialRequest: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:272:77: error: cannot find type 'URLRequest' in scope
270 | didFailToAdaptURLRequest initialRequest: URLRequest,
271 | withError error: AFError) {}
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
| `- error: cannot find type 'URLRequest' in scope
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:274:71: error: cannot find type 'URLSessionTaskMetrics' in scope
272 | public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
273 | public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
274 | public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
275 | public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
276 | public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:286:56: error: cannot find type 'URLRequest' in scope
284 | public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
285 | public func request(_ request: DataRequest,
286 | didValidateRequest urlRequest: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
287 | response: HTTPURLResponse,
288 | data: Data?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:293:56: error: cannot find type 'URLRequest' in scope
291 | public func request<Value>(_ request: DataRequest, didParseResponse response: DataResponse<Value, AFError>) {}
292 | public func request(_ request: DataStreamRequest,
293 | didValidateRequest urlRequest: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
294 | response: HTTPURLResponse,
295 | withResult result: Request.ValidationResult) {}
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:303:56: error: cannot find type 'URLRequest' in scope
301 | public func request(_ request: DownloadRequest, didCreateDestinationURL url: URL) {}
302 | public func request(_ request: DownloadRequest,
303 | didValidateRequest urlRequest: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
304 | response: HTTPURLResponse,
305 | fileURL: URL?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
77 | extension URLRequestConvertible {
78 | /// The `URLRequest` returned by discarding any `Error` encountered.
79 | public var urlRequest: URLRequest? { try? asURLRequest() }
| `- error: cannot find type 'URLRequest' in scope
80 | }
81 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
80 | }
81 |
82 | extension URLRequest: URLRequestConvertible {
| `- error: cannot find type 'URLRequest' in scope
83 | /// Returns `self`.
84 | public func asURLRequest() throws -> URLRequest { self }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
87 | // MARK: -
88 |
89 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | /// Creates an instance with the specified `url`, `method`, and `headers`.
91 | ///
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:84:42: error: cannot find type 'URLRequest' in scope
82 | extension URLRequest: URLRequestConvertible {
83 | /// Returns `self`.
84 | public func asURLRequest() throws -> URLRequest { self }
| `- error: cannot find type 'URLRequest' in scope
85 | }
86 |
[81/246] Compiling ReactiveSwift UnidirectionalBinding.swift
[82/246] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[83/246] Compiling ReactiveSwift ValidatingProperty.swift
[84/246] Compiling RxSwift Disposable.swift
[85/246] Compiling RxSwift Disposables.swift
[86/246] Compiling RxSwift DisposeBag.swift
[87/246] Compiling RxSwift DisposeBase.swift
[88/246] Compiling RxSwift DistinctUntilChanged.swift
[89/246] Compiling RxSwift Do.swift
[90/246] Compiling RxSwift ElementAt.swift
[91/246] Compiling RxSwift Empty.swift
[92/246] Compiling RxSwift Enumerated.swift
[93/246] Compiling RxSwift Error.swift
[94/246] Compiling RxSwift Errors.swift
[95/246] Compiling RxSwift Event.swift
[96/246] Compiling RxSwift Filter.swift
[97/246] Compiling RxSwift First.swift
[98/246] Compiling RxSwift Generate.swift
[99/246] Compiling RxSwift GroupBy.swift
[100/246] Compiling RxSwift GroupedObservable.swift
[101/246] Compiling RxSwift AsSingle.swift
[102/246] Compiling RxSwift AsyncLock.swift
[103/246] Compiling RxSwift AsyncSubject.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
25 | import Foundation
26 |
27 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
28 | /// Returns the `httpMethod` as Alamofire's `HTTPMethod` type.
29 | public var method: HTTPMethod? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
25 | import Foundation
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: cannot find 'SecPolicyCreateSSL' in scope
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: 'nil' requires a contextual type
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:551:52: error: cannot find type 'SecPolicy' in scope
549 |
550 | extension SecPolicy: AlamofireExtended {}
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | configuration.headers = .default
34 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | return configuration
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 |
81 | fileprivate func validate<S: Sequence>(statusCode acceptableStatusCodes: S,
82 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
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/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 |
95 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
96 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | data: Data?)
98 | -> ValidationResult
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/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |
105 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
106 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | -> ValidationResult
108 | where S.Iterator.Element == String {
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/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
147 | /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
148 | /// request was valid.
149 | public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
150 |
151 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
195 | /// A closure used to validate a request that takes a `URLRequest` and `HTTPURLResponse` and returns whether the
196 | /// request was valid.
197 | public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
198 |
199 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
245 | /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
246 | /// destination URL, and returns whether the request was valid.
247 | public typealias Validation = (_ request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
248 | _ response: HTTPURLResponse,
249 | _ fileURL: URL?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
200 | public var lastRequest: URLRequest? { requests.last }
201 | /// Current `URLRequest` created on behalf of the `Request`.
202 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
203 |
204 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
85 | if acceptableStatusCodes.contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
88 | let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
89 | return .failure(AFError.responseValidationFailed(reason: reason))
90 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
108 | where S.Iterator.Element == String {
109 | guard
110 | let responseContentType = response.mimeType,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
111 | let responseMIMEType = MIMEType(responseContentType)
112 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1150:40: error: @escaping attribute only applies to function types
1148 | /// - Returns: The instance.
1149 | @discardableResult
1150 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1151 | let validator: () -> Void = { [unowned self] in
1152 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
| `- error: no exact matches in call to instance method 'validate'
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
174 | validate { [unowned self] _, response, data in
| `- error: cannot infer type of closure parameter '_' without a type annotation
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1319:40: error: @escaping attribute only applies to function types
1317 | /// - Returns: The `DataStreamRequest`.
1318 | @discardableResult
1319 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1320 | let validator: () -> Void = { [unowned self] in
1321 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
223 | self.validate(contentType: acceptableContentTypes(), response: response)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
208 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
222 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1712:40: error: @escaping attribute only applies to function types
1710 | /// - Returns: The instance.
1711 | @discardableResult
1712 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1713 | let validator: () -> Void = { [unowned self] in
1714 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
| `- error: no exact matches in call to instance method 'validate'
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter '_' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'response' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'fileURL' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: cannot infer contextual base in reference to member 'failure'
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
| `- error: cannot infer contextual base in reference to member 'failure'
278 | }
279 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
25 | import Foundation
26 |
27 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
28 | /// Returns the `httpMethod` as Alamofire's `HTTPMethod` type.
29 | public var method: HTTPMethod? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
25 | import Foundation
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: cannot find 'SecPolicyCreateSSL' in scope
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: 'nil' requires a contextual type
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:551:52: error: cannot find type 'SecPolicy' in scope
549 |
550 | extension SecPolicy: AlamofireExtended {}
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | configuration.headers = .default
34 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | return configuration
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 |
81 | fileprivate func validate<S: Sequence>(statusCode acceptableStatusCodes: S,
82 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
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/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 |
95 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
96 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | data: Data?)
98 | -> ValidationResult
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/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |
105 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
106 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | -> ValidationResult
108 | where S.Iterator.Element == String {
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/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
147 | /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
148 | /// request was valid.
149 | public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
150 |
151 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
195 | /// A closure used to validate a request that takes a `URLRequest` and `HTTPURLResponse` and returns whether the
196 | /// request was valid.
197 | public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
198 |
199 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
245 | /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
246 | /// destination URL, and returns whether the request was valid.
247 | public typealias Validation = (_ request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
248 | _ response: HTTPURLResponse,
249 | _ fileURL: URL?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
200 | public var lastRequest: URLRequest? { requests.last }
201 | /// Current `URLRequest` created on behalf of the `Request`.
202 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
203 |
204 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
85 | if acceptableStatusCodes.contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
88 | let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
89 | return .failure(AFError.responseValidationFailed(reason: reason))
90 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
108 | where S.Iterator.Element == String {
109 | guard
110 | let responseContentType = response.mimeType,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
111 | let responseMIMEType = MIMEType(responseContentType)
112 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1150:40: error: @escaping attribute only applies to function types
1148 | /// - Returns: The instance.
1149 | @discardableResult
1150 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1151 | let validator: () -> Void = { [unowned self] in
1152 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
| `- error: no exact matches in call to instance method 'validate'
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
174 | validate { [unowned self] _, response, data in
| `- error: cannot infer type of closure parameter '_' without a type annotation
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1319:40: error: @escaping attribute only applies to function types
1317 | /// - Returns: The `DataStreamRequest`.
1318 | @discardableResult
1319 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1320 | let validator: () -> Void = { [unowned self] in
1321 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
223 | self.validate(contentType: acceptableContentTypes(), response: response)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
208 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
222 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1712:40: error: @escaping attribute only applies to function types
1710 | /// - Returns: The instance.
1711 | @discardableResult
1712 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1713 | let validator: () -> Void = { [unowned self] in
1714 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
| `- error: no exact matches in call to instance method 'validate'
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter '_' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'response' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'fileURL' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: cannot infer contextual base in reference to member 'failure'
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
| `- error: cannot infer contextual base in reference to member 'failure'
278 | }
279 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
25 | import Foundation
26 |
27 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
28 | /// Returns the `httpMethod` as Alamofire's `HTTPMethod` type.
29 | public var method: HTTPMethod? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
25 | import Foundation
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: cannot find 'SecPolicyCreateSSL' in scope
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: 'nil' requires a contextual type
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:551:52: error: cannot find type 'SecPolicy' in scope
549 |
550 | extension SecPolicy: AlamofireExtended {}
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | configuration.headers = .default
34 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | return configuration
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 |
81 | fileprivate func validate<S: Sequence>(statusCode acceptableStatusCodes: S,
82 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
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/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 |
95 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
96 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | data: Data?)
98 | -> ValidationResult
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/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |
105 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
106 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | -> ValidationResult
108 | where S.Iterator.Element == String {
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/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
147 | /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
148 | /// request was valid.
149 | public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
150 |
151 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
195 | /// A closure used to validate a request that takes a `URLRequest` and `HTTPURLResponse` and returns whether the
196 | /// request was valid.
197 | public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
198 |
199 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
245 | /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
246 | /// destination URL, and returns whether the request was valid.
247 | public typealias Validation = (_ request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
248 | _ response: HTTPURLResponse,
249 | _ fileURL: URL?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
200 | public var lastRequest: URLRequest? { requests.last }
201 | /// Current `URLRequest` created on behalf of the `Request`.
202 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
203 |
204 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
85 | if acceptableStatusCodes.contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
88 | let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
89 | return .failure(AFError.responseValidationFailed(reason: reason))
90 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
108 | where S.Iterator.Element == String {
109 | guard
110 | let responseContentType = response.mimeType,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
111 | let responseMIMEType = MIMEType(responseContentType)
112 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1150:40: error: @escaping attribute only applies to function types
1148 | /// - Returns: The instance.
1149 | @discardableResult
1150 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1151 | let validator: () -> Void = { [unowned self] in
1152 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
| `- error: no exact matches in call to instance method 'validate'
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
174 | validate { [unowned self] _, response, data in
| `- error: cannot infer type of closure parameter '_' without a type annotation
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1319:40: error: @escaping attribute only applies to function types
1317 | /// - Returns: The `DataStreamRequest`.
1318 | @discardableResult
1319 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1320 | let validator: () -> Void = { [unowned self] in
1321 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
223 | self.validate(contentType: acceptableContentTypes(), response: response)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
208 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
222 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1712:40: error: @escaping attribute only applies to function types
1710 | /// - Returns: The instance.
1711 | @discardableResult
1712 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1713 | let validator: () -> Void = { [unowned self] in
1714 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
| `- error: no exact matches in call to instance method 'validate'
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter '_' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'response' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'fileURL' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: cannot infer contextual base in reference to member 'failure'
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
| `- error: cannot infer contextual base in reference to member 'failure'
278 | }
279 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
25 | import Foundation
26 |
27 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
28 | /// Returns the `httpMethod` as Alamofire's `HTTPMethod` type.
29 | public var method: HTTPMethod? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
25 | import Foundation
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: cannot find 'SecPolicyCreateSSL' in scope
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: 'nil' requires a contextual type
554 |
555 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:551:52: error: cannot find type 'SecPolicy' in scope
549 |
550 | extension SecPolicy: AlamofireExtended {}
551 | extension AlamofireExtension where ExtendedType == SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
552 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
553 | public static let `default` = SecPolicyCreateSSL(true, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' 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 URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
33 | configuration.headers = .default
34 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
31 | public static var `default`: URLSessionConfiguration {
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
| `- error: cannot infer contextual base in reference to member 'default'
34 |
35 | return configuration
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 |
81 | fileprivate func validate<S: Sequence>(statusCode acceptableStatusCodes: S,
82 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
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/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
94 |
95 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
96 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | data: Data?)
98 | -> ValidationResult
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/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
104 |
105 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
106 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | -> ValidationResult
108 | where S.Iterator.Element == String {
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/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
147 | /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
148 | /// request was valid.
149 | public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
150 |
151 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
195 | /// A closure used to validate a request that takes a `URLRequest` and `HTTPURLResponse` and returns whether the
196 | /// request was valid.
197 | public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
| `- error: cannot find type 'URLRequest' in scope
198 |
199 | /// Validates that the response has a status code in the specified sequence.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
245 | /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
246 | /// destination URL, and returns whether the request was valid.
247 | public typealias Validation = (_ request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
248 | _ response: HTTPURLResponse,
249 | _ fileURL: URL?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
200 | public var lastRequest: URLRequest? { requests.last }
201 | /// Current `URLRequest` created on behalf of the `Request`.
202 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
203 |
204 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
85 | if acceptableStatusCodes.contains(response.statusCode) {
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
86 | return .success(())
87 | } else {
88 | let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
89 | return .failure(AFError.responseValidationFailed(reason: reason))
90 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
108 | where S.Iterator.Element == String {
109 | guard
110 | let responseContentType = response.mimeType,
| `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
111 | let responseMIMEType = MIMEType(responseContentType)
112 | else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1150:40: error: @escaping attribute only applies to function types
1148 | /// - Returns: The instance.
1149 | @discardableResult
1150 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1151 | let validator: () -> Void = { [unowned self] in
1152 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
160 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
162 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
157 | /// - Returns: The instance.
158 | @discardableResult
159 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
160 | validate { [unowned self] _, response, _ in
161 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
171 | /// - returns: The request.
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
174 | validate { [unowned self] _, response, data in
| `- error: no exact matches in call to instance method 'validate'
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
172 | @discardableResult
173 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
174 | validate { [unowned self] _, response, data in
| `- error: cannot infer type of closure parameter '_' without a type annotation
175 | self.validate(contentType: acceptableContentTypes(), response: response, data: data)
176 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1319:40: error: @escaping attribute only applies to function types
1317 | /// - Returns: The `DataStreamRequest`.
1318 | @discardableResult
1319 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1320 | let validator: () -> Void = { [unowned self] in
1321 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
223 | self.validate(contentType: acceptableContentTypes(), response: response)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
208 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
210 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
205 | /// - Returns: The instance.
206 | @discardableResult
207 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
208 | validate { [unowned self] _, response in
209 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
219 | /// - returns: The request.
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
222 | validate { [unowned self] _, response in
| `- error: no exact matches in call to instance method 'validate'
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
220 | @discardableResult
221 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
222 | validate { [unowned self] _, response in
| `- error: cannot infer type of closure parameter '_' without a type annotation
223 | self.validate(contentType: acceptableContentTypes(), response: response)
224 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1712:40: error: @escaping attribute only applies to function types
1710 | /// - Returns: The instance.
1711 | @discardableResult
1712 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1713 | let validator: () -> Void = { [unowned self] in
1714 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
| `- error: no exact matches in call to instance method 'validate'
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
261 | validate { [unowned self] _, response, _ in
| `- error: cannot infer type of closure parameter '_' without a type annotation
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
263 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
258 | /// - Returns: The instance.
259 | @discardableResult
260 | public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
| `- note: found this candidate
261 | validate { [unowned self] _, response, _ in
262 | self.validate(statusCode: acceptableStatusCodes, response: response)
:
272 | /// - returns: The request.
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
| `- note: found this candidate
275 | validate { [unowned self] _, response, fileURL in
| `- error: no exact matches in call to instance method 'validate'
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter '_' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'response' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
273 | @discardableResult
274 | public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
275 | validate { [unowned self] _, response, fileURL in
| `- error: cannot infer type of closure parameter 'fileURL' without a type annotation
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: cannot infer contextual base in reference to member 'failure'
275 | validate { [unowned self] _, response, fileURL in
276 | guard let validFileURL = fileURL else {
277 | return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
| `- error: cannot infer contextual base in reference to member 'failure'
278 | }
279 |
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:139:31: error: cannot find type 'SecTrust' in scope
137 | public let host: String
138 | /// The `SecTrust` value which was evaluated.
139 | public let trust: SecTrust
| `- error: cannot find type 'SecTrust' in scope
140 | /// The `OSStatus` of evaluation operation.
141 | public let status: OSStatus
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:141:32: error: cannot find type 'OSStatus' in scope
139 | public let trust: SecTrust
140 | /// The `OSStatus` of evaluation operation.
141 | public let status: OSStatus
| `- error: cannot find type 'OSStatus' in scope
142 | /// The result of the evaluation operation.
143 | public let result: SecTrustResultType
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:143:32: error: cannot find type 'SecTrustResultType' in scope
141 | public let status: OSStatus
142 | /// The result of the evaluation operation.
143 | public let result: SecTrustResultType
| `- error: cannot find type 'SecTrustResultType' in scope
144 |
145 | /// Creates an `Output` value from the provided values.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:146:43: error: cannot find type 'SecTrust' in scope
144 |
145 | /// Creates an `Output` value from the provided values.
146 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrust' in scope
147 | self.host = host
148 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:146:63: error: cannot find type 'OSStatus' in scope
144 |
145 | /// Creates an `Output` value from the provided values.
146 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'OSStatus' in scope
147 | self.host = host
148 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:146:83: error: cannot find type 'SecTrustResultType' in scope
144 |
145 | /// Creates an `Output` value from the provided values.
146 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrustResultType' in scope
147 | self.host = host
148 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:45: error: cannot find type 'SecTrust' in scope
159 | case noPublicKeysFound
160 | /// During evaluation, application of the associated `SecPolicy` failed.
161 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecTrust' in scope
162 | /// During evaluation, setting the associated anchor certificates failed.
163 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:63: error: cannot find type 'SecPolicy' in scope
159 | case noPublicKeysFound
160 | /// During evaluation, application of the associated `SecPolicy` failed.
161 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecPolicy' in scope
162 | /// During evaluation, setting the associated anchor certificates failed.
163 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:82: error: cannot find type 'OSStatus' in scope
159 | case noPublicKeysFound
160 | /// During evaluation, application of the associated `SecPolicy` failed.
161 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
162 | /// During evaluation, setting the associated anchor certificates failed.
163 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:163:54: error: cannot find type 'OSStatus' in scope
161 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
162 | /// During evaluation, setting the associated anchor certificates failed.
163 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'OSStatus' in scope
164 | /// During evaluation, creation of the revocation policy failed.
165 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:163:79: error: cannot find type 'SecCertificate' in scope
161 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
162 | /// During evaluation, setting the associated anchor certificates failed.
163 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
164 | /// During evaluation, creation of the revocation policy failed.
165 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:60: error: cannot find type 'SecTrust' in scope
173 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
174 | /// Certificate pinning failed.
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecTrust' in scope
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:91: error: cannot find type 'SecCertificate' in scope
173 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
174 | /// Certificate pinning failed.
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:129: error: cannot find type 'SecCertificate' in scope
173 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
174 | /// Certificate pinning failed.
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:58: error: cannot find type 'SecTrust' in scope
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecTrust' in scope
178 | /// Custom server trust evaluation failed due to the associated `Error`.
179 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:81: error: cannot find type 'SecKey' in scope
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
178 | /// Custom server trust evaluation failed due to the associated `Error`.
179 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:103: error: cannot find type 'SecKey' in scope
175 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
176 | /// Public key pinning failed.
177 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
178 | /// Custom server trust evaluation failed due to the associated `Error`.
179 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:30: error: cannot find type 'CFOptionFlags' in scope
137 |
138 | /// The raw value of the option.
139 | public let rawValue: CFOptionFlags
| `- error: cannot find type 'CFOptionFlags' in scope
140 |
141 | /// Creates an `Options` value with the given `CFOptionFlags`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:448:50: error: cannot find 'NSURLSessionDownloadTaskResumeData' in scope
446 | /// The download resume data of any underlying network error. Only produced by `DownloadRequest`s.
447 | public var downloadResumeData: Data? {
448 | (underlyingError as? URLError)?.userInfo[NSURLSessionDownloadTaskResumeData] as? Data
| `- error: cannot find 'NSURLSessionDownloadTaskResumeData' in scope
449 | }
450 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:59:63: error: cannot find type 'URLRequest' in scope
57 | /// - credential: The `Credential`.
58 | /// - urlRequest: The `URLRequest`.
59 | func apply(_ credential: Credential, to urlRequest: inout URLRequest)
| `- error: cannot find type 'URLRequest' in scope
60 |
61 | /// Refreshes the `Credential` and executes the `completion` closure with the `Result` once complete.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:35: error: cannot find type 'URLRequest' in scope
107 | ///
108 | /// - Returns: `true` if the `URLRequest` failed due to an authentication error, `false` otherwise.
109 | func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
| `- error: cannot find type 'URLRequest' in scope
110 |
111 | /// Determines whether the `URLRequest` is authenticated with the `Credential`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
107 | ///
108 | /// - Returns: `true` if the `URLRequest` failed due to an authentication error, `false` otherwise.
109 | func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
110 |
111 | /// Determines whether the `URLRequest` is authenticated with the `Credential`.
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/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:141:34: error: cannot find type 'URLRequest' in scope
139 | ///
140 | /// - Returns: `true` if the `URLRequest` is authenticated with the `Credential`, `false` otherwise.
141 | func isRequest(_ urlRequest: URLRequest, authenticatedWith credential: Credential) -> Bool
| `- error: cannot find type 'URLRequest' in scope
142 | }
143 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:194:25: error: cannot find type 'URLRequest' in scope
192 |
193 | private struct AdaptOperation {
194 | let urlRequest: URLRequest
| `- error: cannot find type 'URLRequest' in scope
195 | let session: Session
196 | let completion: (Result<URLRequest, Error>) -> Void
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:196:33: error: cannot find type 'URLRequest' in scope
194 | let urlRequest: URLRequest
195 | let session: Session
196 | let completion: (Result<URLRequest, Error>) -> Void
| `- error: cannot find type 'URLRequest' in scope
197 | }
198 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:37: error: cannot find type 'URLRequest' in scope
249 | // MARK: Adapt
250 |
251 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
252 | let adaptResult: AdaptResult = $mutableState.write { mutableState in
253 | // Queue the adapt operation if a refresh is already in place.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:101: error: cannot find type 'URLRequest' in scope
249 | // MARK: Adapt
250 |
251 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
252 | let adaptResult: AdaptResult = $mutableState.write { mutableState in
253 | // Queue the adapt operation if a refresh is already in place.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:30: error: cannot find type 'URLRequest' in scope
33 | /// - session: The `Session` that will execute the `URLRequest`.
34 | /// - completion: The completion handler that must be called when adaptation is complete.
35 | func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:94: error: cannot find type 'URLRequest' in scope
33 | /// - session: The `Session` that will execute the `URLRequest`.
34 | /// - completion: The completion handler that must be called when adaptation is complete.
35 | func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
| `- error: cannot find type 'URLRequest' in scope
36 | }
37 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:281:25: error: cannot infer contextual base in reference to member 'success'
279 | var authenticatedRequest = urlRequest
280 | authenticator.apply(credential, to: &authenticatedRequest)
281 | completion(.success(authenticatedRequest))
| `- error: cannot infer contextual base in reference to member 'success'
282 |
283 | case let .doNotAdapt(adaptError):
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:284:25: error: cannot infer contextual base in reference to member 'failure'
282 |
283 | case let .doNotAdapt(adaptError):
284 | completion(.failure(adaptError))
| `- error: cannot infer contextual base in reference to member 'failure'
285 |
286 | case .adaptDeferred:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
200 | public var lastRequest: URLRequest? { requests.last }
201 | /// Current `URLRequest` created on behalf of the `Request`.
202 | public var request: URLRequest? { lastRequest }
| `- error: cannot find type 'URLRequest' in scope
203 |
204 | /// `URLRequest`s from all of the `URLSessionTask`s executed on behalf of the `Request`. May be different from
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:383:21: error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
381 |
382 | // Dispatch to queue to hop out of the mutable state lock
383 | queue.async {
| `- error: trailing closure passed to parameter of type 'DispatchWorkItem' that does not accept a closure
384 | adaptOperations.forEach { self.adapt($0.urlRequest, for: $0.session, completion: $0.completion) }
385 | requestsToRetry.forEach { $0(.retry) }
Dispatch.DispatchQueue:62:17: note: 'async(execute:)' declared here
60 | public func sync(execute workItem: DispatchWorkItem)
61 | @available(macOS 10.10, iOS 8.0, *)
62 | public func async(execute workItem: DispatchWorkItem)
| `- note: 'async(execute:)' declared here
63 | @available(macOS 10.10, iOS 8.0, *)
64 | public func async(group: DispatchGroup, execute workItem: DispatchWorkItem)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:400:54: error: cannot infer contextual base in reference to member 'failure'
398 | // Dispatch to queue to hop out of the mutable state lock
399 | queue.async {
400 | adaptOperations.forEach { $0.completion(.failure(error)) }
| `- error: cannot infer contextual base in reference to member 'failure'
401 | requestsToRetry.forEach { $0(.doNotRetryWithError(error)) }
402 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | /// - response: The cached response to potentially store in the cache.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
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/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | completion: @escaping (CachedURLResponse?) -> Void)
44 | }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
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/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
76 |
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | willCacheResponse response: CachedURLResponse,
80 | completion: @escaping (CachedURLResponse?) -> Void) {
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/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
79 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | completion: @escaping (CachedURLResponse?) -> Void) {
81 | switch behavior {
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' 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 CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Combine.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protected.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/StringEncoding+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.Qr9wPf/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AuthenticationInterceptor.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:133:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0 swift-frontend 0x000055f7b5435497
1 swift-frontend 0x000055f7b54331ee
2 swift-frontend 0x000055f7b5435b0a
3 libc.so.6 0x00007f504c6a6520
4 libc.so.6 0x00007f504c6fa9fc pthread_kill + 300
5 libc.so.6 0x00007f504c6a6476 raise + 22
6 libc.so.6 0x00007f504c68c7f3 abort + 211
7 swift-frontend 0x000055f7b0565055
8 swift-frontend 0x000055f7b01b2934
9 swift-frontend 0x000055f7b052766f
10 swift-frontend 0x000055f7afd2b54c
11 swift-frontend 0x000055f7ae9119ce
12 swift-frontend 0x000055f7ae91167a
13 swift-frontend 0x000055f7ae9108d2
14 swift-frontend 0x000055f7b052819a
15 swift-frontend 0x000055f7ae8dfdab
16 swift-frontend 0x000055f7ae8df2f7
17 swift-frontend 0x000055f7ae8dcc29
18 swift-frontend 0x000055f7af659226
19 swift-frontend 0x000055f7b021189c
20 swift-frontend 0x000055f7b021338c
21 swift-frontend 0x000055f7b0216240
22 swift-frontend 0x000055f7b02118ba
23 swift-frontend 0x000055f7b0216d5f
24 swift-frontend 0x000055f7b021598f
25 swift-frontend 0x000055f7b02118ba
26 swift-frontend 0x000055f7b0216d5f
27 swift-frontend 0x000055f7b021598f
28 swift-frontend 0x000055f7b02118ba
29 swift-frontend 0x000055f7b02117b3
30 swift-frontend 0x000055f7b03f781f
31 swift-frontend 0x000055f7af656bd4
32 swift-frontend 0x000055f7ae8dbc51
33 swift-frontend 0x000055f7ae8dbafa
34 swift-frontend 0x000055f7ae8d012c
35 swift-frontend 0x000055f7ae8cfb15
36 swift-frontend 0x000055f7ae682572
37 swift-frontend 0x000055f7ae68067c
38 swift-frontend 0x000055f7ae67b198
39 swift-frontend 0x000055f7ae6794fc
40 swift-frontend 0x000055f7ae435dde
41 libc.so.6 0x00007f504c68dd90
42 libc.so.6 0x00007f504c68de40 __libc_start_main + 128
43 swift-frontend 0x000055f7ae434e85
[111/246] Compiling RxSwift HistoricalScheduler.swift
[112/246] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[113/246] Compiling RxSwift ImmediateSchedulerType.swift
[114/246] Compiling RxSwift Infallible+CombineLatest+arity.swift
[115/246] Compiling RxSwift Infallible+Create.swift
[116/246] Compiling RxSwift Infallible+Operators.swift
[117/246] Compiling RxSwift Infallible+Zip+arity.swift
[118/246] Compiling RxSwift Infallible.swift
[119/246] Compiling RxSwift InfiniteSequence.swift
[120/246] Compiling RxSwift InvocableScheduledItem.swift
[121/246] Compiling RxSwift InvocableType.swift
[122/246] Compiling RxSwift Just.swift
[123/246] Compiling RxSwift Lock.swift
[124/246] Compiling RxSwift LockOwnerType.swift
[125/246] Compiling RxSwift MainScheduler.swift
[126/246] Compiling RxSwift Map.swift
[127/246] Compiling RxSwift Materialize.swift
[128/246] Compiling RxSwift Maybe.swift
[129/246] Compiling RxSwift Merge.swift
[130/246] Compiling RxSwift Multicast.swift
BUILD FAILURE 6.0 linux