Build Information
Failed to build Moya-ModelMapper with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
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/EventMonitor.swift:700: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/EventMonitor.swift:700: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/EventMonitor.swift:704: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, willCacheResponse proposedResponse: CachedURLResponse) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:704: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, willCacheResponse proposedResponse: 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/EventMonitor.swift:704:115: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, 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/EventMonitor.swift:708: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/EventMonitor.swift:709: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/EventMonitor.swift:715: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/EventMonitor.swift:716: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/EventMonitor.swift:723: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/EventMonitor.swift:723: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:729:82: error: cannot find type 'URLRequest' in scope
open func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:737:82: error: cannot find type 'URLRequest' in scope
open func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:737:113: error: cannot find type 'URLRequest' in scope
open func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:741:84: error: cannot find type 'URLRequest' in scope
open func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:745:75: error: cannot find type 'URLRequest' in scope
open func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:749:63: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func request(_ request: Request, didCreateTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:753:69: error: cannot find type 'URLSessionTaskMetrics' in scope
open func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:757:61: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func request(_ request: Request, didFailTask task: URLSessionTask, earlyWithError error: AFError) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:761:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:777:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:785:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:793:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:798:54: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:799:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:821:83: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func request(_ request: DownloadRequest, didFinishDownloadingUsing task: URLSessionTask, with result: Result<URL, AFError>) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:830:54: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:831:33: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:424:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:432:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:439:8: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
public extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:372:39: error: cannot find 'kCFBundleExecutableKey' in scope
let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:373:35: error: cannot find 'kCFBundleIdentifierKey' in scope
let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:375:37: error: cannot find 'kCFBundleVersionKey' in scope
let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift:48:38: error: cannot find type 'URLRequest' in scope
func build() throws -> (request: URLRequest, uploadable: UploadRequest.Uploadable) {
^~~~~~~~~~
/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/MultipartUpload.swift:80:35: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:100:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didResumeTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:104:66: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didSuspendTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:108:65: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCancelTask task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift:112:67: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func request(_ request: Request, didCompleteTask task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/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/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:261:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:289:110: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:31:29: error: cannot find type 'os_unfair_lock_t' in scope
private let unfairLock: os_unfair_lock_t
^~~~~~~~~~~~~~~~
/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/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(_ 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/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
for 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/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
willBeRedirectedTo request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
completion: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(_ 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/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
for 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/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/Request.swift:106:24: error: cannot find type 'URLRequest' in scope
var requests: [URLRequest] = []
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:111:23: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: [URLSessionTaskMetrics] = []
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:104:25: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var credential: URLCredential?
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:108:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var tasks: [URLSessionTask] = []
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:174:41: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public private(set) var credential: URLCredential? {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:187:27: error: cannot find type 'URLRequest' in scope
public var requests: [URLRequest] { return protectedMutableState.directValue.requests }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:189:30: error: cannot find type 'URLRequest' in scope
public var firstRequest: URLRequest? { return requests.first }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:191:29: error: cannot find type 'URLRequest' in scope
public var lastRequest: URLRequest? { return requests.last }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:193:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { return lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:197:36: error: cannot find type 'URLRequest' in scope
public var performedRequests: [URLRequest] {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:205:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: HTTPURLResponse? { return lastTask?.response as? HTTPURLResponse }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:210:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var tasks: [URLSessionTask] { return protectedMutableState.directValue.tasks }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:212:27: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var firstTask: URLSessionTask? { return tasks.first }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:214:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var lastTask: URLSessionTask? { return tasks.last }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:216:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var task: URLSessionTask? { return lastTask }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:221:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var allMetrics: [URLSessionTaskMetrics] { return protectedMutableState.directValue.metrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:223:30: error: cannot find type 'URLSessionTaskMetrics' in scope
public var firstMetrics: URLSessionTaskMetrics? { return allMetrics.first }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:225:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var lastMetrics: URLSessionTaskMetrics? { return allMetrics.last }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:227:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics? { return lastMetrics }
^~~~~~~~~~~~~~~~~~~~~
/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:313:46: error: cannot find type 'URLRequest' in scope
func didFailToAdaptURLRequest(_ request: URLRequest, withError error: AFError) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:345:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCreateTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:359:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didResumeTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:371:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didSuspendTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:385:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCancelTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:392:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:403:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFailTask(_ task: URLSessionTask, earlyWithError error: AFError) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:418:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift: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/Request.swift:590:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:590:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:679:93: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
public func authenticate(username: String, password: String, persistence: URLCredential.Persistence = .forSession) -> Self {
~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:691:47: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func authenticate(with credential: URLCredential) -> Self {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:902:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var sessionConfiguration: URLSessionConfiguration { get }
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:991:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:991:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:991:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:991:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:142:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1062:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response: HTTPURLResponse) -> (destinationURL: URL, options: Options)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1178:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFinishDownloading(using task: URLSessionTask, with result: Result<URL, AFError>) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift: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/Request.swift:1199:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1199:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1199:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:192:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:34: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:87: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:191:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:191:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:195:38: error: cannot find type 'URLRequest' in scope
private func adapt(_ urlRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:198:54: error: cannot find type 'URLRequest' in scope
completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:29:34: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var tasksToRequests: [URLSessionTask: Request]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:29:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var tasksToRequests: [URLSessionTask: Request]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:30:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var requestsToTasks: [Request: URLSessionTask]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift: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/RequestTaskMap.swift:37:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
init(tasksToRequests: [URLSessionTask: Request] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:38:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
requestsToTasks: [Request: URLSessionTask] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:45:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ request: Request) -> URLSessionTask? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:66:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ task: URLSessionTask) -> Request? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:113:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterGatheringMetricsForTask(_ 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/RequestTaskMap.swift:125:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterCompletingTask(_ 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/Response.swift:35:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:38:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:44:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:67:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:68:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:215:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:218:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:227:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:252:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:256:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:253:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:44:29: error: cannot find type 'URLRequest' in scope
func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> SerializedObject
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:44:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> SerializedObject
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:62:37: error: cannot find type 'URLRequest' in scope
func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> SerializedObject
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:62:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> SerializedObject
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:115:59: error: cannot find type 'URLRequest' in scope
public func requestAllowsEmptyResponseData(_ request: URLRequest?) -> Bool? {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:126:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func responseAllowsEmptyResponseData(_ response: HTTPURLResponse?) -> Bool? {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:138:58: error: cannot find type 'URLRequest' in scope
public func emptyResponseAllowed(forRequest request: URLRequest?, response: HTTPURLResponse?) -> Bool {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:138:81: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func emptyResponseAllowed(forRequest request: URLRequest?, response: HTTPURLResponse?) -> Bool {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:146:37: error: cannot find type 'URLRequest' in scope
func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> Self.SerializedObject {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:146:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> Self.SerializedObject {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:439:36: error: cannot find type 'URLRequest' in scope
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Data {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:439:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Data {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:420:20: error: type 'DataResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
public final class DataResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:420:20: error: type 'DataResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
public final class DataResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
associatedtype SerializedObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:504:36: error: cannot find type 'URLRequest' in scope
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:504:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> String {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:479:20: error: type 'StringResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
public final class StringResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:479:20: error: type 'StringResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
public final class StringResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
associatedtype SerializedObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:605:36: error: cannot find type 'URLRequest' in scope
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Any {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:605:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Any {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:581:20: error: type 'JSONResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
public final class JSONResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:581:20: error: type 'JSONResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
public final class JSONResponseSerializer: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
associatedtype SerializedObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:735:36: error: cannot find type 'URLRequest' in scope
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> T {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:735:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> T {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:711:20: error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DataResponseSerializerProtocol'
public final class DecodableResponseSerializer<T: Decodable>: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:711:20: error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DownloadResponseSerializerProtocol'
public final class DecodableResponseSerializer<T: Decodable>: ResponseSerializer {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:32:20: note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
associatedtype SerializedObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift:324:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func shouldRetry(response: HTTPURLResponse?, error: Error) -> Bool {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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: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/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/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/Session.swift:228:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() 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/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/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/URLRequest+Alamofire.swift:27:18: error: cannot find type 'URLRequest' in scope
public extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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.0DOq9J/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)[0x55d381ca7d73]
/usr/bin/swift-frontend(+0x7305abe)[0x55d381ca5abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55d381ca80ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fe26fcb9520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fe26fd0d9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fe26fcb9476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fe26fc9f7f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55d37d494275]
/usr/bin/swift-frontend(+0x2755c54)[0x55d37d0f5c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55d37d45869b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55d37cce7a0c]
/usr/bin/swift-frontend(+0x106859c)[0x55d37ba0859c]
/usr/bin/swift-frontend(+0x1068102)[0x55d37ba08102]
/usr/bin/swift-frontend(+0x106716b)[0x55d37ba0716b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55d37d4591aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55d37b9d6d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55d37b9d62a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55d37b9d3c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55d37c654cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55d37d14d05c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55d37d14eb3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55d37d1510e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55d37d14d07c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55d37d151c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55d37d15086b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55d37d14d07c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55d37d151c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55d37d15086b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55d37d14d07c]
/usr/bin/swift-frontend(+0x27acf73)[0x55d37d14cf73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55d37d32b1e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55d37c6526a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55d37b9d2c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55d37b9d2b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55d37b9c7f82]
/usr/bin/swift-frontend(+0x1027978)[0x55d37b9c7978]
/usr/bin/swift-frontend(+0xe3f242)[0x55d37b7df242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55d37b7dd09c]
/usr/bin/swift-frontend(+0xe382cd)[0x55d37b7d82cd]
/usr/bin/swift-frontend(+0xe369db)[0x55d37b7d69db]
/usr/bin/swift-frontend(+0xcc3315)[0x55d37b663315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fe26fca0d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fe26fca0e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55d37b662375]
[74/231] Compiling RxSwift Observable.swift
[75/231] Compiling RxSwift ObservableConvertibleType.swift
[76/231] Compiling RxSwift ObservableType+Extensions.swift
[77/231] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[78/231] Compiling RxSwift ObservableType.swift
[79/231] Compiling RxSwift ObserveOn.swift
[80/231] Compiling RxSwift ObserverBase.swift
[81/231] Compiling RxSwift ObserverType.swift
[82/231] Compiling RxSwift OperationQueueScheduler.swift
[83/231] Compiling RxSwift Optional.swift
[84/231] Compiling RxSwift Platform.Darwin.swift
[85/231] Compiling RxSwift Platform.Linux.swift
[86/231] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[87/231] Compiling RxSwift PrimitiveSequence.swift
[88/231] Compiling RxSwift PriorityQueue.swift
[89/231] Compiling RxSwift Producer.swift
[90/231] Compiling RxSwift PublishSubject.swift
[91/231] Compiling RxSwift Queue.swift
[92/231] Compiling RxSwift Range.swift
[93/231] Compiling RxSwift Reactive.swift
[94/231] Compiling RxSwift RecursiveLock.swift
[95/231] Compiling RxSwift RecursiveScheduler.swift
[96/231] Compiling RxSwift Reduce.swift
[97/231] Compiling RxSwift RefCountDisposable.swift
[98/231] Compiling RxSwift Repeat.swift
[99/231] Compiling RxSwift ReplaySubject.swift
[100/231] Compiling RxSwift RetryWhen.swift
[101/231] Compiling RxSwift Rx.swift
[102/231] Compiling RxSwift RxMutableBox.swift
[103/231] Compiling RxSwift Sample.swift
[104/231] Compiling RxSwift Scan.swift
[105/231] Compiling RxSwift ScheduledDisposable.swift
[106/231] Compiling RxSwift ScheduledItem.swift
[107/231] Compiling RxSwift ScheduledItemType.swift
[108/231] Compiling RxSwift SchedulerServices+Emulation.swift
[109/231] Compiling RxSwift SchedulerType.swift
[110/231] Compiling RxSwift Sequence.swift
[111/231] Compiling RxSwift SerialDispatchQueueScheduler.swift
[121/231] Compiling Alamofire URLEncodedFormEncoder.swift
[122/231] Compiling Alamofire URLRequest+Alamofire.swift
[123/231] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[124/231] Compiling Alamofire Validation.swift
[125/231] Compiling RxSwift Debounce.swift
[126/231] Compiling RxSwift Debug.swift
[127/231] Compiling RxSwift DefaultIfEmpty.swift
[128/231] Compiling RxSwift Deferred.swift
[129/231] Compiling RxSwift Delay.swift
[130/231] Compiling RxSwift DelaySubscription.swift
[137/231] Compiling RxSwift AsSingle.swift
[138/231] Compiling RxSwift AsyncLock.swift
[139/231] Compiling RxSwift AsyncSubject.swift
[140/231] Compiling RxSwift AtomicInt.swift
[141/231] Compiling RxSwift Bag+Rx.swift
[142/231] Compiling RxSwift Bag.swift
[150/231] Emitting module RxSwift
/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))
^
/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))
^
/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))
^
[162/231] Compiling RxSwift Dematerialize.swift
[163/231] Compiling RxSwift Deprecated.swift
[164/231] Compiling RxSwift DispatchQueue+Extensions.swift
[165/231] Compiling RxSwift DispatchQueueConfiguration.swift
[166/231] Compiling RxSwift Disposable.swift
[167/231] Compiling RxSwift Disposables.swift
[168/231] Compiling RxSwift DisposeBag.swift
[169/231] Compiling RxSwift DisposeBase.swift
[170/231] Compiling RxSwift DistinctUntilChanged.swift
[171/231] Compiling RxSwift Do.swift
[172/231] Compiling RxSwift ElementAt.swift
[173/231] Compiling RxSwift Empty.swift
[174/231] Compiling RxSwift Enumerated.swift
[175/231] Compiling RxSwift Error.swift
[176/231] Compiling RxSwift Errors.swift
[177/231] Compiling RxSwift Event.swift
[178/231] Compiling RxSwift Filter.swift
[179/231] Compiling RxSwift First.swift
[180/231] Compiling RxSwift Generate.swift
[181/231] Compiling RxSwift GroupBy.swift
[182/231] Compiling RxSwift GroupedObservable.swift
[183/231] Compiling RxSwift HistoricalScheduler.swift
[184/231] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[185/231] Compiling RxSwift ImmediateSchedulerType.swift
[186/231] Compiling RxSwift InfiniteSequence.swift
[187/231] Compiling RxSwift InvocableScheduledItem.swift
[188/231] Compiling RxSwift InvocableType.swift
[189/231] Compiling RxSwift Just.swift
[190/231] Compiling RxSwift Lock.swift
[191/231] Compiling RxSwift LockOwnerType.swift
[192/231] Compiling RxSwift MainScheduler.swift
[193/231] Compiling RxSwift Map.swift
[194/231] Compiling RxSwift Materialize.swift
[195/231] Compiling RxSwift Maybe.swift
[196/231] Compiling RxSwift Merge.swift
[197/231] Compiling RxSwift Multicast.swift
[198/231] Compiling RxSwift Never.swift
[199/231] Compiling RxSwift NopDisposable.swift
error: fatalError
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/51] Compiling RxSwift TakeUntil.swift
/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/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/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/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:261:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:289:110: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) 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/ParameterEncoding.swift:313:43: error: cannot find 'CFBooleanGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:313:67: error: cannot find 'CFGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:31:29: error: cannot find type 'os_unfair_lock_t' in scope
private let unfairLock: os_unfair_lock_t
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:34:23: error: cannot infer contextual base in reference to member 'allocate'
unfairLock = .allocate(capacity: 1)
~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:35:35: error: cannot find 'os_unfair_lock' in scope
unfairLock.initialize(to: os_unfair_lock())
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:44:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(unfairLock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:48:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(unfairLock)
^~~~~~~~~~~~~~~~~~~~~
[3/51] Compiling RxSwift TakeWhile.swift
/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/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/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/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:261:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:289:110: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) 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/ParameterEncoding.swift:313:43: error: cannot find 'CFBooleanGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:313:67: error: cannot find 'CFGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:31:29: error: cannot find type 'os_unfair_lock_t' in scope
private let unfairLock: os_unfair_lock_t
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:34:23: error: cannot infer contextual base in reference to member 'allocate'
unfairLock = .allocate(capacity: 1)
~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:35:35: error: cannot find 'os_unfair_lock' in scope
unfairLock.initialize(to: os_unfair_lock())
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:44:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(unfairLock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:48:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(unfairLock)
^~~~~~~~~~~~~~~~~~~~~
[4/51] Compiling RxSwift Throttle.swift
/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/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/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/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:261:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:289:110: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) 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/ParameterEncoding.swift:313:43: error: cannot find 'CFBooleanGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:313:67: error: cannot find 'CFGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:31:29: error: cannot find type 'os_unfair_lock_t' in scope
private let unfairLock: os_unfair_lock_t
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:34:23: error: cannot infer contextual base in reference to member 'allocate'
unfairLock = .allocate(capacity: 1)
~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:35:35: error: cannot find 'os_unfair_lock' in scope
unfairLock.initialize(to: os_unfair_lock())
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:44:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(unfairLock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:48:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(unfairLock)
^~~~~~~~~~~~~~~~~~~~~
[5/51] Compiling RxSwift Timeout.swift
/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/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
into request: URLRequest) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/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/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:261:101: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:289:110: error: cannot find type 'URLRequest' in scope
public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) 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/ParameterEncoding.swift:313:43: error: cannot find 'CFBooleanGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:313:67: error: cannot find 'CFGetTypeID' in scope
fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:31:29: error: cannot find type 'os_unfair_lock_t' in scope
private let unfairLock: os_unfair_lock_t
^~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:34:23: error: cannot infer contextual base in reference to member 'allocate'
unfairLock = .allocate(capacity: 1)
~^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:35:35: error: cannot find 'os_unfair_lock' in scope
unfairLock.initialize(to: os_unfair_lock())
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:44:9: error: cannot find 'os_unfair_lock_lock' in scope
os_unfair_lock_lock(unfairLock)
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift:48:9: error: cannot find 'os_unfair_lock_unlock' in scope
os_unfair_lock_unlock(unfairLock)
^~~~~~~~~~~~~~~~~~~~~
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.9yMZFD/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)[0x55c34c9b2d73]
/usr/bin/swift-frontend(+0x7305abe)[0x55c34c9b0abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55c34c9b30ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7f2543edf520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7f2543f339fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7f2543edf476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7f2543ec57f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55c34819f275]
/usr/bin/swift-frontend(+0x2755c54)[0x55c347e00c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55c34816369b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55c3479f2a0c]
/usr/bin/swift-frontend(+0x106859c)[0x55c34671359c]
/usr/bin/swift-frontend(+0x1068102)[0x55c346713102]
/usr/bin/swift-frontend(+0x106716b)[0x55c34671216b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55c3481641aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55c3466e1d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55c3466e12a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55c3466dec59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55c34735fcd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55c347e5805c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55c347e59b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55c347e5c0e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c347e5807c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55c347e5cc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55c347e5b86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c347e5807c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55c347e5cc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55c347e5b86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c347e5807c]
/usr/bin/swift-frontend(+0x27acf73)[0x55c347e57f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55c3480361e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55c34735d6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55c3466ddc84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55c3466ddb2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55c3466d2f82]
/usr/bin/swift-frontend(+0x1027978)[0x55c3466d2978]
/usr/bin/swift-frontend(+0xe3f242)[0x55c3464ea242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55c3464e809c]
/usr/bin/swift-frontend(+0xe382cd)[0x55c3464e32cd]
/usr/bin/swift-frontend(+0xe369db)[0x55c3464e19db]
/usr/bin/swift-frontend(+0xcc3315)[0x55c34636e315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7f2543ec6d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7f2543ec6e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55c34636d375]
[6/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: emit-module command failed with exit code 1 (use -v to see invocation)
[7/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
^
[8/51] Compiling RxSwift WithLatestFrom.swift
[9/51] Compiling RxSwift Zip+Collection.swift
[10/53] Compiling RxSwift Timer.swift
[11/53] Compiling RxSwift ToArray.swift
[14/71] Compiling RxSwift Using.swift
[15/71] Compiling RxSwift VirtualTimeConverterType.swift
[16/71] Compiling RxSwift VirtualTimeScheduler.swift
[17/71] Compiling RxSwift Window.swift
[18/89] Compiling RxSwift SynchronizedUnsubscribeType.swift
[19/89] Compiling RxSwift TailRecursiveSink.swift
[20/89] Compiling RxSwift Take.swift
[21/89] Compiling RxSwift TakeLast.swift
[24/107] Compiling ReactiveSwift EventLogger.swift
BUILD FAILURE 5.10 linux