Build Information
Failed to build GetStream with Swift 6.0 (beta) for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Build Log
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1200 | return session.downloadTask(with: request)
1201 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1199:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1197 | }
1198 |
1199 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1200 | return session.downloadTask(with: request)
1201 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1199:19: error: method does not override any method from its superclass
1197 | }
1198 |
1199 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: method does not override any method from its superclass
1200 | return session.downloadTask(with: request)
1201 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:63: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1208 | ///
1209 | /// - Returns: The `URLSessionTask` created.
1210 | public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1211 | return session.downloadTask(withResumeData: data)
1212 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1210:78: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1208 | ///
1209 | /// - Returns: The `URLSessionTask` created.
1210 | public func task(forResumeData data: Data, using session: URLSession) -> URLSessionTask {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1211 | return session.downloadTask(withResumeData: data)
1212 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift:192:47: error: cannot find type 'URLRequest' in scope
190 | /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
191 | /// destination URL, and returns whether the request was valid.
192 | public typealias Validation = (_ request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
193 | _ response: HTTPURLResponse,
194 | _ fileURL: URL?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1299:40: error: @escaping attribute only applies to function types
1297 | /// - Returns: The instance.
1298 | @discardableResult
1299 | public func validate(_ validation: @escaping Validation) -> Self {
| `- error: @escaping attribute only applies to function types
1300 | let validator: () -> Void = { [unowned self] in
1301 | guard self.error == nil, let response = self.response else { return }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:37: error: cannot find type 'URLRequest' in scope
1398 | }
1399 |
1400 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: cannot find type 'URLRequest' in scope
1401 | guard let uploadable = uploadable else {
1402 | fatalError("Attempting to create a URLSessionUploadTask when Uploadable value doesn't exist.")
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:64: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1398 | }
1399 |
1400 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1401 | guard let uploadable = uploadable else {
1402 | fatalError("Attempting to create a URLSessionUploadTask when Uploadable value doesn't exist.")
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1398 | }
1399 |
1400 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1401 | guard let uploadable = uploadable else {
1402 | fatalError("Attempting to create a URLSessionUploadTask when Uploadable value doesn't exist.")
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:1400:19: error: method does not override any method from its superclass
1398 | }
1399 |
1400 | override func task(for request: URLRequest, using session: URLSession) -> URLSessionTask {
| `- error: method does not override any method from its superclass
1401 | guard let uploadable = uploadable else {
1402 | fatalError("Attempting to create a URLSessionUploadTask when Uploadable value doesn't exist.")
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:839:67: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCredentialStorage'
837 | components.append("-X \(method)")
838 |
839 | if let credentialStorage = delegate?.sessionConfiguration.urlCredentialStorage {
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'urlCredentialStorage'
840 | let protectionSpace = URLProtectionSpace(host: host,
841 | port: url.port ?? 0,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:844:76: error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
842 | protocol: url.scheme,
843 | realm: host,
844 | authenticationMethod: NSURLAuthenticationMethodHTTPBasic)
| `- error: cannot find 'NSURLAuthenticationMethodHTTPBasic' in scope
845 |
846 | if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:840:35: error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
838 |
839 | if let credentialStorage = delegate?.sessionConfiguration.urlCredentialStorage {
840 | let protectionSpace = URLProtectionSpace(host: host,
| `- error: 'URLProtectionSpace' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
841 | port: url.port ?? 0,
842 | protocol: url.scheme,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:852:71: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'user'
850 | }
851 | } else {
852 | if let credential = credential, let user = credential.user, let password = credential.password {
| `- error: value of type 'URLCredential' (aka 'AnyObject') has no member 'user'
853 | components.append("-u \(user):\(password)")
854 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:852:103: error: value of type 'URLCredential' (aka 'AnyObject') has no member 'password'
850 | }
851 | } else {
852 | if let credential = credential, let user = credential.user, let password = credential.password {
| `- error: value of type 'URLCredential' (aka 'AnyObject') has no member 'password'
853 | components.append("-u \(user):\(password)")
854 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:858:78: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
856 | }
857 |
858 | if let configuration = delegate?.sessionConfiguration, configuration.httpShouldSetCookies {
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpShouldSetCookies'
859 | if
860 | let cookieStorage = configuration.httpCookieStorage,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:860:51: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpCookieStorage'
858 | if let configuration = delegate?.sessionConfiguration, configuration.httpShouldSetCookies {
859 | if
860 | let cookieStorage = configuration.httpCookieStorage,
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'httpCookieStorage'
861 | let cookies = cookieStorage.cookies(for: url), !cookies.isEmpty {
862 | let allCookies = cookies.map { "\($0.name)=\($0.value)" }.joined(separator: ";")
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift:870:64: error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'headers'
868 | var headers = HTTPHeaders()
869 |
870 | if let sessionHeaders = delegate?.sessionConfiguration.headers {
| `- error: value of type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'headers'
871 | for header in sessionHeaders where header.name != "Cookie" {
872 | headers[header.name] = header.value
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:37: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:96:101: error: cannot find type 'URLRequest' in scope
94 |
95 | extension RequestInterceptor {
96 | public func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
97 | completion(.success(urlRequest))
98 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:34: error: cannot find type 'URLRequest' in scope
107 |
108 | /// `RequestAdapter` closure definition.
109 | public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
| `- error: cannot find type 'URLRequest' in scope
110 | /// `RequestRetrier` closure definition.
111 | public typealias RetryHandler = (Request, Session, Error, _ completion: @escaping (RetryResult) -> Void) -> Void
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:109:87: error: cannot find type 'URLRequest' in scope
107 |
108 | /// `RequestAdapter` closure definition.
109 | public typealias AdaptHandler = (URLRequest, Session, _ completion: @escaping (Result<URLRequest, Error>) -> Void) -> Void
| `- error: cannot find type 'URLRequest' in scope
110 | /// `RequestRetrier` closure definition.
111 | public typealias RetryHandler = (Request, Session, Error, _ completion: @escaping (RetryResult) -> Void) -> Void
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:122:33: error: @escaping attribute only applies to function types
120 | ///
121 | /// - Parameter adaptHandler: `AdaptHandler` closure to be executed when handling request adaptation.
122 | public init(_ adaptHandler: @escaping AdaptHandler) {
| `- error: @escaping attribute only applies to function types
123 | self.adaptHandler = adaptHandler
124 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:35: error: cannot find type 'URLRequest' in scope
124 | }
125 |
126 | open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
127 | adaptHandler(urlRequest, session, completion)
128 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:126:99: error: cannot find type 'URLRequest' in scope
124 | }
125 |
126 | open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
127 | adaptHandler(urlRequest, session, completion)
128 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:166:31: error: @escaping attribute only applies to function types
164 | /// - adaptHandler: `AdaptHandler` closure to be used.
165 | /// - retryHandler: `RetryHandler` closure to be used.
166 | public init(adaptHandler: @escaping AdaptHandler, retryHandler: @escaping RetryHandler) {
| `- error: @escaping attribute only applies to function types
167 | adapters = [Adapter(adaptHandler)]
168 | retriers = [Retrier(retryHandler)]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:191:35: error: cannot find type 'URLRequest' in scope
189 | }
190 |
191 | open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
192 | adapt(urlRequest, for: session, using: adapters, completion: completion)
193 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:191:99: error: cannot find type 'URLRequest' in scope
189 | }
190 |
191 | open func adapt(_ urlRequest: URLRequest, for session: Session, completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
192 | adapt(urlRequest, for: session, using: adapters, completion: completion)
193 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:195:38: error: cannot find type 'URLRequest' in scope
193 | }
194 |
195 | private func adapt(_ urlRequest: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
196 | for session: Session,
197 | using adapters: [RequestAdapter],
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift:198:54: error: cannot find type 'URLRequest' in scope
196 | for session: Session,
197 | using adapters: [RequestAdapter],
198 | completion: @escaping (Result<URLRequest, Error>) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
199 | var pendingAdapters = adapters
200 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:29:34: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
27 | /// A type that maintains a two way, one to one map of `URLSessionTask`s to `Request`s.
28 | struct RequestTaskMap {
29 | private var tasksToRequests: [URLSessionTask: Request]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
30 | private var requestsToTasks: [Request: URLSessionTask]
31 | private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:29:35: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
27 | /// A type that maintains a two way, one to one map of `URLSessionTask`s to `Request`s.
28 | struct RequestTaskMap {
29 | private var tasksToRequests: [URLSessionTask: Request]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
30 | private var requestsToTasks: [Request: URLSessionTask]
31 | private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:30:44: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
28 | struct RequestTaskMap {
29 | private var tasksToRequests: [URLSessionTask: Request]
30 | private var requestsToTasks: [Request: URLSessionTask]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
31 | private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
32 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
29 | private var tasksToRequests: [URLSessionTask: Request]
30 | private var requestsToTasks: [Request: URLSessionTask]
31 | private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
32 |
33 | var requests: [Request] {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:31:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | private var tasksToRequests: [URLSessionTask: Request]
30 | private var requestsToTasks: [Request: URLSessionTask]
31 | private var taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 |
33 | var requests: [Request] {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:37:27: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
35 | }
36 |
37 | init(tasksToRequests: [URLSessionTask: Request] = [:],
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
38 | requestsToTasks: [Request: URLSessionTask] = [:],
39 | taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:22: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
37 | init(tasksToRequests: [URLSessionTask: Request] = [:],
38 | requestsToTasks: [Request: URLSessionTask] = [:],
39 | taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
40 | self.tasksToRequests = tasksToRequests
41 | self.requestsToTasks = requestsToTasks
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:37:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
35 | }
36 |
37 | init(tasksToRequests: [URLSessionTask: Request] = [:],
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
38 | requestsToTasks: [Request: URLSessionTask] = [:],
39 | taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:38:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | init(tasksToRequests: [URLSessionTask: Request] = [:],
38 | requestsToTasks: [Request: URLSessionTask] = [:],
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
40 | self.tasksToRequests = tasksToRequests
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:39:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | init(tasksToRequests: [URLSessionTask: Request] = [:],
38 | requestsToTasks: [Request: URLSessionTask] = [:],
39 | taskEvents: [URLSessionTask: (completed: Bool, metricsGathered: Bool)] = [:]) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | self.tasksToRequests = tasksToRequests
41 | self.requestsToTasks = requestsToTasks
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:45:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | }
44 |
45 | subscript(_ request: Request) -> URLSessionTask? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 | get { return requestsToTasks[request] }
47 | set {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:66:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | }
65 |
66 | subscript(_ task: URLSessionTask) -> Request? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | get { return tasksToRequests[task] }
68 | set {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:113:79: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 | }
112 |
113 | mutating func disassociateIfNecessaryAfterGatheringMetricsForTask(_ task: URLSessionTask) -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 | guard let events = taskEvents[task] else {
115 | fatalError("RequestTaskMap consistency error: no events corresponding to task found.")
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift:125:70: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 | }
124 |
125 | mutating func disassociateIfNecessaryAfterCompletingTask(_ task: URLSessionTask) -> Bool {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
126 | guard let events = taskEvents[task] else {
127 | fatalError("RequestTaskMap consistency error: no events corresponding to task found.")
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:35:25: error: cannot find type 'URLRequest' in scope
33 | public struct DataResponse<Success, Failure: Error> {
34 | /// The URL request sent to the server.
35 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
36 |
37 | /// The server's response to the URL request.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:38:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
36 |
37 | /// The server's response to the URL request.
38 | public let response: HTTPURLResponse?
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 |
40 | /// The data returned by the server.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:47:25: error: cannot find type 'URLSessionTaskMetrics' in scope
45 | /// - Note: Due to `FB7624529`, collection of `URLSessionTaskMetrics` on watchOS is currently disabled.`
46 | ///
47 | public let metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
48 |
49 | /// The time taken to serialize the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLRequest' in scope
68 | /// - serializationDuration: The duration taken by serialization.
69 | /// - result: The `Result` of response serialization.
70 | public init(request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
71 | response: HTTPURLResponse?,
72 | data: Data?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:73:26: error: cannot find type 'URLSessionTaskMetrics' in scope
71 | response: HTTPURLResponse?,
72 | data: Data?,
73 | metrics: URLSessionTaskMetrics?,
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
74 | serializationDuration: TimeInterval,
75 | result: Result<Success, Failure>) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:71:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | /// - result: The `Result` of response serialization.
70 | public init(request: URLRequest?,
71 | response: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
72 | data: Data?,
73 | metrics: URLSessionTaskMetrics?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:218:25: error: cannot find type 'URLRequest' in scope
216 | public struct DownloadResponse<Success, Failure: Error> {
217 | /// The URL request sent to the server.
218 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
219 |
220 | /// The server's response to the URL request.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:221:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |
220 | /// The server's response to the URL request.
221 | public let response: HTTPURLResponse?
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
222 |
223 | /// The final destination URL of the data returned from the server after it is moved.
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:233:25: error: cannot find type 'URLSessionTaskMetrics' in scope
231 | /// - Note: Due to `FB7624529`, collection of `URLSessionTaskMetrics` on watchOS is currently disabled.`
232 | ///
233 | public let metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
234 |
235 | /// The time taken to serialize the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:258:26: error: cannot find type 'URLRequest' in scope
256 | /// - serializationDuration: The duration taken by serialization.
257 | /// - result: The `Result` of response serialization.
258 | public init(request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
259 | response: HTTPURLResponse?,
260 | fileURL: URL?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:262:26: error: cannot find type 'URLSessionTaskMetrics' in scope
260 | fileURL: URL?,
261 | resumeData: Data?,
262 | metrics: URLSessionTaskMetrics?,
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
263 | serializationDuration: TimeInterval,
264 | result: Result<Success, Failure>) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:259:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
257 | /// - result: The `Result` of response serialization.
258 | public init(request: URLRequest?,
259 | response: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
260 | fileURL: URL?,
261 | resumeData: Data?,
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:44:29: error: cannot find type 'URLRequest' in scope
42 | /// - Returns: The `SerializedObject`.
43 | /// - Throws: Any `Error` produced during serialization.
44 | func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> SerializedObject
| `- error: cannot find type 'URLRequest' in scope
45 | }
46 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:44:52: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | /// - Returns: The `SerializedObject`.
43 | /// - Throws: Any `Error` produced during serialization.
44 | func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> SerializedObject
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | }
46 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:62:37: error: cannot find type 'URLRequest' in scope
60 | /// - Returns: The `SerializedObject`.
61 | /// - Throws: Any `Error` produced during serialization.
62 | func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> SerializedObject
| `- error: cannot find type 'URLRequest' in scope
63 | }
64 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:62:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
60 | /// - Returns: The `SerializedObject`.
61 | /// - Throws: Any `Error` produced during serialization.
62 | func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> SerializedObject
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
63 | }
64 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:115:59: error: cannot find type 'URLRequest' in scope
113 | ///
114 | /// - Returns: `Bool` representing the outcome of the evaluation, or `nil` if `request` was `nil`.
115 | public func requestAllowsEmptyResponseData(_ request: URLRequest?) -> Bool? {
| `- error: cannot find type 'URLRequest' in scope
116 | return request.flatMap { $0.httpMethod }
117 | .flatMap(HTTPMethod.init)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:126:61: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
124 | ///
125 | /// - Returns: `Bool` representing the outcome of the evaluation, or `nil` if `response` was `nil`.
126 | public func responseAllowsEmptyResponseData(_ response: HTTPURLResponse?) -> Bool? {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
127 | return response.flatMap { $0.statusCode }
128 | .map { emptyResponseCodes.contains($0) }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:138:58: error: cannot find type 'URLRequest' in scope
136 | ///
137 | /// - Returns: `true` if `request` or `response` allow empty bodies, `false` otherwise.
138 | public func emptyResponseAllowed(forRequest request: URLRequest?, response: HTTPURLResponse?) -> Bool {
| `- error: cannot find type 'URLRequest' in scope
139 | return (requestAllowsEmptyResponseData(request) == true) || (responseAllowsEmptyResponseData(response) == true)
140 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:138:81: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
136 | ///
137 | /// - Returns: `true` if `request` or `response` allow empty bodies, `false` otherwise.
138 | public func emptyResponseAllowed(forRequest request: URLRequest?, response: HTTPURLResponse?) -> Bool {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
139 | return (requestAllowsEmptyResponseData(request) == true) || (responseAllowsEmptyResponseData(response) == true)
140 | }
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:146:37: error: cannot find type 'URLRequest' in scope
144 | /// the data read from disk into the data response serializer.
145 | public extension DownloadResponseSerializerProtocol where Self: DataResponseSerializerProtocol {
146 | func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> Self.SerializedObject {
| `- error: cannot find type 'URLRequest' in scope
147 | guard error == nil else { throw error! }
148 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:146:60: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
144 | /// the data read from disk into the data response serializer.
145 | public extension DownloadResponseSerializerProtocol where Self: DataResponseSerializerProtocol {
146 | func serializeDownload(request: URLRequest?, response: HTTPURLResponse?, fileURL: URL?, error: Error?) throws -> Self.SerializedObject {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 | guard error == nil else { throw error! }
148 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:439:36: error: cannot find type 'URLRequest' in scope
437 | }
438 |
439 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Data {
| `- error: cannot find type 'URLRequest' in scope
440 | guard error == nil else { throw error! }
441 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:439:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
437 | }
438 |
439 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Data {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
440 | guard error == nil else { throw error! }
441 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:420:20: error: type 'DataResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
418 | /// request returning `nil` or no data is considered an error. However, if the response is has a status code valid for
419 | /// empty responses (`204`, `205`), then an empty `Data` value is returned.
420 | public final class DataResponseSerializer: ResponseSerializer {
| `- error: type 'DataResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
421 | public let dataPreprocessor: DataPreprocessor
422 | public let emptyResponseCodes: Set<Int>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:420:20: error: type 'DataResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
30 | public protocol DataResponseSerializerProtocol {
31 | /// The type of serialized object to be created.
32 | associatedtype SerializedObject
| `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
33 |
34 | /// Serialize the response `Data` into the provided type..
:
418 | /// request returning `nil` or no data is considered an error. However, if the response is has a status code valid for
419 | /// empty responses (`204`, `205`), then an empty `Data` value is returned.
420 | public final class DataResponseSerializer: ResponseSerializer {
| `- error: type 'DataResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
421 | public let dataPreprocessor: DataPreprocessor
422 | public let emptyResponseCodes: Set<Int>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:504:36: error: cannot find type 'URLRequest' in scope
502 | }
503 |
504 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> String {
| `- error: cannot find type 'URLRequest' in scope
505 | guard error == nil else { throw error! }
506 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:504:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
502 | }
503 |
504 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> String {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
505 | guard error == nil else { throw error! }
506 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:479:20: error: type 'StringResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
477 | /// data is considered an error. However, if the response is has a status code valid for empty responses (`204`, `205`),
478 | /// then an empty `String` is returned.
479 | public final class StringResponseSerializer: ResponseSerializer {
| `- error: type 'StringResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
480 | public let dataPreprocessor: DataPreprocessor
481 | /// Optional string encoding used to validate the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:479:20: error: type 'StringResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
30 | public protocol DataResponseSerializerProtocol {
31 | /// The type of serialized object to be created.
32 | associatedtype SerializedObject
| `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
33 |
34 | /// Serialize the response `Data` into the provided type..
:
477 | /// data is considered an error. However, if the response is has a status code valid for empty responses (`204`, `205`),
478 | /// then an empty `String` is returned.
479 | public final class StringResponseSerializer: ResponseSerializer {
| `- error: type 'StringResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
480 | public let dataPreprocessor: DataPreprocessor
481 | /// Optional string encoding used to validate the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:605:36: error: cannot find type 'URLRequest' in scope
603 | }
604 |
605 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Any {
| `- error: cannot find type 'URLRequest' in scope
606 | guard error == nil else { throw error! }
607 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:605:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
603 | }
604 |
605 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> Any {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
606 | guard error == nil else { throw error! }
607 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:581:20: error: type 'JSONResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
579 | /// `nil` or no data is considered an error. However, if the response is has a status code valid for empty responses
580 | /// (`204`, `205`), then an `NSNull` value is returned.
581 | public final class JSONResponseSerializer: ResponseSerializer {
| `- error: type 'JSONResponseSerializer' does not conform to protocol 'DataResponseSerializerProtocol'
582 | public let dataPreprocessor: DataPreprocessor
583 | public let emptyResponseCodes: Set<Int>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:581:20: error: type 'JSONResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
30 | public protocol DataResponseSerializerProtocol {
31 | /// The type of serialized object to be created.
32 | associatedtype SerializedObject
| `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
33 |
34 | /// Serialize the response `Data` into the provided type..
:
579 | /// `nil` or no data is considered an error. However, if the response is has a status code valid for empty responses
580 | /// (`204`, `205`), then an `NSNull` value is returned.
581 | public final class JSONResponseSerializer: ResponseSerializer {
| `- error: type 'JSONResponseSerializer' does not conform to protocol 'DownloadResponseSerializerProtocol'
582 | public let dataPreprocessor: DataPreprocessor
583 | public let emptyResponseCodes: Set<Int>
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:735:36: error: cannot find type 'URLRequest' in scope
733 | }
734 |
735 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> T {
| `- error: cannot find type 'URLRequest' in scope
736 | guard error == nil else { throw error! }
737 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:735:59: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
733 | }
734 |
735 | public func serialize(request: URLRequest?, response: HTTPURLResponse?, data: Data?, error: Error?) throws -> T {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
736 | guard error == nil else { throw error! }
737 |
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:711:20: error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DataResponseSerializerProtocol'
709 | /// is considered an error. However, if the response is has a status code valid for empty responses (`204`, `205`), then
710 | /// the `Empty.value` value is returned.
711 | public final class DecodableResponseSerializer<T: Decodable>: ResponseSerializer {
| `- error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DataResponseSerializerProtocol'
712 | public let dataPreprocessor: DataPreprocessor
713 | /// The `DataDecoder` instance used to decode responses.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift:711:20: error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DownloadResponseSerializerProtocol'
30 | public protocol DataResponseSerializerProtocol {
31 | /// The type of serialized object to be created.
32 | associatedtype SerializedObject
| `- note: protocol requires nested type 'SerializedObject'; add nested type 'SerializedObject' for conformance
33 |
34 | /// Serialize the response `Data` into the provided type..
:
709 | /// is considered an error. However, if the response is has a status code valid for empty responses (`204`, `205`), then
710 | /// the `Empty.value` value is returned.
711 | public final class DecodableResponseSerializer<T: Decodable>: ResponseSerializer {
| `- error: type 'DecodableResponseSerializer<T>' does not conform to protocol 'DownloadResponseSerializerProtocol'
712 | public let dataPreprocessor: DataPreprocessor
713 | /// The `DataDecoder` instance used to decode responses.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift:324:40: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
322 | }
323 |
324 | private func shouldRetry(response: HTTPURLResponse?, error: Error) -> Bool {
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
325 | if let statusCode = response?.statusCode, retryableHTTPStatusCodes.contains(statusCode) {
326 | return true
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:105:35: error: cannot find type 'SecTrust' in scope
103 | }
104 |
105 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {
| `- error: cannot find type 'SecTrust' in scope
106 | if validateHost {
107 | try trust.af.performValidation(forHost: host)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:124:51: error: cannot find 'kSecRevocationCRLMethod' in scope
122 | public struct Options: OptionSet {
123 | /// Perform revocation checking using the CRL (Certification Revocation List) method.
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
| `- error: cannot find 'kSecRevocationCRLMethod' in scope
125 | /// Consult only locally cached replies; do not use network access.
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:144:31: error: cannot find type 'CFOptionFlags' in scope
142 | ///
143 | /// - Parameter rawValue: The `CFOptionFlags` value to initialize with.
144 | public init(rawValue: CFOptionFlags) {
| `- error: cannot find type 'CFOptionFlags' in scope
145 | self.rawValue = rawValue
146 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:124:40: error: extraneous argument label 'rawValue:' in call
122 | public struct Options: OptionSet {
123 | /// Perform revocation checking using the CRL (Certification Revocation List) method.
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
| `- error: extraneous argument label 'rawValue:' in call
125 | /// Consult only locally cached replies; do not use network access.
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:126:69: error: cannot find 'kSecRevocationNetworkAccessDisabled' in scope
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
125 | /// Consult only locally cached replies; do not use network access.
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
| `- error: cannot find 'kSecRevocationNetworkAccessDisabled' in scope
127 | /// Perform revocation checking using OCSP (Online Certificate Status Protocol).
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:126:58: error: extraneous argument label 'rawValue:' in call
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
125 | /// Consult only locally cached replies; do not use network access.
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
| `- error: extraneous argument label 'rawValue:' in call
127 | /// Perform revocation checking using OCSP (Online Certificate Status Protocol).
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:128:52: error: cannot find 'kSecRevocationOCSPMethod' in scope
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
127 | /// Perform revocation checking using OCSP (Online Certificate Status Protocol).
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
| `- error: cannot find 'kSecRevocationOCSPMethod' in scope
129 | /// Prefer CRL revocation checking over OCSP; by default, OCSP is preferred.
130 | public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:128:41: error: extraneous argument label 'rawValue:' in call
126 | public static let networkAccessDisabled = Options(rawValue: kSecRevocationNetworkAccessDisabled)
127 | /// Perform revocation checking using OCSP (Online Certificate Status Protocol).
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
| `- error: extraneous argument label 'rawValue:' in call
129 | /// Prefer CRL revocation checking over OCSP; by default, OCSP is preferred.
130 | public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:130:57: error: cannot find 'kSecRevocationPreferCRL' in scope
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
129 | /// Prefer CRL revocation checking over OCSP; by default, OCSP is preferred.
130 | public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
| `- error: cannot find 'kSecRevocationPreferCRL' in scope
131 | /// Require a positive response to pass the policy. If the flag is not set, revocation checking is done on a
132 | /// "best attempt" basis, where failure to reach the server is not considered fatal.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:130:46: error: extraneous argument label 'rawValue:' in call
128 | public static let ocsp = Options(rawValue: kSecRevocationOCSPMethod)
129 | /// Prefer CRL revocation checking over OCSP; by default, OCSP is preferred.
130 | public static let preferCRL = Options(rawValue: kSecRevocationPreferCRL)
| `- error: extraneous argument label 'rawValue:' in call
131 | /// Require a positive response to pass the policy. If the flag is not set, revocation checking is done on a
132 | /// "best attempt" basis, where failure to reach the server is not considered fatal.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:133:71: error: cannot find 'kSecRevocationRequirePositiveResponse' in scope
131 | /// Require a positive response to pass the policy. If the flag is not set, revocation checking is done on a
132 | /// "best attempt" basis, where failure to reach the server is not considered fatal.
133 | public static let requirePositiveResponse = Options(rawValue: kSecRevocationRequirePositiveResponse)
| `- error: cannot find 'kSecRevocationRequirePositiveResponse' in scope
134 | /// Perform either OCSP or CRL checking. The checking is performed according to the method(s) specified in the
135 | /// certificate and the value of `preferCRL`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:133:60: error: extraneous argument label 'rawValue:' in call
131 | /// Require a positive response to pass the policy. If the flag is not set, revocation checking is done on a
132 | /// "best attempt" basis, where failure to reach the server is not considered fatal.
133 | public static let requirePositiveResponse = Options(rawValue: kSecRevocationRequirePositiveResponse)
| `- error: extraneous argument label 'rawValue:' in call
134 | /// Perform either OCSP or CRL checking. The checking is performed according to the method(s) specified in the
135 | /// certificate and the value of `preferCRL`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:136:51: error: cannot find 'kSecRevocationUseAnyAvailableMethod' in scope
134 | /// Perform either OCSP or CRL checking. The checking is performed according to the method(s) specified in the
135 | /// certificate and the value of `preferCRL`.
136 | public static let any = Options(rawValue: kSecRevocationUseAnyAvailableMethod)
| `- error: cannot find 'kSecRevocationUseAnyAvailableMethod' in scope
137 |
138 | /// The raw value of the option.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:136:40: error: extraneous argument label 'rawValue:' in call
134 | /// Perform either OCSP or CRL checking. The checking is performed according to the method(s) specified in the
135 | /// certificate and the value of `preferCRL`.
136 | public static let any = Options(rawValue: kSecRevocationUseAnyAvailableMethod)
| `- error: extraneous argument label 'rawValue:' in call
137 |
138 | /// The raw value of the option.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'SetAlgebra'
120 | /// Represents the options to be use when evaluating the status of a certificate.
121 | /// Only Revocation Policy Constants are valid, and can be found in [Apple's documentation](https://developer.apple.com/documentation/security/certificate_key_and_trust_services/policies/1563600-revocation_policy_constants).
122 | public struct Options: OptionSet {
| `- error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'SetAlgebra'
123 | /// Perform revocation checking using the CRL (Certification Revocation List) method.
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
Swift.OptionSet:2:23: note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
1 | extension OptionSet where Self.RawValue : FixedWidthInteger {
2 | @inlinable public init()
| `- note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
3 | @inlinable public mutating func formUnion(_ other: Self)
| `- note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
4 | @inlinable public mutating func formIntersection(_ other: Self)
| `- note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
5 | @inlinable public mutating func formSymmetricDifference(_ other: Self)
| `- note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'FixedWidthInteger'
6 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'RawRepresentable'
120 | /// Represents the options to be use when evaluating the status of a certificate.
121 | /// Only Revocation Policy Constants are valid, and can be found in [Apple's documentation](https://developer.apple.com/documentation/security/certificate_key_and_trust_services/policies/1563600-revocation_policy_constants).
122 | public struct Options: OptionSet {
| `- error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'RawRepresentable'
123 | /// Perform revocation checking using the CRL (Certification Revocation List) method.
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:122:19: error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'Equatable'
120 | /// Represents the options to be use when evaluating the status of a certificate.
121 | /// Only Revocation Policy Constants are valid, and can be found in [Apple's documentation](https://developer.apple.com/documentation/security/certificate_key_and_trust_services/policies/1563600-revocation_policy_constants).
122 | public struct Options: OptionSet {
| `- error: type 'RevocationTrustEvaluator.Options' does not conform to protocol 'Equatable'
123 | /// Perform revocation checking using the CRL (Certification Revocation List) method.
124 | public static let crl = Options(rawValue: kSecRevocationCRLMethod)
:
137 |
138 | /// The raw value of the option.
139 | public let rawValue: CFOptionFlags
| `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'RevocationTrustEvaluator.Options' to 'Equatable'
140 |
141 | /// Creates an `Options` value with the given `CFOptionFlags`.
Swift.==:1:24: note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
| `- note: candidate would match if 'RevocationTrustEvaluator.Options.RawValue' conformed to 'Equatable'
Swift.FloatingPoint:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'FloatingPoint'
3 | public static func < (lhs: Self, rhs: Self) -> Bool
4 | public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'BinaryInteger'
3 | public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 | public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_Pointer'
1 | extension _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_Pointer'
3 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_Pointer'
4 | @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'Strideable'
1 | extension Strideable {
2 | @inlinable public static func < (x: Self, y: Self) -> Bool
3 | @inlinable public static func == (x: Self, y: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 | @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'StringProtocol'
3 | @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 | @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'SIMD'
2 | public var indices: Range<Int> { get }
3 | public init(repeating value: Self.Scalar)
4 | public static func == (a: Self, b: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'SIMD'
5 | @inlinable public func hash(into hasher: inout Hasher)
6 | public func encode(to encoder: any Encoder) throws
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'AttributedStringProtocol'
3 | public var description: String { get }
4 | public func hash(into hasher: inout Hasher)
5 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to 'AttributedStringProtocol'
6 | }
Foundation.__BridgedNSError:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool
| `- note: candidate would match if 'RevocationTrustEvaluator.Options' conformed to '_BridgedStoredNSError'
3 | }
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
1 | public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
2 | associatedtype Element
3 | init()
| `- note: protocol requires initializer 'init()' with type '()'
4 | func contains(_ member: Self.Element) -> Bool
5 | __consuming func union(_ other: __owned Self) -> Self
:
12 | @discardableResult
13 | mutating func update(with newMember: __owned Self.Element) -> Self.Element?
14 | mutating func formUnion(_ other: __owned Self)
| `- note: protocol requires function 'formUnion' with type '(__owned RevocationTrustEvaluator.Options) -> ()'
15 | mutating func formIntersection(_ other: Self)
| `- note: protocol requires function 'formIntersection' with type '(RevocationTrustEvaluator.Options) -> ()'
16 | mutating func formSymmetricDifference(_ other: __owned Self)
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned RevocationTrustEvaluator.Options) -> ()'
17 | __consuming func subtracting(_ other: Self) -> Self
18 | func isSubset(of other: Self) -> Bool
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
1 | public protocol RawRepresentable<RawValue> {
2 | associatedtype RawValue
| `- note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
3 | init?(rawValue: Self.RawValue)
4 | var rawValue: Self.RawValue { get }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(RevocationTrustEvaluator.Options, RevocationTrustEvaluator.Options) -> Bool'
1 | public protocol Equatable {
2 | static func == (lhs: Self, rhs: Self) -> Bool
| `- note: protocol requires function '==' with type '(RevocationTrustEvaluator.Options, RevocationTrustEvaluator.Options) -> Bool'
3 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:172:35: error: cannot find type 'SecTrust' in scope
170 | }
171 |
172 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {
| `- error: cannot find type 'SecTrust' in scope
173 | if performDefaultValidation {
174 | try trust.af.performDefaultValidation(forHost: host)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:197:32: error: cannot find type 'SecCertificate' in scope
195 | /// environments.
196 | public final class PinnedCertificatesTrustEvaluator: ServerTrustEvaluating {
197 | private let certificates: [SecCertificate]
| `- error: cannot find type 'SecCertificate' in scope
198 | private let acceptSelfSignedCertificates: Bool
199 | private let performDefaultValidation: Bool
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:215:32: error: cannot find type 'SecCertificate' in scope
213 | /// to performing the default evaluation, even if `performDefaultValidation` is
214 | /// `false`. `true` by default.
215 | public init(certificates: [SecCertificate] = Bundle.main.af.certificates,
| `- error: cannot find type 'SecCertificate' in scope
216 | acceptSelfSignedCertificates: Bool = false,
217 | performDefaultValidation: Bool = true,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:225:35: error: cannot find type 'SecTrust' in scope
223 | }
224 |
225 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {
| `- error: cannot find type 'SecTrust' in scope
226 | guard !certificates.isEmpty else {
227 | throw AFError.serverTrustEvaluationFailed(reason: .noCertificatesFound)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:260:24: error: cannot find type 'SecKey' in scope
258 | /// environments.
259 | public final class PublicKeysTrustEvaluator: ServerTrustEvaluating {
260 | private let keys: [SecKey]
| `- error: cannot find type 'SecKey' in scope
261 | private let performDefaultValidation: Bool
262 | private let validateHost: Bool
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:277:24: error: cannot find type 'SecKey' in scope
275 | /// performing the default evaluation, even if `performDefaultValidation` is `false`.
276 | /// `true` by default.
277 | public init(keys: [SecKey] = Bundle.main.af.publicKeys,
| `- error: cannot find type 'SecKey' in scope
278 | performDefaultValidation: Bool = true,
279 | validateHost: Bool = true) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:285:35: error: cannot find type 'SecTrust' in scope
283 | }
284 |
285 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {
| `- error: cannot find type 'SecTrust' in scope
286 | guard !keys.isEmpty else {
287 | throw AFError.serverTrustEvaluationFailed(reason: .noPublicKeysFound)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:330:35: error: cannot find type 'SecTrust' in scope
328 | }
329 |
330 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {
| `- error: cannot find type 'SecTrust' in scope
331 | try evaluators.evaluate(trust, forHost: host)
332 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:342:35: error: cannot find type 'SecTrust' in scope
340 | public init() {}
341 |
342 | public func evaluate(_ trust: SecTrust, forHost host: String) throws {}
| `- error: cannot find type 'SecTrust' in scope
343 | }
344 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:369:24: error: cannot find type 'SecCertificate' in scope
367 | public extension AlamofireExtension where ExtendedType: Bundle {
368 | /// Returns all valid `cer`, `crt`, and `der` certificates in the bundle.
369 | var certificates: [SecCertificate] {
| `- error: cannot find type 'SecCertificate' in scope
370 | return paths(forResourcesOfTypes: [".cer", ".CER", ".crt", ".CRT", ".der", ".DER"]).compactMap { path in
371 | guard
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:380:22: error: cannot find type 'SecKey' in scope
378 |
379 | /// Returns all public keys for the valid certificates in the bundle.
380 | var publicKeys: [SecKey] {
| `- error: cannot find type 'SecKey' in scope
381 | return certificates.af.publicKeys
382 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:394:11: error: cannot find type 'SecTrust' in scope
392 | }
393 |
394 | extension SecTrust: AlamofireExtended {}
| `- error: cannot find type 'SecTrust' in scope
395 | public extension AlamofireExtension where ExtendedType == SecTrust {
396 | /// Evaluates `self` after applying the `SecPolicy` value provided.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:395:59: error: cannot find type 'SecTrust' in scope
393 |
394 | extension SecTrust: AlamofireExtended {}
395 | public extension AlamofireExtension where ExtendedType == SecTrust {
| `- error: cannot find type 'SecTrust' in scope
396 | /// Evaluates `self` after applying the `SecPolicy` value provided.
397 | ///
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:402:41: error: cannot find type 'SecPolicy' in scope
400 | /// - Throws: Any `Error` from applying the `SecPolicy` or from evaluation.
401 | @available(iOS 12, macOS 10.14, tvOS 12, watchOS 5, *)
402 | func evaluate(afterApplying policy: SecPolicy) throws {
| `- error: cannot find type 'SecPolicy' in scope
403 | try apply(policy: policy).af.evaluate()
404 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:27: error: cannot find type 'SecPolicy' in scope
414 | @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
415 | @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
416 | func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
| `- error: cannot find type 'SecPolicy' in scope
417 | try apply(policy: policy).af.validate(errorProducer: errorProducer)
418 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:64: error: cannot find type 'OSStatus' in scope
414 | @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
415 | @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
416 | func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
| `- error: cannot find type 'OSStatus' in scope
417 | try apply(policy: policy).af.validate(errorProducer: errorProducer)
418 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:416:84: error: cannot find type 'SecTrustResultType' in scope
414 | @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate(afterApplying:)")
415 | @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate(afterApplying:)")
416 | func validate(policy: SecPolicy, errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
| `- error: cannot find type 'SecTrustResultType' in scope
417 | try apply(policy: policy).af.validate(errorProducer: errorProducer)
418 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:426:45: error: cannot find type 'SecTrust' in scope
424 | /// - Returns: `self`, with the policy applied.
425 | /// - Throws: An `AFError.serverTrustEvaluationFailed` instance with a `.policyApplicationFailed` reason.
426 | func apply(policy: SecPolicy) throws -> SecTrust {
| `- error: cannot find type 'SecTrust' in scope
427 | let status = SecTrustSetPolicies(type, policy)
428 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:426:24: error: cannot find type 'SecPolicy' in scope
424 | /// - Returns: `self`, with the policy applied.
425 | /// - Throws: An `AFError.serverTrustEvaluationFailed` instance with a `.policyApplicationFailed` reason.
426 | func apply(policy: SecPolicy) throws -> SecTrust {
| `- error: cannot find type 'SecPolicy' in scope
427 | let status = SecTrustSetPolicies(type, policy)
428 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:461:45: error: cannot find type 'OSStatus' in scope
459 | @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
460 | @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
461 | func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
| `- error: cannot find type 'OSStatus' in scope
462 | var result = SecTrustResultType.invalid
463 | let status = SecTrustEvaluate(type, &result)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:461:65: error: cannot find type 'SecTrustResultType' in scope
459 | @available(tvOS, introduced: 10, deprecated: 12, renamed: "evaluate()")
460 | @available(watchOS, introduced: 3, deprecated: 5, renamed: "evaluate()")
461 | func validate(errorProducer: (_ status: OSStatus, _ result: SecTrustResultType) -> Error) throws {
| `- error: cannot find type 'SecTrustResultType' in scope
462 | var result = SecTrustResultType.invalid
463 | let status = SecTrustEvaluate(type, &result)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:474:49: error: cannot find type 'SecCertificate' in scope
472 | /// - Parameter certificates: The `SecCertificate`s to add to the chain.
473 | /// - Throws: Any error produced when applying the new certificate chain.
474 | func setAnchorCertificates(_ certificates: [SecCertificate]) throws {
| `- error: cannot find type 'SecCertificate' in scope
475 | // Add additional anchor certificates.
476 | let status = SecTrustSetAnchorCertificates(type, certificates as CFArray)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:491:22: error: cannot find type 'SecKey' in scope
489 |
490 | /// The public keys contained in `self`.
491 | var publicKeys: [SecKey] {
| `- error: cannot find type 'SecKey' in scope
492 | return certificates.af.publicKeys
493 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:496:24: error: cannot find type 'SecCertificate' in scope
494 |
495 | /// The `SecCertificate`s contained i `self`.
496 | var certificates: [SecCertificate] {
| `- error: cannot find type 'SecCertificate' in scope
497 | return (0..<SecTrustGetCertificateCount(type)).compactMap { index in
498 | SecTrustGetCertificateAtIndex(type, index)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:537:11: error: cannot find type 'SecPolicy' in scope
535 | }
536 |
537 | extension SecPolicy: AlamofireExtended {}
| `- error: cannot find type 'SecPolicy' in scope
538 | public extension AlamofireExtension where ExtendedType == SecPolicy {
539 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:538:59: error: cannot find type 'SecPolicy' in scope
536 |
537 | extension SecPolicy: AlamofireExtended {}
538 | public extension AlamofireExtension where ExtendedType == SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
539 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
540 | static let `default` = SecPolicyCreateSSL(true, nil)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:540:28: error: cannot find 'SecPolicyCreateSSL' in scope
538 | public extension AlamofireExtension where ExtendedType == SecPolicy {
539 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
540 | static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: cannot find 'SecPolicyCreateSSL' in scope
541 |
542 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:540:53: error: 'nil' requires a contextual type
538 | public extension AlamofireExtension where ExtendedType == SecPolicy {
539 | /// Creates a `SecPolicy` instance which will validate server certificates but not require a host name match.
540 | static let `default` = SecPolicyCreateSSL(true, nil)
| `- error: 'nil' requires a contextual type
541 |
542 | /// Creates a `SecPolicy` instance which will validate server certificates and much match the provided hostname.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:547:49: error: cannot find type 'SecPolicy' in scope
545 | ///
546 | /// - Returns: The `SecPolicy`.
547 | static func hostname(_ hostname: String) -> SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
548 | return SecPolicyCreateSSL(true, hostname as CFString)
549 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:558:81: error: cannot find type 'SecPolicy' in scope
556 | /// - Throws: An `AFError.serverTrustEvaluationFailed` error with reason `.revocationPolicyCreationFailed`
557 | /// if the policy cannot be created.
558 | static func revocation(options: RevocationTrustEvaluator.Options) throws -> SecPolicy {
| `- error: cannot find type 'SecPolicy' in scope
559 | guard let policy = SecPolicyCreateRevocation(options.rawValue) else {
560 | throw AFError.serverTrustEvaluationFailed(reason: .revocationPolicyCreationFailed)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:568:60: error: cannot find type 'SecCertificate' in scope
566 |
567 | extension Array: AlamofireExtended {}
568 | public extension AlamofireExtension where ExtendedType == [SecCertificate] {
| `- error: cannot find type 'SecCertificate' in scope
569 | /// All `Data` values for the contained `SecCertificate`s.
570 | var data: [Data] {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:575:22: error: cannot find type 'SecKey' in scope
573 |
574 | /// All public `SecKey` values for the contained `SecCertificate`s.
575 | var publicKeys: [SecKey] {
| `- error: cannot find type 'SecKey' in scope
576 | return type.compactMap { $0.af.publicKey }
577 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:580:11: error: cannot find type 'SecCertificate' in scope
578 | }
579 |
580 | extension SecCertificate: AlamofireExtended {}
| `- error: cannot find type 'SecCertificate' in scope
581 | public extension AlamofireExtension where ExtendedType == SecCertificate {
582 | /// The public key for `self`, if it can be extracted.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:581:59: error: cannot find type 'SecCertificate' in scope
579 |
580 | extension SecCertificate: AlamofireExtended {}
581 | public extension AlamofireExtension where ExtendedType == SecCertificate {
| `- error: cannot find type 'SecCertificate' in scope
582 | /// The public key for `self`, if it can be extracted.
583 | var publicKey: SecKey? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:583:20: error: cannot find type 'SecKey' in scope
581 | public extension AlamofireExtension where ExtendedType == SecCertificate {
582 | /// The public key for `self`, if it can be extracted.
583 | var publicKey: SecKey? {
| `- error: cannot find type 'SecKey' in scope
584 | let policy = SecPolicyCreateBasicX509()
585 | var trust: SecTrust?
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:594:11: error: cannot find type 'OSStatus' in scope
592 | }
593 |
594 | extension OSStatus: AlamofireExtended {}
| `- error: cannot find type 'OSStatus' in scope
595 | public extension AlamofireExtension where ExtendedType == OSStatus {
596 | /// Returns whether `self` is `errSecSuccess`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:595:59: error: cannot find type 'OSStatus' in scope
593 |
594 | extension OSStatus: AlamofireExtended {}
595 | public extension AlamofireExtension where ExtendedType == OSStatus {
| `- error: cannot find type 'OSStatus' in scope
596 | /// Returns whether `self` is `errSecSuccess`.
597 | var isSuccess: Bool { return type == errSecSuccess }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:600:11: error: cannot find type 'SecTrustResultType' in scope
598 | }
599 |
600 | extension SecTrustResultType: AlamofireExtended {}
| `- error: cannot find type 'SecTrustResultType' in scope
601 | public extension AlamofireExtension where ExtendedType == SecTrustResultType {
602 | /// Returns whether `self is `.unspecified` or `.proceed`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:601:59: error: cannot find type 'SecTrustResultType' in scope
599 |
600 | extension SecTrustResultType: AlamofireExtended {}
601 | public extension AlamofireExtension where ExtendedType == SecTrustResultType {
| `- error: cannot find type 'SecTrustResultType' in scope
602 | /// Returns whether `self is `.unspecified` or `.proceed`.
603 | var isSuccess: Bool {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:603:9: error: invalid redeclaration of 'isSuccess'
601 | public extension AlamofireExtension where ExtendedType == SecTrustResultType {
602 | /// Returns whether `self is `.unspecified` or `.proceed`.
603 | var isSuccess: Bool {
| `- error: invalid redeclaration of 'isSuccess'
604 | return (type == .unspecified || type == .proceed)
605 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:169:94: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
167 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
168 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
169 | public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
170 | delegate: SessionDelegate = SessionDelegate(),
171 | rootQueue: DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"),
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:36:25: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
34 | /// Underlying `URLSession` used to create `URLSessionTasks` for this instance, and for which this instance's
35 | /// `delegate` handles `URLSessionDelegate` callbacks.
36 | public let session: URLSession
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
37 | /// Instance's `SessionDelegate`, which handles the `URLSessionDelegate` methods and `Request` interaction.
38 | public let delegate: SessionDelegate
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:70:29: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
68 | var activeRequests: Set<Request> = []
69 | /// Completion events awaiting `URLSessionTaskMetrics`.
70 | var waitingCompletions: [URLSessionTask: () -> Void] = [:]
| `- error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
71 |
72 | /// Creates a `Session` from a `URLSession` and other parameters.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:70:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | var activeRequests: Set<Request> = []
69 | /// Completion events awaiting `URLSessionTaskMetrics`.
70 | var waitingCompletions: [URLSessionTask: () -> Void] = [:]
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 |
72 | /// Creates a `Session` from a `URLSession` and other parameters.
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:104:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
102 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
103 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
104 | public init(session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
105 | delegate: SessionDelegate,
106 | rootQueue: DispatchQueue,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:169:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
167 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
168 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
169 | public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
170 | delegate: SessionDelegate = SessionDelegate(),
171 | rootQueue: DispatchQueue = DispatchQueue(label: "org.alamofire.session.rootQueue"),
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:230:39: error: cannot find type 'URLRequest' in scope
228 | let headers: HTTPHeaders?
229 |
230 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
231 | let request = try URLRequest(url: url, method: method, headers: headers)
232 | return try encoding.encode(request, with: parameters)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:270:39: error: cannot find type 'URLRequest' in scope
268 | let headers: HTTPHeaders?
269 |
270 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
271 | let request = try URLRequest(url: url, method: method, headers: headers)
272 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:455:39: error: cannot find type 'URLRequest' in scope
453 | let headers: HTTPHeaders?
454 |
455 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
456 | return try URLRequest(url: url, method: method, headers: headers)
457 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:468:39: error: cannot find type 'URLRequest' in scope
466 | }
467 |
468 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
469 | return try request.asURLRequest()
470 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:903:44: error: cannot find type 'URLRequest' in scope
901 | // MARK: - Task Handling
902 |
903 | func didCreateURLRequest(_ urlRequest: URLRequest, for request: Request) {
| `- error: cannot find type 'URLRequest' in scope
904 | request.didCreateURLRequest(urlRequest)
905 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:925:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
923 | }
924 |
925 | func updateStatesForTask(_ task: URLSessionTask, request: Request) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
926 | request.withState { state in
927 | switch state {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:974:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
972 |
973 | extension Session: RequestDelegate {
974 | public var sessionConfiguration: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
975 | return session.configuration
976 | }
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1021:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1019 |
1020 | extension Session: SessionStateProvider {
1021 | func request(for task: URLSessionTask) -> Request? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1022 | dispatchPrecondition(condition: .onQueue(rootQueue))
1023 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1027:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1025 | }
1026 |
1027 | func didGatherMetricsForTask(_ task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1028 | dispatchPrecondition(condition: .onQueue(rootQueue))
1029 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1038:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1036 | }
1037 |
1038 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1039 | dispatchPrecondition(condition: .onQueue(rootQueue))
1040 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1050:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1048 | }
1049 |
1050 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1051 | dispatchPrecondition(condition: .onQueue(rootQueue))
1052 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1050:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1048 | }
1049 |
1050 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
| `- error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1051 | dispatchPrecondition(condition: .onQueue(rootQueue))
1052 |
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtectionSpace = AnyObject
| `- note: 'URLProtectionSpace' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:1050:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1048 | }
1049 |
1050 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential? {
| `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1051 | dispatchPrecondition(condition: .onQueue(rootQueue))
1052 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
| `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:47:40: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | /// - task: The `URLSessionTask` for which to find the associated `Request`.
46 | /// - type: The `Request` subclass type to cast any `Request` associate with `task`.
47 | func request<R: Request>(for task: URLSessionTask, as type: R.Type) -> R? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
48 | guard let provider = stateProvider else {
49 | assertionFailure("StateProvider is nil.")
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:67:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
65 | var cachedResponseHandler: CachedResponseHandler? { get }
66 |
67 | func request(for task: URLSessionTask) -> Request?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:68:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 |
67 | func request(for task: URLSessionTask) -> Request?
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
70 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:69:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
67 | func request(for task: URLSessionTask) -> Request?
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
70 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
71 | func cancelRequestsForSessionInvalidation(with error: Error?)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:70:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
70 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | func cancelRequestsForSessionInvalidation(with error: Error?)
72 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:70:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
70 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
| `- error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | func cancelRequestsForSessionInvalidation(with error: Error?)
72 | }
Foundation.URLProtectionSpace:2:18: note: 'URLProtectionSpace' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLProtectionSpace = AnyObject
| `- note: 'URLProtectionSpace' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:70:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
68 | func didGatherMetricsForTask(_ task: URLSessionTask)
69 | func didCompleteTask(_ task: URLSessionTask, completion: @escaping () -> Void)
70 | func credential(for task: URLSessionTask, in protectionSpace: URLProtectionSpace) -> URLCredential?
| `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
71 | func cancelRequestsForSessionInvalidation(with error: Error?)
72 | }
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
| `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:76:28: error: cannot find type 'URLSessionDelegate' in scope
74 | // MARK: URLSessionDelegate
75 |
76 | extension SessionDelegate: URLSessionDelegate {
| `- error: cannot find type 'URLSessionDelegate' in scope
77 | open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
78 | eventMonitor?.urlSession(session, didBecomeInvalidWithError: error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:77:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
75 |
76 | extension SessionDelegate: URLSessionDelegate {
77 | open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
78 | eventMonitor?.urlSession(session, didBecomeInvalidWithError: error)
79 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:86:28: error: cannot find type 'URLSessionTaskDelegate' in scope
84 | // MARK: URLSessionTaskDelegate
85 |
86 | extension SessionDelegate: URLSessionTaskDelegate {
| `- error: cannot find type 'URLSessionTaskDelegate' in scope
87 | /// Result of a `URLAuthenticationChallenge` evaluation.
88 | typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:88:62: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
86 | extension SessionDelegate: URLSessionTaskDelegate {
87 | /// Result of a `URLAuthenticationChallenge` evaluation.
88 | typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
89 |
90 | open func urlSession(_ session: URLSession,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:93:67: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
91 | task: URLSessionTask,
92 | didReceive challenge: URLAuthenticationChallenge,
93 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
| `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
94 | eventMonitor?.urlSession(session, task: task, didReceive: challenge)
95 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:90:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
88 | typealias ChallengeEvaluation = (disposition: URLSession.AuthChallengeDisposition, credential: URLCredential?, error: AFError?)
89 |
90 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
91 | task: URLSessionTask,
92 | didReceive challenge: URLAuthenticationChallenge,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:91:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
89 |
90 | open func urlSession(_ session: URLSession,
91 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
92 | didReceive challenge: URLAuthenticationChallenge,
93 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:92:48: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
90 | open func urlSession(_ session: URLSession,
91 | task: URLSessionTask,
92 | didReceive challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
93 | completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
94 | eventMonitor?.urlSession(session, task: task, didReceive: challenge)
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:119:59: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
117 | ///
118 | /// - Returns: The `ChallengeEvaluation`.
119 | func attemptServerTrustAuthentication(with challenge: URLAuthenticationChallenge) -> ChallengeEvaluation {
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
120 | let host = challenge.protectionSpace.host
121 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:148:57: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
146 | ///
147 | /// - Returns: The `ChallengeEvaluation`.
148 | func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
| `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
149 | belongingTo task: URLSessionTask) -> ChallengeEvaluation {
150 | guard challenge.previousFailureCount == 0 else {
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
| `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:149:60: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
147 | /// - Returns: The `ChallengeEvaluation`.
148 | func attemptCredentialAuthentication(for challenge: URLAuthenticationChallenge,
149 | belongingTo task: URLSessionTask) -> ChallengeEvaluation {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
150 | guard challenge.previousFailureCount == 0 else {
151 | return (.rejectProtectionSpace, nil, nil)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:161:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
159 | }
160 |
161 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
162 | task: URLSessionTask,
163 | didSendBodyData bytesSent: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:162:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
160 |
161 | open func urlSession(_ session: URLSession,
162 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
163 | didSendBodyData bytesSent: Int64,
164 | totalBytesSent: Int64,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:176:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
174 | }
175 |
176 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
177 | task: URLSessionTask,
178 | needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:177:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
175 |
176 | open func urlSession(_ session: URLSession,
177 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
178 | needNewBodyStream completionHandler: @escaping (InputStream?) -> Void) {
179 | eventMonitor?.urlSession(session, taskNeedsNewBodyStream: task)
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:193:46: error: cannot find type 'URLRequest' in scope
191 | task: URLSessionTask,
192 | willPerformHTTPRedirection response: HTTPURLResponse,
193 | newRequest request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
194 | completionHandler: @escaping (URLRequest?) -> Void) {
195 | eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:194:56: error: cannot find type 'URLRequest' in scope
192 | willPerformHTTPRedirection response: HTTPURLResponse,
193 | newRequest request: URLRequest,
194 | completionHandler: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
195 | eventMonitor?.urlSession(session, task: task, willPerformHTTPRedirection: response, newRequest: request)
196 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:190:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
188 | }
189 |
190 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
191 | task: URLSessionTask,
192 | willPerformHTTPRedirection response: HTTPURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:191:32: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
189 |
190 | open func urlSession(_ session: URLSession,
191 | task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
192 | willPerformHTTPRedirection response: HTTPURLResponse,
193 | newRequest request: URLRequest,
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:192:63: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
190 | open func urlSession(_ session: URLSession,
191 | task: URLSessionTask,
192 | willPerformHTTPRedirection response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
193 | newRequest request: URLRequest,
194 | completionHandler: @escaping (URLRequest?) -> Void) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:204:100: error: cannot find type 'URLSessionTaskMetrics' in scope
202 | }
203 |
204 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
205 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
206 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:204:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 | }
203 |
204 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
206 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:204:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
202 | }
203 |
204 | open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
205 | eventMonitor?.urlSession(session, task: task, didFinishCollecting: metrics)
206 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:212:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
210 | }
211 |
212 | open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
213 | eventMonitor?.urlSession(session, task: task, didCompleteWithError: error)
214 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:212:55: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
210 | }
211 |
212 | open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
213 | eventMonitor?.urlSession(session, task: task, didCompleteWithError: error)
214 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:223:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
221 |
222 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
223 | open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
225 | }
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:223:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
221 |
222 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
223 | open func urlSession(_ session: URLSession, taskIsWaitingForConnectivity task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
224 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
225 | }
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
| `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:230:28: error: cannot find type 'URLSessionDataDelegate' in scope
228 | // MARK: URLSessionDataDelegate
229 |
230 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
231 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
232 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:231:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |
230 | extension SessionDelegate: URLSessionDataDelegate {
231 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
233 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:231:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
229 |
230 | extension SessionDelegate: URLSessionDataDelegate {
231 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
232 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
233 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:242:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 | }
241 |
242 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 | dataTask: URLSessionDataTask,
244 | willCacheResponse proposedResponse: CachedURLResponse,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:243:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 |
242 | open func urlSession(_ session: URLSession,
243 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | willCacheResponse proposedResponse: CachedURLResponse,
245 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:244:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 | open func urlSession(_ session: URLSession,
243 | dataTask: URLSessionDataTask,
244 | willCacheResponse proposedResponse: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
245 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
246 | eventMonitor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse)
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:245:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 | dataTask: URLSessionDataTask,
244 | willCacheResponse proposedResponse: CachedURLResponse,
245 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
246 | eventMonitor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse)
247 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:258:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
256 | // MARK: URLSessionDownloadDelegate
257 |
258 | extension SessionDelegate: URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
259 | open func urlSession(_ session: URLSession,
260 | downloadTask: URLSessionDownloadTask,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:259:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
257 |
258 | extension SessionDelegate: URLSessionDownloadDelegate {
259 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
260 | downloadTask: URLSessionDownloadTask,
261 | didResumeAtOffset fileOffset: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:260:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | extension SessionDelegate: URLSessionDownloadDelegate {
259 | open func urlSession(_ session: URLSession,
260 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
261 | didResumeAtOffset fileOffset: Int64,
262 | expectedTotalBytes: Int64) {
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:276:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
274 | }
275 |
276 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
277 | downloadTask: URLSessionDownloadTask,
278 | didWriteData bytesWritten: Int64,
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:277:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 |
276 | open func urlSession(_ session: URLSession,
277 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
278 | didWriteData bytesWritten: Int64,
279 | totalBytesWritten: Int64,
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:295:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 | }
294 |
295 | open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
296 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
297 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
| `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:295:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
293 | }
294 |
295 | open func urlSession(_ session: URLSession, downloadTask: URLSessionDownloadTask, didFinishDownloadingTo location: URL) {
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
296 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
297 |
Foundation.URLSessionDownloadTask:2:18: note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDownloadTask = AnyObject
| `- note: 'URLSessionDownloadTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:79:28: error: cannot find type 'URLRequest' in scope
77 | extension URLRequestConvertible {
78 | /// The `URLRequest` returned by discarding any `Error` encountered.
79 | public var urlRequest: URLRequest? { return try? asURLRequest() }
| `- error: cannot find type 'URLRequest' in scope
80 | }
81 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:82:11: error: cannot find type 'URLRequest' in scope
80 | }
81 |
82 | extension URLRequest: URLRequestConvertible {
| `- error: cannot find type 'URLRequest' in scope
83 | /// Returns `self`.
84 | public func asURLRequest() throws -> URLRequest { return self }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:89:11: error: cannot find type 'URLRequest' in scope
87 | // MARK: -
88 |
89 | extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
90 | /// Creates an instance with the specified `url`, `method`, and `headers`.
91 | ///
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift:27:18: error: cannot find type 'URLRequest' in scope
25 | import Foundation
26 |
27 | public extension URLRequest {
| `- error: cannot find type 'URLRequest' in scope
28 | /// Returns the `httpMethod` as Alamofire's `HTTPMethod` type.
29 | var method: HTTPMethod? {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift:27:1: error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
25 | import Foundation
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
| `- error: non-nominal type 'URLSessionConfiguration' (aka 'AnyObject') cannot be extended
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
/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.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
31 | public static var `default`: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
32 | let configuration = URLSessionConfiguration.default
33 | configuration.headers = .default
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/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.
26 |
27 | extension URLSessionConfiguration: AlamofireExtended {}
28 | extension AlamofireExtension where ExtendedType: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
29 | /// Alamofire's default configuration. Same as `URLSessionConfiguration.default` but adds Alamofire default
30 | /// `Accept-Language`, `Accept-Encoding`, and `User-Agent` headers.
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionConfiguration = AnyObject
| `- note: 'URLSessionConfiguration' has been explicitly marked unavailable here
/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.
80 |
81 | fileprivate func validate<S: Sequence>(statusCode acceptableStatusCodes: S,
82 | response: HTTPURLResponse)
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
83 | -> ValidationResult
84 | where S.Iterator.Element == Int {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/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.
94 |
95 | fileprivate func validate<S: Sequence>(contentType acceptableContentTypes: S,
96 | response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
97 | data: Data?)
98 | -> ValidationResult
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
| `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:130:31: error: cannot find type 'SecTrust' in scope
128 | public let host: String
129 | /// The `SecTrust` value which was evaluated.
130 | public let trust: SecTrust
| `- error: cannot find type 'SecTrust' in scope
131 | /// The `OSStatus` of evaluation operation.
132 | public let status: OSStatus
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:132:32: error: cannot find type 'OSStatus' in scope
130 | public let trust: SecTrust
131 | /// The `OSStatus` of evaluation operation.
132 | public let status: OSStatus
| `- error: cannot find type 'OSStatus' in scope
133 | /// The result of the evaluation operation.
134 | public let result: SecTrustResultType
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:134:32: error: cannot find type 'SecTrustResultType' in scope
132 | public let status: OSStatus
133 | /// The result of the evaluation operation.
134 | public let result: SecTrustResultType
| `- error: cannot find type 'SecTrustResultType' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:43: error: cannot find type 'SecTrust' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrust' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:63: error: cannot find type 'OSStatus' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'OSStatus' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:137:83: error: cannot find type 'SecTrustResultType' in scope
135 |
136 | /// Creates an `Output` value from the provided values.
137 | init(_ host: String, _ trust: SecTrust, _ status: OSStatus, _ result: SecTrustResultType) {
| `- error: cannot find type 'SecTrustResultType' in scope
138 | self.host = host
139 | self.trust = trust
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:45: error: cannot find type 'SecTrust' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecTrust' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:63: error: cannot find type 'SecPolicy' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'SecPolicy' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:152:82: error: cannot find type 'OSStatus' in scope
150 | case noPublicKeysFound
151 | /// During evaluation, application of the associated `SecPolicy` failed.
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
| `- error: cannot find type 'OSStatus' in scope
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:54: error: cannot find type 'OSStatus' in scope
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'OSStatus' in scope
155 | /// During evaluation, creation of the revocation policy failed.
156 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:154:79: error: cannot find type 'SecCertificate' in scope
152 | case policyApplicationFailed(trust: SecTrust, policy: SecPolicy, status: OSStatus)
153 | /// During evaluation, setting the associated anchor certificates failed.
154 | case settingAnchorCertificatesFailed(status: OSStatus, certificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
155 | /// During evaluation, creation of the revocation policy failed.
156 | case revocationPolicyCreationFailed
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:60: error: cannot find type 'SecTrust' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecTrust' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:91: error: cannot find type 'SecCertificate' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:166:129: error: cannot find type 'SecCertificate' in scope
164 | case revocationCheckFailed(output: Output, options: RevocationTrustEvaluator.Options)
165 | /// Certificate pinning failed.
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
| `- error: cannot find type 'SecCertificate' in scope
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:58: error: cannot find type 'SecTrust' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecTrust' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:81: error: cannot find type 'SecKey' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:168:103: error: cannot find type 'SecKey' in scope
166 | case certificatePinningFailed(host: String, trust: SecTrust, pinnedCertificates: [SecCertificate], serverCertificates: [SecCertificate])
167 | /// Public key pinning failed.
168 | case publicKeyPinningFailed(host: String, trust: SecTrust, pinnedKeys: [SecKey], serverKeys: [SecKey])
| `- error: cannot find type 'SecKey' in scope
169 | /// Custom server trust evaluation failed due to the associated `Error`.
170 | case customEvaluationFailed(error: Error)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift:139:30: error: cannot find type 'CFOptionFlags' in scope
137 |
138 | /// The raw value of the option.
139 | public let rawValue: CFOptionFlags
| `- error: cannot find type 'CFOptionFlags' in scope
140 |
141 | /// Creates an `Options` value with the given `CFOptionFlags`.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift:41:27: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
39 | /// - response: The cached response to potentially store in the cache.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
40 | /// - completion: The closure to execute containing cached response, a modified response, or `nil`.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | completion: @escaping (CachedURLResponse?) -> Void)
44 | }
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/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.
41 | func dataTask(_ task: URLSessionDataTask,
42 | willCacheResponse response: CachedURLResponse,
43 | completion: @escaping (CachedURLResponse?) -> Void)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
44 | }
45 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/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.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/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.
56 | case doNotCache
57 | /// Modifies the cached response before storing it in the cache.
58 | case modify((URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
59 | }
60 |
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
/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.
76 |
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 | willCacheResponse response: CachedURLResponse,
80 | completion: @escaping (CachedURLResponse?) -> Void) {
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionDataTask = AnyObject
| `- note: 'URLSessionDataTask' has been explicitly marked unavailable here
/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.
77 | extension ResponseCacher: CachedResponseHandler {
78 | public func dataTask(_ task: URLSessionDataTask,
79 | willCacheResponse response: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
80 | completion: @escaping (CachedURLResponse?) -> Void) {
81 | switch behavior {
Foundation.CachedURLResponse:2:18: note: 'CachedURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias CachedURLResponse = AnyObject
| `- note: 'CachedURLResponse' has been explicitly marked unavailable here
Can't demangle: $s9Alamofire7AFErrorO24ServerTrustFailureReasonO24certificatePinningFailed33_E6FE27F77E4165F94EC7579EB4CCE715LLXeF4hostL_SSvp
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Alamofire.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AlamofireExtended.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/CachedResponseHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/DispatchQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/EventMonitor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPHeaders.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/HTTPMethod.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/MultipartUpload.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/NetworkReachabilityManager.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Notifications.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/OperationQueue+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Protector.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Request.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestInterceptor.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RequestTaskMap.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ResponseSerialization.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Result+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RetryPolicy.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ServerTrustEvaluation.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLEncodedFormEncoder.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLRequest+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLSessionConfiguration+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Validation.swift -supplementary-output-file-map /tmp/TemporaryDirectory.sj3yuU/supplementaryOutputs-1 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -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 -stats-output-dir .stats -strict-concurrency=complete -empty-abi-descriptor -resource-dir /usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fPIC -Xcc -g -Xcc -fno-omit-frame-pointer -module-name Alamofire -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -parse-as-library -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AFError.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/Alamofire.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/AlamofireExtended.swift.o -o /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/Alamofire.build/CachedResponseHandler.swift.o -index-store-path /host/spi-builder-workspace/.build/x86_64-unknown-linux-gnu/debug/index/store -index-system-modules
1. Swift version 6.0-dev (LLVM 4b0b1f9e1a69523, Swift 91a3abcf816bc36)
2. Compiling with effective version 5.10
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):
0 swift-frontend 0x000055a64c2df497
1 swift-frontend 0x000055a64c2dd1ee
2 swift-frontend 0x000055a64c2dfb0a
3 libc.so.6 0x00007f765137e520
4 libc.so.6 0x00007f76513d29fc pthread_kill + 300
5 libc.so.6 0x00007f765137e476 raise + 22
6 libc.so.6 0x00007f76513647f3 abort + 211
7 swift-frontend 0x000055a64740f055
8 swift-frontend 0x000055a64705c934
9 swift-frontend 0x000055a6473d166f
10 swift-frontend 0x000055a646bd554c
11 swift-frontend 0x000055a6457bb9ce
12 swift-frontend 0x000055a6457bb67a
13 swift-frontend 0x000055a6457ba8d2
14 swift-frontend 0x000055a6473d219a
15 swift-frontend 0x000055a645789dab
16 swift-frontend 0x000055a6457892f7
17 swift-frontend 0x000055a645786c29
18 swift-frontend 0x000055a646503226
19 swift-frontend 0x000055a6470bb89c
20 swift-frontend 0x000055a6470bd38c
21 swift-frontend 0x000055a6470c0240
22 swift-frontend 0x000055a6470bb8ba
23 swift-frontend 0x000055a6470c0d5f
24 swift-frontend 0x000055a6470bf98f
25 swift-frontend 0x000055a6470bb8ba
26 swift-frontend 0x000055a6470c0d5f
27 swift-frontend 0x000055a6470bf98f
28 swift-frontend 0x000055a6470bb8ba
29 swift-frontend 0x000055a6470bb7b3
30 swift-frontend 0x000055a6472a181f
31 swift-frontend 0x000055a646500bd4
32 swift-frontend 0x000055a645785c51
33 swift-frontend 0x000055a645785afa
34 swift-frontend 0x000055a64577a12c
35 swift-frontend 0x000055a645779b15
36 swift-frontend 0x000055a64552c572
37 swift-frontend 0x000055a64552a67c
38 swift-frontend 0x000055a645525198
39 swift-frontend 0x000055a6455234fc
40 swift-frontend 0x000055a6452dfdde
41 libc.so.6 0x00007f7651365d90
42 libc.so.6 0x00007f7651365e40 __libc_start_main + 128
43 swift-frontend 0x000055a6452dee85
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/65] Emitting module Starscream
/host/spi-builder-workspace/.build/checkouts/Starscream/Sources/Compression/WSCompression.swift:30:8: error: no such module 'zlib'
28 |
29 | import Foundation
30 | import zlib
| `- error: no such module 'zlib'
31 |
32 | public class WSCompression: CompressionHandler {
BUILD FAILURE 6.0 linux