This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build ApolloExtensions with Swift 6.0 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

2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 |
260 |   open func urlSession(_ session: URLSession,
261 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
    |                                            `- error: cannot find type 'URLRequest' in scope
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
272 |     completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
272 |     completionHandler(request)
273 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
265 |   }
266 |
267 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |                        task: URLSessionTask,
269 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
270 |                        newRequest request: URLRequest,
271 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |
277 |   open func urlSession(
278 |     _ session: URLSession,
    |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |     dataTask: URLSessionDataTask,
280 |     didReceive data: Data
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |   open func urlSession(
278 |     _ session: URLSession,
279 |     dataTask: URLSessionDataTask,
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |     didReceive data: Data
281 |   ) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |   }
321 |
322 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
321 |
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
324 |                        didBecome streamTask: URLSessionStreamTask) {
325 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
    |                                              `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |     // No default implementation
326 |   }
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' 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 URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
327 |
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
331 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
    |                                                `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 |     // No default implementation
332 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |             `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |   }
333 |
334 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
333 |
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
    |                                                            `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
338 |     completionHandler(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/apollo-ios/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     completionHandler(proposedResponse)
339 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                 `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
345 |     defer {
346 |       completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
339 |   }
340 |
341 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
340 |
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> 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/apollo-ios/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
    |                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                        `- error: cannot find type 'URLSessionDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                            `- error: cannot find type 'URLSessionTaskDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                                                    `- error: cannot find type 'URLSessionDataDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |     super.init()
 69 |
 70 |     let session = URLSession(configuration: sessionConfiguration,
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |                              delegate: self,
 72 |                              delegateQueue: callbackQueue)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 91 |     }
 92 |
 93 |     session.invalidateAndCancel()
    |             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 94 |     cleanup()
 95 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     guard self.hasNotBeenInvalidated else {
131 |       completion(.failure(URLSessionClientError.sessionInvalidated))
132 |       return URLSessionTask()
    |              `- error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |     }
134 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
133 |     }
134 |
135 |     let task = self.session.dataTask(with: request)
    |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
136 |     task.taskDescription = taskDescription
137 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
152 |     sendRequest(
153 |       request,
154 |       taskDescription: nil,
    |                        `- error: 'nil' requires a contextual type
155 |       rawTaskCompletionHandler: nil,
156 |       completion: completion
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
153 |       request,
154 |       taskDescription: nil,
155 |       rawTaskCompletionHandler: nil,
    |                                 `- error: 'nil' requires a contextual type
156 |       completion: completion
157 |     )
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
164 |   /// - Parameter task: The task you wish to cancel.
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
    |                           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
167 |     task.cancel()
168 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
167 |     task.cancel()
    |          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
168 |   }
169 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
215 |                        didCompleteWithError error: Error?) {
216 |     defer {
217 |       self.clear(task: task.taskIdentifier)
    |                             `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
220 |     guard let taskData = self.tasks[task.taskIdentifier] else {
    |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
221 |       // No completion blocks, the task has likely been cancelled. Bail out.
222 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
233 |
234 |     if let finalError = error {
235 |       completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
    |                   `- error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                     `- error: cannot infer contextual base in reference to member 'failure'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                                                                                `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
240 |       }
241 |
242 |       completion(.success((data, finalResponse)))
    |                   `- error: cannot infer contextual base in reference to member 'success'
243 |     }
244 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
264 |     completionHandler(.continueLoading, request)
    |                        `- error: cannot infer contextual base in reference to member 'continueLoading'
265 |   }
266 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                              `- error: cannot infer contextual base in reference to member 'canceling'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
285 |     }
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
    |                                              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
289 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
    |                                                           `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
289 |       return
290 |     }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
292 |     taskData.append(additionalData: data)
293 |
294 |     if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
    |                                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
297 |         taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
298 |         return
299 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
302 |       guard
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
    |                                                                                `- error: cannot infer contextual base in reference to member 'backwards'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'utf8'
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
308 |         return
309 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
309 |       }
310 |
311 |       let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
    |                                                                                   `- error: cannot infer contextual base in reference to member 'utf8'
312 |       taskData.reset(data: remainingData)
313 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
313 |
314 |       if let rawCompletion = taskData.rawCompletion {
315 |         rawCompletion(boundaryData, httpResponse, nil)
    |                                                   `- error: 'nil' requires a contextual type
