Build Information
Failed to build AlamofireNetworkActivityLogger with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
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)
^
[17/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)
^
[18/39] Compiling Alamofire URLEncodedFormEncoder.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[19/39] Compiling Alamofire URLRequest+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[20/39] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
[21/39] Compiling Alamofire Validation.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration: AlamofireExtended {}
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:31:34: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public static var `default`: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:35: error: cannot find 'SecPolicyCreateSSL' in scope
public static let `default` = SecPolicyCreateSSL(true, nil)
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:553:60: error: 'nil' requires a contextual type
public static let `default` = SecPolicyCreateSSL(true, nil)
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:28:50: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:32:53: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
let configuration = URLSessionConfiguration.default
~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:33:34: error: cannot infer contextual base in reference to member 'default'
configuration.headers = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:82:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:96:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse,
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:106:54: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
response: HTTPURLResponse)
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:149:36: error: cannot find type 'URLRequest' in scope
public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:197:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?, _ response: HTTPURLResponse) -> ValidationResult
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:247:47: error: cannot find type 'URLRequest' in scope
public typealias Validation = (_ request: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:202:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest? { lastRequest }
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:85:52: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if acceptableStatusCodes.contains(response.statusCode) {
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:88:78: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:110:48: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'mimeType'
let responseContentType = response.mimeType,
~~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:160:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:159:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:173:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:174:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, data in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:208:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:207:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:221:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:222:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:261:48: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, _ in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:9: error: no exact matches in call to instance method 'validate'
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:260:17: note: found this candidate
public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:274:17: note: found this candidate
public func validate<S: Sequence>(contentType acceptableContentTypes: @escaping @autoclosure () -> S) -> Self where S.Iterator.Element == String {
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:35: error: cannot infer type of closure parameter '_' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:38: error: cannot infer type of closure parameter 'response' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:275:48: error: cannot infer type of closure parameter 'fileURL' without a type annotation
validate { [unowned self] _, response, fileURL in
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:277:25: error: reference to member 'failure' cannot be resolved without a contextual type
return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
~^~~~~~~
error: 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.PmVC6q/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)[0x558b1d0fbd73]
/usr/bin/swift-frontend(+0x7305abe)[0x558b1d0f9abe]
/usr/bin/swift-frontend(+0x73080ea)[0x558b1d0fc0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7fa433013520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7fa4330679fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7fa433013476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7fa432ff97f3]
/usr/bin/swift-frontend(+0x2af4275)[0x558b188e8275]
/usr/bin/swift-frontend(+0x2755c54)[0x558b18549c54]
/usr/bin/swift-frontend(+0x2ab869b)[0x558b188ac69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x558b1813ba0c]
/usr/bin/swift-frontend(+0x106859c)[0x558b16e5c59c]
/usr/bin/swift-frontend(+0x1068102)[0x558b16e5c102]
/usr/bin/swift-frontend(+0x106716b)[0x558b16e5b16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x558b188ad1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x558b16e2ad5b]
/usr/bin/swift-frontend(+0x10362a7)[0x558b16e2a2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x558b16e27c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x558b17aa8cd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x558b185a105c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x558b185a2b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x558b185a50e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x558b185a107c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x558b185a5c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x558b185a486b]
/usr/bin/swift-frontend(+0x27ad07c)[0x558b185a107c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x558b185a5c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x558b185a486b]
/usr/bin/swift-frontend(+0x27ad07c)[0x558b185a107c]
/usr/bin/swift-frontend(+0x27acf73)[0x558b185a0f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x558b1877f1e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x558b17aa66a6]
/usr/bin/swift-frontend(+0x1032c84)[0x558b16e26c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x558b16e26b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x558b16e1bf82]
/usr/bin/swift-frontend(+0x1027978)[0x558b16e1b978]
/usr/bin/swift-frontend(+0xe3f242)[0x558b16c33242]
/usr/bin/swift-frontend(+0xe3d09c)[0x558b16c3109c]
/usr/bin/swift-frontend(+0xe382cd)[0x558b16c2c2cd]
/usr/bin/swift-frontend(+0xe369db)[0x558b16c2a9db]
/usr/bin/swift-frontend(+0xcc3315)[0x558b16ab7315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7fa432ffad90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7fa432ffae40]
/usr/bin/swift-frontend(+0xcc2375)[0x558b16ab6375]
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/33] Compiling Alamofire MultipartFormData.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:217:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[3/33] Compiling Alamofire MultipartUpload.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:217:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[4/33] Compiling Alamofire NetworkReachabilityManager.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:217:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[5/33] Compiling Alamofire Notifications.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:217:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[6/33] Compiling Alamofire OperationQueue+Alamofire.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:217:43: error: value of type 'URL' has no member 'checkPromisedItemIsReachable'
let isReachable = try fileURL.checkPromisedItemIsReachable()
~~~~~~~ ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:22: error: cannot find 'UTTypeCreatePreferredIdentifierForTag' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:60: error: cannot find 'kUTTagClassFilenameExtension' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:107: error: cannot find type 'CFString' in scope
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:507:117: error: 'nil' requires a contextual type
let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
^
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:31: error: cannot find 'UTTypeCopyPreferredTagWithClass' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift:508:67: error: cannot find 'kUTTagClassMIMEType' in scope
let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
^~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:428:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:436:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended
extension HTTPURLResponse {
^ ~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift:443:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
extension URLSessionConfiguration {
^ ~~~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/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/EventMonitor.swift:59:41: error: cannot find type 'URLRequest' in scope
newRequest request: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:62:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:101:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateInitialURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:77: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:107:108: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didAdaptInitialRequest initialRequest: URLRequest, to adaptedRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:110:79: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didFailToAdaptURLRequest initialRequest: URLRequest, withError error: AFError)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:113:70: error: cannot find type 'URLRequest' in scope
func request(_ request: Request, didCreateURLRequest urlRequest: URLRequest)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:119:64: error: cannot find type 'URLSessionTaskMetrics' in scope
func request(_ request: Request, didGatherMetrics metrics: URLSessionTaskMetrics)
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:156:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:177:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift:211:49: error: cannot find type 'URLRequest' in scope
didValidateRequest urlRequest: URLRequest?,
^~~~~~~~~~
[7/33] 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)
^
[8/33] 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)
^
[9/33] 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)
^
[10/33] 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.SEkcNM/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)[0x55c9ac28dd73]
/usr/bin/swift-frontend(+0x7305abe)[0x55c9ac28babe]
/usr/bin/swift-frontend(+0x73080ea)[0x55c9ac28e0ea]
/lib/x86_64-linux-gnu/libc.so.6(+0x42520)[0x7faebdd6f520]
/lib/x86_64-linux-gnu/libc.so.6(pthread_kill+0x12c)[0x7faebddc39fc]
/lib/x86_64-linux-gnu/libc.so.6(raise+0x16)[0x7faebdd6f476]
/lib/x86_64-linux-gnu/libc.so.6(abort+0xd3)[0x7faebdd557f3]
/usr/bin/swift-frontend(+0x2af4275)[0x55c9a7a7a275]
/usr/bin/swift-frontend(+0x2755c54)[0x55c9a76dbc54]
/usr/bin/swift-frontend(+0x2ab869b)[0x55c9a7a3e69b]
/usr/bin/swift-frontend(+0x2347a0c)[0x55c9a72cda0c]
/usr/bin/swift-frontend(+0x106859c)[0x55c9a5fee59c]
/usr/bin/swift-frontend(+0x1068102)[0x55c9a5fee102]
/usr/bin/swift-frontend(+0x106716b)[0x55c9a5fed16b]
/usr/bin/swift-frontend(+0x2ab91aa)[0x55c9a7a3f1aa]
/usr/bin/swift-frontend(+0x1036d5b)[0x55c9a5fbcd5b]
/usr/bin/swift-frontend(+0x10362a7)[0x55c9a5fbc2a7]
/usr/bin/swift-frontend(+0x1033c59)[0x55c9a5fb9c59]
/usr/bin/swift-frontend(+0x1cb4cd1)[0x55c9a6c3acd1]
/usr/bin/swift-frontend(+0x27ad05c)[0x55c9a773305c]
/usr/bin/swift-frontend(+0x27aeb3c)[0x55c9a7734b3c]
/usr/bin/swift-frontend(+0x27b10e7)[0x55c9a77370e7]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c9a773307c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55c9a7737c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55c9a773686b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c9a773307c]
/usr/bin/swift-frontend(+0x27b1c1f)[0x55c9a7737c1f]
/usr/bin/swift-frontend(+0x27b086b)[0x55c9a773686b]
/usr/bin/swift-frontend(+0x27ad07c)[0x55c9a773307c]
/usr/bin/swift-frontend(+0x27acf73)[0x55c9a7732f73]
/usr/bin/swift-frontend(+0x298b1e2)[0x55c9a79111e2]
/usr/bin/swift-frontend(+0x1cb26a6)[0x55c9a6c386a6]
/usr/bin/swift-frontend(+0x1032c84)[0x55c9a5fb8c84]
/usr/bin/swift-frontend(+0x1032b2a)[0x55c9a5fb8b2a]
/usr/bin/swift-frontend(+0x1027f82)[0x55c9a5fadf82]
/usr/bin/swift-frontend(+0x1027978)[0x55c9a5fad978]
/usr/bin/swift-frontend(+0xe3f242)[0x55c9a5dc5242]
/usr/bin/swift-frontend(+0xe3d09c)[0x55c9a5dc309c]
/usr/bin/swift-frontend(+0xe382cd)[0x55c9a5dbe2cd]
/usr/bin/swift-frontend(+0xe369db)[0x55c9a5dbc9db]
/usr/bin/swift-frontend(+0xcc3315)[0x55c9a5c49315]
/lib/x86_64-linux-gnu/libc.so.6(+0x29d90)[0x7faebdd56d90]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80)[0x7faebdd56e40]
/usr/bin/swift-frontend(+0xcc2375)[0x55c9a5c48375]
BUILD FAILURE 5.10 linux
Build Machine: Linux 2