The Swift Package Index logo.Swift Package Index

Build Information

Failed to build ApolloCombine with Swift 5.9 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/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

    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[53/63] Compiling Apollo SelectionSet+JSONInitializer.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:120:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:122: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:144: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:162:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:160: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:161: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:168:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:180: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:182: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:188: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:192: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:193: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:225: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:226: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:231: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:232: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:241:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:239: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:240: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:249:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:250:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:248: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:257: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:258: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:302: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:303: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:308: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:309: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:313: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:314: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:316: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:320: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:321: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:322: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:67:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: sessionConfiguration,
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:88:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:125:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:128:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:145:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:146:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[54/63] Compiling Apollo TaskData.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:120:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:122: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:144: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:162:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:160: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:161: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:168:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:180: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:182: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:188: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:192: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:193: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:225: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:226: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:231: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:232: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:241:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:239: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:240: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:249:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:250:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:248: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:257: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:258: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:302: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:303: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:308: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:309: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:313: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:314: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:316: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:320: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:321: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:322: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:67:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: sessionConfiguration,
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:88:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:125:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:128:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:145:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:146:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[55/63] Compiling Apollo URLSessionClient.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:120:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:122: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:144: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:162:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:160: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:161: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:168:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:180: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:182: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:188: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:192: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:193: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:225: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:226: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:231: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:232: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:241:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:239: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:240: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:249:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:250:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:248: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:257: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:258: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:302: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:303: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:308: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:309: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:313: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:314: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:316: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:320: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:321: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:322: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:67:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: sessionConfiguration,
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:88:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:125:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:128:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:145:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:146:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[56/63] Compiling Apollo UploadRequest.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:120:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:122: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:144: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:162:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:160: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:161: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:168:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:180: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:182: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:188: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:192: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:193: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:225: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:226: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:231: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:232: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:241:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:239: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:240: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:249:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:250:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:248: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:257: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:258: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:302: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:303: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:308: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:309: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:313: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:314: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:316: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:320: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:321: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:322: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:67:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: sessionConfiguration,
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:88:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:125:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:128:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:145:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:146:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[57/63] Compiling Apollo resource_bundle_accessor.swift
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:9:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:30:35: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  func responseReceived(response: URLResponse) {
                                  ^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/TaskData.swift:31:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:14:34: error: cannot find type 'URLRequest' in scope
    case noHTTPResponse(request: URLRequest?)
                                 ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:16:42: error: cannot find type 'URLRequest' in scope
    case dataForRequestNotFound(request: URLRequest?)
                                         ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:17:45: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
    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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:43:44: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:46:48: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:51:34: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:64:64: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
  public init(sessionConfiguration: URLSessionConfiguration = .default,
                                                              ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:120:36: error: cannot find type 'URLRequest' in scope
  open func sendRequest(_ request: URLRequest,
                                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:122: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:144: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:151: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:162:53: error: cannot find type 'URLSessionTaskMetrics' in scope
                       didFinishCollecting metrics: URLSessionTaskMetrics) {
                                                    ^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:160: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:161: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:168:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:166: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:167: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:183:65: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:180: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:181: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:182: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:187:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:188: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:192: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:193: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:225: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:226: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:231: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:232: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:241:57: error: cannot find type 'URLRequest' in scope
                       willBeginDelayedRequest request: URLRequest,
                                                        ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:65: error: 'DelayedRequestDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:242:92: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLSession.DelayedRequestDisposition, URLRequest?) -> Void) {
                                                                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:239: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:240: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:249:44: error: cannot find type 'URLRequest' in scope
                       newRequest request: URLRequest,
                                           ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:250:54: error: cannot find type 'URLRequest' in scope
                       completionHandler: @escaping (URLRequest?) -> Void) {
                                                     ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:246:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:247:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
                       task: URLSessionTask,
                             ^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
                 ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:248: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:257: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:258: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:302: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:303: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:308: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:309: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:307:13: error: invalid redeclaration of 'urlSession(_:dataTask:didBecome:)'
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:301:13: note: 'urlSession(_:dataTask:didBecome:)' previously declared here
  open func urlSession(_ session: URLSession,
            ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:313: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:314: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:315: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:316: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:323:65: error: 'ResponseDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
                       completionHandler: @escaping (URLSession.ResponseDisposition) -> Void) {
                                                     ~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:320: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:321: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:322: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:40: error: cannot find type 'URLSessionDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                       ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:60: error: cannot find type 'URLSessionTaskDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                           ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:11:84: error: cannot find type 'URLSessionDataDelegate' in scope
open class URLSessionClient: NSObject, URLSessionDelegate, URLSessionTaskDelegate, URLSessionDataDelegate {
                                                                                   ^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:67:20: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
    self.session = URLSession(configuration: sessionConfiguration,
                   ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:88:13: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
    session.invalidateAndCancel()
    ~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:125:14: error: 'URLSessionTask' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
      return URLSessionTask()
             ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:128:29: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
    let task = self.session.dataTask(with: request)
               ~~~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:145:27: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    self.clear(task: task.taskIdentifier)
                     ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:146:10: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'cancel'
    task.cancel()
    ~~~~ ^~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:169:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:24: error: cannot infer contextual base in reference to member 'performDefaultHandling'
    completionHandler(.performDefaultHandling, nil)
                      ~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:184:48: error: 'nil' requires a contextual type
    completionHandler(.performDefaultHandling, nil)
                                               ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:196:29: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
      self.clear(task: task.taskIdentifier)
                       ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:199:42: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[task.taskIdentifier] else {
                                    ~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:214: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:21: error: cannot infer contextual base in reference to member 'failure'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                   ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:217:80: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'originalRequest'
        completion(.failure(URLSessionClientError.noHTTPResponse(request: task.originalRequest)))
                                                                          ~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:221:19: error: cannot infer contextual base in reference to member 'success'
      completion(.success((data, finalResponse)))
                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:243:24: error: cannot infer contextual base in reference to member 'continueLoading'
    completionHandler(.continueLoading, request)
                      ~^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:20: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'state'
    guard dataTask.state != .canceling else {
          ~~~~~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:261:30: error: cannot infer contextual base in reference to member 'canceling'
    guard dataTask.state != .canceling else {
                            ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:266:46: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
    guard let taskData = self.tasks[dataTask.taskIdentifier] else {
                                    ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:267: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:273: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/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:276:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.missingMultipartBoundary))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:283:80: error: cannot infer contextual base in reference to member 'backwards'
        let lastBoundaryIndex = dataString.range(of: boundaryMarker, options: .backwards)?.upperBound,
                                                                              ~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:284:84: error: cannot infer contextual base in reference to member 'utf8'
        let boundaryData = dataString.prefix(upTo: lastBoundaryIndex).data(using: .utf8)
                                                                                  ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:286:35: error: cannot infer contextual base in reference to member 'failure'
        taskData.completionBlock(.failure(URLSessionClientError.cannotParseBoundaryData))
                                 ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:290:83: error: cannot infer contextual base in reference to member 'utf8'
      let remainingData = dataString.suffix(from: lastBoundaryIndex).data(using: .utf8)
                                                                                 ~^~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:294:51: error: 'nil' requires a contextual type
        rawCompletion(boundaryData, httpResponse, nil)
                                                  ^
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:297:33: error: cannot infer contextual base in reference to member 'success'
      taskData.completionBlock(.success((boundaryData, httpResponse)))
                               ~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:325:26: error: cannot infer contextual base in reference to member 'allow'
      completionHandler(.allow)
                        ~^~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/URLSessionClient.swift:329:40: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'taskIdentifier'
      guard let taskData = $0[dataTask.taskIdentifier] else {
                              ~~~~~~~~ ^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/Sources/Apollo/UploadRequest.swift:48:49: error: cannot find type 'URLRequest' in scope
  public override func toURLRequest() throws -> URLRequest {
                                                ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/apollo-ios/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/.build/checkouts/apollo-ios/Sources/Apollo/HTTPRequest.swift:87:38: error: cannot find type 'URLRequest' in scope
  open func toURLRequest() throws -> URLRequest {
                                     ^~~~~~~~~~
[58/63] Compiling Apollo GraphQLGETTransformer.swift
[59/63] Compiling Apollo GraphQLFile.swift
[60/63] Compiling Apollo GraphQLError.swift
[61/63] Compiling Apollo Record.swift
[62/63] Compiling Apollo RecordSet.swift
[63/63] Compiling Apollo RequestChainNetworkTransport.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2