The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XcodeServer, reference main (b47a55), with Swift 6.1 for Wasm on 28 May 2025 07:09:06 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

 52 |     private let cache: URLCache = {
 53 |         if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
 54 |             return URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB)
    |                    `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 55 |         } else {
 56 |             #if targetEnvironment(macCatalyst)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:83:53: error: cannot find type 'URLRequest' in scope
 81 |     }
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                     `- error: cannot find type 'URLRequest' in scope
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:112:58: error: cannot find type 'URLRequest' in scope
110 |     }
111 |
112 |     open func getDataAtPath(_ path: String, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                          `- error: cannot find type 'URLRequest' in scope
113 |         guard let url = self.urlForPath(path) else {
114 |             completion(0, nil, Errors.invalidBaseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:84:23: error: cannot find 'NSMutableURLRequest' in scope
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
    |                       `- error: cannot find 'NSMutableURLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:87:25: error: cannot find type 'URLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
 87 |         let urlRequest: URLRequest = request as URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:89:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 87 |         let urlRequest: URLRequest = request as URLRequest
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 90 |             #if canImport(ObjectiveC)
 91 |                 DispatchQueue.main.async(execute: { () -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:107:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 |
106 |                 let httpResponse = response as! HTTPURLResponse
107 |                 completion(httpResponse.statusCode, data, error)
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |             #endif
109 |         }) .resume()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// The `URLSession` used to create tasks.
 16 |     var session: URLSession { get set }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     /// Auth credentials to provide in the request headers.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// Executes the specified request.
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:24: error: cannot find type 'URLRequest' in scope
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                        `- error: cannot find type 'URLRequest' in scope
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         }
 57 |
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = method.rawValue
 60 |         if let data = data {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:62:59: error: cannot infer contextual base in reference to member 'contentLength'
 60 |         if let data = data {
 61 |             request.httpBody = data
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
    |                                                           `- error: cannot infer contextual base in reference to member 'contentLength'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:64:81: error: cannot infer contextual base in reference to member 'date'
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
    |                                                                                 `- error: cannot infer contextual base in reference to member 'date'
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:27: error: cannot infer contextual base in reference to member 'json'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:45: error: cannot infer contextual base in reference to member 'accept'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                                             `- error: cannot infer contextual base in reference to member 'accept'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:27: error: cannot infer contextual base in reference to member 'json'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:45: error: cannot infer contextual base in reference to member 'contentType'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                                             `- error: cannot infer contextual base in reference to member 'contentType'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:69:69: error: cannot infer contextual base in reference to member 'authorization'
 67 |
 68 |         if let authorization = self.authorization {
 69 |             request.setValue(authorization.headerValue, forHeader: .authorization)
    |                                                                     `- error: cannot infer contextual base in reference to member 'authorization'
 70 |         }
 71 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:80:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 78 |         }
 79 |
 80 |         return session.dataTask(with: request) { (responseData, urlResponse, error) in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 81 |             guard let httpResponse = urlResponse as? HTTPURLResponse else {
 82 |                 completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:91:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 91 |         let task: URLSessionDataTask
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         do {
 93 |             task = try self.task(request: request, completion: completion)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:99:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 97 |         }
 98 |
 99 |         task.resume()
    |              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
100 |     }
101 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:53: error: cannot infer contextual base in reference to member 'get'
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'get'
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:100: error: 'nil' requires a contextual type
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                                                                    `- error: 'nil' requires a contextual type
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:115:53: error: cannot infer contextual base in reference to member 'put'
113 |     func put(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
114 |         do {
115 |             let request = try self.request(method: .put, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'put'
116 |             self.execute(request: request, completion: completion)
117 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:125:53: error: cannot infer contextual base in reference to member 'post'
123 |     func post(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
124 |         do {
125 |             let request = try self.request(method: .post, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'post'
126 |             self.execute(request: request, completion: completion)
127 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:135:53: error: cannot infer contextual base in reference to member 'patch'
133 |     func patch(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
134 |         do {
135 |             let request = try self.request(method: .patch, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'patch'
136 |             self.execute(request: request, completion: completion)
137 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:53: error: cannot infer contextual base in reference to member 'delete'
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'delete'
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:103: error: 'nil' requires a contextual type
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                                                                       `- error: 'nil' requires a contextual type
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:71:26: error: cannot find type 'URLRequest' in scope
 69 |     var absolutePath: String
 70 |
 71 |     public init(request: URLRequest) {
    |                          `- error: cannot find type 'URLRequest' in scope
 72 |         let method = HTTP.RequestMethod(stringLiteral: request.httpMethod ?? HTTP.RequestMethod.get.rawValue)
 73 |         let path = request.url?.absoluteString ?? ""
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:50: error: extra argument 'request' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                  `- error: extra argument 'request' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:57: error: missing argument for parameter 'absolutePath' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                         `- error: missing argument for parameter 'absolutePath' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
    :
 75 |     }
 76 |
 77 |     public init(method: HTTP.RequestMethod = .get, absolutePath: String) {
    |            `- note: 'init(method:absolutePath:)' declared here
 78 |         self.method = method
 79 |         self.absolutePath = absolutePath
[76/242] Compiling SWCompression XZArchive.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:42:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     }
 41 |
 42 |     fileprivate lazy var session: URLSession = {
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         [unowned self] in
 44 |         let configuration = URLSessionConfiguration.default
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:44:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     fileprivate lazy var session: URLSession = {
 43 |         [unowned self] in
 44 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         configuration.urlCache = self.cache
 46 |         configuration.requestCachePolicy = .returnCacheDataElseLoad
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:52:24: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     private let cache: URLCache = URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB, diskPath: "Downloader")
 51 |     #else
 52 |     private let cache: URLCache = {
    |                        `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
 54 |             return URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB)
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:54:20: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 52 |     private let cache: URLCache = {
 53 |         if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
 54 |             return URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB)
    |                    `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 55 |         } else {
 56 |             #if targetEnvironment(macCatalyst)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:83:53: error: cannot find type 'URLRequest' in scope
 81 |     }
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                     `- error: cannot find type 'URLRequest' in scope
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:112:58: error: cannot find type 'URLRequest' in scope
110 |     }
111 |
112 |     open func getDataAtPath(_ path: String, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                          `- error: cannot find type 'URLRequest' in scope
113 |         guard let url = self.urlForPath(path) else {
114 |             completion(0, nil, Errors.invalidBaseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:84:23: error: cannot find 'NSMutableURLRequest' in scope
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
    |                       `- error: cannot find 'NSMutableURLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:87:25: error: cannot find type 'URLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
 87 |         let urlRequest: URLRequest = request as URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:89:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 87 |         let urlRequest: URLRequest = request as URLRequest
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 90 |             #if canImport(ObjectiveC)
 91 |                 DispatchQueue.main.async(execute: { () -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:107:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 |
106 |                 let httpResponse = response as! HTTPURLResponse
107 |                 completion(httpResponse.statusCode, data, error)
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |             #endif
109 |         }) .resume()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// The `URLSession` used to create tasks.
 16 |     var session: URLSession { get set }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     /// Auth credentials to provide in the request headers.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// Executes the specified request.
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:24: error: cannot find type 'URLRequest' in scope
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                        `- error: cannot find type 'URLRequest' in scope
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         }
 57 |
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = method.rawValue
 60 |         if let data = data {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:62:59: error: cannot infer contextual base in reference to member 'contentLength'
 60 |         if let data = data {
 61 |             request.httpBody = data
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
    |                                                           `- error: cannot infer contextual base in reference to member 'contentLength'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:64:81: error: cannot infer contextual base in reference to member 'date'
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
    |                                                                                 `- error: cannot infer contextual base in reference to member 'date'
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:27: error: cannot infer contextual base in reference to member 'json'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:45: error: cannot infer contextual base in reference to member 'accept'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                                             `- error: cannot infer contextual base in reference to member 'accept'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:27: error: cannot infer contextual base in reference to member 'json'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:45: error: cannot infer contextual base in reference to member 'contentType'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                                             `- error: cannot infer contextual base in reference to member 'contentType'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:69:69: error: cannot infer contextual base in reference to member 'authorization'
 67 |
 68 |         if let authorization = self.authorization {
 69 |             request.setValue(authorization.headerValue, forHeader: .authorization)
    |                                                                     `- error: cannot infer contextual base in reference to member 'authorization'
 70 |         }
 71 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:80:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 78 |         }
 79 |
 80 |         return session.dataTask(with: request) { (responseData, urlResponse, error) in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 81 |             guard let httpResponse = urlResponse as? HTTPURLResponse else {
 82 |                 completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:91:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 91 |         let task: URLSessionDataTask
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         do {
 93 |             task = try self.task(request: request, completion: completion)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:99:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 97 |         }
 98 |
 99 |         task.resume()
    |              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
100 |     }
101 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:53: error: cannot infer contextual base in reference to member 'get'
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'get'
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:100: error: 'nil' requires a contextual type
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                                                                    `- error: 'nil' requires a contextual type
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:115:53: error: cannot infer contextual base in reference to member 'put'
113 |     func put(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
114 |         do {
115 |             let request = try self.request(method: .put, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'put'
116 |             self.execute(request: request, completion: completion)
117 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:125:53: error: cannot infer contextual base in reference to member 'post'
123 |     func post(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
124 |         do {
125 |             let request = try self.request(method: .post, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'post'
126 |             self.execute(request: request, completion: completion)
127 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:135:53: error: cannot infer contextual base in reference to member 'patch'
133 |     func patch(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
134 |         do {
135 |             let request = try self.request(method: .patch, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'patch'
136 |             self.execute(request: request, completion: completion)
137 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:53: error: cannot infer contextual base in reference to member 'delete'
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'delete'
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:103: error: 'nil' requires a contextual type
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                                                                       `- error: 'nil' requires a contextual type
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:71:26: error: cannot find type 'URLRequest' in scope
 69 |     var absolutePath: String
 70 |
 71 |     public init(request: URLRequest) {
    |                          `- error: cannot find type 'URLRequest' in scope
 72 |         let method = HTTP.RequestMethod(stringLiteral: request.httpMethod ?? HTTP.RequestMethod.get.rawValue)
 73 |         let path = request.url?.absoluteString ?? ""
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:50: error: extra argument 'request' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                  `- error: extra argument 'request' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:57: error: missing argument for parameter 'absolutePath' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                         `- error: missing argument for parameter 'absolutePath' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
    :
 75 |     }
 76 |
 77 |     public init(method: HTTP.RequestMethod = .get, absolutePath: String) {
    |            `- note: 'init(method:absolutePath:)' declared here
 78 |         self.method = method
 79 |         self.absolutePath = absolutePath
[77/242] Compiling SWCompression XZBlock.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:42:35: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 40 |     }
 41 |
 42 |     fileprivate lazy var session: URLSession = {
    |                                   `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 43 |         [unowned self] in
 44 |         let configuration = URLSessionConfiguration.default
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:44:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 42 |     fileprivate lazy var session: URLSession = {
 43 |         [unowned self] in
 44 |         let configuration = URLSessionConfiguration.default
    |                                                     `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
 45 |         configuration.urlCache = self.cache
 46 |         configuration.requestCachePolicy = .returnCacheDataElseLoad
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:52:24: error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 50 |     private let cache: URLCache = URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB, diskPath: "Downloader")
 51 |     #else
 52 |     private let cache: URLCache = {
    |                        `- error: 'URLCache' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 53 |         if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
 54 |             return URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB)
Foundation.URLCache:2:18: note: 'URLCache' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCache = AnyObject
  |                  `- note: 'URLCache' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:54:20: error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 52 |     private let cache: URLCache = {
 53 |         if #available(macOS 10.15, iOS 13.0, tvOS 13.0, watchOS 6.0, *) {
 54 |             return URLCache(memoryCapacity: Downloader.twentyFiveMB, diskCapacity: Downloader.twoHundredMB)
    |                    `- error: 'URLCache' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
 55 |         } else {
 56 |             #if targetEnvironment(macCatalyst)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:83:53: error: cannot find type 'URLRequest' in scope
 81 |     }
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                     `- error: cannot find type 'URLRequest' in scope
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:112:58: error: cannot find type 'URLRequest' in scope
110 |     }
111 |
112 |     open func getDataAtPath(_ path: String, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
    |                                                          `- error: cannot find type 'URLRequest' in scope
113 |         guard let url = self.urlForPath(path) else {
114 |             completion(0, nil, Errors.invalidBaseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:84:23: error: cannot find 'NSMutableURLRequest' in scope
 82 |
 83 |     open func getDataAtURL(_ url: URL, cachePolicy: URLRequest.CachePolicy, completion: @escaping DataCompletion) {
 84 |         let request = NSMutableURLRequest(url: url, cachePolicy: cachePolicy, timeoutInterval: timeout)
    |                       `- error: cannot find 'NSMutableURLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:87:25: error: cannot find type 'URLRequest' in scope
 85 |         request.httpMethod = HTTP.RequestMethod.get.rawValue
 86 |
 87 |         let urlRequest: URLRequest = request as URLRequest
    |                         `- error: cannot find type 'URLRequest' in scope
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:89:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 87 |         let urlRequest: URLRequest = request as URLRequest
 88 |
 89 |         session.dataTask(with: urlRequest, completionHandler: { (data, response, error) -> Void in
    |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 90 |             #if canImport(ObjectiveC)
 91 |                 DispatchQueue.main.async(execute: { () -> Void in
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/Downloader.swift:107:41: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
105 |
106 |                 let httpResponse = response as! HTTPURLResponse
107 |                 completion(httpResponse.statusCode, data, error)
    |                                         `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
108 |             #endif
109 |         }) .resume()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:16:18: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// The `URLSession` used to create tasks.
 16 |     var session: URLSession { get set }
    |                  `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     /// Auth credentials to provide in the request headers.
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 28 |
 29 |     /// Executes the specified request.
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:24: error: cannot find type 'URLRequest' in scope
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                        `- error: cannot find type 'URLRequest' in scope
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:75:93: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 73 |     }
 74 |
 75 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask {
    |                                                                                             `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         guard request.url != nil else {
 77 |             throw HTTP.Error.invalidURL
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:58:23: error: cannot find 'URLRequest' in scope
 56 |         }
 57 |
 58 |         var request = URLRequest(url: url)
    |                       `- error: cannot find 'URLRequest' in scope
 59 |         request.httpMethod = method.rawValue
 60 |         if let data = data {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:62:59: error: cannot infer contextual base in reference to member 'contentLength'
 60 |         if let data = data {
 61 |             request.httpBody = data
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
    |                                                           `- error: cannot infer contextual base in reference to member 'contentLength'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:64:81: error: cannot infer contextual base in reference to member 'date'
 62 |             request.setValue("\(data.count)", forHeader: .contentLength)
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
    |                                                                                 `- error: cannot infer contextual base in reference to member 'date'
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:27: error: cannot infer contextual base in reference to member 'json'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:65:45: error: cannot infer contextual base in reference to member 'accept'
 63 |         }
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
    |                                             `- error: cannot infer contextual base in reference to member 'accept'
 66 |         request.setValue(.json, forHeader: .contentType)
 67 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:27: error: cannot infer contextual base in reference to member 'json'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                           `- error: cannot infer contextual base in reference to member 'json'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:66:45: error: cannot infer contextual base in reference to member 'contentType'
 64 |         request.setValue(Header.dateFormatter.string(from: Date()), forHeader: .date)
 65 |         request.setValue(.json, forHeader: .accept)
 66 |         request.setValue(.json, forHeader: .contentType)
    |                                             `- error: cannot infer contextual base in reference to member 'contentType'
 67 |
 68 |         if let authorization = self.authorization {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:69:69: error: cannot infer contextual base in reference to member 'authorization'
 67 |
 68 |         if let authorization = self.authorization {
 69 |             request.setValue(authorization.headerValue, forHeader: .authorization)
    |                                                                     `- error: cannot infer contextual base in reference to member 'authorization'
 70 |         }
 71 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:80:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 78 |         }
 79 |
 80 |         return session.dataTask(with: request) { (responseData, urlResponse, error) in
    |                        `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
 81 |             guard let httpResponse = urlResponse as? HTTPURLResponse else {
 82 |                 completion(0, nil, responseData, error ?? HTTP.Error.invalidResponse)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:37: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                     `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:86:62: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 84 |             }
 85 |
 86 |             completion(httpResponse.statusCode, httpResponse.allHeaderFields, responseData, error)
    |                                                              `- error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'allHeaderFields'
 87 |         }
 88 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:91:19: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 91 |         let task: URLSessionDataTask
    |                   `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 92 |         do {
 93 |             task = try self.task(request: request, completion: completion)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
  |                  `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:99:14: error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
 97 |         }
 98 |
 99 |         task.resume()
    |              `- error: value of type 'URLSessionDataTask' (aka 'AnyObject') has no member 'resume'
100 |     }
101 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:53: error: cannot infer contextual base in reference to member 'get'
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'get'
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:105:100: error: 'nil' requires a contextual type
103 |     func get(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
104 |         do {
105 |             let request = try self.request(method: .get, path: path, queryItems: queryItems, data: nil)
    |                                                                                                    `- error: 'nil' requires a contextual type
106 |             self.execute(request: request, completion: completion)
107 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:115:53: error: cannot infer contextual base in reference to member 'put'
113 |     func put(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
114 |         do {
115 |             let request = try self.request(method: .put, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'put'
116 |             self.execute(request: request, completion: completion)
117 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:125:53: error: cannot infer contextual base in reference to member 'post'
123 |     func post(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
124 |         do {
125 |             let request = try self.request(method: .post, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'post'
126 |             self.execute(request: request, completion: completion)
127 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:135:53: error: cannot infer contextual base in reference to member 'patch'
133 |     func patch(_ data: Data?, path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
134 |         do {
135 |             let request = try self.request(method: .patch, path: path, queryItems: queryItems, data: data)
    |                                                     `- error: cannot infer contextual base in reference to member 'patch'
136 |             self.execute(request: request, completion: completion)
137 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:53: error: cannot infer contextual base in reference to member 'delete'
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                     `- error: cannot infer contextual base in reference to member 'delete'
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:145:103: error: 'nil' requires a contextual type
143 |     func delete(_ path: String, queryItems: [URLQueryItem]? = nil, completion: @escaping HTTP.DataTaskCompletion) {
144 |         do {
145 |             let request = try self.request(method: .delete, path: path, queryItems: queryItems, data: nil)
    |                                                                                                       `- error: 'nil' requires a contextual type
146 |             self.execute(request: request, completion: completion)
147 |         } catch {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:71:26: error: cannot find type 'URLRequest' in scope
 69 |     var absolutePath: String
 70 |
 71 |     public init(request: URLRequest) {
    |                          `- error: cannot find type 'URLRequest' in scope
 72 |         let method = HTTP.RequestMethod(stringLiteral: request.httpMethod ?? HTTP.RequestMethod.get.rawValue)
 73 |         let path = request.url?.absoluteString ?? ""
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:50: error: extra argument 'request' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                  `- error: extra argument 'request' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:15:57: error: missing argument for parameter 'absolutePath' in call
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
 15 |         let injectedPath = InjectedPath(request: request)
    |                                                         `- error: missing argument for parameter 'absolutePath' in call
 16 |
 17 |         guard let injectedResponse = injectedResponses[injectedPath] else {
    :
 75 |     }
 76 |
 77 |     public init(method: HTTP.RequestMethod = .get, absolutePath: String) {
    |            `- note: 'init(method:absolutePath:)' declared here
 78 |         self.method = method
 79 |         self.absolutePath = absolutePath
[78/242] Compiling SWCompression XZError.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:11:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var baseURL: URL
11 |     public var session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var authorization: HTTP.Authorization?
13 |     public var jsonEncoder: JSONEncoder = JSONEncoder()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet {
19 |             resetSession()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |         didSet {
19 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:23:33: error: cannot find type 'URLSessionDelegate' in scope
21 |     }
22 |
23 |     public var sessionDelegate: URLSessionDelegate? {
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
24 |         didSet {
25 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:69: error: cannot find type 'URLSessionDelegate' in scope
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                                                     `- error: cannot find type 'URLSessionDelegate' in scope
30 |         self.baseURL = baseURL
31 |         if let session = session {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         self.baseURL = baseURL
31 |         if let session = session {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:55: error: cannot infer contextual base in reference to member 'default'
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                       `- error: cannot infer contextual base in reference to member 'default'
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:99: error: 'nil' requires a contextual type
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                                                                   `- error: 'nil' requires a contextual type
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:42:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
40 |
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
44 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:109: error: 'nil' requires a contextual type
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                             `- error: 'nil' requires a contextual type
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:54:22: error: cannot find type 'URLRequest' in scope
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
54 |         var request: URLRequest
   |                      `- error: cannot find type 'URLRequest' in scope
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:56:98: error: 'nil' requires a contextual type
54 |         var request: URLRequest
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
   |                                                                                                  `- error: 'nil' requires a contextual type
57 |         } catch {
58 |             completion(0, nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:31: error: extra argument 'request' in call
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                               `- error: extra argument 'request' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:21: error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
51 |     /// The request `content-type` will be set to `image/png`.
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
   |          `- note: 'execute(method:path:queryItems:pngImageData:filename:completion:)' declared here
54 |         var request: URLRequest
55 |         do {
   :
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                     `- error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:6:8: error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | public extension URLCache {
   |        `- error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 7 |     enum Capacity {
 8 |         case bytes(Int)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |     /// Initialize a `URLRequest` appropriate for JSON apis.
 8 |     ///
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:80:18: error: cannot find type 'URLRequest' in scope
78 | }
79 |
80 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
81 |     @available(*, deprecated, renamed: "setValue(_:forHeader:)")
82 |     mutating func setValue(_ value: String, forHTTPHeader header: Header) {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLResponse+SessionPlus.swift:6:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 7 |     /// `StatusCode` from the `HTTPURLResponse` interpreted response.
 8 |     var statusCode: StatusCode {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:41: error: cannot find type 'Capacity' in scope
10 |         case gigabytes(Int)
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
   |                                         `- error: cannot find type 'Capacity' in scope
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:41: error: cannot find type 'Capacity' in scope
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
   |                                         `- error: cannot find type 'Capacity' in scope
14 |
15 |         public var bytes: Int {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:38: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                      `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:78: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                                                              `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
[79/242] Compiling SWCompression XZStreamHeader.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:11:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var baseURL: URL
11 |     public var session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var authorization: HTTP.Authorization?
13 |     public var jsonEncoder: JSONEncoder = JSONEncoder()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet {
19 |             resetSession()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |         didSet {
19 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:23:33: error: cannot find type 'URLSessionDelegate' in scope
21 |     }
22 |
23 |     public var sessionDelegate: URLSessionDelegate? {
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
24 |         didSet {
25 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:69: error: cannot find type 'URLSessionDelegate' in scope
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                                                     `- error: cannot find type 'URLSessionDelegate' in scope
30 |         self.baseURL = baseURL
31 |         if let session = session {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         self.baseURL = baseURL
31 |         if let session = session {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:55: error: cannot infer contextual base in reference to member 'default'
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                       `- error: cannot infer contextual base in reference to member 'default'
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:99: error: 'nil' requires a contextual type
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                                                                   `- error: 'nil' requires a contextual type
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:42:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
40 |
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
44 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:109: error: 'nil' requires a contextual type
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                             `- error: 'nil' requires a contextual type
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:54:22: error: cannot find type 'URLRequest' in scope
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
54 |         var request: URLRequest
   |                      `- error: cannot find type 'URLRequest' in scope
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:56:98: error: 'nil' requires a contextual type
54 |         var request: URLRequest
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
   |                                                                                                  `- error: 'nil' requires a contextual type
57 |         } catch {
58 |             completion(0, nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:31: error: extra argument 'request' in call
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                               `- error: extra argument 'request' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:21: error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
51 |     /// The request `content-type` will be set to `image/png`.
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
   |          `- note: 'execute(method:path:queryItems:pngImageData:filename:completion:)' declared here
54 |         var request: URLRequest
55 |         do {
   :
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                     `- error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:6:8: error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | public extension URLCache {
   |        `- error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 7 |     enum Capacity {
 8 |         case bytes(Int)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |     /// Initialize a `URLRequest` appropriate for JSON apis.
 8 |     ///
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:80:18: error: cannot find type 'URLRequest' in scope
78 | }
79 |
80 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
81 |     @available(*, deprecated, renamed: "setValue(_:forHeader:)")
82 |     mutating func setValue(_ value: String, forHTTPHeader header: Header) {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLResponse+SessionPlus.swift:6:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 7 |     /// `StatusCode` from the `HTTPURLResponse` interpreted response.
 8 |     var statusCode: StatusCode {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:41: error: cannot find type 'Capacity' in scope
10 |         case gigabytes(Int)
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
   |                                         `- error: cannot find type 'Capacity' in scope
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:41: error: cannot find type 'Capacity' in scope
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
   |                                         `- error: cannot find type 'Capacity' in scope
14 |
15 |         public var bytes: Int {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:38: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                      `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:78: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                                                              `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
[80/242] Compiling SWCompression BuiltinExtraFields.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:11:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var baseURL: URL
11 |     public var session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var authorization: HTTP.Authorization?
13 |     public var jsonEncoder: JSONEncoder = JSONEncoder()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet {
19 |             resetSession()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |         didSet {
19 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:23:33: error: cannot find type 'URLSessionDelegate' in scope
21 |     }
22 |
23 |     public var sessionDelegate: URLSessionDelegate? {
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
24 |         didSet {
25 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:69: error: cannot find type 'URLSessionDelegate' in scope
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                                                     `- error: cannot find type 'URLSessionDelegate' in scope
30 |         self.baseURL = baseURL
31 |         if let session = session {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         self.baseURL = baseURL
31 |         if let session = session {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:55: error: cannot infer contextual base in reference to member 'default'
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                       `- error: cannot infer contextual base in reference to member 'default'
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:99: error: 'nil' requires a contextual type
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                                                                   `- error: 'nil' requires a contextual type
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:42:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
40 |
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
44 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:109: error: 'nil' requires a contextual type
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                             `- error: 'nil' requires a contextual type
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:54:22: error: cannot find type 'URLRequest' in scope
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
54 |         var request: URLRequest
   |                      `- error: cannot find type 'URLRequest' in scope
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:56:98: error: 'nil' requires a contextual type
54 |         var request: URLRequest
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
   |                                                                                                  `- error: 'nil' requires a contextual type
57 |         } catch {
58 |             completion(0, nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:31: error: extra argument 'request' in call
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                               `- error: extra argument 'request' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:21: error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
51 |     /// The request `content-type` will be set to `image/png`.
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
   |          `- note: 'execute(method:path:queryItems:pngImageData:filename:completion:)' declared here
54 |         var request: URLRequest
55 |         do {
   :
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                     `- error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:6:8: error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | public extension URLCache {
   |        `- error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 7 |     enum Capacity {
 8 |         case bytes(Int)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |     /// Initialize a `URLRequest` appropriate for JSON apis.
 8 |     ///
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:80:18: error: cannot find type 'URLRequest' in scope
78 | }
79 |
80 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
81 |     @available(*, deprecated, renamed: "setValue(_:forHeader:)")
82 |     mutating func setValue(_ value: String, forHTTPHeader header: Header) {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLResponse+SessionPlus.swift:6:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 7 |     /// `StatusCode` from the `HTTPURLResponse` interpreted response.
 8 |     var statusCode: StatusCode {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:41: error: cannot find type 'Capacity' in scope
10 |         case gigabytes(Int)
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
   |                                         `- error: cannot find type 'Capacity' in scope
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:41: error: cannot find type 'Capacity' in scope
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
   |                                         `- error: cannot find type 'Capacity' in scope
14 |
15 |         public var bytes: Int {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:38: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                      `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:78: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                                                              `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
[81/242] Compiling SWCompression CompressionMethod+Zip.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:11:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var baseURL: URL
11 |     public var session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var authorization: HTTP.Authorization?
13 |     public var jsonEncoder: JSONEncoder = JSONEncoder()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet {
19 |             resetSession()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |         didSet {
19 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:23:33: error: cannot find type 'URLSessionDelegate' in scope
21 |     }
22 |
23 |     public var sessionDelegate: URLSessionDelegate? {
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
24 |         didSet {
25 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:69: error: cannot find type 'URLSessionDelegate' in scope
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                                                     `- error: cannot find type 'URLSessionDelegate' in scope
30 |         self.baseURL = baseURL
31 |         if let session = session {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         self.baseURL = baseURL
31 |         if let session = session {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:55: error: cannot infer contextual base in reference to member 'default'
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                       `- error: cannot infer contextual base in reference to member 'default'
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:99: error: 'nil' requires a contextual type
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                                                                   `- error: 'nil' requires a contextual type
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:42:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
40 |
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
44 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:109: error: 'nil' requires a contextual type
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                             `- error: 'nil' requires a contextual type
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:54:22: error: cannot find type 'URLRequest' in scope
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
54 |         var request: URLRequest
   |                      `- error: cannot find type 'URLRequest' in scope
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:56:98: error: 'nil' requires a contextual type
54 |         var request: URLRequest
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
   |                                                                                                  `- error: 'nil' requires a contextual type
57 |         } catch {
58 |             completion(0, nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:31: error: extra argument 'request' in call
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                               `- error: extra argument 'request' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:21: error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
51 |     /// The request `content-type` will be set to `image/png`.
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
   |          `- note: 'execute(method:path:queryItems:pngImageData:filename:completion:)' declared here
54 |         var request: URLRequest
55 |         do {
   :
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                     `- error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:6:8: error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | public extension URLCache {
   |        `- error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 7 |     enum Capacity {
 8 |         case bytes(Int)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |     /// Initialize a `URLRequest` appropriate for JSON apis.
 8 |     ///
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:80:18: error: cannot find type 'URLRequest' in scope
78 | }
79 |
80 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
81 |     @available(*, deprecated, renamed: "setValue(_:forHeader:)")
82 |     mutating func setValue(_ value: String, forHTTPHeader header: Header) {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLResponse+SessionPlus.swift:6:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 7 |     /// `StatusCode` from the `HTTPURLResponse` interpreted response.
 8 |     var statusCode: StatusCode {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:41: error: cannot find type 'Capacity' in scope
10 |         case gigabytes(Int)
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
   |                                         `- error: cannot find type 'Capacity' in scope
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:41: error: cannot find type 'Capacity' in scope
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
   |                                         `- error: cannot find type 'Capacity' in scope
14 |
15 |         public var bytes: Int {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:38: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                      `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:78: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                                                              `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
[82/242] Compiling SWCompression FileSystemType+Zip.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:11:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 9 |
10 |     public var baseURL: URL
11 |     public var session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
12 |     public var authorization: HTTP.Authorization?
13 |     public var jsonEncoder: JSONEncoder = JSONEncoder()
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                      `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
18 |         didSet {
19 |             resetSession()
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:17:65: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
15 |     public var injectedResponses: [InjectedPath : InjectedResponse] = [:]
16 |
17 |     public var sessionConfiguration: URLSessionConfiguration = .default {
   |                                                                 `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
18 |         didSet {
19 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:23:33: error: cannot find type 'URLSessionDelegate' in scope
21 |     }
22 |
23 |     public var sessionDelegate: URLSessionDelegate? {
   |                                 `- error: cannot find type 'URLSessionDelegate' in scope
24 |         didSet {
25 |             resetSession()
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:69: error: cannot find type 'URLSessionDelegate' in scope
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                                                     `- error: cannot find type 'URLSessionDelegate' in scope
30 |         self.baseURL = baseURL
31 |         if let session = session {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:29:40: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 |     }
28 |
29 |     public init(baseURL: URL, session: URLSession? = nil, delegate: URLSessionDelegate? = nil) {
   |                                        `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 |         self.baseURL = baseURL
31 |         if let session = session {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:23:112: error: cannot find type 'URLRequest' in scope
 21 |     /// Constructs the request, setting the method, body data, and headers
 22 |     /// based on parameters specified.
 23 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 24 |
 25 |     /// Creates a URLSessionDataTask using the URLSession.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:27:24: error: cannot find type 'URLRequest' in scope
 25 |     /// Creates a URLSessionDataTask using the URLSession.
 26 |     /// Allows access to the un-started task, useful for background execution.
 27 |     func task(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) throws -> URLSessionDataTask
    |                        `- error: cannot find type 'URLRequest' in scope
 28 |
 29 |     /// Executes the specified request.
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:31:27: error: cannot find type 'URLRequest' in scope
 29 |     /// Executes the specified request.
 30 |     /// Gets the task from `task(request:completion:)` and calls `.resume()`.
 31 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion)
    |                           `- error: cannot find type 'URLRequest' in scope
 32 |
 33 |     #if swift(>=5.5) && canImport(ObjectiveC)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:28: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                            `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:55: error: cannot infer contextual base in reference to member 'default'
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                       `- error: cannot infer contextual base in reference to member 'default'
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:34:99: error: 'nil' requires a contextual type
32 |             self.session = session
33 |         } else {
34 |             self.session = URLSession(configuration: .default, delegate: delegate, delegateQueue: nil)
   |                                                                                                   `- error: 'nil' requires a contextual type
35 |         }
36 |         if let delegate = delegate {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:42:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
40 |
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
44 |     }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:19: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                   `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:43:109: error: 'nil' requires a contextual type
41 |     private func resetSession() {
42 |         session.invalidateAndCancel()
43 |         session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                             `- error: 'nil' requires a contextual type
44 |     }
45 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:54:22: error: cannot find type 'URLRequest' in scope
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
54 |         var request: URLRequest
   |                      `- error: cannot find type 'URLRequest' in scope
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:48:112: error: cannot find type 'URLRequest' in scope
 46 | @available(*, deprecated, message: "See 'Client' for more information.")
 47 | public extension HTTPClient {
 48 |     func request(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, data: Data?) throws -> URLRequest {
    |                                                                                                                `- error: cannot find type 'URLRequest' in scope
 49 |         let pathURL = baseURL.appendingPathComponent(path)
 50 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:56:98: error: 'nil' requires a contextual type
54 |         var request: URLRequest
55 |         do {
56 |             request = try self.request(method: method, path: path, queryItems: queryItems, data: nil)
   |                                                                                                  `- error: 'nil' requires a contextual type
57 |         } catch {
58 |             completion(0, nil, nil, error)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPInjectable.swift:14:27: error: cannot find type 'URLRequest' in scope
 12 | @available(*, deprecated, message: "See 'Client' for more information.")
 13 | public extension HTTPInjectable where Self: HTTPClient {
 14 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 15 |         let injectedPath = InjectedPath(request: request)
 16 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/HTTPClient.swift:90:27: error: cannot find type 'URLRequest' in scope
 88 |     }
 89 |
 90 |     func execute(request: URLRequest, completion: @escaping HTTP.DataTaskCompletion) {
    |                           `- error: cannot find type 'URLRequest' in scope
 91 |         let task: URLSessionDataTask
 92 |         do {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:31: error: extra argument 'request' in call
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                               `- error: extra argument 'request' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Deprecated/WebAPI.swift:90:21: error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
51 |     /// The request `content-type` will be set to `image/png`.
52 |     @available(*, deprecated, message: "See `PNGImageFormDataRequest`.")
53 |     func execute(method: HTTP.RequestMethod, path: String, queryItems: [URLQueryItem]?, pngImageData: Data, filename: String = "image.png", completion: @escaping HTTP.DataTaskCompletion) {
   |          `- note: 'execute(method:path:queryItems:pngImageData:filename:completion:)' declared here
54 |         var request: URLRequest
55 |         do {
   :
88 |         request.httpBody = data
89 |
90 |         self.execute(request: request, completion: completion)
   |                     `- error: missing arguments for parameters 'method', 'path', 'queryItems', 'pngImageData' in call
91 |     }
92 | }
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:6:8: error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | public extension URLCache {
   |        `- error: non-nominal type 'URLCache' (aka 'AnyObject') cannot be extended
 7 |     enum Capacity {
 8 |         case bytes(Int)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | #endif
 5 |
 6 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |     /// Initialize a `URLRequest` appropriate for JSON apis.
 8 |     ///
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLRequest+SessionPlus.swift:80:18: error: cannot find type 'URLRequest' in scope
78 | }
79 |
80 | public extension URLRequest {
   |                  `- error: cannot find type 'URLRequest' in scope
81 |     @available(*, deprecated, renamed: "setValue(_:forHeader:)")
82 |     mutating func setValue(_ value: String, forHTTPHeader header: Header) {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLResponse+SessionPlus.swift:6:1: error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 4 | #endif
 5 |
 6 | extension URLResponse {
   | `- error: non-nominal type 'URLResponse' (aka 'AnyObject') cannot be extended
 7 |     /// `StatusCode` from the `HTTPURLResponse` interpreted response.
 8 |     var statusCode: StatusCode {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:12:41: error: cannot find type 'Capacity' in scope
10 |         case gigabytes(Int)
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
   |                                         `- error: cannot find type 'Capacity' in scope
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
14 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:13:41: error: cannot find type 'Capacity' in scope
11 |
12 |         public static var twentyFiveMB: Capacity = .megabytes(25)
13 |         public static var twoHundredMB: Capacity = .megabytes(200)
   |                                         `- error: cannot find type 'Capacity' in scope
14 |
15 |         public var bytes: Int {
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:38: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                      `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Extensions/URLCache+SessionPlus.swift:27:78: error: cannot find type 'Capacity' in scope
25 |     }
26 |
27 |     convenience init(memoryCapacity: Capacity = .twentyFiveMB, diskCapacity: Capacity = .twoHundredMB) {
   |                                                                              `- error: cannot find type 'Capacity' in scope
28 |         #if canImport(FoundationNetworking)
29 |         self.init(memoryCapacity: memoryCapacity.bytes, diskCapacity: diskCapacity.bytes, diskPath: "SessionPlusCache")
[82/242] Wrapping AST for Logging for debugging
[84/242] Compiling SWCompression Code.swift
[85/242] Compiling SWCompression CodeLength.swift
[86/242] Compiling SWCompression DecodingTree.swift
[89/244] Compiling SWCompression BZip2+BlockSize.swift
[90/244] Compiling SWCompression BZip2+Compress.swift
[91/244] Compiling SWCompression BZip2+Lengths.swift
[92/244] Compiling SWCompression BZip2.swift
[93/244] Compiling SWCompression BZip2Error.swift
[94/300] Compiling CoreDataPlus Migrator.swift
[95/300] Compiling CoreDataPlus ModelCatalog.swift
[96/300] Emitting module CoreDataPlus
[97/302] Compiling CoreDataPlus NSPersistentContainer+CoreDataPlus.swift
[98/302] Compiling CoreDataPlus NSPersistentStoreCoordinator+CoreDataPlus.swift
[99/302] Compiling CoreDataPlus NSPropertyMapping+CoreDataPlus.swift
[100/302] Compiling CoreDataPlus NSEntityMapping+CoreDataPlus.swift
[101/302] Compiling CoreDataPlus NSManagedObject+CoreDataPlus.swift
[102/302] Compiling CoreDataPlus NSManagedObjectContext+CoreDataPlus.swift
[103/302] Compiling CoreDataPlus StoreURL.swift
[104/302] Compiling ArgumentParser ArgumentDecoder.swift
[105/302] Compiling ArgumentParser Name.swift
[106/302] Compiling ArgumentParser Parsed.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     open var baseURL: URL
16 |     public let session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:106: error: cannot find type 'URLSessionDelegate' in scope
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                                          `- error: cannot find type 'URLSessionDelegate' in scope
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:80: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:114: error: 'nil' requires a contextual type
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                                  `- error: 'nil' requires a contextual type
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:55:25: error: cannot find type 'URLRequest' in scope
53 |     /// Implementation that uses the default `URLSessionDataTask` methods for handling a `Request`/`Response` interaction.
54 |     public func performRequest(_ request: Request, completion: @escaping (Result<Response, Error>) -> Void) {
55 |         let urlRequest: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:57:30: error: cannot find 'URLRequest' in scope
55 |         let urlRequest: URLRequest
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
   |                              `- error: cannot find 'URLRequest' in scope
58 |         } catch {
59 |             completion(.failure(error))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:63:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 |         }
62 |
63 |         session.dataTask(with: urlRequest) { data, urlResponse, error in
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
64 |             guard error == nil else {
65 |                 completion(.failure(error!))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     open var baseURL: URL
16 |     public let session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:106: error: cannot find type 'URLSessionDelegate' in scope
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                                          `- error: cannot find type 'URLSessionDelegate' in scope
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:80: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:114: error: 'nil' requires a contextual type
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                                  `- error: 'nil' requires a contextual type
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:55:25: error: cannot find type 'URLRequest' in scope
53 |     /// Implementation that uses the default `URLSessionDataTask` methods for handling a `Request`/`Response` interaction.
54 |     public func performRequest(_ request: Request, completion: @escaping (Result<Response, Error>) -> Void) {
55 |         let urlRequest: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:57:30: error: cannot find 'URLRequest' in scope
55 |         let urlRequest: URLRequest
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
   |                              `- error: cannot find 'URLRequest' in scope
58 |         } catch {
59 |             completion(.failure(error))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:63:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 |         }
62 |
63 |         session.dataTask(with: urlRequest) { data, urlResponse, error in
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
64 |             guard error == nil else {
65 |                 completion(.failure(error!))
[109/302] Compiling CoreDataPlus ModelVersion.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     open var baseURL: URL
16 |     public let session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:106: error: cannot find type 'URLSessionDelegate' in scope
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                                          `- error: cannot find type 'URLSessionDelegate' in scope
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:80: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:114: error: 'nil' requires a contextual type
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                                  `- error: 'nil' requires a contextual type
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:55:25: error: cannot find type 'URLRequest' in scope
53 |     /// Implementation that uses the default `URLSessionDataTask` methods for handling a `Request`/`Response` interaction.
54 |     public func performRequest(_ request: Request, completion: @escaping (Result<Response, Error>) -> Void) {
55 |         let urlRequest: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:57:30: error: cannot find 'URLRequest' in scope
55 |         let urlRequest: URLRequest
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
   |                              `- error: cannot find 'URLRequest' in scope
58 |         } catch {
59 |             completion(.failure(error))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:63:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 |         }
62 |
63 |         session.dataTask(with: urlRequest) { data, urlResponse, error in
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
64 |             guard error == nil else {
65 |                 completion(.failure(error!))
[110/302] Compiling CoreDataPlus Persistence.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     open var baseURL: URL
16 |     public let session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:106: error: cannot find type 'URLSessionDelegate' in scope
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                                          `- error: cannot find type 'URLSessionDelegate' in scope
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:80: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:114: error: 'nil' requires a contextual type
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                                  `- error: 'nil' requires a contextual type
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:55:25: error: cannot find type 'URLRequest' in scope
53 |     /// Implementation that uses the default `URLSessionDataTask` methods for handling a `Request`/`Response` interaction.
54 |     public func performRequest(_ request: Request, completion: @escaping (Result<Response, Error>) -> Void) {
55 |         let urlRequest: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:57:30: error: cannot find 'URLRequest' in scope
55 |         let urlRequest: URLRequest
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
   |                              `- error: cannot find 'URLRequest' in scope
58 |         } catch {
59 |             completion(.failure(error))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:63:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 |         }
62 |
63 |         session.dataTask(with: urlRequest) { data, urlResponse, error in
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
64 |             guard error == nil else {
65 |                 completion(.failure(error!))
[111/302] Compiling CoreDataPlus ResourceSuffix.swift
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:16:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
14 |
15 |     open var baseURL: URL
16 |     public let session: URLSession
   |                         `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:106: error: cannot find type 'URLSessionDelegate' in scope
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                                          `- error: cannot find type 'URLSessionDelegate' in scope
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:53: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                     `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
  |                  `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:18:80: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
16 |     public let session: URLSession
17 |
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
   |                                                                                `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                        `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:20:114: error: 'nil' requires a contextual type
18 |     public init(baseURL: URL, sessionConfiguration: URLSessionConfiguration = .default, sessionDelegate: URLSessionDelegate? = nil) {
19 |         self.baseURL = baseURL
20 |         self.session = URLSession(configuration: sessionConfiguration, delegate: sessionDelegate, delegateQueue: nil)
   |                                                                                                                  `- error: 'nil' requires a contextual type
21 |     }
22 |
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:55:25: error: cannot find type 'URLRequest' in scope
53 |     /// Implementation that uses the default `URLSessionDataTask` methods for handling a `Request`/`Response` interaction.
54 |     public func performRequest(_ request: Request, completion: @escaping (Result<Response, Error>) -> Void) {
55 |         let urlRequest: URLRequest
   |                         `- error: cannot find type 'URLRequest' in scope
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:57:30: error: cannot find 'URLRequest' in scope
55 |         let urlRequest: URLRequest
56 |         do {
57 |             urlRequest = try URLRequest(request: request, baseUrl: baseURL)
   |                              `- error: cannot find 'URLRequest' in scope
58 |         } catch {
59 |             completion(.failure(error))
/host/spi-builder-workspace/.build/checkouts/SessionPlus/Sources/SessionPlus/Implementation/BaseURLSessionClient.swift:63:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
61 |         }
62 |
63 |         session.dataTask(with: urlRequest) { data, urlResponse, error in
   |                 `- error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
64 |             guard error == nil else {
65 |                 completion(.failure(error!))
[112/302] Compiling ArgumentParser ArgumentSet.swift
[113/302] Compiling ArgumentParser CommandParser.swift
[114/302] Compiling ArgumentParser InputKey.swift
[115/302] Compiling ArgumentParser InputOrigin.swift
[116/302] Compiling CoreDataPlus Logger+CoreDataPlus.swift
[117/302] Compiling CoreDataPlus NSAttributeDescription+CoreDataPlus.swift
[118/302] Compiling CoreDataPlus NSEntityDescription+CoreDataPlus.swift
[121/302] Compiling CoreDataPlus NSRelationshipDescription+CoreDataPlus.swift
[122/302] Compiling CoreDataPlus String+FileExtensions.swift
[123/302] Compiling CoreDataPlus FileExtension.swift
[124/302] Compiling ArgumentParser DumpHelpGenerator.swift
[125/302] Compiling ArgumentParser HelpCommand.swift
[126/302] Compiling ArgumentParser HelpGenerator.swift
[127/302] Compiling ArgumentParser MessageInfo.swift
[128/302] Compiling CoreDataPlus CatalogContainer.swift
[129/302] Compiling CoreDataPlus CoreDataPlusError.swift
[130/302] Compiling CoreDataPlus Bundle+Resources.swift
BUILD FAILURE 6.1 wasm