The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Apollo with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

    let session = URLSession(configuration: sessionConfiguration,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
      taskDescription: nil,
                       ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
      rawTaskCompletionHandler: nil,
                                ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
      completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
                                                 ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
    if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
                          ~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[44/77] Compiling Apollo TaskData.swift
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private(set) var response: HTTPURLResponse? = nil
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
    if let httpResponse = response as? HTTPURLResponse {
                                   ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    if let httpResponse = response as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
                                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open private(set) var session: URLSession!
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func cancel(task: URLSessionTask) {
                         ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:208:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       taskIsWaitingForConnectivity task: URLSessionTask) {
                                                          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willPerformHTTPRedirection response: HTTPURLResponse,
                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    _ session: URLSession,
               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    dataTask: URLSessionDataTask,
              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome streamTask: URLSessionStreamTask) {
                                             ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome downloadTask: URLSessionDownloadTask) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willCacheResponse proposedResponse: CachedURLResponse,
                                                           ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive response: URLResponse,
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: sessionConfiguration,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
      taskDescription: nil,
                       ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
      rawTaskCompletionHandler: nil,
                                ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
      completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
                                                 ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
    if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
                          ~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[45/77] Compiling Apollo URLSessionClient.swift
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private(set) var response: HTTPURLResponse? = nil
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
    if let httpResponse = response as? HTTPURLResponse {
                                   ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    if let httpResponse = response as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
                                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open private(set) var session: URLSession!
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func cancel(task: URLSessionTask) {
                         ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:208:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       taskIsWaitingForConnectivity task: URLSessionTask) {
                                                          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willPerformHTTPRedirection response: HTTPURLResponse,
                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    _ session: URLSession,
               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    dataTask: URLSessionDataTask,
              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome streamTask: URLSessionStreamTask) {
                                             ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome downloadTask: URLSessionDownloadTask) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willCacheResponse proposedResponse: CachedURLResponse,
                                                           ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive response: URLResponse,
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: sessionConfiguration,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
      taskDescription: nil,
                       ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
      rawTaskCompletionHandler: nil,
                                ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
      completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
                                                 ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
    if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
                          ~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/77] Compiling Apollo UploadRequest.swift
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private(set) var response: HTTPURLResponse? = nil
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
    if let httpResponse = response as? HTTPURLResponse {
                                   ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    if let httpResponse = response as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
                                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open private(set) var session: URLSession!
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func cancel(task: URLSessionTask) {
                         ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:208:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       taskIsWaitingForConnectivity task: URLSessionTask) {
                                                          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willPerformHTTPRedirection response: HTTPURLResponse,
                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    _ session: URLSession,
               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    dataTask: URLSessionDataTask,
              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome streamTask: URLSessionStreamTask) {
                                             ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome downloadTask: URLSessionDownloadTask) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willCacheResponse proposedResponse: CachedURLResponse,
                                                           ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive response: URLResponse,
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: sessionConfiguration,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
      taskDescription: nil,
                       ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
      rawTaskCompletionHandler: nil,
                                ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
      completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
                                                 ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
    if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
                          ~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[47/77] Compiling Apollo resource_bundle_accessor.swift
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private(set) var response: HTTPURLResponse? = nil
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:36: warning: conditional cast from 'URLResponse' (aka 'AnyObject') to 'HTTPURLResponse' (aka 'AnyObject') always succeeds
    if let httpResponse = response as? HTTPURLResponse {
                                   ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    if let httpResponse = response as? HTTPURLResponse {
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
                                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open private(set) var session: URLSession!
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func cancel(task: URLSessionTask) {
                         ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:208:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       taskIsWaitingForConnectivity task: URLSessionTask) {
                                                          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willPerformHTTPRedirection response: HTTPURLResponse,
                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    _ session: URLSession,
               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    dataTask: URLSessionDataTask,
              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome streamTask: URLSessionStreamTask) {
                                             ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome downloadTask: URLSessionDownloadTask) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willCacheResponse proposedResponse: CachedURLResponse,
                                                           ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive response: URLResponse,
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:70:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    let session = URLSession(configuration: sessionConfiguration,
                  ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:93:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:132:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:135:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:154:24: error: 'nil' requires a contextual type
      taskDescription: nil,
                       ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:155:33: error: 'nil' requires a contextual type
      rawTaskCompletionHandler: nil,
                                ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:166:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:167:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:190:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:205:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:217:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:220:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:235:19: error: cannot infer contextual base in reference to member 'failure'
      completion(.failure(URLSessionClientError.networkError(data: data, response: response, underlying: finalError)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:238:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:242:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:264:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:282:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:287:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:288:59: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      assertionFailure("No data found for task \(dataTask.taskIdentifier), cannot append received data")
                                                 ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:294:36: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'response'
    if let httpResponse = dataTask.response as? HTTPURLResponse, httpResponse.isMultipart {
                          ~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:297:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:304:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:305:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:307:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:311:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:315:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:318:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:346:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:350:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[48/77] Compiling Apollo ApolloClient.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[49/77] Compiling Apollo ApolloClientProtocol.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[50/77] Compiling Apollo ApolloErrorInterceptor.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[51/77] Compiling Apollo ApolloInterceptor.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[52/77] Compiling Apollo ApolloStore.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[53/77] Compiling Apollo Atomic.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[54/77] Compiling Apollo AutomaticPersistedQueryInterceptor.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[55/77] Emitting module Apollo
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPResponse.swift:10:28: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public var httpResponse: HTTPURLResponse
                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/HTTPResponse.swift:28:25: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(response: HTTPURLResponse,
                        ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/NetworkFetchInterceptor.swift:9:36: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  @Atomic private var currentTask: URLSessionTask?
                                   ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/NetworkTransport.swift:88:49: error: cannot find type 'URLRequest' in scope
  func addApolloClientHeaders(to request: inout URLRequest) {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/ResponseCodeInterceptor.swift:12:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case invalidResponseCode(response: HTTPURLResponse?, rawData: Data?)
                                       ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  private(set) var response: HTTPURLResponse? = nil
                             ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    case networkError(data: Data, response: HTTPURLResponse?, underlying: Error)
                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias RawCompletion = (Data?, HTTPURLResponse?, Error?) -> Void
                                           ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public typealias Completion = (Result<(Data, HTTPURLResponse), Error>) -> Void
                                               ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open private(set) var session: URLSession!
                                 ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:37: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                    ^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:65:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:126:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:129:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:149:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:151:62: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                        completion: @escaping Completion) -> URLSessionTask {
                                                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:165:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func cancel(task: URLSessionTask) {
                         ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:172:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:183:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:181:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:182:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:189:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:188:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:204:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:201:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:202:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:203:46: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive challenge: URLAuthenticationChallenge,
                                             ^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:208:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:209:59: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       taskIsWaitingForConnectivity task: URLSessionTask) {
                                                          ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:213:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:214:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:252:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:253:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:262:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:263:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:260:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:261:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:270:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:271:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:267:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:268:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:269:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willPerformHTTPRedirection response: HTTPURLResponse,
                                                            ^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:278:16: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    _ session: URLSession,
               ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:279:15: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    dataTask: URLSessionDataTask,
              ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:323:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:324:46: error: 'URLSessionStreamTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome streamTask: URLSessionStreamTask) {
                                             ^~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionStreamTask:2:18: note: 'URLSessionStreamTask' has been explicitly marked unavailable here
public typealias URLSessionStreamTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:329:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:330:48: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didBecome downloadTask: URLSessionDownloadTask) {
                                               ^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:328:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:322:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:334:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:335:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:336:60: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       willCacheResponse proposedResponse: CachedURLResponse,
                                                           ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:337:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       completionHandler: @escaping (CachedURLResponse?) -> Void) {
                                                     ^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:344:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:341:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  open func urlSession(_ session: URLSession,
                                  ^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:342:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       dataTask: URLSessionDataTask,
                                 ^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:343:45: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       didReceive response: URLResponse,
                                            ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/UploadRequest.swift:48:24: error: method does not override any method from its superclass
  public override func toURLRequest() throws -> URLRequest {
         ~~~~~~~~      ^
[56/77] Compiling Apollo JSONResponseParsingInterceptor.swift
[57/77] Compiling Apollo JSONSerialization+Sorting.swift
[58/77] Compiling Apollo JSONSerializationFormat.swift
[59/77] Compiling Apollo MaxRetryInterceptor.swift
[60/77] Compiling Apollo MultipartFormData.swift
[61/77] Compiling Apollo MultipartResponseDeferParser.swift
[62/77] Compiling Apollo HTTPURLResponse+Helpers.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[63/77] Compiling Apollo InMemoryNormalizedCache.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[64/77] Compiling Apollo InputValue+Evaluation.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[65/77] Compiling Apollo InterceptorProvider.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[66/77] Compiling Apollo InterceptorRequestChain.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[67/77] Compiling Apollo JSONRequest.swift
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:4:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:11:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^         ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/Cancellable.swift:11:1: error: non-nominal type 'URLSessionTask' (aka 'AnyObject') cannot be extended
extension URLSessionTask: Cancellable {}
^         ~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:47: error: cannot find type 'URLRequest' in scope
  open override func toURLRequest() throws -> URLRequest {
                                              ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/JSONRequest.swift:77:22: error: method does not override any method from its superclass
  open override func toURLRequest() throws -> URLRequest {
       ~~~~~~~~      ^
/host/spi-builder-workspace/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
/host/spi-builder-workspace/Sources/Apollo/HTTPURLResponse+Helpers.swift:30:34: error: cannot find type 'MultipartHeaderComponents' in scope
  var multipartHeaderComponents: MultipartHeaderComponents {
                                 ^~~~~~~~~~~~~~~~~~~~~~~~~
[68/77] Compiling SQLite AggregateFunctions.swift
[69/78] Compiling SQLite SchemaReader.swift
[70/85] Compiling SQLite Expression.swift
[71/86] Compiling SQLite RTree.swift
[72/87] Emitting module SQLite
[73/87] Compiling SQLite Query.swift
[74/90] Compiling SQLite Query+with.swift
[75/91] Compiling Apollo RecordSet.swift
[76/91] Compiling Apollo GraphQLGETTransformer.swift
[77/91] Compiling Apollo RequestChainNetworkTransport.swift
[78/91] Compiling Apollo Record.swift
[79/91] Compiling Apollo GraphQLFile.swift
[80/91] Compiling Apollo GraphQLError.swift
[81/91] Compiling SQLite Connection+Attach.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2