Build Information
Failed to build MoyaNC with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
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/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/Session.swift:74:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
var waitingCompletions: [URLSessionTask: () -> Void] = [:]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:74:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var waitingCompletions: [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/Session.swift:108:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:228:47: error: cannot find type 'URLRequest' in scope
public typealias RequestModifier = (inout URLRequest) throws -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:238:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/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/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:286:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:582:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:598:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1067:44: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ urlRequest: URLRequest, for request: Request) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1093:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func updateStatesForTask(_ task: URLSessionTask, request: 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/Session.swift:1148:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: 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/Session.swift:1195:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/Session.swift:1201:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/Session.swift:1212:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/Session.swift:1224:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/Session.swift:119:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
precondition(session.configuration.identifier == nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:121:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
precondition(session.delegateQueue.underlyingQueue === rootQueue,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:184:36: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'identifier'
precondition(configuration.identifier == nil, "Alamofire does not support background URLSessionConfigurations.")
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:187:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:204:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session.invalidateAndCancel()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:239:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:287:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:583:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:893:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:933:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1031:29: error: cannot find type 'URLRequest' in scope
let initialRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:277:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:307: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:307: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:337:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:638: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/Session.swift:1074:28: error: cannot call value of non-function type 'URLSessionTask?' (aka 'Optional<AnyObject>')
let task = request.task(for: urlRequest, using: session)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1517: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/Session.swift:1102:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
task.resume()
~~~~ ^~~~~~
/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/Session.swift:1149:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1207:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task]?()
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1208:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = nil
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1220:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = completion
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1228:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:47:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request<R: Request>(for task: URLSessionTask, as type: R.Type) -> R? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:63:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/SessionDelegate.swift:64:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/SessionDelegate.swift:65:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/SessionDelegate.swift:66:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/SessionDelegate.swift:72:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:73:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:82:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:84:62: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:89:67: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:86:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:87:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88:48: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:115:59: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:144:57: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:145:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
belongingTo task: URLSessionTask) -> ChallengeEvaluation {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:157:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:158:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:172:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:173:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:189:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:186:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:187:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:188:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willPerformHTTPRedirection response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:100: error: cannot find type 'URLSessionTaskMetrics' in scope
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: 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/SessionDelegate.swift:219:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:226:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
dataTask: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse proposedResponse: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegate: URLSessionDownloadDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:242:48: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:245:57: error: cannot find type 'URLSessionTaskMetrics' in scope
didFinishCollecting metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:93:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
switch challenge.protectionSpace.authenticationMethod {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:94:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
case NSURLAuthenticationMethodServerTrust:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:28: error: cannot infer contextual base in reference to member 'performDefaultHandling'
evaluation = (.performDefaultHandling, nil, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:52: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:57: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:116:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let host = challenge.protectionSpace.host
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:119:35: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:146:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
guard challenge.previousFailureCount == 0 else {
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:150:83: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard let credential = stateProvider?.credential(for: task, in: challenge.protectionSpace) else {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:191:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:82:10: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:252:17: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:201:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:43:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:65:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:230:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:246:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:419:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/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/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestConvertible {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
public var urlRequest: URLRequest? { try? asURLRequest() }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:84:42: error: cannot find type 'URLRequest' in scope
public func asURLRequest() throws -> URLRequest { self }
^~~~~~~~~~
[9/37] Compiling Alamofire StringEncoding+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:94: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
~~~~~~~~~~~~~~~~~~~~~~~ ^~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:40:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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/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/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/Session.swift:74:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
var waitingCompletions: [URLSessionTask: () -> Void] = [:]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:74:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var waitingCompletions: [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/Session.swift:108:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:228:47: error: cannot find type 'URLRequest' in scope
public typealias RequestModifier = (inout URLRequest) throws -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:238:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/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/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:286:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:582:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:598:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1067:44: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ urlRequest: URLRequest, for request: Request) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1093:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func updateStatesForTask(_ task: URLSessionTask, request: 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/Session.swift:1148:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: 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/Session.swift:1195:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/Session.swift:1201:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/Session.swift:1212:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/Session.swift:1224:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/Session.swift:119:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
precondition(session.configuration.identifier == nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:121:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
precondition(session.delegateQueue.underlyingQueue === rootQueue,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:184:36: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'identifier'
precondition(configuration.identifier == nil, "Alamofire does not support background URLSessionConfigurations.")
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:187:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:204:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session.invalidateAndCancel()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:239:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:287:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:583:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:893:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:933:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1031:29: error: cannot find type 'URLRequest' in scope
let initialRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:277:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:307: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:307: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:337:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:638: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/Session.swift:1074:28: error: cannot call value of non-function type 'URLSessionTask?' (aka 'Optional<AnyObject>')
let task = request.task(for: urlRequest, using: session)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1517: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/Session.swift:1102:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
task.resume()
~~~~ ^~~~~~
/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/Session.swift:1149:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1207:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task]?()
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1208:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = nil
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1220:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = completion
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1228:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:47:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request<R: Request>(for task: URLSessionTask, as type: R.Type) -> R? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:63:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/SessionDelegate.swift:64:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/SessionDelegate.swift:65:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/SessionDelegate.swift:66:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/SessionDelegate.swift:72:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:73:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:82:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:84:62: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:89:67: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:86:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:87:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88:48: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:115:59: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:144:57: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:145:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
belongingTo task: URLSessionTask) -> ChallengeEvaluation {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:157:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:158:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:172:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:173:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:189:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:186:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:187:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:188:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willPerformHTTPRedirection response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:100: error: cannot find type 'URLSessionTaskMetrics' in scope
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: 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/SessionDelegate.swift:219:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:226:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
dataTask: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse proposedResponse: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegate: URLSessionDownloadDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:242:48: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:245:57: error: cannot find type 'URLSessionTaskMetrics' in scope
didFinishCollecting metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:93:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
switch challenge.protectionSpace.authenticationMethod {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:94:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
case NSURLAuthenticationMethodServerTrust:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:28: error: cannot infer contextual base in reference to member 'performDefaultHandling'
evaluation = (.performDefaultHandling, nil, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:52: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:57: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:116:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let host = challenge.protectionSpace.host
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:119:35: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:146:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
guard challenge.previousFailureCount == 0 else {
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:150:83: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard let credential = stateProvider?.credential(for: task, in: challenge.protectionSpace) else {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:191:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:82:10: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:252:17: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:201:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:43:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:65:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:230:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:246:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:419:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/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/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestConvertible {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
public var urlRequest: URLRequest? { try? asURLRequest() }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:84:42: error: cannot find type 'URLRequest' in scope
public func asURLRequest() throws -> URLRequest { self }
^~~~~~~~~~
[10/37] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:94: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
~~~~~~~~~~~~~~~~~~~~~~~ ^~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:40:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/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/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/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/Session.swift:74:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
var waitingCompletions: [URLSessionTask: () -> Void] = [:]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:74:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var waitingCompletions: [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/Session.swift:108:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:228:47: error: cannot find type 'URLRequest' in scope
public typealias RequestModifier = (inout URLRequest) throws -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:238:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/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/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:286:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:582:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:598:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1067:44: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ urlRequest: URLRequest, for request: Request) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1093:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func updateStatesForTask(_ task: URLSessionTask, request: 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/Session.swift:1148:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: 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/Session.swift:1195:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/Session.swift:1201:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/Session.swift:1212:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/Session.swift:1224:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1224:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/Session.swift:119:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
precondition(session.configuration.identifier == nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:121:30: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
precondition(session.delegateQueue.underlyingQueue === rootQueue,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:184:36: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'identifier'
precondition(configuration.identifier == nil, "Alamofire does not support background URLSessionConfigurations.")
~~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:187:23: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
let session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: delegateQueue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:204:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session.invalidateAndCancel()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:239:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:287:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:314:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:372:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:404:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: error: generic parameter 'Parameters' could not be inferred
let convertible = RequestEncodableConvertible(url: convertible,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:278:40: note: 'Parameters' declared as parameter to type 'Session.RequestEncodableConvertible'
struct RequestEncodableConvertible<Parameters: Encodable>: URLRequestConvertible {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:505:27: note: explicitly specify the generic arguments to fix this issue
let convertible = RequestEncodableConvertible(url: convertible,
^
<<#Parameters: Encodable#>>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:583:31: error: cannot find 'URLRequest' in scope
var request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:893:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:933:78: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
let multipartUpload = MultipartUpload(isInBackgroundSession: session.configuration.identifier != nil,
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1031:29: error: cannot find type 'URLRequest' in scope
let initialRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:277:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:307: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:307: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:337:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:638: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/Session.swift:1074:28: error: cannot call value of non-function type 'URLSessionTask?' (aka 'Optional<AnyObject>')
let task = request.task(for: urlRequest, using: session)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1517: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/Session.swift:1102:22: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'resume'
task.resume()
~~~~ ^~~~~~
/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/Session.swift:1149:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1207:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task]?()
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1208:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = nil
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1220:31: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
waitingCompletions[task] = completion
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1228:21: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:47:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request<R: Request>(for task: URLSessionTask, as type: R.Type) -> R? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:63:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for 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/SessionDelegate.swift:64:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ 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/SessionDelegate.swift:65:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> 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/SessionDelegate.swift:66:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> 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/SessionDelegate.swift:72:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:73:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:82:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:84:62: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:89:67: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:86:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:87:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88:48: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:115:59: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:144:57: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:145:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
belongingTo task: URLSessionTask) -> ChallengeEvaluation {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:157:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:158:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:172:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:173:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:189:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:186:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:187:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:188:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willPerformHTTPRedirection response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:100: error: cannot find type 'URLSessionTaskMetrics' in scope
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: 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/SessionDelegate.swift:219:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:226:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
dataTask: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse proposedResponse: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegate: URLSessionDownloadDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:242:48: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:245:57: error: cannot find type 'URLSessionTaskMetrics' in scope
didFinishCollecting metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:93:26: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
switch challenge.protectionSpace.authenticationMethod {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:94:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
case NSURLAuthenticationMethodServerTrust:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:96:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:28: error: cannot infer contextual base in reference to member 'performDefaultHandling'
evaluation = (.performDefaultHandling, nil, nil)
~^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:52: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:57: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:116:30: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let host = challenge.protectionSpace.host
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:118:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:119:35: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
let trust = challenge.protectionSpace.serverTrust
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:146:25: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'previousFailureCount'
guard challenge.previousFailureCount == 0 else {
~~~~~~~~~ ^~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:150:83: error: value of type 'URLAuthenticationChallenge' (aka 'AnyObject') has no member 'protectionSpace'
guard let credential = stateProvider?.credential(for: task, in: challenge.protectionSpace) else {
~~~~~~~~~ ^~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:191:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:82:10: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:252:17: note: candidate has partially matching parameter list (URLSession, downloadTask: URLSessionDownloadTask, didResumeAtOffset: Int64, expectedTotalBytes: Int64)
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:201:23: error: no exact matches in call to instance method 'urlSession'
eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:43:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:65:10: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:230:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didReceive:)')
public func urlSession(_ session: URLSession,
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:246:17: note: incorrect labels for candidate (have: '(_:task:didFinishCollecting:)', expected: '(_:task:didCompleteWithError:)')
public func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {}
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:419:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/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/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestConvertible {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
public var urlRequest: URLRequest? { try? asURLRequest() }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:84:42: error: cannot find type 'URLRequest' in scope
public func asURLRequest() throws -> URLRequest { self }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:130:31: error: cannot find type 'SecTrust' in scope
public let trust: SecTrust
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:132:32: error: cannot find type 'OSStatus' in scope
public let status: OSStatus
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:134:32: error: cannot find type 'SecTrustResultType' in scope
public let result: SecTrustResultType
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:43: error: cannot find type 'SecTrust' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:63: error: cannot find type 'OSStatus' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:83: error: cannot find type 'SecTrustResultType' in scope
init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152: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:152: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:152: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:154:54: error: cannot find type 'OSStatus' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:79: error: cannot find type 'SecCertificate' in scope
case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166: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:166: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:166: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:168: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:168: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:168: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/AuthenticationInterceptor.swift:59:63: error: cannot find type 'URLRequest' in scope
func apply(_ credential: Credential, to urlRequest: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:35: error: cannot find type 'URLRequest' in scope
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:141:34: error: cannot find type 'URLRequest' in scope
func isRequest(_ urlRequest: URLRequest, authenticatedWith credential: Credential) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:194:25: error: cannot find type 'URLRequest' in scope
let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:196:33: error: cannot find type 'URLRequest' in scope
let completion: (Result<URLRequest, Error>) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251: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/AuthenticationInterceptor.swift:251: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: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/AuthenticationInterceptor.swift:281:25: error: cannot infer contextual base in reference to member 'success'
completion(.success(authenticatedRequest))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:284:25: error: cannot infer contextual base in reference to member 'failure'
completion(.failure(adaptError))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:198:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/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/AuthenticationInterceptor.swift:398:54: error: cannot infer contextual base in reference to member 'failure'
adaptOperations.forEach { $0.completion(.failure(error)) }
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:80:49: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Combine.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protected.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/StringEncoding+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.j1iPt1/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AuthenticationInterceptor.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2. Compiling with the current language version
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:124:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x55dbb39bfd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55dbb39bdabe]
/usr/bin/swift-frontend(+0x73080ea)[0x55dbb39c00ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb2c1e16520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fb2c1e6a9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fb2c1e16476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fb2c1dfc7f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55dbaf1ac275]
/usr/bin/swift-frontend(+0x2755c54)[0x55dbaee0dc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55dbaf17069b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55dbae9ffa0c]
/usr/bin/swift-frontend(+0x106859c)[0x55dbad72059c]
/usr/bin/swift-frontend(+0x1068102)[0x55dbad720102]
/usr/bin/swift-frontend(+0x106716b)[0x55dbad71f16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55dbaf1711aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55dbad6eed5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55dbad6ee2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55dbad6ebc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55dbae36ccd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55dbaee6505c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55dbaee66b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55dbaee690e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55dbaee6507c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55dbaee69c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55dbaee6886b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55dbaee6507c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55dbaee69c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55dbaee6886b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55dbaee6507c]
/usr/bin/swift-frontend(+0x27acf73)[0x55dbaee64f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55dbaf0431e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55dbae36a6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55dbad6eac84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55dbad6eab2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55dbad6dff82]
/usr/bin/swift-frontend(+0x1027978)[0x55dbad6df978]
/usr/bin/swift-frontend(+0xe3f242)[0x55dbad4f7242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55dbad4f509c]
/usr/bin/swift-frontend(+0xe382cd)[0x55dbad4f02cd]
/usr/bin/swift-frontend(+0xe369db)[0x55dbad4ee9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55dbad37b315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb2c1dfdd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb2c1dfde40]
/usr/bin/swift-frontend(+0xcc2375)[0x55dbad37a375]
BUILD FAILURE 5.10 linux