Build Information
Failed to build Cobalt 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
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/e-sites/Cobalt.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/e-sites/Cobalt
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 33c8f0d isAuthRequesting
Cloned https://github.com/e-sites/Cobalt.git
Revision (git rev-parse @):
33c8f0d791fa213efc731edce842ef0219dc5c4b
SUCCESS checkout https://github.com/e-sites/Cobalt.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/e-sites/Cobalt.git
Running build ...
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
Fetching https://github.com/kishikawakatsumi/KeychainAccess.git
Fetching https://github.com/apple/swift-log.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/UnlockAgency/DebugMasking.git
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/19] Fetching debugmasking
[20/458] Fetching debugmasking, cwlcatchexception
[459/4844] Fetching debugmasking, cwlcatchexception, keychainaccess
[1161/8205] Fetching debugmasking, cwlcatchexception, keychainaccess, swift-log
[7340/36985] Fetching debugmasking, cwlcatchexception, keychainaccess, swift-log, alamofire
Fetched https://github.com/kishikawakatsumi/KeychainAccess.git from cache (0.60s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[8136/32599] Fetching debugmasking, cwlcatchexception, swift-log, alamofire
[9576/33846] Fetching debugmasking, cwlcatchexception, swift-log, alamofire, cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git from cache (0.24s)
[12166/32599] Fetching debugmasking, cwlcatchexception, swift-log, alamofire
[14757/51239] Fetching debugmasking, cwlcatchexception, swift-log, alamofire, nimble
Fetched https://github.com/UnlockAgency/DebugMasking.git from cache (2.88s)
Fetched https://github.com/mattgallagher/CwlCatchException.git from cache (2.88s)
Fetched https://github.com/apple/swift-log.git from cache (2.89s)
Fetched https://github.com/Quick/Nimble.git from cache (2.91s)
Fetched https://github.com/Alamofire/Alamofire.git from cache (2.95s)
Computing version for https://github.com/UnlockAgency/DebugMasking.git
Computed https://github.com/UnlockAgency/DebugMasking.git at 1.0.1 (0.53s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 11.0.0 (0.54s)
Computing version for https://github.com/kishikawakatsumi/KeychainAccess.git
Computed https://github.com/kishikawakatsumi/KeychainAccess.git at 4.2.2 (0.54s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.3.0 (0.54s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.4.1 (0.56s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.1.0 (0.54s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.1.1 (0.52s)
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 11.0.0
Creating working copy for https://github.com/UnlockAgency/DebugMasking.git
Working copy of https://github.com/UnlockAgency/DebugMasking.git resolved at 1.0.1
Creating working copy for https://github.com/kishikawakatsumi/KeychainAccess.git
Working copy of https://github.com/kishikawakatsumi/KeychainAccess.git resolved at 4.2.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.1.0
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.3.0
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.4.1
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.1.1
Building for debugging...
[0/9] Write sources
[7/9] Copying PrivacyInfo.xcprivacy
[8/9] Write swift-version-24593BA9C3E375BF.txt
[10/51] Emitting module Logging
[11/51] Compiling Logging Locks.swift
[12/51] Compiling Logging LogHandler.swift
[13/51] Compiling Logging Logging.swift
[15/52] Compiling Alamofire ParameterEncoder.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:172:44: error: cannot infer contextual base in reference to member 'contentType'
170 | } else {
171 | if urlRequest.headers["Content-Type"] == nil {
172 | urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
173 | }
174 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
267 |
268 | if urlRequest.headers["Content-Type"] == nil {
269 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
270 | }
271 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
295 |
296 | if urlRequest.headers["Content-Type"] == nil {
297 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
298 | }
299 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
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/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[16/52] Compiling Alamofire ParameterEncoding.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:172:44: error: cannot infer contextual base in reference to member 'contentType'
170 | } else {
171 | if urlRequest.headers["Content-Type"] == nil {
172 | urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
173 | }
174 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
267 |
268 | if urlRequest.headers["Content-Type"] == nil {
269 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
270 | }
271 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
295 |
296 | if urlRequest.headers["Content-Type"] == nil {
297 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
298 | }
299 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
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/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[17/52] Compiling Alamofire Protected.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:172:44: error: cannot infer contextual base in reference to member 'contentType'
170 | } else {
171 | if urlRequest.headers["Content-Type"] == nil {
172 | urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
173 | }
174 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
267 |
268 | if urlRequest.headers["Content-Type"] == nil {
269 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
270 | }
271 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
295 |
296 | if urlRequest.headers["Content-Type"] == nil {
297 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
298 | }
299 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
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/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[18/52] Compiling Alamofire RedirectHandler.swift
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:81: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:38:103: error: cannot find type 'URLRequest' in scope
36 | /// - Throws: An `Error` when encoding fails. For Alamofire provided encoders, this will be an instance of
37 | /// `AFError.parameterEncoderFailed` with an associated `ParameterEncoderFailureReason`.
38 | func encode<Parameters: Encodable>(_ parameters: Parameters?, into request: URLRequest) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
39 | }
40 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:59: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:76:81: error: cannot find type 'URLRequest' in scope
74 |
75 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
76 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
77 | guard let parameters = parameters else { return request }
78 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:59: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:147:81: error: cannot find type 'URLRequest' in scope
145 |
146 | open func encode<Parameters: Encodable>(_ parameters: Parameters?,
147 | into request: URLRequest) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
148 | guard let parameters = parameters else { return request }
149 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:85:41: error: cannot infer contextual base in reference to member 'contentType'
83 | request.httpBody = data
84 | if request.headers["Content-Type"] == nil {
85 | request.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
86 | }
87 | } catch {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoder.swift:175:41: error: cannot infer contextual base in reference to member 'contentType'
173 | } else {
174 | if request.headers["Content-Type"] == nil {
175 | request.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
176 | }
177 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:40:94: error: cannot find type 'URLRequest' in scope
38 | /// - Returns: The encoded `URLRequest`.
39 | /// - Throws: Any `Error` produced during parameter encoding.
40 | func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
41 | }
42 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:155:101: error: cannot find type 'URLRequest' in scope
153 | // MARK: Encoding
154 |
155 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
156 | var urlRequest = try urlRequest.asURLRequest()
157 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:260:101: error: cannot find type 'URLRequest' in scope
258 | // MARK: Encoding
259 |
260 | public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
261 | var urlRequest = try urlRequest.asURLRequest()
262 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:288:110: error: cannot find type 'URLRequest' in scope
286 | /// - Returns: The encoded `URLRequest`.
287 | /// - Throws: Any `Error` produced during encoding.
288 | public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
| `- error: cannot find type 'URLRequest' in scope
289 | var urlRequest = try urlRequest.asURLRequest()
290 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/URLConvertible+URLRequestConvertible.swift:74:35: error: cannot find type 'URLRequest' in scope
72 | /// - Returns: A `URLRequest`.
73 | /// - Throws: Any error thrown while constructing the `URLRequest`.
74 | func asURLRequest() throws -> URLRequest
| `- error: cannot find type 'URLRequest' in scope
75 | }
76 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:172:44: error: cannot infer contextual base in reference to member 'contentType'
170 | } else {
171 | if urlRequest.headers["Content-Type"] == nil {
172 | urlRequest.headers.update(.contentType("application/x-www-form-urlencoded; charset=utf-8"))
| `- error: cannot infer contextual base in reference to member 'contentType'
173 | }
174 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:269:44: error: cannot infer contextual base in reference to member 'contentType'
267 |
268 | if urlRequest.headers["Content-Type"] == nil {
269 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
270 | }
271 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/ParameterEncoding.swift:297:44: error: cannot infer contextual base in reference to member 'contentType'
295 |
296 | if urlRequest.headers["Content-Type"] == nil {
297 | urlRequest.headers.update(.contentType("application/json"))
| `- error: cannot infer contextual base in reference to member 'contentType'
298 | }
299 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:43:43: error: cannot find type 'URLRequest' in scope
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:45:38: error: cannot find type 'URLRequest' in scope
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
45 | completion: @escaping (URLRequest?) -> Void)
| `- error: cannot find type 'URLRequest' in scope
46 | }
47 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:42:23: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
40 | /// - response: The `HTTPURLResponse` containing the server's response to the original request.
41 | /// - completion: The closure to execute containing the new `URLRequest`, a modified `URLRequest`, or `nil`.
42 | func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
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/RedirectHandler.swift:44:29: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
42 | func task(_ task: URLSessionTask,
43 | willBeRedirectedTo request: URLRequest,
44 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
45 | completion: @escaping (URLRequest?) -> Void)
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/RedirectHandler.swift:59:38: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:59:70: error: cannot find type 'URLRequest' in scope
57 | case doNotFollow
58 | /// Modify the redirect request defined in the response.
59 | case modify((URLSessionTask, URLRequest, HTTPURLResponse) -> URLRequest?)
| `- error: cannot find type 'URLRequest' in scope
60 | }
61 |
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:82:50: error: cannot find type 'URLRequest' in scope
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
| `- error: cannot find type 'URLRequest' in scope
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:84:45: error: cannot find type 'URLRequest' in scope
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
84 | completion: @escaping (URLRequest?) -> Void) {
| `- error: cannot find type 'URLRequest' in scope
85 | switch behavior {
86 | case .follow:
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/RedirectHandler.swift:81:30: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
79 |
80 | extension Redirector: RedirectHandler {
81 | public func task(_ task: URLSessionTask,
| `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
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/RedirectHandler.swift:83:36: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
81 | public func task(_ task: URLSessionTask,
82 | willBeRedirectedTo request: URLRequest,
83 | for response: HTTPURLResponse,
| `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
84 | completion: @escaping (URLRequest?) -> Void) {
85 | switch behavior {
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/RedirectHandler.swift:89:24: error: 'nil' requires a contextual type
87 | completion(request)
88 | case .doNotFollow:
89 | completion(nil)
| `- error: 'nil' requires a contextual type
90 | case let .modify(closure):
91 | let request = closure(task, request, response)
[19/56] Compiling DebugMasking DebugMasking.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/56] Emitting module KeychainAccess
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[21/56] Compiling KeychainAccess Keychain.swift
/host/spi-builder-workspace/.build/checkouts/KeychainAccess/Lib/KeychainAccess/Keychain.swift:27:8: error: no such module 'Security'
25 |
26 | import Foundation
27 | import Security
| `- error: no such module 'Security'
28 | #if os(iOS) || os(OSX)
29 | import LocalAuthentication
[22/56] Compiling DebugMasking DebugMasking.MaskOption.swift
[23/56] Emitting module DebugMasking
BUILD FAILURE 6.0 linux