316 |       }
317 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
316 |       }
317 |
318 |       taskData.completionBlock(.success((boundaryData, httpResponse)))
    |                                 `- error: cannot infer contextual base in reference to member 'success'
319 |     }
320 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
346 |       completionHandler(.allow)
    |                          `- error: cannot infer contextual base in reference to member 'allow'
347 |     }
348 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
348 |
349 |     self.$tasks.mutate {
350 |       guard let taskData = $0[dataTask.taskIdentifier] else {
    |                                        `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
351 |         return
352 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                        `- error: method does not override any method from its superclass
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
 85 |   /// - Throws: Any error in creating the request
 86 |   /// - Returns: The URL request, ready to send to your server.
 87 |   open func toURLRequest() throws -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 88 |     var request = URLRequest(url: self.graphQLEndpoint)
 89 |
[91/109] Compiling Apollo UploadRequest.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:12:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |   public enum ResponseCodeError: Error, LocalizedError {
12 |     case invalidResponseCode(response: HTTPURLResponse?, rawData: Data?)
   |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     public var errorDescription: 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/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |       case .invalidResponseCode(let response, let rawData):
17 |         var errorStrings = [String]()
18 |         if let code = response?.statusCode {
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |           errorStrings.append("Received a \(code) error.")
20 |         } else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:59:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccessful'
57 |
58 |
59 |     guard response?.httpResponse.isSuccessful == true else {
   |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccessful'
60 |       let error = ResponseCodeError.invalidResponseCode(
61 |         response: response?.httpResponse,
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   public let completionBlock: URLSessionClient.Completion
 8 |   private(set) var data: Data = Data()
 9 |   private(set) var response: HTTPURLResponse? = nil
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |   init(rawCompletion: URLSessionClient.RawCompletion?,
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/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   }
29 |
30 |   func responseReceived(response: URLResponse) {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     if let httpResponse = response as? HTTPURLResponse {
32 |       self.response = httpResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 |   func responseReceived(response: URLResponse) {
31 |     if let httpResponse = response as? HTTPURLResponse {
   |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |       self.response = httpResponse
33 |     }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
 14 |     case noHTTPResponse(request: URLRequest?)
    |                                  `- error: cannot find type 'URLRequest' in scope
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
 14 |     case noHTTPResponse(request: URLRequest?)
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
    |                                          `- error: cannot find type 'URLRequest' in scope
 17 |     case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
 18 |     case sessionInvalidated
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
 17 |     case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
    |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     case sessionInvalidated
 19 |     case missingMultipartBoundary
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |   /// A completion block to be called when the raw task has completed, with the raw information from the session
 43 |   public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |   /// A completion block returning a result. On `.success` it will contain a tuple with non-nil `Data` and its corresponding `HTTPURLResponse`. On `.failure` it will contain an error.
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |   /// A completion block returning a result. On `.success` it will contain a tuple with non-nil `Data` and its corresponding `HTTPURLResponse`. On `.failure` it will contain an error.
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
    |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |
 50 |   /// The raw URLSession being used for this client
 51 |   open private(set) var session: URLSession!
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |
 53 |   @Atomic private var hasBeenInvalidated: Bool = false
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |   ///   - callbackQueue: [optional] The `OperationQueue` to tell the URL session to call back to this class on, which will in turn call back to your class. Defaults to `.main`.
 64 |   ///   - sessionDescription: [optional] A human-readable string that you can use for debugging purposes.
 65 |   public init(sessionConfiguration: URLSessionConfiguration = .default,
    |                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |               callbackQueue: OperationQueue? = .main,
 67 |               sessionDescription: String? = nil) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 63 |   ///   - callbackQueue: [optional] The `OperationQueue` to tell the URL session to call back to this class on, which will in turn call back to your class. Defaults to `.main`.
 64 |   ///   - sessionDescription: [optional] A human-readable string that you can use for debugging purposes.
 65 |   public init(sessionConfiguration: URLSessionConfiguration = .default,
    |                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 66 |               callbackQueue: OperationQueue? = .main,
 67 |               sessionDescription: String? = nil) {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
124 |   /// - Returns: The created URLSession task, already resumed, because nobody ever remembers to call `resume()`.
125 |   @discardableResult
126 |   open func sendRequest(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
127 |                         taskDescription: String? = nil,
128 |                         rawTaskCompletionHandler: RawCompletion? = nil,
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 |                         taskDescription: String? = nil,
128 |                         rawTaskCompletionHandler: RawCompletion? = nil,
129 |                         completion: @escaping Completion) -> URLSessionTask {
    |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     guard self.hasNotBeenInvalidated else {
131 |       completion(.failure(URLSessionClientError.sessionInvalidated))
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
147 |
148 |   @discardableResult
149 |   open func sendRequest(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
150 |                         rawTaskCompletionHandler: RawCompletion? = nil,
151 |                         completion: @escaping Completion) -> URLSessionTask {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |   open func sendRequest(_ request: URLRequest,
150 |                         rawTaskCompletionHandler: RawCompletion? = nil,
151 |                         completion: @escaping Completion) -> URLSessionTask {
    |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |     sendRequest(
153 |       request,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |   ///
164 |   /// - Parameter task: The task you wish to cancel.
165 |   open func cancel(task: URLSessionTask) {
    |                          `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |     self.clear(task: task.taskIdentifier)
167 |     task.cancel()
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |   // MARK: - URLSessionDelegate
171 |
172 |   open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |     let finalError = error ?? URLSessionClientError.sessionBecameInvalidWithoutUnderlyingError
174 |     for task in self.tasks.values {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
181 |   open func urlSession(_ session: URLSession,
182 |                        task: URLSessionTask,
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                     `- error: cannot find type 'URLSessionTaskMetrics' in scope
184 |     // No default implementation
185 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |   }
180 |
181 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |                        task: URLSessionTask,
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |
181 |   open func urlSession(_ session: URLSession,
182 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
184 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
187 |   open func urlSession(_ session: URLSession,
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                 `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
190 |     completionHandler(.performDefaultHandling, nil)
191 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
185 |   }
186 |
187 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 |
187 |   open func urlSession(_ session: URLSession,
188 |                        didReceive challenge: URLAuthenticationChallenge,
    |                                              `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                 `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
205 |     completionHandler(.performDefaultHandling, nil)
206 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |   // MARK: - NSURLSessionTaskDelegate
200 |
201 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |
201 |   open func urlSession(_ session: URLSession,
202 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |   open func urlSession(_ session: URLSession,
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
    |                                              `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:208:35: 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,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 |                        taskIsWaitingForConnectivity task: URLSessionTask) {
210 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
207 |
208 |   open func urlSession(_ session: URLSession,
209 |                        taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                                           `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
210 |     // No default implementation
211 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 |   }
212 |
213 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |                        task: URLSessionTask,
215 |                        didCompleteWithError error: Error?) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
212 |
213 |   open func urlSession(_ session: URLSession,
214 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 |                        didCompleteWithError error: Error?) {
216 |     defer {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |   }
245 |
246 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 |                        task: URLSessionTask,
248 |                        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
245 |
246 |   open func urlSession(_ session: URLSession,
247 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
248 |                        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
249 |     completionHandler(nil)
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
250 |   }
251 |
252 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 |                        task: URLSessionTask,
254 |                        didSendBodyData bytesSent: 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/apollo-ios/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 |
252 |   open func urlSession(_ session: URLSession,
253 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |                        didSendBodyData bytesSent: Int64,
255 |                        totalBytesSent: Int64,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
260 |   open func urlSession(_ session: URLSession,
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
    |                                                         `- error: cannot find type 'URLRequest' in scope
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
264 |     completionHandler(.continueLoading, request)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                 `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
264 |     completionHandler(.continueLoading, request)
265 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                            `- error: cannot find type 'URLRequest' in scope
264 |     completionHandler(.continueLoading, request)
265 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |   }
259 |
260 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 |
260 |   open func urlSession(_ session: URLSession,
261 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
    |                                            `- error: cannot find type 'URLRequest' in scope
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
272 |     completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
272 |     completionHandler(request)
273 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
265 |   }
266 |
267 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |                        task: URLSessionTask,
269 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
270 |                        newRequest request: URLRequest,
271 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |
277 |   open func urlSession(
278 |     _ session: URLSession,
    |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |     dataTask: URLSessionDataTask,
280 |     didReceive data: Data
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |   open func urlSession(
278 |     _ session: URLSession,
279 |     dataTask: URLSessionDataTask,
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |     didReceive data: Data
281 |   ) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |   }
321 |
322 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
321 |
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
324 |                        didBecome streamTask: URLSessionStreamTask) {
325 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
    |                                              `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |     // No default implementation
326 |   }
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' 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 URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
327 |
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
331 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
    |                                                `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 |     // No default implementation
332 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |             `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |   }
333 |
334 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
333 |
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
    |                                                            `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
338 |     completionHandler(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/apollo-ios/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     completionHandler(proposedResponse)
339 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                 `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
345 |     defer {
346 |       completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
339 |   }
340 |
341 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
340 |
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> 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/apollo-ios/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
    |                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                        `- error: cannot find type 'URLSessionDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                            `- error: cannot find type 'URLSessionTaskDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                                                    `- error: cannot find type 'URLSessionDataDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |     super.init()
 69 |
 70 |     let session = URLSession(configuration: sessionConfiguration,
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |                              delegate: self,
 72 |                              delegateQueue: callbackQueue)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 91 |     }
 92 |
 93 |     session.invalidateAndCancel()
    |             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 94 |     cleanup()
 95 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     guard self.hasNotBeenInvalidated else {
131 |       completion(.failure(URLSessionClientError.sessionInvalidated))
132 |       return URLSessionTask()
    |              `- error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |     }
134 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
133 |     }
134 |
135 |     let task = self.session.dataTask(with: request)
    |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
136 |     task.taskDescription = taskDescription
137 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
152 |     sendRequest(
153 |       request,
154 |       taskDescription: nil,
    |                        `- error: 'nil' requires a contextual type
155 |       rawTaskCompletionHandler: nil,
156 |       completion: completion
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
153 |       request,
154 |       taskDescription: nil,
155 |       rawTaskCompletionHandler: nil,
    |                                 `- error: 'nil' requires a contextual type
156 |       completion: completion
157 |     )
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
164 |   /// - Parameter task: The task you wish to cancel.
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
    |                           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
167 |     task.cancel()
168 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
167 |     task.cancel()
    |          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
168 |   }
169 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
215 |                        didCompleteWithError error: Error?) {
216 |     defer {
217 |       self.clear(task: task.taskIdentifier)
    |                             `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
220 |     guard let taskData = self.tasks[task.taskIdentifier] else {
    |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
221 |       // No completion blocks, the task has likely been cancelled. Bail out.
222 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
233 |
234 |     if let finalError = error {
235 |       completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
    |                   `- error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                     `- error: cannot infer contextual base in reference to member 'failure'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                                                                                `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
240 |       }
241 |
242 |       completion(.success((data, finalResponse)))
    |                   `- error: cannot infer contextual base in reference to member 'success'
243 |     }
244 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
264 |     completionHandler(.continueLoading, request)
    |                        `- error: cannot infer contextual base in reference to member 'continueLoading'
265 |   }
266 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                              `- error: cannot infer contextual base in reference to member 'canceling'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
285 |     }
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
    |                                              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
289 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
    |                                                           `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
289 |       return
290 |     }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
292 |     taskData.append(additionalData: data)
293 |
294 |     if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
    |                                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
297 |         taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
298 |         return
299 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
302 |       guard
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
    |                                                                                `- error: cannot infer contextual base in reference to member 'backwards'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'utf8'
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
308 |         return
309 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
309 |       }
310 |
311 |       let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
    |                                                                                   `- error: cannot infer contextual base in reference to member 'utf8'
312 |       taskData.reset(data: remainingData)
313 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
313 |
314 |       if let rawCompletion = taskData.rawCompletion {
315 |         rawCompletion(boundaryData, httpResponse, nil)
    |                                                   `- error: 'nil' requires a contextual type
316 |       }
317 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
316 |       }
317 |
318 |       taskData.completionBlock(.success((boundaryData, httpResponse)))
    |                                 `- error: cannot infer contextual base in reference to member 'success'
319 |     }
320 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
346 |       completionHandler(.allow)
    |                          `- error: cannot infer contextual base in reference to member 'allow'
347 |     }
348 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
348 |
349 |     self.$tasks.mutate {
350 |       guard let taskData = $0[dataTask.taskIdentifier] else {
    |                                        `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
351 |         return
352 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                        `- error: method does not override any method from its superclass
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
 85 |   /// - Throws: Any error in creating the request
 86 |   /// - Returns: The URL request, ready to send to your server.
 87 |   open func toURLRequest() throws -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 88 |     var request = URLRequest(url: self.graphQLEndpoint)
 89 |
[92/109] Compiling Apollo resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:12:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |   public enum ResponseCodeError: Error, LocalizedError {
12 |     case invalidResponseCode(response: HTTPURLResponse?, rawData: Data?)
   |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
13 |
14 |     public var errorDescription: 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/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:18:33: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
16 |       case .invalidResponseCode(let response, let rawData):
17 |         var errorStrings = [String]()
18 |         if let code = response?.statusCode {
   |                                 `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
19 |           errorStrings.append("Received a \(code) error.")
20 |         } else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/ResponseCodeInterceptor.swift:59:34: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccessful'
57 |
58 |
59 |     guard response?.httpResponse.isSuccessful == true else {
   |                                  `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'isSuccessful'
60 |       let error = ResponseCodeError.invalidResponseCode(
61 |         response: response?.httpResponse,
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |   public let completionBlock: URLSessionClient.Completion
 8 |   private(set) var data: Data = Data()
 9 |   private(set) var response: HTTPURLResponse? = nil
   |                              `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
10 |
11 |   init(rawCompletion: URLSessionClient.RawCompletion?,
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/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 |   }
29 |
30 |   func responseReceived(response: URLResponse) {
   |                                   `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 |     if let httpResponse = response as? HTTPURLResponse {
32 |       self.response = httpResponse
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 |
30 |   func responseReceived(response: URLResponse) {
31 |     if let httpResponse = response as? HTTPURLResponse {
   |                                        `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |       self.response = httpResponse
33 |     }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
 14 |     case noHTTPResponse(request: URLRequest?)
    |                                  `- error: cannot find type 'URLRequest' in scope
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
 14 |     case noHTTPResponse(request: URLRequest?)
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
    |                                          `- error: cannot find type 'URLRequest' in scope
 17 |     case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
 18 |     case sessionInvalidated
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 15 |     case sessionBecameInvalidWithoutUnderlyingError
 16 |     case dataForRequestNotFound(request: URLRequest?)
 17 |     case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
    |                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 18 |     case sessionInvalidated
 19 |     case missingMultipartBoundary
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |
 42 |   /// A completion block to be called when the raw task has completed, with the raw information from the session
 43 |   public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
    |                                            `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |   /// A completion block returning a result. On `.success` it will contain a tuple with non-nil `Data` and its corresponding `HTTPURLResponse`. On `.failure` it will contain an error.
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 44 |
 45 |   /// A completion block returning a result. On `.success` it will contain a tuple with non-nil `Data` and its corresponding `HTTPURLResponse`. On `.failure` it will contain an error.
 46 |   public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
    |                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 47 |
 48 |   @Atomic private var tasks: [Int: TaskData] = [:]
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 49 |
 50 |   /// The raw URLSession being used for this client
 51 |   open private(set) var session: URLSession!
    |                                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 52 |
 53 |   @Atomic private var hasBeenInvalidated: Bool = false
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 63 |   ///   - callbackQueue: [optional] The `OperationQueue` to tell the URL session to call back to this class on, which will in turn call back to your class. Defaults to `.main`.
 64 |   ///   - sessionDescription: [optional] A human-readable string that you can use for debugging purposes.
 65 |   public init(sessionConfiguration: URLSessionConfiguration = .default,
    |                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 66 |               callbackQueue: OperationQueue? = .main,
 67 |               sessionDescription: String? = nil) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 63 |   ///   - callbackQueue: [optional] The `OperationQueue` to tell the URL session to call back to this class on, which will in turn call back to your class. Defaults to `.main`.
 64 |   ///   - sessionDescription: [optional] A human-readable string that you can use for debugging purposes.
 65 |   public init(sessionConfiguration: URLSessionConfiguration = .default,
    |                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 66 |               callbackQueue: OperationQueue? = .main,
 67 |               sessionDescription: String? = nil) {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
124 |   /// - Returns: The created URLSession task, already resumed, because nobody ever remembers to call `resume()`.
125 |   @discardableResult
126 |   open func sendRequest(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
127 |                         taskDescription: String? = nil,
128 |                         rawTaskCompletionHandler: RawCompletion? = nil,
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 |                         taskDescription: String? = nil,
128 |                         rawTaskCompletionHandler: RawCompletion? = nil,
129 |                         completion: @escaping Completion) -> URLSessionTask {
    |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
130 |     guard self.hasNotBeenInvalidated else {
131 |       completion(.failure(URLSessionClientError.sessionInvalidated))
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
147 |
148 |   @discardableResult
149 |   open func sendRequest(_ request: URLRequest,
    |                                    `- error: cannot find type 'URLRequest' in scope
150 |                         rawTaskCompletionHandler: RawCompletion? = nil,
151 |                         completion: @escaping Completion) -> URLSessionTask {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 |   open func sendRequest(_ request: URLRequest,
150 |                         rawTaskCompletionHandler: RawCompletion? = nil,
151 |                         completion: @escaping Completion) -> URLSessionTask {
    |                                                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
152 |     sendRequest(
153 |       request,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 |   ///
164 |   /// - Parameter task: The task you wish to cancel.
165 |   open func cancel(task: URLSessionTask) {
    |                          `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
166 |     self.clear(task: task.taskIdentifier)
167 |     task.cancel()
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 |   // MARK: - URLSessionDelegate
171 |
172 |   open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
173 |     let finalError = error ?? URLSessionClientError.sessionBecameInvalidWithoutUnderlyingError
174 |     for task in self.tasks.values {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
181 |   open func urlSession(_ session: URLSession,
182 |                        task: URLSessionTask,
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
    |                                                     `- error: cannot find type 'URLSessionTaskMetrics' in scope
184 |     // No default implementation
185 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
179 |   }
180 |
181 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
182 |                        task: URLSessionTask,
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
180 |
181 |   open func urlSession(_ session: URLSession,
182 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
183 |                        didFinishCollecting metrics: URLSessionTaskMetrics) {
184 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
187 |   open func urlSession(_ session: URLSession,
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                 `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
190 |     completionHandler(.performDefaultHandling, nil)
191 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
185 |   }
186 |
187 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
186 |
187 |   open func urlSession(_ session: URLSession,
188 |                        didReceive challenge: URLAuthenticationChallenge,
    |                                              `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                 `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
205 |     completionHandler(.performDefaultHandling, nil)
206 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
199 |   // MARK: - NSURLSessionTaskDelegate
200 |
201 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
200 |
201 |   open func urlSession(_ session: URLSession,
202 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
201 |   open func urlSession(_ session: URLSession,
202 |                        task: URLSessionTask,
203 |                        didReceive challenge: URLAuthenticationChallenge,
    |                                              `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' 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 URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:208:35: 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,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
209 |                        taskIsWaitingForConnectivity task: URLSessionTask) {
210 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
207 |
208 |   open func urlSession(_ session: URLSession,
209 |                        taskIsWaitingForConnectivity task: URLSessionTask) {
    |                                                           `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
210 |     // No default implementation
211 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
211 |   }
212 |
213 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
214 |                        task: URLSessionTask,
215 |                        didCompleteWithError error: Error?) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
212 |
213 |   open func urlSession(_ session: URLSession,
214 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
215 |                        didCompleteWithError error: Error?) {
216 |     defer {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 |   }
245 |
246 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
247 |                        task: URLSessionTask,
248 |                        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
245 |
246 |   open func urlSession(_ session: URLSession,
247 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
248 |                        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
249 |     completionHandler(nil)
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
250 |   }
251 |
252 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
253 |                        task: URLSessionTask,
254 |                        didSendBodyData bytesSent: 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/apollo-ios/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 |
252 |   open func urlSession(_ session: URLSession,
253 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 |                        didSendBodyData bytesSent: Int64,
255 |                        totalBytesSent: Int64,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
260 |   open func urlSession(_ session: URLSession,
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
    |                                                         `- error: cannot find type 'URLRequest' in scope
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
264 |     completionHandler(.continueLoading, request)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                 `- error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
264 |     completionHandler(.continueLoading, request)
265 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
    |                                                                                            `- error: cannot find type 'URLRequest' in scope
264 |     completionHandler(.continueLoading, request)
265 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 |   }
259 |
260 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
261 |                        task: URLSessionTask,
262 |                        willBeginDelayedRequest request: URLRequest,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 |
260 |   open func urlSession(_ session: URLSession,
261 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
    |                                            `- error: cannot find type 'URLRequest' in scope
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
272 |     completionHandler(request)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        newRequest request: URLRequest,
271 |                        completionHandler: @escaping (URLRequest?) -> Void) {
    |                                                      `- error: cannot find type 'URLRequest' in scope
272 |     completionHandler(request)
273 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
265 |   }
266 |
267 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |                        task: URLSessionTask,
269 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
266 |
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
    |                              `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
270 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
267 |   open func urlSession(_ session: URLSession,
268 |                        task: URLSessionTask,
269 |                        willPerformHTTPRedirection response: HTTPURLResponse,
    |                                                             `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
270 |                        newRequest request: URLRequest,
271 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 |
277 |   open func urlSession(
278 |     _ session: URLSession,
    |                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
279 |     dataTask: URLSessionDataTask,
280 |     didReceive data: Data
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 |   open func urlSession(
278 |     _ session: URLSession,
279 |     dataTask: URLSessionDataTask,
    |               `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |     didReceive data: Data
281 |   ) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
320 |   }
321 |
322 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
321 |
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
324 |                        didBecome streamTask: URLSessionStreamTask) {
325 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 |   open func urlSession(_ session: URLSession,
323 |                        dataTask: URLSessionDataTask,
324 |                        didBecome streamTask: URLSessionStreamTask) {
    |                                              `- error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 |     // No default implementation
326 |   }
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' 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 URLSessionStreamTask = AnyObject
  |                  `- note: 'URLSessionStreamTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
327 |
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
331 |     // No default implementation
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
328 |   open func urlSession(_ session: URLSession,
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
    |                                                `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
331 |     // No default implementation
332 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
326 |   }
327 |
328 |   open func urlSession(_ session: URLSession,
    |             `- error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
329 |                        dataTask: URLSessionDataTask,
330 |                        didBecome downloadTask: URLSessionDownloadTask) {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
332 |   }
333 |
334 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
333 |
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        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/apollo-ios/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
334 |   open func urlSession(_ session: URLSession,
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
    |                                                            `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
338 |     completionHandler(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/apollo-ios/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
335 |                        dataTask: URLSessionDataTask,
336 |                        willCacheResponse proposedResponse: CachedURLResponse,
337 |                        completionHandler: @escaping (CachedURLResponse?) -> Void) {
    |                                                      `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
338 |     completionHandler(proposedResponse)
339 |   }
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
    |                                                                 `- error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
345 |     defer {
346 |       completionHandler(.allow)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
339 |   }
340 |
341 |   open func urlSession(_ session: URLSession,
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
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/apollo-ios/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
340 |
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
    |                                  `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
343 |                        didReceive response: URLResponse,
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> 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/apollo-ios/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
341 |   open func urlSession(_ session: URLSession,
342 |                        dataTask: URLSessionDataTask,
343 |                        didReceive response: URLResponse,
    |                                             `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                        `- error: cannot find type 'URLSessionDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                            `- error: cannot find type 'URLSessionTaskDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
  9 | /// and handled within your app, particularly in regards to what needs to be called
 10 | /// when for background sessions.
 11 | open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
    |                                                                                    `- error: cannot find type 'URLSessionDataDelegate' in scope
 12 |
 13 |   public enum URLSessionClientError: Error, LocalizedError {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 68 |     super.init()
 69 |
 70 |     let session = URLSession(configuration: sessionConfiguration,
    |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 71 |                              delegate: self,
 72 |                              delegateQueue: callbackQueue)
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 91 |     }
 92 |
 93 |     session.invalidateAndCancel()
    |             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
 94 |     cleanup()
 95 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
130 |     guard self.hasNotBeenInvalidated else {
131 |       completion(.failure(URLSessionClientError.sessionInvalidated))
132 |       return URLSessionTask()
    |              `- error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
133 |     }
134 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
133 |     }
134 |
135 |     let task = self.session.dataTask(with: request)
    |                             `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
136 |     task.taskDescription = taskDescription
137 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
152 |     sendRequest(
153 |       request,
154 |       taskDescription: nil,
    |                        `- error: 'nil' requires a contextual type
155 |       rawTaskCompletionHandler: nil,
156 |       completion: completion
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
153 |       request,
154 |       taskDescription: nil,
155 |       rawTaskCompletionHandler: nil,
    |                                 `- error: 'nil' requires a contextual type
156 |       completion: completion
157 |     )
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
164 |   /// - Parameter task: The task you wish to cancel.
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
    |                           `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
167 |     task.cancel()
168 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
165 |   open func cancel(task: URLSessionTask) {
166 |     self.clear(task: task.taskIdentifier)
167 |     task.cancel()
    |          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
168 |   }
169 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
188 |                        didReceive challenge: URLAuthenticationChallenge,
189 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
190 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
191 |   }
192 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                        `- error: cannot infer contextual base in reference to member 'performDefaultHandling'
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
203 |                        didReceive challenge: URLAuthenticationChallenge,
204 |                        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
205 |     completionHandler(.performDefaultHandling, nil)
    |                                                `- error: 'nil' requires a contextual type
206 |   }
207 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
215 |                        didCompleteWithError error: Error?) {
216 |     defer {
217 |       self.clear(task: task.taskIdentifier)
    |                             `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
218 |     }
219 |
220 |     guard let taskData = self.tasks[task.taskIdentifier] else {
    |                                          `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
221 |       // No completion blocks, the task has likely been cancelled. Bail out.
222 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
233 |
234 |     if let finalError = error {
235 |       completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
    |                   `- error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                     `- error: cannot infer contextual base in reference to member 'failure'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
236 |     } else {
237 |       guard let finalResponse = response else {
238 |         completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
    |                                                                                `- error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
239 |         return
240 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
240 |       }
241 |
242 |       completion(.success((data, finalResponse)))
    |                   `- error: cannot infer contextual base in reference to member 'success'
243 |     }
244 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
262 |                        willBeginDelayedRequest request: URLRequest,
263 |                        completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
264 |     completionHandler(.continueLoading, request)
    |                        `- error: cannot infer contextual base in reference to member 'continueLoading'
265 |   }
266 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
280 |     didReceive data: Data
281 |   ) {
282 |     guard dataTask.state != .canceling else {
    |                              `- error: cannot infer contextual base in reference to member 'canceling'
283 |       // Task is in the process of cancelling, don't bother handling its data.
284 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
285 |     }
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
    |                                              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
289 |       return
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
286 |
287 |     guard let taskData = self.tasks[dataTask.taskIdentifier] else {
288 |       assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
    |                                                           `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
289 |       return
290 |     }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
292 |     taskData.append(additionalData: data)
293 |
294 |     if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
    |                                    `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
295 |       let multipartHeaderComponents = httpResponse.multipartHeaderComponents
296 |       guard let boundaryString = multipartHeaderComponents.boundary else {
297 |         taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
298 |         return
299 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
302 |       guard
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
    |                                                                                `- error: cannot infer contextual base in reference to member 'backwards'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
303 |         let dataString = String(data: taskData.data, encoding: .utf8)?.trimmingCharacters(in: .newlines),
304 |         let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
    |                                                                                    `- error: cannot infer contextual base in reference to member 'utf8'
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
305 |         let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
306 |       else {
307 |         taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
    |                                   `- error: cannot infer contextual base in reference to member 'failure'
308 |         return
309 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
309 |       }
310 |
311 |       let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
    |                                                                                   `- error: cannot infer contextual base in reference to member 'utf8'
312 |       taskData.reset(data: remainingData)
313 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
313 |
314 |       if let rawCompletion = taskData.rawCompletion {
315 |         rawCompletion(boundaryData, httpResponse, nil)
    |                                                   `- error: 'nil' requires a contextual type
316 |       }
317 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
316 |       }
317 |
318 |       taskData.completionBlock(.success((boundaryData, httpResponse)))
    |                                 `- error: cannot infer contextual base in reference to member 'success'
319 |     }
320 |   }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
344 |                        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
345 |     defer {
346 |       completionHandler(.allow)
    |                          `- error: cannot infer contextual base in reference to member 'allow'
347 |     }
348 |
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
348 |
349 |     self.$tasks.mutate {
350 |       guard let taskData = $0[dataTask.taskIdentifier] else {
    |                                        `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
351 |         return
352 |       }
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                                                 `- error: cannot find type 'URLRequest' in scope
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
 46 |   }
 47 |
 48 |   public override func toURLRequest() throws -> URLRequest {
    |                        `- error: method does not override any method from its superclass
 49 |     let formData = try self.requestMultipartFormData()
 50 |     self.updateContentType(to: "multipart/form-data; boundary=\(formData.boundary)")
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
 85 |   /// - Throws: Any error in creating the request
 86 |   /// - Returns: The URL request, ready to send to your server.
 87 |   open func toURLRequest() throws -> URLRequest {
    |                                      `- error: cannot find type 'URLRequest' in scope
 88 |     var request = URLRequest(url: self.graphQLEndpoint)
 89 |
[93/109] Compiling Apollo NormalizedCache.swift
[94/109] Compiling Apollo PossiblyDeferred.swift
[95/109] Compiling Apollo Record.swift
[96/109] Compiling Apollo RecordSet.swift
[97/109] Compiling Apollo RequestBodyCreator.swift
[98/109] Compiling Apollo RequestChain.swift
[99/109] Compiling Apollo RequestChainNetworkTransport.swift
[100/109] Compiling Apollo RequestContext.swift
[101/109] Compiling Apollo NetworkResponseExecutionSource.swift
[102/109] Compiling Apollo SelectionSetModelExecutionSource.swift
[103/109] Compiling Apollo FieldSelectionCollector.swift
[104/109] Compiling Apollo GraphQLDependencyTracker.swift
[105/109] Compiling Apollo GraphQLError.swift
[106/109] Compiling Apollo GraphQLExecutionSource.swift
[107/109] Compiling Apollo GraphQLExecutor.swift
[108/109] Compiling Apollo GraphQLFile.swift
[109/109] Compiling Apollo GraphQLGETTransformer.swift
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.