Build Information
Failed to build Moya-ModelMapper with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:331:24: error: value of type '[any ServerTrustEvaluating]' has no member 'evaluate'
try evaluators.evaluate(trust, forHost: host)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:427:22: error: cannot find 'SecTrustSetPolicies' in scope
let status = SecTrustSetPolicies(type, policy)
^~~~~~~~~~~~~~~~~~~
/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/ServerTrustEvaluation.swift:444:20: error: cannot find type 'CFError' in scope
var error: CFError?
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:445:35: error: cannot find 'SecTrustEvaluateWithError' in scope
let evaluationSucceeded = SecTrustEvaluateWithError(type, &error)
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:462:22: error: cannot find 'SecTrustResultType' in scope
var result = SecTrustResultType.invalid
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:463:22: error: cannot find 'SecTrustEvaluate' in scope
let status = SecTrustEvaluate(type, &result)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:476:22: error: cannot find 'SecTrustSetAnchorCertificates' in scope
let status = SecTrustSetAnchorCertificates(type, certificates as CFArray)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:476:74: error: cannot find type 'CFArray' in scope
let status = SecTrustSetAnchorCertificates(type, certificates as CFArray)
^~~~~~~
/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/ServerTrustEvaluation.swift:483:28: error: cannot find 'SecTrustSetAnchorCertificatesOnly' in scope
let systemStatus = SecTrustSetAnchorCertificatesOnly(type, true)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:513:41: error: cannot find 'SecPolicy' in scope
try evaluate(afterApplying: SecPolicy.af.default)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:515:34: error: cannot find 'SecPolicy' in scope
try validate(policy: SecPolicy.af.default) { status, result in
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:528:41: error: cannot find 'SecPolicy' in scope
try evaluate(afterApplying: SecPolicy.af.hostname(host))
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:530:34: error: cannot find 'SecPolicy' in scope
try validate(policy: SecPolicy.af.hostname(host)) { status, result in
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:559:28: error: cannot find 'SecPolicyCreateRevocation' in scope
guard let policy = SecPolicyCreateRevocation(options.rawValue) else {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:571:27: error: cannot find 'SecCertificateCopyData' in scope
return type.map { SecCertificateCopyData($0) as Data }
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:584:22: error: cannot find 'SecPolicyCreateBasicX509' in scope
let policy = SecPolicyCreateBasicX509()
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:585:20: error: cannot find type 'SecTrust' in scope
var trust: SecTrust?
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:586:35: error: cannot find 'SecTrustCreateWithCertificates' in scope
let trustCreationStatus = SecTrustCreateWithCertificates(type, policy, &trust)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:588:64: error: cannot find 'errSecSuccess' in scope
guard let createdTrust = trust, trustCreationStatus == errSecSuccess else { return nil }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:597:42: error: cannot find 'errSecSuccess' in scope
var isSuccess: Bool { return type == errSecSuccess }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:604:50: error: cannot infer contextual base in reference to member 'proceed'
return (type == .unspecified || type == .proceed)
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:167: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:36: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:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:37: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:39: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:102: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:167: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/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:228: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:268:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:453:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:466:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:901: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:923: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:972: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:1019: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:1023: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:1027:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ 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:1031: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:1031: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:1031: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:113: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:115: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:178: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:181: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:198:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session.invalidateAndCancel()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:229:31: error: cannot find 'URLRequest' in scope
let request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:269:31: error: cannot find 'URLRequest' in scope
let request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:731: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:771: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:865:29: error: cannot find type 'URLRequest' in scope
let initialRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:274:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:300: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:300:82: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:590: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:906: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:1199: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:930: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:973:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
return session.configuration
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1033: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:67: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:68: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:69:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ 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:70: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:70: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:70: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:76:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:77: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:86:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88: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:93: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:90: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:91: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:92: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:119: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:148: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:149: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:161: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:162: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:176: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:177: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:193:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:194:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190: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:191: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:192: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:204: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:204: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:204: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:212: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:212: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:221: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:221: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:228:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:229: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:229: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:221:48: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:224:57: error: cannot find type 'URLSessionTaskMetrics' in scope
didFinishCollecting metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97: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:98:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
case NSURLAuthenticationMethodServerTrust:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:101:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:101:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:104: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:104:52: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:104:57: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:120: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:122:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:122: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:123: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:150: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:154: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:195: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:231: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:205: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:209: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:225: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:392:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:243: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:246:64: error: cannot find type 'URLRequest' in scope
didAdaptInitialRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:247:44: error: cannot find type 'URLRequest' in scope
to adaptedRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:249:66: error: cannot find type 'URLRequest' in scope
didFailToAdaptURLRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:251: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:253: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:265:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:277: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? { return 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 { return self }
^~~~~~~~~~
[25/210] Compiling RxSwift ConcurrentMainScheduler.swift
[26/210] Compiling RxSwift AsyncSubject.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:394:11: error: cannot find type 'SecTrust' in scope
extension SecTrust: AlamofireExtended {}
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:537:11: error: cannot find type 'SecPolicy' in scope
extension SecPolicy: AlamofireExtended {}
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:580:11: error: cannot find type 'SecCertificate' in scope
extension SecCertificate: AlamofireExtended {}
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:594:11: error: cannot find type 'OSStatus' in scope
extension OSStatus: AlamofireExtended {}
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:600:11: error: cannot find type 'SecTrustResultType' in scope
extension SecTrustResultType: AlamofireExtended {}
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:105:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:124:51: error: cannot find 'kSecRevocationCRLMethod' in scope
public static let crl = Options(rawValue: kSecRevocationCRLMethod)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:144:31: error: cannot find type 'CFOptionFlags' in scope
public init(rawValue: CFOptionFlags) {
^~~~~~~~~~~~~
/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/ServerTrustEvaluation.swift:124:40: error: extraneous argument label 'rawValue:' in call
public static let crl = Options(rawValue: kSecRevocationCRLMethod)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:126:69: error: cannot find 'kSecRevocationNetworkAccessDisabled' in scope
public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:126:58: error: extraneous argument label 'rawValue:' in call
public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:128:52: error: cannot find 'kSecRevocationOCSPMethod' in scope
public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:128:41: error: extraneous argument label 'rawValue:' in call
public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:130:57: error: cannot find 'kSecRevocationPreferCRL' in scope
public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
^~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:130:46: error: extraneous argument label 'rawValue:' in call
public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:133:71: error: cannot find 'kSecRevocationRequirePositiveResponse' in scope
public static let requirePositiveResponse = Options(rawValue: kSecRevocationRequirePositiveResponse)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:133:60: error: extraneous argument label 'rawValue:' in call
public static let requirePositiveResponse = Options(rawValue: kSecRevocationRequirePositiveResponse)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:136:51: error: cannot find 'kSecRevocationUseAnyAvailableMethod' in scope
public static let any = Options(rawValue: kSecRevocationUseAnyAvailableMethod)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:136:40: error: extraneous argument label 'rawValue:' in call
public static let any = Options(rawValue: kSecRevocationUseAnyAvailableMethod)
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'SetAlgebra'
public struct Options: OptionSet {
^
Swift.OptionSet:2:23: note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
@inlinable public init()
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'RawRepresentable'
public struct Options: OptionSet {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'Equatable'
public struct Options: OptionSet {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:20: note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'RevocationTrustEvaluator.Options' to 'Equatable'
public let rawValue: CFOptionFlags
^
Swift.==:1:24: note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'Equatable'
@inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
^
Swift.FloatingPoint:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'FloatingPoint'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.BinaryInteger:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'BinaryInteger'
public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
^
Swift._Pointer:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_Pointer'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift._Pointer:3:35: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_Pointer'
@inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
^
Swift.Strideable:3:35: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'Strideable'
@inlinable public static func == (x: Self, y: Self) -> Bool
^
Swift.StringProtocol:2:35: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'StringProtocol'
@inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
^
Swift.SIMD:4:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'SIMD'
public static func == (a: Self, b: Self) -> Bool
^
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'AttributedStringProtocol'
public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
^
Foundation.__BridgedNSError:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '__BridgedNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_BridgedStoredNSError'
public static func == (lhs: Self, rhs: Self) -> Bool
^
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
init()
^
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
associatedtype RawValue
^
Swift.Equatable:2:17: note: protocol requires function '==' with type '(RevocationTrustEvaluator.Options, RevocationTrustEvaluator.Options) -> Bool'
static func == (lhs: Self, rhs: Self) -> Bool
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:172:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:197:32: error: cannot find type 'SecCertificate' in scope
private let certificates: [SecCertificate]
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:215:32: error: cannot find type 'SecCertificate' in scope
public init(certificates: [SecCertificate] = Bundle.main.af.certificates,
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:225:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:260:24: error: cannot find type 'SecKey' in scope
private let keys: [SecKey]
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:277:24: error: cannot find type 'SecKey' in scope
public init(keys: [SecKey] = Bundle.main.af.publicKeys,
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:285:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:330:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:342:35: error: cannot find type 'SecTrust' in scope
public func evaluate(_ trust: SecTrust, forHost host: String) throws {}
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:369:24: error: cannot find type 'SecCertificate' in scope
var certificates: [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:380:22: error: cannot find type 'SecKey' in scope
var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:395:59: error: cannot find type 'SecTrust' in scope
public extension AlamofireExtension where ExtendedType == SecTrust {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:402:41: error: cannot find type 'SecPolicy' in scope
func evaluate(afterApplying policy: SecPolicy) throws {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:27: error: cannot find type 'SecPolicy' in scope
func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:64: error: cannot find type 'OSStatus' in scope
func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:84: error: cannot find type 'SecTrustResultType' in scope
func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:426:45: error: cannot find type 'SecTrust' in scope
func apply(policy: SecPolicy) throws -> SecTrust {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:426:24: error: cannot find type 'SecPolicy' in scope
func apply(policy: SecPolicy) throws -> SecTrust {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:461:45: error: cannot find type 'OSStatus' in scope
func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:461:65: error: cannot find type 'SecTrustResultType' in scope
func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:474:49: error: cannot find type 'SecCertificate' in scope
func setAnchorCertificates(_ certificates: [SecCertificate]) throws {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:491:22: error: cannot find type 'SecKey' in scope
var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:496:24: error: cannot find type 'SecCertificate' in scope
var certificates: [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:538:59: error: cannot find type 'SecPolicy' in scope
public extension AlamofireExtension where ExtendedType == SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:540:28: error: cannot find 'SecPolicyCreateSSL' in scope
static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:540:53: error: 'nil' requires a contextual type
static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:547:49: error: cannot find type 'SecPolicy' in scope
static func hostname(_ hostname: String) -> SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:558:81: error: cannot find type 'SecPolicy' in scope
static func revocation(options: RevocationTrustEvaluator.Options) throws -> SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:568:60: error: cannot find type 'SecCertificate' in scope
public extension AlamofireExtension where ExtendedType == [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:575:22: error: cannot find type 'SecKey' in scope
var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:581:59: error: cannot find type 'SecCertificate' in scope
public extension AlamofireExtension where ExtendedType == SecCertificate {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:583:20: error: cannot find type 'SecKey' in scope
var publicKey: SecKey? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:595:59: error: cannot find type 'OSStatus' in scope
public extension AlamofireExtension where ExtendedType == OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:601:59: error: cannot find type 'SecTrustResultType' in scope
public extension AlamofireExtension where ExtendedType == SecTrustResultType {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:603:9: error: invalid redeclaration of 'isSuccess'
var isSuccess: Bool {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:597:9: note: 'isSuccess' previously declared here
var isSuccess: Bool { return type == errSecSuccess }
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:182:50: error: cannot find 'SecPolicy' in scope
try trust.af.evaluate(afterApplying: SecPolicy.af.revocation(options: options))
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:184:43: error: cannot find 'SecPolicy' in scope
try trust.af.validate(policy: SecPolicy.af.revocation(options: options)) { status, result in
^~~~~~~~~
/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: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:331:24: error: value of type '[any ServerTrustEvaluating]' has no member 'evaluate'
try evaluators.evaluate(trust, forHost: host)
~~~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:427:22: error: cannot find 'SecTrustSetPolicies' in scope
let status = SecTrustSetPolicies(type, policy)
^~~~~~~~~~~~~~~~~~~
/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/ServerTrustEvaluation.swift:444:20: error: cannot find type 'CFError' in scope
var error: CFError?
^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:445:35: error: cannot find 'SecTrustEvaluateWithError' in scope
let evaluationSucceeded = SecTrustEvaluateWithError(type, &error)
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:462:22: error: cannot find 'SecTrustResultType' in scope
var result = SecTrustResultType.invalid
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:463:22: error: cannot find 'SecTrustEvaluate' in scope
let status = SecTrustEvaluate(type, &result)
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:476:22: error: cannot find 'SecTrustSetAnchorCertificates' in scope
let status = SecTrustSetAnchorCertificates(type, certificates as CFArray)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:476:74: error: cannot find type 'CFArray' in scope
let status = SecTrustSetAnchorCertificates(type, certificates as CFArray)
^~~~~~~
/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/ServerTrustEvaluation.swift:483:28: error: cannot find 'SecTrustSetAnchorCertificatesOnly' in scope
let systemStatus = SecTrustSetAnchorCertificatesOnly(type, true)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:513:41: error: cannot find 'SecPolicy' in scope
try evaluate(afterApplying: SecPolicy.af.default)
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:515:34: error: cannot find 'SecPolicy' in scope
try validate(policy: SecPolicy.af.default) { status, result in
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:528:41: error: cannot find 'SecPolicy' in scope
try evaluate(afterApplying: SecPolicy.af.hostname(host))
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:530:34: error: cannot find 'SecPolicy' in scope
try validate(policy: SecPolicy.af.hostname(host)) { status, result in
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:559:28: error: cannot find 'SecPolicyCreateRevocation' in scope
guard let policy = SecPolicyCreateRevocation(options.rawValue) else {
^~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:571:27: error: cannot find 'SecCertificateCopyData' in scope
return type.map { SecCertificateCopyData($0) as Data }
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:584:22: error: cannot find 'SecPolicyCreateBasicX509' in scope
let policy = SecPolicyCreateBasicX509()
^~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:585:20: error: cannot find type 'SecTrust' in scope
var trust: SecTrust?
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:586:35: error: cannot find 'SecTrustCreateWithCertificates' in scope
let trustCreationStatus = SecTrustCreateWithCertificates(type, policy, &trust)
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:588:64: error: cannot find 'errSecSuccess' in scope
guard let createdTrust = trust, trustCreationStatus == errSecSuccess else { return nil }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:597:42: error: cannot find 'errSecSuccess' in scope
var isSuccess: Bool { return type == errSecSuccess }
^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:604:50: error: cannot infer contextual base in reference to member 'proceed'
return (type == .unspecified || type == .proceed)
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:167: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:36: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:190:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:37: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:39: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:102: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:167: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/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:228: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:268:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:453:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:466:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:901: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:923: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:972: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:1019: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:1023: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:1027:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ 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:1031: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:1031: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:1031: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:113: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:115: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:178: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:181: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:198:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'invalidateAndCancel'
session.invalidateAndCancel()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:229:31: error: cannot find 'URLRequest' in scope
let request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:269:31: error: cannot find 'URLRequest' in scope
let request = try URLRequest(url: url, method: method, headers: headers)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:731: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:771: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:865:29: error: cannot find type 'URLRequest' in scope
let initialRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:274:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:300: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:300:82: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:590: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:906: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:1199: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:930: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:973:24: error: value of type 'URLSession' (aka 'AnyObject') has no member 'configuration'
return session.configuration
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1033: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:67: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:68: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:69:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ 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:70: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:70: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:70: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:76:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:77: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:86:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88: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:93: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:90: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:91: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:92: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:119: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:148: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:149: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:161: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:162: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:176: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:177: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:193:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:194:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190: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:191: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:192: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:204: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:204: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:204: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:212: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:212: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:221: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:221: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:228:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:229: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:229: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:221:48: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:224:57: error: cannot find type 'URLSessionTaskMetrics' in scope
didFinishCollecting metrics: URLSessionTaskMetrics) {}
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:97: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:98:14: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
case NSURLAuthenticationMethodServerTrust:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:14: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:50: error: cannot find 'NSURLAuthenticationMethodHTTPDigest' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:100:87: error: cannot find 'NSURLAuthenticationMethodNTLM' in scope
case NSURLAuthenticationMethodHTTPBasic, NSURLAuthenticationMethodHTTPDigest, NSURLAuthenticationMethodNTLM,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:101:14: error: cannot find 'NSURLAuthenticationMethodNegotiate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:101:50: error: cannot find 'NSURLAuthenticationMethodClientCertificate' in scope
NSURLAuthenticationMethodNegotiate, NSURLAuthenticationMethodClientCertificate:
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:104: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:104:52: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:104:57: error: 'nil' requires a contextual type
evaluation = (.performDefaultHandling, nil, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:120: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:122:65: error: cannot find 'NSURLAuthenticationMethodServerTrust' in scope
guard challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust,
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:122: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:123: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:150: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:154: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:195: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:231: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:205: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:209: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:225: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:392:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:243: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:246:64: error: cannot find type 'URLRequest' in scope
didAdaptInitialRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:247:44: error: cannot find type 'URLRequest' in scope
to adaptedRequest: URLRequest) {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:249:66: error: cannot find type 'URLRequest' in scope
didFailToAdaptURLRequest initialRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:251: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:253: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:265:56: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:277: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? { return 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 { return 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/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/CachedResponseHandler.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/Protector.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/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.b7CJyU/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/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)[0x5561694cfd73]
/usr/bin/swift-frontend(+0x7305abe)[0x5561694cdabe]
/usr/bin/swift-frontend(+0x73080ea)[0x5561694d00ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7efcfa6e6520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7efcfa73a9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7efcfa6e6476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7efcfa6cc7f3]
/usr/bin/swift-frontend(+0x2af4275)[0x556164cbc275]
/usr/bin/swift-frontend(+0x2755c54)[0x55616491dc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x556164c8069b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55616450fa0c]
/usr/bin/swift-frontend(+0x106859c)[0x55616323059c]
/usr/bin/swift-frontend(+0x1068102)[0x556163230102]
/usr/bin/swift-frontend(+0x106716b)[0x55616322f16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x556164c811aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x5561631fed5b]
/usr/bin/swift-frontend(+0x10362a7)[0x5561631fe2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x5561631fbc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x556163e7ccd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55616497505c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x556164976b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x5561649790e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55616497507c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x556164979c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55616497886b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55616497507c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x556164979c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55616497886b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55616497507c]
/usr/bin/swift-frontend(+0x27acf73)[0x556164974f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x556164b531e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x556163e7a6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x5561631fac84]
/usr/bin/swift-frontend(+0x1032b2a)[0x5561631fab2a]
/usr/bin/swift-frontend(+0x1027f82)[0x5561631eff82]
/usr/bin/swift-frontend(+0x1027978)[0x5561631ef978]
/usr/bin/swift-frontend(+0xe3f242)[0x556163007242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55616300509c]
/usr/bin/swift-frontend(+0xe382cd)[0x5561630002cd]
/usr/bin/swift-frontend(+0xe369db)[0x556162ffe9db]
/usr/bin/swift-frontend(+0xcc3315)[0x556162e8b315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7efcfa6cdd90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7efcfa6cde40]
/usr/bin/swift-frontend(+0xcc2375)[0x556162e8a375]
[27/212] Emitting module Mapper
[28/212] Compiling RxSwift CompactMap.swift
[29/212] Compiling RxSwift Completable+AndThen.swift
[30/212] Compiling RxSwift GroupBy.swift
[31/212] Compiling RxSwift GroupedObservable.swift
[32/212] Compiling RxSwift HistoricalScheduler.swift
[33/212] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[34/212] Compiling RxSwift ImmediateSchedulerType.swift
[35/212] Compiling RxSwift InfiniteSequence.swift
[36/212] Compiling RxSwift InvocableScheduledItem.swift
[37/212] Compiling RxSwift InvocableType.swift
[38/212] Compiling RxSwift Just.swift
[39/212] Compiling RxSwift Lock.swift
[40/212] Compiling RxSwift LockOwnerType.swift
[41/212] Compiling RxSwift MainScheduler.swift
[42/212] Compiling RxSwift Map.swift
[43/212] Compiling RxSwift Materialize.swift
[44/212] Compiling RxSwift Maybe.swift
[45/212] Compiling RxSwift Merge.swift
[46/212] Compiling RxSwift Multicast.swift
[47/212] Compiling RxSwift Never.swift
[48/212] Compiling RxSwift NopDisposable.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[55/212] Emitting module ReactiveSwift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[56/212] Compiling Mapper MapperError.swift
[59/218] Compiling Mapper NSDictionary+Safety.swift
[60/218] Compiling Mapper Transform+Dictionary.swift
[61/231] Compiling RxSwift Delay.swift
[62/231] Compiling RxSwift DelaySubscription.swift
[63/231] Compiling RxSwift Debug.swift
[64/231] Compiling RxSwift DefaultIfEmpty.swift
[65/231] Compiling RxSwift Deferred.swift
[66/231] Compiling RxSwift ConnectableObservableType.swift
[67/231] Compiling RxSwift Create.swift
[68/231] Compiling RxSwift CurrentThreadScheduler.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
let task = base.dataTask(with: request) { data, response, error in
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
observer.send(value: (data, response))
^
[69/231] Compiling RxSwift Date+Dispatch.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
let task = base.dataTask(with: request) { data, response, error in
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
observer.send(value: (data, response))
^
[70/231] Compiling RxSwift Debounce.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
let task = base.dataTask(with: request) { data, response, error in
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
observer.send(value: (data, response))
^
[71/231] Compiling RxSwift Reactive.swift
[72/231] Compiling RxSwift RecursiveLock.swift
[73/231] Compiling RxSwift RecursiveScheduler.swift
[74/231] Compiling RxSwift Reduce.swift
[75/231] Compiling RxSwift RefCountDisposable.swift
[76/231] Compiling RxSwift Repeat.swift
[77/231] Compiling RxSwift ReplaySubject.swift
[78/231] Compiling RxSwift RetryWhen.swift
[79/231] Compiling RxSwift Rx.swift
[80/231] Compiling RxSwift RxMutableBox.swift
[81/231] Compiling RxSwift Sample.swift
[82/231] Compiling RxSwift Scan.swift
[83/231] Compiling RxSwift ScheduledDisposable.swift
[84/231] Compiling RxSwift ScheduledItem.swift
[85/231] Compiling RxSwift ScheduledItemType.swift
[86/231] Compiling RxSwift SchedulerServices+Emulation.swift
[87/231] Compiling RxSwift SchedulerType.swift
[88/231] Compiling RxSwift Sequence.swift
[89/231] Compiling RxSwift SerialDispatchQueueScheduler.swift
[90/231] Compiling RxSwift Observable.swift
[91/231] Compiling RxSwift ObservableConvertibleType.swift
[92/231] Compiling RxSwift ObservableType+Extensions.swift
[93/231] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[94/231] Compiling RxSwift ObservableType.swift
[95/231] Compiling RxSwift ObserveOn.swift
[96/231] Compiling RxSwift ObserverBase.swift
[97/231] Compiling RxSwift ObserverType.swift
[98/231] Compiling RxSwift OperationQueueScheduler.swift
[99/231] Compiling RxSwift Optional.swift
[100/231] Compiling RxSwift Platform.Darwin.swift
[101/231] Compiling RxSwift Platform.Linux.swift
[102/231] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[103/231] Compiling RxSwift PrimitiveSequence.swift
[104/231] Compiling RxSwift PriorityQueue.swift
[105/231] Compiling RxSwift Producer.swift
[106/231] Compiling RxSwift PublishSubject.swift
[107/231] Compiling RxSwift Queue.swift
[108/231] Compiling RxSwift Range.swift
[109/231] Compiling RxSwift SerialDisposable.swift
[110/231] Compiling RxSwift ShareReplayScope.swift
[111/231] Compiling RxSwift Single.swift
[112/231] Compiling RxSwift SingleAssignmentDisposable.swift
[113/231] Compiling RxSwift SingleAsync.swift
[114/231] Compiling RxSwift Sink.swift
[115/231] Compiling RxSwift Skip.swift
[116/231] Compiling RxSwift SkipUntil.swift
[117/231] Compiling RxSwift SkipWhile.swift
[118/231] Compiling RxSwift StartWith.swift
[119/231] Compiling RxSwift String+Rx.swift
[120/231] Compiling RxSwift SubjectType.swift
[121/231] Compiling RxSwift SubscribeOn.swift
[122/231] Compiling RxSwift SubscriptionDisposable.swift
[123/231] Compiling RxSwift SwiftSupport.swift
[124/231] Compiling RxSwift Switch.swift
[125/231] Compiling RxSwift SwitchIfEmpty.swift
[126/231] Compiling RxSwift SynchronizedDisposeType.swift
[127/231] Compiling RxSwift SynchronizedOnType.swift
[129/231] Compiling RxSwift Dematerialize.swift
[130/231] Compiling RxSwift Deprecated.swift
[131/231] Compiling RxSwift DispatchQueue+Extensions.swift
[132/231] Compiling RxSwift DispatchQueueConfiguration.swift
[133/231] Compiling RxSwift Disposable.swift
[134/231] Compiling RxSwift Disposables.swift
[135/231] Compiling RxSwift DisposeBag.swift
[136/231] Compiling RxSwift DisposeBase.swift
[137/231] Compiling RxSwift DistinctUntilChanged.swift
[138/231] Compiling RxSwift Do.swift
[139/231] Compiling RxSwift ElementAt.swift
[140/231] Compiling RxSwift Empty.swift
[141/231] Compiling RxSwift Enumerated.swift
[142/231] Compiling RxSwift Error.swift
[143/231] Compiling RxSwift Errors.swift
[144/231] Compiling RxSwift Event.swift
[145/231] Compiling RxSwift Filter.swift
[146/231] Compiling RxSwift First.swift
[147/231] Compiling RxSwift Generate.swift
[148/231] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[149/231] Compiling ReactiveSwift ValidatingProperty.swift
[150/231] Compiling RxSwift AnonymousDisposable.swift
[151/231] Compiling RxSwift AnonymousObserver.swift
[152/231] Compiling RxSwift AnyObserver.swift
[157/231] Compiling Alamofire URLEncodedFormEncoder.swift
[158/231] Compiling Alamofire URLRequest+Alamofire.swift
[159/231] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[160/231] Compiling Alamofire Validation.swift
[161/231] Compiling RxSwift BinaryDisposable.swift
[162/231] Compiling RxSwift BooleanDisposable.swift
[163/231] Compiling RxSwift Buffer.swift
[164/231] Compiling RxSwift Cancelable.swift
[165/231] Compiling RxSwift Catch.swift
[166/231] Compiling RxSwift CombineLatest+Collection.swift
[186/231] Emitting module RxSwift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/51] Compiling ReactiveSwift FoundationExtensions.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
let task = base.dataTask(with: request) { data, response, error in
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
observer.send(value: (data, response))
^
error: compile command failed due to signal 6 (use -v to see invocation)
/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/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/CachedResponseHandler.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/Protector.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/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.PIu8Yo/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/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)[0x55a2ee93cd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55a2ee93aabe]
/usr/bin/swift-frontend(+0x73080ea)[0x55a2ee93d0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f9afde7b520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f9afdecf9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f9afde7b476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f9afde617f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55a2ea129275]
/usr/bin/swift-frontend(+0x2755c54)[0x55a2e9d8ac54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55a2ea0ed69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55a2e997ca0c]
/usr/bin/swift-frontend(+0x106859c)[0x55a2e869d59c]
/usr/bin/swift-frontend(+0x1068102)[0x55a2e869d102]
/usr/bin/swift-frontend(+0x106716b)[0x55a2e869c16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55a2ea0ee1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55a2e866bd5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55a2e866b2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55a2e8668c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55a2e92e9cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55a2e9de205c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55a2e9de3b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55a2e9de60e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55a2e9de207c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55a2e9de6c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55a2e9de586b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55a2e9de207c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55a2e9de6c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55a2e9de586b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55a2e9de207c]
/usr/bin/swift-frontend(+0x27acf73)[0x55a2e9de1f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55a2e9fc01e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55a2e92e76a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55a2e8667c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55a2e8667b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55a2e865cf82]
/usr/bin/swift-frontend(+0x1027978)[0x55a2e865c978]
/usr/bin/swift-frontend(+0xe3f242)[0x55a2e8474242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55a2e847209c]
/usr/bin/swift-frontend(+0xe382cd)[0x55a2e846d2cd]
/usr/bin/swift-frontend(+0xe369db)[0x55a2e846b9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55a2e82f8315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f9afde62d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f9afde62e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55a2e82f7375]
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/51] Emitting module ReactiveSwift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
extension URLSession: ReactiveExtensionsProvider {}
^ ~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension Reactive where Base: URLSession {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
[4/51] Compiling RxSwift Using.swift
[5/51] Compiling RxSwift VirtualTimeConverterType.swift
[6/51] Compiling RxSwift Timer.swift
[7/51] Compiling RxSwift ToArray.swift
[8/51] Compiling RxSwift VirtualTimeScheduler.swift
[9/51] Compiling RxSwift Window.swift
[10/72] Compiling RxSwift WithLatestFrom.swift
[11/72] Compiling RxSwift Zip+Collection.swift
[12/72] Compiling RxSwift Throttle.swift
[13/72] Compiling RxSwift Timeout.swift
[14/90] Compiling RxSwift TakeLast.swift
[15/90] Compiling RxSwift TakeUntil.swift
[16/90] Compiling RxSwift TakeWhile.swift
[17/99] Compiling RxSwift SynchronizedUnsubscribeType.swift
[18/99] Compiling RxSwift TailRecursiveSink.swift
[19/99] Compiling RxSwift Take.swift
[20/108] Compiling ReactiveSwift Flatten.swift
[21/108] Compiling ReactiveSwift EventLogger.swift
BUILD FAILURE 5.10 linux