Build Information
Failed to build Moya-ModelMapper with Swift 6.0 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-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: 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) {
| `- 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) {
| `- 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:44:25: error: cannot find type 'URLSessionTaskMetrics' in scope
42 |
43 | /// The final metrics of the response.
44 | public let metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
45 |
46 | /// The time taken to serialize the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:67:26: error: cannot find type 'URLRequest' in scope
65 | /// - serializationDuration: The duration taken by serialization.
66 | /// - result: The `Result` of response serialization.
67 | public init(request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
68 | response: HTTPURLResponse?,
69 | data: Data?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:70:26: error: cannot find type 'URLSessionTaskMetrics' in scope
68 | response: HTTPURLResponse?,
69 | data: Data?,
70 | metrics: URLSessionTaskMetrics?,
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
71 | serializationDuration: TimeInterval,
72 | result: Result<Success, Failure>) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:68:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
66 | /// - result: The `Result` of response serialization.
67 | public init(request: URLRequest?,
68 | response: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
69 | data: Data?,
70 | 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:215:25: error: cannot find type 'URLRequest' in scope
213 | public struct DownloadResponse<Success, Failure: Error> {
214 | /// The URL request sent to the server.
215 | public let request: URLRequest?
| `- error: cannot find type 'URLRequest' in scope
216 |
217 | /// The server's response to the URL request.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:218:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
216 |
217 | /// The server's response to the URL request.
218 | public let response: HTTPURLResponse?
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |
220 | /// 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:227:25: error: cannot find type 'URLSessionTaskMetrics' in scope
225 |
226 | /// The final metrics of the response.
227 | public let metrics: URLSessionTaskMetrics?
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
228 |
229 | /// The time taken to serialize the response.
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:252:26: error: cannot find type 'URLRequest' in scope
250 | /// - serializationDuration: The duration taken by serialization.
251 | /// - result: The `Result` of response serialization.
252 | public init(request: URLRequest?,
| `- error: cannot find type 'URLRequest' in scope
253 | response: HTTPURLResponse?,
254 | fileURL: URL?,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:256:26: error: cannot find type 'URLSessionTaskMetrics' in scope
254 | fileURL: URL?,
255 | resumeData: Data?,
256 | metrics: URLSessionTaskMetrics?,
| `- error: cannot find type 'URLSessionTaskMetrics' in scope
257 | serializationDuration: TimeInterval,
258 | result: Result<Success, Failure>) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Response.swift:253:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
251 | /// - result: The `Result` of response serialization.
252 | public init(request: URLRequest?,
253 | response: HTTPURLResponse?,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
254 | fileURL: URL?,
255 | 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:167:94: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
165 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
166 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
167 | public convenience init(configuration: URLSessionConfiguration = URLSessionConfiguration.af.default,
| `- error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'af'
168 | delegate: SessionDelegate = SessionDelegate(),
169 | 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:102:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
100 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
101 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
102 | public init(session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 | delegate: SessionDelegate,
104 | 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:167:44: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
165 | /// - eventMonitors: Additional `EventMonitor`s used by the instance. Alamofire always adds a
166 | /// `AlamofireNotifications` `EventMonitor` to the array passed here. `[]` by default.
167 | 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.
168 | delegate: SessionDelegate = SessionDelegate(),
169 | 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:228:39: error: cannot find type 'URLRequest' in scope
226 | let headers: HTTPHeaders?
227 |
228 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
229 | let request = try URLRequest(url: url, method: method, headers: headers)
230 | return try encoding.encode(request, with: parameters)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:268:39: error: cannot find type 'URLRequest' in scope
266 | let headers: HTTPHeaders?
267 |
268 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
269 | let request = try URLRequest(url: url, method: method, headers: headers)
270 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:453:39: error: cannot find type 'URLRequest' in scope
451 | let headers: HTTPHeaders?
452 |
453 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
454 | return try URLRequest(url: url, method: method, headers: headers)
455 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:466:39: error: cannot find type 'URLRequest' in scope
464 | }
465 |
466 | func asURLRequest() throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
467 | return try request.asURLRequest()
468 | }
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:901:44: error: cannot find type 'URLRequest' in scope
899 | // MARK: - Task Handling
900 |
901 | func didCreateURLRequest(_ urlRequest: URLRequest, for request: Request) {
| `- error: cannot find type 'URLRequest' in scope
902 | request.didCreateURLRequest(urlRequest)
903 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Session.swift:923:38: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
921 | }
922 |
923 | func updateStatesForTask(_ task: URLSessionTask, request: Request) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
924 | request.withState { state in
925 | 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:972:38: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
970 |
971 | extension Session: RequestDelegate {
972 | public var sessionConfiguration: URLSessionConfiguration {
| `- error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
973 | return session.configuration
974 | }
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:1019:28: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1017 |
1018 | extension Session: SessionStateProvider {
1019 | func request(for task: URLSessionTask) -> Request? {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1020 | return requestTaskMap[task]
1021 | }
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:1023:42: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1021 | }
1022 |
1023 | func didGatherMetricsForTask(_ task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1024 | requestTaskMap.disassociateIfNecessaryAfterGatheringMetricsForTask(task)
1025 | }
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:34: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1025 | }
1026 |
1027 | func didCompleteTask(_ task: URLSessionTask) {
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1028 | requestTaskMap.disassociateIfNecessaryAfterCompletingTask(task)
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:1031:31: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1029 | }
1030 |
1031 | 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.
1032 | return requestTaskMap[task]?.credential ??
1033 | session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
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:1031:67: error: 'URLProtectionSpace' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1029 | }
1030 |
1031 | 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.
1032 | return requestTaskMap[task]?.credential ??
1033 | session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
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:1031:90: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
1029 | }
1030 |
1031 | 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.
1032 | return requestTaskMap[task]?.credential ??
1033 | session.configuration.urlCredentialStorage?.defaultCredential(for: protectionSpace)
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)
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)
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)
| `- 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)
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)
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)
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:221:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |
220 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
221 | 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.
222 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
223 | }
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:221:84: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
219 |
220 | @available(macOS 10.13, iOS 11.0, tvOS 11.0, watchOS 4.0, *)
221 | 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.
222 | eventMonitor?.urlSession(session, taskIsWaitingForConnectivity: task)
223 | }
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:228:28: error: cannot find type 'URLSessionDataDelegate' in scope
226 | // MARK: URLSessionDataDelegate
227 |
228 | extension SessionDelegate: URLSessionDataDelegate {
| `- error: cannot find type 'URLSessionDataDelegate' in scope
229 | open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
230 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:229:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 |
228 | extension SessionDelegate: URLSessionDataDelegate {
229 | 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.
230 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
231 |
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:229:59: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
227 |
228 | extension SessionDelegate: URLSessionDataDelegate {
229 | 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.
230 | eventMonitor?.urlSession(session, dataTask: dataTask, didReceive: data)
231 |
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:240:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
238 | }
239 |
240 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | dataTask: URLSessionDataTask,
242 | 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:241:36: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
239 |
240 | open func urlSession(_ session: URLSession,
241 | dataTask: URLSessionDataTask,
| `- error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
242 | willCacheResponse proposedResponse: CachedURLResponse,
243 | 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:242:62: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
240 | open func urlSession(_ session: URLSession,
241 | dataTask: URLSessionDataTask,
242 | willCacheResponse proposedResponse: CachedURLResponse,
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
243 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
244 | 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:243:56: error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
241 | dataTask: URLSessionDataTask,
242 | willCacheResponse proposedResponse: CachedURLResponse,
243 | completionHandler: @escaping (CachedURLResponse?) -> Void) {
| `- error: 'CachedURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
244 | eventMonitor?.urlSession(session, dataTask: dataTask, willCacheResponse: proposedResponse)
245 |
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:256:28: error: cannot find type 'URLSessionDownloadDelegate' in scope
254 | // MARK: URLSessionDownloadDelegate
255 |
256 | extension SessionDelegate: URLSessionDownloadDelegate {
| `- error: cannot find type 'URLSessionDownloadDelegate' in scope
257 | open func urlSession(_ session: URLSession,
258 | downloadTask: URLSessionDownloadTask,
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/SessionDelegate.swift:257:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
255 |
256 | extension SessionDelegate: URLSessionDownloadDelegate {
257 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
258 | downloadTask: URLSessionDownloadTask,
259 | 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:258:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
256 | extension SessionDelegate: URLSessionDownloadDelegate {
257 | open func urlSession(_ session: URLSession,
258 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
259 | didResumeAtOffset fileOffset: Int64,
260 | 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:274:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
272 | }
273 |
274 | open func urlSession(_ session: URLSession,
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
275 | downloadTask: URLSessionDownloadTask,
276 | 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:275:40: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
273 |
274 | open func urlSession(_ session: URLSession,
275 | downloadTask: URLSessionDownloadTask,
| `- error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
276 | didWriteData bytesWritten: Int64,
277 | 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:293:37: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | }
292 |
293 | 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.
294 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
295 |
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:293:63: error: 'URLSessionDownloadTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
291 | }
292 |
293 | 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.
294 | eventMonitor?.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
295 |
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
[14/211] Emitting module RxSwift
[15/229] Emitting module Mapper
[16/230] Compiling Mapper Transform.swift
[17/230] Compiling ReactiveSwift UninhabitedTypeGuards.swift
[18/230] Compiling ReactiveSwift ValidatingProperty.swift
[19/230] Compiling RxSwift Catch.swift
[20/230] Compiling RxSwift CombineLatest+Collection.swift
[21/230] Compiling Mapper Transform+Dictionary.swift
[22/230] Compiling RxSwift BehaviorSubject.swift
[23/230] Compiling RxSwift BinaryDisposable.swift
[24/230] Compiling RxSwift BooleanDisposable.swift
error: compile command failed due to signal 6 (use -v to see invocation)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/AFError.swift:130:31: error: cannot find type 'SecTrust' in scope
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.s2E9AX/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 0x0000555c56842497
1 swift-frontend 0x0000555c568401ee
2 swift-frontend 0x0000555c56842b0a
3 libc.so.6 0x00007f0bc96b6520
4 libc.so.6 0x00007f0bc970a9fc pthread_kill + 300
5 libc.so.6 0x00007f0bc96b6476 raise + 22
6 libc.so.6 0x00007f0bc969c7f3 abort + 211
7 swift-frontend 0x0000555c51972055
8 swift-frontend 0x0000555c515bf934
9 swift-frontend 0x0000555c5193466f
10 swift-frontend 0x0000555c5113854c
11 swift-frontend 0x0000555c4fd1e9ce
12 swift-frontend 0x0000555c4fd1e67a
13 swift-frontend 0x0000555c4fd1d8d2
14 swift-frontend 0x0000555c5193519a
15 swift-frontend 0x0000555c4fcecdab
16 swift-frontend 0x0000555c4fcec2f7
17 swift-frontend 0x0000555c4fce9c29
18 swift-frontend 0x0000555c50a66226
19 swift-frontend 0x0000555c5161e89c
20 swift-frontend 0x0000555c5162038c
21 swift-frontend 0x0000555c51623240
22 swift-frontend 0x0000555c5161e8ba
23 swift-frontend 0x0000555c51623d5f
24 swift-frontend 0x0000555c5162298f
25 swift-frontend 0x0000555c5161e8ba
26 swift-frontend 0x0000555c51623d5f
27 swift-frontend 0x0000555c5162298f
28 swift-frontend 0x0000555c5161e8ba
29 swift-frontend 0x0000555c5161e7b3
30 swift-frontend 0x0000555c5180481f
31 swift-frontend 0x0000555c50a63bd4
32 swift-frontend 0x0000555c4fce8c51
33 swift-frontend 0x0000555c4fce8afa
34 swift-frontend 0x0000555c4fcdd12c
35 swift-frontend 0x0000555c4fcdcb15
36 swift-frontend 0x0000555c4fa8f572
37 swift-frontend 0x0000555c4fa8d67c
38 swift-frontend 0x0000555c4fa88198
39 swift-frontend 0x0000555c4fa864fc
40 swift-frontend 0x0000555c4f842dde
41 libc.so.6 0x00007f0bc969dd90
42 libc.so.6 0x00007f0bc969de40 __libc_start_main + 128
43 swift-frontend 0x0000555c4f841e85
[25/230] Compiling RxSwift AddRef.swift
[26/230] Compiling RxSwift Amb.swift
[27/230] Compiling RxSwift AnonymousObserver.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
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/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[28/230] Compiling RxSwift AnyObserver.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
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/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[29/230] Compiling RxSwift AsMaybe.swift
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:47:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
45 | userInfo: nil)
46 |
47 | extension URLSession: ReactiveExtensionsProvider {}
| `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended
48 |
49 | extension Reactive where Base: URLSession {
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:33: error: cannot find type 'URLRequest' in scope
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: cannot find type 'URLRequest' in scope
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:63:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 | /// side error (i.e. when a response with status code other than
62 | /// 200...299 is received).
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
| `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
| `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:49:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
47 | extension URLSession: ReactiveExtensionsProvider {}
48 |
49 | extension Reactive where Base: URLSession {
| `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
50 | /// Returns a SignalProducer which performs the work associated with an
51 | /// `NSURLSession`
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/ReactiveSwift/Sources/FoundationExtensions.swift:65:20: error: value of type 'Base' has no member 'dataTask'
63 | public func data(with request: URLRequest) -> SignalProducer<(Data, URLResponse), Error> {
64 | return SignalProducer { [base = self.base] observer, lifetime in
65 | let task = base.dataTask(with: request) { data, response, error in
| `- error: value of type 'Base' has no member 'dataTask'
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
/host/spi-builder-workspace/.build/checkouts/ReactiveSwift/Sources/FoundationExtensions.swift:67:34: error: value of type '_' expected to be instance of class or class-constrained type
65 | let task = base.dataTask(with: request) { data, response, error in
66 | if let data = data, let response = response {
67 | observer.send(value: (data, response))
| `- error: value of type '_' expected to be instance of class or class-constrained type
68 | observer.sendCompleted()
69 | } else {
[30/230] Compiling RxSwift AsSingle.swift
[31/230] Compiling RxSwift AsyncLock.swift
[32/230] Compiling RxSwift AsyncSubject.swift
[33/230] Compiling RxSwift AtomicInt.swift
[34/230] Compiling RxSwift Bag+Rx.swift
[35/230] Compiling RxSwift Bag.swift
[36/230] Compiling Mapper URL+Convertible.swift
[39/230] Compiling RxSwift AnonymousDisposable.swift
[41/230] Compiling Mapper MapperError.swift
[42/230] Compiling Mapper NSDictionary+Safety.swift
[43/231] Compiling RxSwift Observable.swift
[44/231] Compiling RxSwift ObservableConvertibleType.swift
[45/231] Compiling RxSwift ObservableType+Extensions.swift
[46/231] Compiling RxSwift ObservableType+PrimitiveSequence.swift
[47/231] Compiling RxSwift ObservableType.swift
[48/231] Compiling RxSwift ObserveOn.swift
[49/231] Compiling RxSwift ObserverBase.swift
[50/231] Compiling RxSwift ObserverType.swift
[51/231] Compiling RxSwift OperationQueueScheduler.swift
[52/231] Compiling RxSwift Optional.swift
[53/231] Compiling RxSwift Platform.Darwin.swift
[54/231] Compiling RxSwift Platform.Linux.swift
[55/231] Compiling RxSwift PrimitiveSequence+Zip+arity.swift
[56/231] Compiling RxSwift PrimitiveSequence.swift
[57/231] Compiling RxSwift PriorityQueue.swift
[58/231] Compiling RxSwift Producer.swift
[59/231] Compiling RxSwift PublishSubject.swift
[60/231] Compiling RxSwift Queue.swift
[61/231] Compiling RxSwift Range.swift
[62/231] Compiling RxSwift GroupBy.swift
[63/231] Compiling RxSwift GroupedObservable.swift
[64/231] Compiling RxSwift HistoricalScheduler.swift
[65/231] Compiling RxSwift HistoricalSchedulerTimeConverter.swift
[66/231] Compiling RxSwift ImmediateSchedulerType.swift
[67/231] Compiling RxSwift InfiniteSequence.swift
[68/231] Compiling RxSwift InvocableScheduledItem.swift
[69/231] Compiling RxSwift InvocableType.swift
[70/231] Compiling RxSwift Just.swift
[71/231] Compiling RxSwift Lock.swift
[72/231] Compiling RxSwift LockOwnerType.swift
[73/231] Compiling RxSwift MainScheduler.swift
[74/231] Compiling RxSwift Map.swift
[75/231] Compiling RxSwift Materialize.swift
[76/231] Compiling RxSwift Maybe.swift
[77/231] Compiling RxSwift Merge.swift
[78/231] Compiling RxSwift Multicast.swift
[79/231] Compiling RxSwift Never.swift
[80/231] Compiling RxSwift NopDisposable.swift
[87/231] Compiling RxSwift CompactMap.swift
[88/231] Compiling RxSwift Completable+AndThen.swift
[89/231] Compiling RxSwift Completable.swift
[90/231] Compiling RxSwift CompositeDisposable.swift
[91/231] Compiling RxSwift Concat.swift
[92/231] Compiling RxSwift ConcurrentDispatchQueueScheduler.swift
[93/231] Compiling RxSwift ConcurrentMainScheduler.swift
[94/231] Compiling Alamofire URLEncodedFormEncoder.swift
[95/231] Compiling Alamofire URLRequest+Alamofire.swift
[96/231] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[97/231] Compiling Alamofire Validation.swift
[98/231] Compiling RxSwift Debounce.swift
[99/231] Compiling RxSwift Debug.swift
[100/231] Compiling RxSwift DefaultIfEmpty.swift
[101/231] Compiling RxSwift Deferred.swift
[102/231] Compiling RxSwift Delay.swift
[103/231] Compiling RxSwift DelaySubscription.swift
[104/231] Compiling RxSwift Dematerialize.swift
[105/231] Compiling RxSwift Deprecated.swift
[106/231] Compiling RxSwift DispatchQueue+Extensions.swift
[107/231] Compiling RxSwift DispatchQueueConfiguration.swift
[108/231] Compiling RxSwift Disposable.swift
[109/231] Compiling RxSwift Disposables.swift
[110/231] Compiling RxSwift DisposeBag.swift
[111/231] Compiling RxSwift DisposeBase.swift
[112/231] Compiling RxSwift DistinctUntilChanged.swift
[113/231] Compiling RxSwift Do.swift
[114/231] Compiling RxSwift ElementAt.swift
[115/231] Compiling RxSwift Empty.swift
[116/231] Compiling RxSwift Enumerated.swift
[117/231] Compiling RxSwift Error.swift
[118/231] Compiling RxSwift Errors.swift
[119/231] Compiling RxSwift Event.swift
[120/231] Compiling RxSwift Filter.swift
[121/231] Compiling RxSwift First.swift
[122/231] Compiling RxSwift Generate.swift
BUILD FAILURE 6.0 linux