Build Information
Failed to build Moya with Swift 5.9 for Linux.
Build Command
Build command unavailable
Build Log
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:217:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var tasks: [URLSessionTask] { mutableState.tasks }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:219:27: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var firstTask: URLSessionTask? { tasks.first }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:221:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var lastTask: URLSessionTask? { tasks.last }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:223:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var task: URLSessionTask? { lastTask }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:228:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var allMetrics: [URLSessionTaskMetrics] { mutableState.metrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:230:30: error: cannot find type 'URLSessionTaskMetrics' in scope
public var firstMetrics: URLSessionTaskMetrics? { allMetrics.first }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:232:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var lastMetrics: URLSessionTaskMetrics? { allMetrics.last }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:234:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics? { lastMetrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:281:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:51: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:82: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:46: error: cannot find type 'URLRequest' in scope
func didFailToAdaptURLRequest(_ request: URLRequest, withError error: AFError) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:341:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:367:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCreateTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:391:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didResumeTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:407:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didSuspendTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:425:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCancelTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:434:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:447:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFailTask(_ task: URLSessionTask, earlyWithError error: AFError) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:464:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:28: error: cannot find type 'URLRequest' in scope
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:742:93: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
public func authenticate(username: String, password: String, persistence: URLCredential.Persistence = .forSession) -> Self {
~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:754:47: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func authenticate(with credential: URLCredential) -> Self {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:885:99: error: cannot find type 'URLRequest' in scope
public func onURLRequestCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLRequest) -> Void) -> Self {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:909:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func onURLSessionTaskCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLSessionTask) -> Void) -> Self {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1036:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var sessionConfiguration: URLSessionConfiguration { get }
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1206:29: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1208:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1468:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response: HTTPURLResponse) -> (destinationURL: URL, options: Options)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1591:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFinishDownloading(using task: URLSessionTask, with result: Result<URL, AFError>) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:212:55: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
public var response: HTTPURLResponse? { lastTask?.response as? HTTPURLResponse }
~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:264:84: error: cannot find type 'URLRequest' in scope
public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:267:64: error: cannot find type 'URLRequest' in scope
didAdaptInitialRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:268:44: error: cannot find type 'URLRequest' in scope
to adaptedRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:270:66: error: cannot find type 'URLRequest' in scope
didFailToAdaptURLRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:272:77: error: cannot find type 'URLRequest' in scope
public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:274:71: error: cannot find type 'URLSessionTaskMetrics' in scope
public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:286:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:293:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:303:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:286:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didCreateInitialURLRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:316:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didAdaptInitialRequest: initialRequest, to: adaptedRequest)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:122:10: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:126:10: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:275:17: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:276:17: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:331:30: error: incorrect argument labels in call (have '_:didFailToAdaptURLRequest:withError:', expected '_:didFailTask:earlyWithError:')
eventMonitor?.request(self, didFailToAdaptURLRequest: request, withError: error)
^ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
didFailTask earlyWithError
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:348:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didCreateURLRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:439:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didGatherMetrics: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:675:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else {
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:675:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else {
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:701:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:701:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:722:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:722:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:743:26: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let credential = URLCredential(user: username, password: password, persistence: persistence)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:954:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return response.map { "\(requestDescription) (\($0.statusCode))" } ?? requestDescription
~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:973:67: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCredentialStorage'
if let credentialStorage = delegate?.sessionConfiguration.urlCredentialStorage {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:978:76: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
authenticationMethod: NSURLAuthenticationMethodHTTPBasic)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:974:35: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let protectionSpace = URLProtectionSpace(host: host,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:986:71: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'user'
if let credential = credential, let user = credential.user, let password = credential.password {
~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:986:103: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'password'
if let credential = credential, let user = credential.user, let password = credential.password {
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:992:78: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
if let configuration = delegate?.sessionConfiguration, configuration.httpShouldSetCookies {
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:994:51: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpCookieStorage'
let cookieStorage = configuration.httpCookieStorage,
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1004:64: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'headers'
if let sessionHeaders = delegate?.sessionConfiguration.headers {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1128:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
return session.dataTask(with: copiedRequest)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1134:75: error: cannot find 'NSURLSessionTransferSizeUnknown' in scope
let totalBytesExpected = task?.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1134:40: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
let totalBytesExpected = task?.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1288:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
return session.dataTask(with: copiedRequest)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1354:31: error: type 'Stream' has no member 'getBoundStreams'
Foundation.Stream.getBoundStreams(withBufferSize: bufferSize,
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1484:76: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
let url = directoryURLs.first?.appendingPathComponent(response.suggestedFilename!) ?? temporaryURL
~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1613:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
session.downloadTask(with: request)
~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1624:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
session.downloadTask(withResumeData: data)
~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1680:87: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last as? URLSessionDownloadTask, task.state != .completed else {
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1680:97: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last as? URLSessionDownloadTask, task.state != .completed else {
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1821:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case let .data(data): return session.uploadTask(with: request, from: data)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1822:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case let .file(url, _): return session.uploadTask(with: request, fromFile: url)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1823:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case .stream: return session.uploadTask(withStreamedRequest: request)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:34: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:87: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:196:38: error: cannot find type 'URLRequest' in scope
private func adapt(_ urlRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:199:54: error: cannot find type 'URLRequest' in scope
completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:97:21: error: cannot infer contextual base in reference to member 'success'
completion(.success(urlRequest))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:202:59: error: cannot infer contextual base in reference to member 'success'
guard !pendingAdapters.isEmpty else { completion(.success(urlRequest)); return }
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:34: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var tasksToRequests: [URLSessionTask: Request]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var tasksToRequests: [URLSessionTask: Request]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:32:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var requestsToTasks: [Request: URLSessionTask]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var taskEvents: [URLSessionTask: Events]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var taskEvents: [URLSessionTask: Events]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:27: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
init(tasksToRequests: [URLSessionTask: Request] = [:],
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:22: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
init(tasksToRequests: [URLSessionTask: Request] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:40:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
requestsToTasks: [Request: URLSessionTask] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:47:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ request: Request) -> URLSessionTask? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:68:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ task: URLSessionTask) -> Request? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:115:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterGatheringMetricsForTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:127:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterCompletingTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:36:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
Array(tasksToRequests.values)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:56:33: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:57:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:63:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests[newValue] = request
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:64:23: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents[newValue] = (completed: false, metricsGathered: false)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:69:30: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
get { tasksToRequests[task] }
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:72:52: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let request = tasksToRequests[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:76:33: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:78:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:83:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests[task] = newValue
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:85:23: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents[task] = (completed: false, metricsGathered: false)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:116:38: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let events = taskEvents[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:122:40: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
case (false, false): taskEvents[task] = (completed: false, metricsGathered: true); return false
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:128:38: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let events = taskEvents[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:35:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:38:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:47:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:73:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:71:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:217:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:220:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:232:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:257:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:261:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:258:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:399:41: error: cannot find type 'URLRequest' in scope
static func description(of request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:411:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static func description(of response: HTTPURLResponse) -> String {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:104:101: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
let responseBodyDescription = DebugDescription.description(for: data, headers: response.headers)
~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:414:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
[Status Code]: \(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:415:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
\(DebugDescription.description(for: response.headers).indentingNewlines())
~~~~~~~~ ^~~~~~~
[62/140] Compiling ReactiveSwift UniqueValues.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:98:65: error: cannot find type 'URLRequest' in scope
var urlRequestHandler: (queue: DispatchQueue, handler: (URLRequest) -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:110:24: error: cannot find type 'URLRequest' in scope
var requests: [URLRequest] = []
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:115:23: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: [URLSessionTaskMetrics] = []
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:30: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:94: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
willBeRedirectedTo request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
completion: @escaping (URLRequest?) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:100:69: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var urlSessionTaskHandler: (queue: DispatchQueue, handler: (URLSessionTask) -> Void)?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:108:25: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var credential: URLCredential?
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:112:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var tasks: [URLSessionTask] = []
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:45: error: cannot find type 'SecTrust' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:63: error: cannot find type 'SecPolicy' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:161:82: error: cannot find type 'OSStatus' in scope
case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:163:54: error: cannot find type 'OSStatus' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:163:79: error: cannot find type 'SecCertificate' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:60: error: cannot find type 'SecTrust' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:91: error: cannot find type 'SecCertificate' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:175:129: error: cannot find type 'SecCertificate' in scope
case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:58: error: cannot find type 'SecTrust' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:81: error: cannot find type 'SecKey' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:177:103: error: cannot find type 'SecKey' in scope
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:30: error: cannot find type 'CFOptionFlags' in scope
public let rawValue: CFOptionFlags
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:139:31: error: cannot find type 'SecTrust' in scope
public let trust: SecTrust
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:141:32: error: cannot find type 'OSStatus' in scope
public let status: OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:143:32: error: cannot find type 'SecTrustResultType' in scope
public let result: SecTrustResultType
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:182:41: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public private(set) var credential: URLCredential? {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:196:27: error: cannot find type 'URLRequest' in scope
public var requests: [URLRequest] { mutableState.requests }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:198:30: error: cannot find type 'URLRequest' in scope
public var firstRequest: URLRequest? { requests.first }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:200:29: error: cannot find type 'URLRequest' in scope
public var lastRequest: URLRequest? { requests.last }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:206:36: error: cannot find type 'URLRequest' in scope
public var performedRequests: [URLRequest] { $mutableState.read { $0.tasks.compactMap { $0.currentRequest } } }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:212:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: HTTPURLResponse? { lastTask?.response as? HTTPURLResponse }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:217:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var tasks: [URLSessionTask] { mutableState.tasks }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:219:27: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var firstTask: URLSessionTask? { tasks.first }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:221:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var lastTask: URLSessionTask? { tasks.last }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:223:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var task: URLSessionTask? { lastTask }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:228:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var allMetrics: [URLSessionTaskMetrics] { mutableState.metrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:230:30: error: cannot find type 'URLSessionTaskMetrics' in scope
public var firstMetrics: URLSessionTaskMetrics? { allMetrics.first }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:232:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var lastMetrics: URLSessionTaskMetrics? { allMetrics.last }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:234:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics? { lastMetrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:281:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:51: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:82: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:46: error: cannot find type 'URLRequest' in scope
func didFailToAdaptURLRequest(_ request: URLRequest, withError error: AFError) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:341:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:367:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCreateTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:391:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didResumeTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:407:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didSuspendTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:425:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCancelTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:434:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:447:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFailTask(_ task: URLSessionTask, earlyWithError error: AFError) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:464:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:28: error: cannot find type 'URLRequest' in scope
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:742:93: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
public func authenticate(username: String, password: String, persistence: URLCredential.Persistence = .forSession) -> Self {
~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:754:47: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func authenticate(with credential: URLCredential) -> Self {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:885:99: error: cannot find type 'URLRequest' in scope
public func onURLRequestCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLRequest) -> Void) -> Self {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:909:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func onURLSessionTaskCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLSessionTask) -> Void) -> Self {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1036:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var sessionConfiguration: URLSessionConfiguration { get }
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1206:29: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1208:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1468:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response: HTTPURLResponse) -> (destinationURL: URL, options: Options)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1591:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFinishDownloading(using task: URLSessionTask, with result: Result<URL, AFError>) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:212:55: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
public var response: HTTPURLResponse? { lastTask?.response as? HTTPURLResponse }
~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:264:84: error: cannot find type 'URLRequest' in scope
public func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:267:64: error: cannot find type 'URLRequest' in scope
didAdaptInitialRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:268:44: error: cannot find type 'URLRequest' in scope
to adaptedRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:270:66: error: cannot find type 'URLRequest' in scope
didFailToAdaptURLRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:272:77: error: cannot find type 'URLRequest' in scope
public func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:274:71: error: cannot find type 'URLSessionTaskMetrics' in scope
public func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:286:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:293:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:303:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:286:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didCreateInitialURLRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didCreateInitialURLRequest:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:316:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didAdaptInitialRequest: initialRequest, to: adaptedRequest)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:122:10: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:126:10: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:275:17: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didFailTask:earlyWithError:)')
public func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:276:17: note: incorrect labels for candidate (have: '(_:didAdaptInitialRequest:to:)', expected: '(_:didCompleteTask:with:)')
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:331:30: error: incorrect argument labels in call (have '_:didFailToAdaptURLRequest:withError:', expected '_:didFailTask:earlyWithError:')
eventMonitor?.request(self, didFailToAdaptURLRequest: request, withError: error)
^ ~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~
didFailTask earlyWithError
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:348:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didCreateURLRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didCreateURLRequest:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:439:23: error: no exact matches in call to instance method 'request'
eventMonitor?.request(self, didGatherMetrics: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:104:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:116:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
func request(_ request: Request, didCreateTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:138:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
func request(_ request: Request, didResumeTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:144:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
func request(_ request: Request, didSuspendTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:150:10: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
func request(_ request: Request, didCancelTask task: URLSessionTask)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:265:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didFailToCreateURLRequestWithError:)')
public func request(_ request: Request, didFailToCreateURLRequestWithError error: AFError) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:273:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCreateTask:)')
public func request(_ request: Request, didCreateTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:280:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didResumeTask:)')
public func request(_ request: Request, didResumeTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:282:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didSuspendTask:)')
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:284:17: note: incorrect labels for candidate (have: '(_:didGatherMetrics:)', expected: '(_:didCancelTask:)')
public func request(_ request: Request, didCancelTask task: URLSessionTask) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:675:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else {
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:675:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else {
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:701:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:701:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:722:60: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:722:70: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last, task.state != .completed else { return }
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:743:26: error: 'URLCredential' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let credential = URLCredential(user: username, password: password, persistence: persistence)
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:954:60: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
return response.map { "\(requestDescription) (\($0.statusCode))" } ?? requestDescription
~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:973:67: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCredentialStorage'
if let credentialStorage = delegate?.sessionConfiguration.urlCredentialStorage {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:978:76: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
authenticationMethod: NSURLAuthenticationMethodHTTPBasic)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:974:35: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let protectionSpace = URLProtectionSpace(host: host,
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:986:71: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'user'
if let credential = credential, let user = credential.user, let password = credential.password {
~~~~~~~~~~ ^~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:986:103: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'password'
if let credential = credential, let user = credential.user, let password = credential.password {
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:992:78: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
if let configuration = delegate?.sessionConfiguration, configuration.httpShouldSetCookies {
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:994:51: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpCookieStorage'
let cookieStorage = configuration.httpCookieStorage,
~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1004:64: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'headers'
if let sessionHeaders = delegate?.sessionConfiguration.headers {
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1128:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
return session.dataTask(with: copiedRequest)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1134:75: error: cannot find 'NSURLSessionTransferSizeUnknown' in scope
let totalBytesExpected = task?.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1134:40: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
let totalBytesExpected = task?.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1288:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
return session.dataTask(with: copiedRequest)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1354:31: error: type 'Stream' has no member 'getBoundStreams'
Foundation.Stream.getBoundStreams(withBufferSize: bufferSize,
~~~~~~~~~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1484:76: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'suggestedFilename'
let url = directoryURLs.first?.appendingPathComponent(response.suggestedFilename!) ?? temporaryURL
~~~~~~~~ ^~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1613:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
session.downloadTask(with: request)
~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1624:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'downloadTask'
session.downloadTask(withResumeData: data)
~~~~~~~ ^~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1680:87: error: value of type 'URLSessionDownloadTask' (aka 'AnyObject') has no member 'state'
guard let task = mutableState.tasks.last as? URLSessionDownloadTask, task.state != .completed else {
~~~~ ^~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1680:97: error: cannot infer contextual base in reference to member 'completed'
guard let task = mutableState.tasks.last as? URLSessionDownloadTask, task.state != .completed else {
~^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1821:46: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case let .data(data): return session.uploadTask(with: request, from: data)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1822:48: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case let .file(url, _): return session.uploadTask(with: request, fromFile: url)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1823:38: error: value of type 'URLSession' (aka 'AnyObject') has no member 'uploadTask'
case .stream: return session.uploadTask(withStreamedRequest: request)
~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:34: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:87: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:196:38: error: cannot find type 'URLRequest' in scope
private func adapt(_ urlRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:199:54: error: cannot find type 'URLRequest' in scope
completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:97:21: error: cannot infer contextual base in reference to member 'success'
completion(.success(urlRequest))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:202:59: error: cannot infer contextual base in reference to member 'success'
guard !pendingAdapters.isEmpty else { completion(.success(urlRequest)); return }
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:34: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var tasksToRequests: [URLSessionTask: Request]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var tasksToRequests: [URLSessionTask: Request]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:32:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var requestsToTasks: [Request: URLSessionTask]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var taskEvents: [URLSessionTask: Events]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var taskEvents: [URLSessionTask: Events]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:27: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
init(tasksToRequests: [URLSessionTask: Request] = [:],
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:22: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
init(tasksToRequests: [URLSessionTask: Request] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:40:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
requestsToTasks: [Request: URLSessionTask] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:47:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ request: Request) -> URLSessionTask? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:68:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ task: URLSessionTask) -> Request? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:115:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterGatheringMetricsForTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:127:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterCompletingTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:36:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
Array(tasksToRequests.values)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:56:33: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:57:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:63:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests[newValue] = request
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:64:23: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents[newValue] = (completed: false, metricsGathered: false)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:69:30: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
get { tasksToRequests[task] }
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:72:52: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let request = tasksToRequests[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:76:33: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:78:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents.removeValue(forKey: task)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:83:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
tasksToRequests[task] = newValue
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:85:23: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
taskEvents[task] = (completed: false, metricsGathered: false)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:116:38: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let events = taskEvents[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:122:40: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
case (false, false): taskEvents[task] = (completed: false, metricsGathered: true); return false
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:128:38: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
guard let events = taskEvents[task] else {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:35:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:38:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:47:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:73:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:71:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:217:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:220:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:232:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:257:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:261:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:258:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:399:41: error: cannot find type 'URLRequest' in scope
static func description(of request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:411:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static func description(of response: HTTPURLResponse) -> String {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:104:101: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
let responseBodyDescription = DebugDescription.description(for: data, headers: response.headers)
~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:414:39: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
[Status Code]: \(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:415:58: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'headers'
\(DebugDescription.description(for: response.headers).indentingNewlines())
~~~~~~~~ ^~~~~~~
[68/140] Compiling ReactiveSwift Event.swift
[69/159] Compiling ReactiveSwift Optional.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[70/159] Compiling ReactiveSwift Property.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[71/159] Compiling ReactiveSwift ResultExtensions.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[72/159] Compiling ReactiveSwift Scheduler.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
error: fatalError
BUILD FAILURE 5.9 linux