Build Information
Failed to build RestBird with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:374:33: error: cannot find 'kCFBundleExecutableKey' in scope
let executable = (info?[kCFBundleExecutableKey as String] as? String) ??
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:377:28: 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:379:30: 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:81: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:260: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:288: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/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/Request.swift:98:65: error: cannot find type 'URLRequest' in scope
var urlRequestHandler: (queue: DispatchQueue, handler: (URLRequest) -> Void)?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:110:24: error: cannot find type 'URLRequest' in scope
var requests: [URLRequest] = []
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:115:23: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: [URLSessionTaskMetrics] = []
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:100:69: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var urlSessionTaskHandler: (queue: DispatchQueue, handler: (URLSessionTask) -> Void)?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:108:25: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var credential: URLCredential?
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:112:21: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var tasks: [URLSessionTask] = []
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:182:41: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public private(set) var credential: URLCredential? {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:196:27: error: cannot find type 'URLRequest' in scope
public var requests: [URLRequest] { mutableState.requests }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:198:30: error: cannot find type 'URLRequest' in scope
public var firstRequest: URLRequest? { requests.first }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:200:29: error: cannot find type 'URLRequest' in scope
public var lastRequest: URLRequest? { requests.last }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:206:36: error: cannot find type 'URLRequest' in scope
public var performedRequests: [URLRequest] { $mutableState.read { $0.tasks.compactMap { $0.currentRequest } } }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:212:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: HTTPURLResponse? { lastTask?.response as? HTTPURLResponse }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:217:24: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var tasks: [URLSessionTask] { mutableState.tasks }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:219:27: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var firstTask: URLSessionTask? { tasks.first }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:221:26: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var lastTask: URLSessionTask? { tasks.last }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:223:22: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var task: URLSessionTask? { lastTask }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:228:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var allMetrics: [URLSessionTaskMetrics] { mutableState.metrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:230:30: error: cannot find type 'URLSessionTaskMetrics' in scope
public var firstMetrics: URLSessionTaskMetrics? { allMetrics.first }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:232:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public var lastMetrics: URLSessionTaskMetrics? { allMetrics.last }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:234:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics? { lastMetrics }
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:281:48: error: cannot find type 'URLRequest' in scope
func didCreateInitialURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:51: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:311:82: error: cannot find type 'URLRequest' in scope
func didAdaptInitialRequest(_ initialRequest: URLRequest, to adaptedRequest: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:326:46: error: cannot find type 'URLRequest' in scope
func didFailToAdaptURLRequest(_ request: URLRequest, withError error: AFError) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:341:41: error: cannot find type 'URLRequest' in scope
func didCreateURLRequest(_ request: URLRequest) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:367:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCreateTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:391:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didResumeTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:407:33: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didSuspendTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:425:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCancelTask(_ task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:434:38: error: cannot find type 'URLSessionTaskMetrics' in scope
func didGatherMetrics(_ metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:447:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFailTask(_ task: URLSessionTask, earlyWithError error: AFError) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:464:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, with error: AFError?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:28: error: cannot find type 'URLRequest' in scope
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:55: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:653:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:742:93: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
public func authenticate(username: String, password: String, persistence: URLCredential.Persistence = .forSession) -> Self {
~~~~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:754:47: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func authenticate(with credential: URLCredential) -> Self {
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:885:99: error: cannot find type 'URLRequest' in scope
public func onURLRequestCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLRequest) -> Void) -> Self {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:909:103: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func onURLSessionTaskCreation(on queue: DispatchQueue = .main, perform handler: @escaping (URLSessionTask) -> Void) -> Self {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1036:31: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var sessionConfiguration: URLSessionConfiguration { get }
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1126:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1206:29: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:29: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1208:30: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1286:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1468:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
_ response: HTTPURLResponse) -> (destinationURL: URL, options: Options)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1591:43: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didFinishDownloading(using task: URLSessionTask, with result: Result<URL, AFError>) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1612:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1623:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:37: error: cannot find type 'URLRequest' in scope
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1815:19: error: method does not override any method from its superclass
override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:34: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:87: error: cannot find type 'URLRequest' in scope
public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:35: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:192:99: error: cannot find type 'URLRequest' in scope
open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:196:38: error: cannot find type 'URLRequest' in scope
private func adapt(_ urlRequest: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:199:54: error: cannot find type 'URLRequest' in scope
completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:34: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var tasksToRequests: [URLSessionTask: Request]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var tasksToRequests: [URLSessionTask: Request]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:32:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var requestsToTasks: [Request: URLSessionTask]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var taskEvents: [URLSessionTask: Events]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:33:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private var taskEvents: [URLSessionTask: Events]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:27: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
init(tasksToRequests: [URLSessionTask: Request] = [:],
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:22: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
init(tasksToRequests: [URLSessionTask: Request] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:40:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
requestsToTasks: [Request: URLSessionTask] = [:],
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:41:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:47:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ request: Request) -> URLSessionTask? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:68:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
subscript(_ task: URLSessionTask) -> Request? {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:115:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterGatheringMetricsForTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:127:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
mutating func disassociateIfNecessaryAfterCompletingTask(_ task: URLSessionTask) -> Bool {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:35:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:38:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:47:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:73:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:71:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:217:25: error: cannot find type 'URLRequest' in scope
public let request: URLRequest?
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:220:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let response: HTTPURLResponse?
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:232:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public let metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:257:26: error: cannot find type 'URLRequest' in scope
public init(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:261:26: error: cannot find type 'URLSessionTaskMetrics' in scope
metrics: URLSessionTaskMetrics?,
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:258:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse?,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:399:41: error: cannot find type 'URLRequest' in scope
static func description(of request: URLRequest) -> String {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:411:42: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
static func description(of response: HTTPURLResponse) -> String {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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:44: error: cannot find type 'URLRequest' in scope
public func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> Self.SerializedObject {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:146:67: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public 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:405:44: error: cannot find type 'URLRequest' in scope
public func serializeDownload(request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:406:45: 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:401:15: error: type 'URLResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
public struct URLResponseSerializer: DownloadResponseSerializerProtocol {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:50: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:458: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:458: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:439: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:439: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:557: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:557: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:532: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:532: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:675: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:675: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:651: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:651: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:834: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:834: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:810: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:810: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/ServerTrustEvaluation.swift:407:11: error: cannot find type 'SecTrust' in scope
extension SecTrust: AlamofireExtended {}
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:550:11: error: cannot find type 'SecPolicy' in scope
extension SecPolicy: AlamofireExtended {}
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:593:11: error: cannot find type 'SecCertificate' in scope
extension SecCertificate: AlamofireExtended {}
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:607:11: error: cannot find type 'OSStatus' in scope
extension OSStatus: AlamofireExtended {}
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:613: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:355: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:382:31: error: cannot find type 'SecCertificate' in scope
public var certificates: [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:393:29: error: cannot find type 'SecKey' in scope
public var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:408:52: error: cannot find type 'SecTrust' in scope
extension AlamofireExtension where ExtendedType == SecTrust {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:415:48: error: cannot find type 'SecPolicy' in scope
public func evaluate(afterApplying policy: SecPolicy) throws {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:429:34: error: cannot find type 'SecPolicy' in scope
public func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:429:71: error: cannot find type 'OSStatus' in scope
public func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:429:91: error: cannot find type 'SecTrustResultType' in scope
public func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:439:52: error: cannot find type 'SecTrust' in scope
public func apply(policy: SecPolicy) throws -> SecTrust {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:439:31: error: cannot find type 'SecPolicy' in scope
public func apply(policy: SecPolicy) throws -> SecTrust {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:474:52: error: cannot find type 'OSStatus' in scope
public func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:474:72: error: cannot find type 'SecTrustResultType' in scope
public func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:487:56: error: cannot find type 'SecCertificate' in scope
public func setAnchorCertificates(_ certificates: [SecCertificate]) throws {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:504:29: error: cannot find type 'SecKey' in scope
public var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:509:31: error: cannot find type 'SecCertificate' in scope
public var certificates: [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:551:52: error: cannot find type 'SecPolicy' in scope
extension AlamofireExtension where ExtendedType == SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:560:56: error: cannot find type 'SecPolicy' in scope
public static func hostname(_ hostname: String) -> SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:571:88: error: cannot find type 'SecPolicy' in scope
public static func revocation(options: RevocationTrustEvaluator.Options) throws -> SecPolicy {
^~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:581:53: error: cannot find type 'SecCertificate' in scope
extension AlamofireExtension where ExtendedType == [SecCertificate] {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:588:29: error: cannot find type 'SecKey' in scope
public var publicKeys: [SecKey] {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:594:52: error: cannot find type 'SecCertificate' in scope
extension AlamofireExtension where ExtendedType == SecCertificate {
^~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:596:27: error: cannot find type 'SecKey' in scope
public var publicKey: SecKey? {
^~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:608:52: error: cannot find type 'OSStatus' in scope
extension AlamofireExtension where ExtendedType == OSStatus {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:614:52: error: cannot find type 'SecTrustResultType' in scope
extension AlamofireExtension where ExtendedType == SecTrustResultType {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:616:16: error: invalid redeclaration of 'isSuccess'
public var isSuccess: Bool {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:610:16: note: 'isSuccess' previously declared here
public var isSuccess: Bool { type == errSecSuccess }
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:94: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
~~~~~~~~~~~~~~~~~~~~~~~ ^~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:40:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:74:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
var waitingCompletions: [URLSessionTask: () -> Void] = [:]
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:74:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
var waitingCompletions: [URLSessionTask: () -> Void] = [:]
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:108:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:173:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:245:47: error: cannot find type 'URLRequest' in scope
public typealias RequestModifier = (inout URLRequest) throws -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:255:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:303:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:599:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:615:39: error: cannot find type 'URLRequest' in scope
func asURLRequest() throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1084: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:1110: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:1165: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:1212: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:1218: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:1229:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1241: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:1241: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:1241: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:63:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func request(for task: URLSessionTask) -> Request?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:64:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didGatherMetricsForTask(_ task: URLSessionTask)
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:65:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~~~~~~
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
public typealias URLProtectionSpace = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:66:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
^~~~~~~~~~~~~
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
public typealias URLCredential = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:72:28: error: cannot find type 'URLSessionDelegate' in scope
extension SessionDelegate: URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:73:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:82:28: error: cannot find type 'URLSessionTaskDelegate' in scope
extension SessionDelegate: URLSessionTaskDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:84:62: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:89:67: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
~~~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:86:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:87:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88:48: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
didReceive challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:115:59: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:144:57: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
^~~~~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
public typealias URLAuthenticationChallenge = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:145:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
belongingTo task: URLSessionTask) -> ChallengeEvaluation {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:157:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:158:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:172:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:173:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:189:46: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190:56: error: cannot find type 'URLRequest' in scope
completionHandler: @escaping (URLRequest?) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:186:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:187:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
task: URLSessionTask,
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:188:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willPerformHTTPRedirection response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:100: error: cannot find type 'URLSessionTaskMetrics' in scope
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:200:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:208:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:219:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:226:28: error: cannot find type 'URLSessionDataDelegate' in scope
extension SessionDelegate: URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:227:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
dataTask: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse proposedResponse: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completionHandler: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
extension SessionDelegate: URLSessionDownloadDelegate {
^~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession,
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
downloadTask: URLSessionDownloadTask,
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
^~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
public typealias URLSessionDownloadTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
extension URLRequest: URLRequestConvertible {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
public var urlRequest: URLRequest? { try? asURLRequest() }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
[5/39] Compiling Alamofire ParameterEncoder.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:260: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:288: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:172:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
completion(nil)
^
[6/39] Compiling Alamofire ParameterEncoding.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:260: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:288: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:172:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
completion(nil)
^
[7/39] Compiling Alamofire Protected.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:260: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:288: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:172:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
completion(nil)
^
[8/39] Compiling Alamofire RedirectHandler.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:260: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:288: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:172:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
urlRequest.headers.update(.contentType("application/json"))
~^~~~~~~~~~~
/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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
completion(nil)
^
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/AuthenticationInterceptor.swift:59:63: error: cannot find type 'URLRequest' in scope
func apply(_ credential: Credential, to urlRequest: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:35: error: cannot find type 'URLRequest' in scope
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:141:34: error: cannot find type 'URLRequest' in scope
func isRequest(_ urlRequest: URLRequest, authenticatedWith credential: Credential) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:194:25: error: cannot find type 'URLRequest' in scope
let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:196:33: error: cannot find type 'URLRequest' in scope
let completion: (Result<URLRequest, Error>) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:30: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:94: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:281:25: error: cannot infer contextual base in reference to member 'success'
completion(.success(authenticatedRequest))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:284:25: error: cannot infer contextual base in reference to member 'failure'
completion(.failure(adaptError))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:400:54: error: cannot infer contextual base in reference to member 'failure'
adaptOperations.forEach { $0.completion(.failure(error)) }
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:80:49: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Combine.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protected.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/StringEncoding+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.2SKadn/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AuthenticationInterceptor.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2. Compiling with the current language version
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:124:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x55b65f92bd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55b65f929abe]
/usr/bin/swift-frontend(+0x73080ea)[0x55b65f92c0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7efc10bbc520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7efc10c109fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7efc10bbc476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7efc10ba27f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55b65b118275]
/usr/bin/swift-frontend(+0x2755c54)[0x55b65ad79c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55b65b0dc69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55b65a96ba0c]
/usr/bin/swift-frontend(+0x106859c)[0x55b65968c59c]
/usr/bin/swift-frontend(+0x1068102)[0x55b65968c102]
/usr/bin/swift-frontend(+0x106716b)[0x55b65968b16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55b65b0dd1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55b65965ad5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55b65965a2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55b659657c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55b65a2d8cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55b65add105c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55b65add2b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55b65add50e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55b65add107c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55b65add5c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55b65add486b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55b65add107c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55b65add5c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55b65add486b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55b65add107c]
/usr/bin/swift-frontend(+0x27acf73)[0x55b65add0f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55b65afaf1e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55b65a2d66a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55b659656c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55b659656b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55b65964bf82]
/usr/bin/swift-frontend(+0x1027978)[0x55b65964b978]
/usr/bin/swift-frontend(+0xe3f242)[0x55b659463242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55b65946109c]
/usr/bin/swift-frontend(+0xe382cd)[0x55b65945c2cd]
/usr/bin/swift-frontend(+0xe369db)[0x55b65945a9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55b6592e7315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7efc10ba3d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7efc10ba3e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55b6592e6375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
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/AuthenticationInterceptor.swift:59:63: error: cannot find type 'URLRequest' in scope
func apply(_ credential: Credential, to urlRequest: inout URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:35: error: cannot find type 'URLRequest' in scope
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:109:62: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func didRequest(_ urlRequest: URLRequest, with response: HTTPURLResponse, failDueToAuthenticationError error: Error) -> Bool
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:141:34: error: cannot find type 'URLRequest' in scope
func isRequest(_ urlRequest: URLRequest, authenticatedWith credential: Credential) -> Bool
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:194:25: error: cannot find type 'URLRequest' in scope
let urlRequest: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:196:33: error: cannot find type 'URLRequest' in scope
let completion: (Result<URLRequest, Error>) -> Void
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:251:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:30: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:35:94: error: cannot find type 'URLRequest' in scope
func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:281:25: error: cannot infer contextual base in reference to member 'success'
completion(.success(authenticatedRequest))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:284:25: error: cannot infer contextual base in reference to member 'failure'
completion(.failure(adaptError))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift:400:54: error: cannot infer contextual base in reference to member 'failure'
adaptOperations.forEach { $0.completion(.failure(error)) }
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:42:47: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:43:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:22: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:42: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:58:64: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:78:34: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public func dataTask(_ task: URLSessionDataTask,
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:79:54: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
willCacheResponse response: CachedURLResponse,
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:80:49: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
completion: @escaping (CachedURLResponse?) -> Void) {
^~~~~~~~~~~~~~~~~
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
public typealias CachedURLResponse = AnyObject
^
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AuthenticationInterceptor.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Combine.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protected.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/StringEncoding+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.RJoIuz/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug -enable-testing -g -module-cache-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/ModuleCache -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -new-driver-path /usr/bin/swift-driver -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AuthenticationInterceptor.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 5.10-dev (LLVM dbfaba0078e9380, Swift 63c8b551eb2f613)
2. Compiling with the current language version
3. While walking into 'AFError' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:29:8)
4. While walking into 'ServerTrustFailureReason' (at /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:124:12)
5. While evaluating request USRGenerationRequest(Alamofire.(file).AFError.ServerTrustFailureReason.certificatePinningFailed(host:trust:pinnedCertificates:serverCertificates:).host@/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:39)
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
/usr/bin/swift-frontend(+0x7307d73)[0x560c92783d73]
/usr/bin/swift-frontend(+0x7305abe)[0x560c92781abe]
/usr/bin/swift-frontend(+0x73080ea)[0x560c927840ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fb4bc8c7520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fb4bc91b9fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fb4bc8c7476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fb4bc8ad7f3]
/usr/bin/swift-frontend(+0x2af4275)[0x560c8df70275]
/usr/bin/swift-frontend(+0x2755c54)[0x560c8dbd1c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x560c8df3469b]
/usr/bin/swift-frontend(+0x2347a0c)[0x560c8d7c3a0c]
/usr/bin/swift-frontend(+0x106859c)[0x560c8c4e459c]
/usr/bin/swift-frontend(+0x1068102)[0x560c8c4e4102]
/usr/bin/swift-frontend(+0x106716b)[0x560c8c4e316b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x560c8df351aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x560c8c4b2d5b]
/usr/bin/swift-frontend(+0x10362a7)[0x560c8c4b22a7]
/usr/bin/swift-frontend(+0x1033c59)[0x560c8c4afc59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x560c8d130cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x560c8dc2905c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x560c8dc2ab3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x560c8dc2d0e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x560c8dc2907c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x560c8dc2dc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x560c8dc2c86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x560c8dc2907c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x560c8dc2dc1f]
/usr/bin/swift-frontend(+0x27b086b)[0x560c8dc2c86b]
/usr/bin/swift-frontend(+0x27ad07c)[0x560c8dc2907c]
/usr/bin/swift-frontend(+0x27acf73)[0x560c8dc28f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x560c8de071e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x560c8d12e6a6]
/usr/bin/swift-frontend(+0x1032c84)[0x560c8c4aec84]
/usr/bin/swift-frontend(+0x1032b2a)[0x560c8c4aeb2a]
/usr/bin/swift-frontend(+0x1027f82)[0x560c8c4a3f82]
/usr/bin/swift-frontend(+0x1027978)[0x560c8c4a3978]
/usr/bin/swift-frontend(+0xe3f242)[0x560c8c2bb242]
/usr/bin/swift-frontend(+0xe3d09c)[0x560c8c2b909c]
/usr/bin/swift-frontend(+0xe382cd)[0x560c8c2b42cd]
/usr/bin/swift-frontend(+0xe369db)[0x560c8c2b29db]
/usr/bin/swift-frontend(+0xcc3315)[0x560c8c13f315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fb4bc8aed90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fb4bc8aee40]
/usr/bin/swift-frontend(+0xcc2375)[0x560c8c13e375]
BUILD FAILURE 5.10 linux