Build Information
Failed to build AppStoreConnect with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onmyway133/AppStoreConnect.git
Reference: 0.0.8
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/onmyway133/AppStoreConnect
* tag 0.0.8 -> FETCH_HEAD
HEAD is now at f8e0a73 Update
Cloned https://github.com/onmyway133/AppStoreConnect.git
Revision (git rev-parse @):
f8e0a73d6a9f7a4c59de47f532a63c79ceb6ee18
SUCCESS checkout https://github.com/onmyway133/AppStoreConnect.git at 0.0.8
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/onmyway133/AppStoreConnect.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kean/NaiveDate
Fetching https://github.com/apple/swift-crypto.git
Fetching https://github.com/vapor/jwt-kit
Fetching https://github.com/kean/Get
Fetching https://github.com/kean/URLQueryEncoder
[1/289] Fetching naivedate
[290/2550] Fetching naivedate, get
[811/2678] Fetching naivedate, get, urlqueryencoder
Fetched https://github.com/kean/NaiveDate from cache (0.29s)
[942/2389] Fetching get, urlqueryencoder
[2390/9800] Fetching get, urlqueryencoder, swift-crypto
[3428/16749] Fetching get, urlqueryencoder, swift-crypto, jwt-kit
Fetched https://github.com/vapor/jwt-kit from cache (1.05s)
Fetched https://github.com/kean/URLQueryEncoder from cache (1.21s)
Fetched https://github.com/kean/Get from cache (1.22s)
Computing version for https://github.com/vapor/jwt-kit
Fetched https://github.com/apple/swift-crypto.git from cache (1.23s)
Computed https://github.com/vapor/jwt-kit at 4.3.0 (0.47s)
Computing version for https://github.com/kean/URLQueryEncoder
Computed https://github.com/kean/URLQueryEncoder at 0.2.0 (0.47s)
Computing version for https://github.com/kean/NaiveDate
Computed https://github.com/kean/NaiveDate at 1.0.0 (0.46s)
Computing version for https://github.com/kean/Get
Computed https://github.com/kean/Get at 0.5.0 (0.47s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 2.0.4 (0.48s)
Creating working copy for https://github.com/kean/Get
Working copy of https://github.com/kean/Get resolved at 0.5.0
Creating working copy for https://github.com/vapor/jwt-kit
Working copy of https://github.com/vapor/jwt-kit resolved at 4.3.0
Creating working copy for https://github.com/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 2.0.4
Creating working copy for https://github.com/kean/NaiveDate
Working copy of https://github.com/kean/NaiveDate resolved at 1.0.0
Creating working copy for https://github.com/kean/URLQueryEncoder
Working copy of https://github.com/kean/URLQueryEncoder resolved at 0.2.0
Building for debugging...
[0/818] Write sources
[5/818] Compiling windows.c
[6/818] Write sources
[7/818] Compiling rc4.c
[8/818] Compiling refcount_c11.c
[9/818] Compiling a_bitstr.c
[10/818] Compiling a_utctm.c
[11/818] Compiling a_type.c
[12/818] Compiling a_bool.c
[13/818] Write swift-version-24593BA9C3E375BF.txt
[14/818] Compiling v3_skey.c
[15/818] Compiling v3_pmaps.c
[16/818] Compiling v3_pcons.c
[17/818] Compiling v3_purp.c
[18/818] Compiling v3_prn.c
[19/820] Compiling v3_pcia.c
[20/821] Compiling v3_pci.c
[21/823] Compiling v3_utl.c
[22/827] Compiling v3_ocsp.c
[23/827] Compiling v3_ncons.c
[24/827] Compiling v3_lib.c
[25/827] Compiling v3_int.c
[26/827] Compiling v3_genn.c
[27/827] Compiling v3_info.c
[28/827] Compiling v3_enum.c
[29/827] Compiling v3_ia5.c
[30/827] Compiling v3_extku.c
[31/827] Compiling v3_bitst.c
[32/827] Compiling v3_crld.c
[33/827] Compiling v3_cpols.c
[34/827] Compiling v3_conf.c
[35/827] Compiling v3_bcons.c
[36/827] Compiling v3_alt.c
[37/827] Compiling v3_akeya.c
[38/827] Compiling v3_akey.c
[39/827] Compiling pcy_tree.c
[40/827] Compiling pcy_node.c
[41/827] Compiling pcy_map.c
[42/827] Compiling pcy_lib.c
[43/827] Compiling x_x509a.c
[44/827] Compiling pcy_cache.c
[45/827] Compiling pcy_data.c
[46/827] Compiling x_spki.c
[48/827] Emitting module NaiveDate
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/827] Emitting module Get
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:8:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:57: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:84: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:107:34: error: cannot find type 'URLRequest' in scope
private func send(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:116:42: error: cannot find type 'URLRequest' in scope
private func actuallySend(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:124:74: error: cannot find type 'URLRequest' in scope
private func makeRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:150:121: error: cannot find type 'URLRequest' in scope
private func makeRequest(url: URL, method: String, body: AnyEncodable?, headers: [String: String]?) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:162:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func validate(response: URLResponse, data: Data) throws {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:182:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:57:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: delegate, delegateQueue: queue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:19:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:72:64: error: cannot find type 'URLSessionTaskMetrics' in scope
private typealias Completion = (Result<(Data, URLResponse, URLSessionTaskMetrics?), Error>) -> Void
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:41: error: cannot find type 'URLRequest' in scope
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:62: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:111: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:124:22: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:70:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:144:40: error: cannot find type 'URLSessionDelegate' in scope
init(loader: DataLoader, delegate: URLSessionDelegate) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:135:27: error: cannot find type 'URLSessionDelegate' in scope
private var delegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:136:43: error: cannot find type 'Selector' in scope
private let interceptedSelectors: Set<Selector>
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:42: error: cannot find type 'Selector' in scope
override func responds(to aSelector: Selector!) -> Bool {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:19: error: method does not override any method from its superclass
override func responds(to aSelector: Selector!) -> Bool {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:50: error: cannot find type 'Selector' in scope
override func forwardingTarget(for selector: Selector!) -> Any? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:19: error: method does not override any method from its superclass
override func forwardingTarget(for selector: Selector!) -> Any? {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:48: error: cannot find type 'URLSessionTaskDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:72: error: cannot find type 'URLSessionDataDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:76:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class Box { var task: URLSessionTask? }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:85:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:86:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:88:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[49/827] Compiling x_x509.c
[50/827] Compiling x_val.c
[51/827] Compiling x_sig.c
[52/827] Compiling x_pubkey.c
[53/827] Compiling x_req.c
[54/827] Compiling x_pkey.c
[55/827] Compiling x_info.c
[56/827] Compiling x_name.c
[57/827] Compiling x_all.c
[58/827] Compiling x_exten.c
[59/827] Compiling x_attrib.c
[60/827] Compiling x_crl.c
[61/827] Compiling x509spki.c
[62/827] Compiling x_algor.c
[63/827] Compiling x509rset.c
[64/827] Compiling x509name.c
[65/827] Compiling x509cset.c
[66/827] Compiling x509_vpm.c
[67/827] Compiling x509_v3.c
[68/827] Compiling x509_vfy.c
[69/827] Compiling x509_txt.c
[70/827] Compiling x509_set.c
[71/827] Compiling x509_trs.c
[72/827] Compiling x509_req.c
[73/827] Compiling x509_obj.c
[74/827] Compiling x509_def.c
[75/827] Compiling x509_ext.c
[76/827] Compiling x509_lu.c
[77/827] Compiling x509_d2.c
[78/827] Compiling x509.c
[79/827] Compiling x509_att.c
[80/827] Compiling x509_cmp.c
[81/827] Compiling t_x509a.c
[82/827] Compiling t_x509.c
[83/827] Compiling t_req.c
[84/827] Compiling rsa_pss.c
[85/827] Compiling name_print.c
[86/827] Compiling t_crl.c
[87/827] Compiling i2d_pr.c
[88/827] Compiling by_file.c
[89/827] Compiling algorithm.c
[90/827] Compiling a_verify.c
[91/827] Compiling by_dir.c
[92/827] Compiling asn1_gen.c
[93/827] Compiling voprf.c
[94/827] Compiling thread_win.c
[95/827] Compiling a_digest.c
[96/827] Compiling a_sign.c
[97/827] Compiling trust_token.c
[98/827] Compiling thread.c
[99/827] Compiling pmbtoken.c
[100/827] Compiling thread_none.c
[101/827] Compiling thread_pthread.c
[102/827] Compiling rsa_print.c
[103/827] Compiling stack.c
[104/827] Compiling rand_extra.c
[105/827] Compiling siphash.c
[106/827] Compiling refcount_lock.c
[107/827] Compiling rsa_asn1.c
[108/827] Compiling fuchsia.c
[109/827] Compiling deterministic.c
[110/827] Compiling passive.c
[111/827] Compiling forkunsafe.c
[112/827] Compiling pool.c
[113/827] Compiling poly1305_arm_asm.S
[114/827] Compiling poly1305_arm.c
[115/827] Compiling poly1305.c
[116/827] Compiling pkcs8.c
[117/827] Compiling p5_pbev2.c
[118/827] Compiling pkcs8_x509.c
[119/827] Compiling pkcs7.c
[120/827] Compiling pkcs7_x509.c
[121/827] Compiling pem_xaux.c
[122/827] Compiling pem_x509.c
[123/827] Compiling pem_pk8.c
[124/827] Compiling pem_pkey.c
[125/827] Compiling pem_oth.c
[126/827] Compiling poly1305_vec.c
[127/827] Compiling pem_lib.c
[128/827] Compiling pem_info.c
[129/827] Compiling obj_xref.c
[130/827] Compiling pem_all.c
[131/827] Compiling mem.c
[132/827] Compiling lhash.c
[133/827] Compiling poly_rq_mul.S
[134/827] Compiling obj.c
[135/827] Compiling hkdf.c
[136/827] Compiling hpke.c
[137/827] Compiling x86_64-mont5.mac.x86_64.S
[138/827] Compiling x86_64-mont.mac.x86_64.S
[139/827] Compiling x86_64-mont5.linux.x86_64.S
[140/827] Compiling hrss.c
[141/827] Compiling x86_64-mont.linux.x86_64.S
[142/827] Compiling x86-mont.windows.x86.S
[143/827] Compiling vpaes-x86_64.mac.x86_64.S
[144/827] Compiling x86-mont.linux.x86.S
[145/827] Compiling vpaes-x86_64.linux.x86_64.S
[146/827] Compiling vpaes-x86.windows.x86.S
[147/827] Compiling vpaes-x86.linux.x86.S
[148/827] Compiling vpaes-armv8.linux.aarch64.S
[149/827] Compiling vpaes-armv8.ios.aarch64.S
[150/827] Compiling vpaes-armv7.linux.arm.S
[151/827] Compiling vpaes-armv7.ios.arm.S
[152/827] Compiling kdf.c
[153/827] Compiling sha512-x86_64.mac.x86_64.S
[154/827] Compiling sha512-armv8.linux.aarch64.S
[155/827] Compiling sha512-x86_64.linux.x86_64.S
[156/827] Compiling sha512-armv8.ios.aarch64.S
[157/827] Compiling sha512-armv4.linux.arm.S
[158/827] Compiling sha512-armv4.ios.arm.S
[159/827] Compiling sha512-586.windows.x86.S
[160/827] Compiling sha512-586.linux.x86.S
[161/827] Compiling sha256-x86_64.mac.x86_64.S
[162/827] Compiling sha256-x86_64.linux.x86_64.S
[163/827] Compiling sha256-armv8.linux.aarch64.S
[164/827] Compiling sha256-armv8.ios.aarch64.S
[165/827] Compiling sha256-armv4.ios.arm.S
[166/827] Compiling sha256-armv4.linux.arm.S
[167/827] Compiling sha1-x86_64.mac.x86_64.S
[168/827] Compiling sha256-586.linux.x86.S
[168/827] Compiling sha256-586.windows.x86.S
[170/827] Compiling sha1-armv8.linux.aarch64.S
[171/827] Compiling sha1-armv8.ios.aarch64.S
[172/827] Compiling sha1-x86_64.linux.x86_64.S
[173/827] Compiling sha1-armv4-large.linux.arm.S
[174/827] Compiling sha1-armv4-large.ios.arm.S
[175/827] Compiling sha512.c
[176/827] Compiling sha1-586.linux.x86.S
[177/827] Compiling sha1-586.windows.x86.S
[178/827] Compiling sha1-altivec.c
[179/827] Compiling sha256.c
[180/827] Compiling sha1.c
[181/827] Compiling fips.c
[182/827] Compiling rsaz-avx2.mac.x86_64.S
[183/827] Compiling rsaz-avx2.linux.x86_64.S
[184/827] Compiling self_check.c
[185/827] Compiling rsa_impl.c
[186/827] Compiling padding.c
[187/827] Compiling blinding.c
[188/827] Compiling rsa.c
[189/827] Compiling rdrand-x86_64.mac.x86_64.S
[190/827] Compiling rdrand-x86_64.linux.x86_64.S
[191/827] Compiling urandom.c
[192/827] Compiling rand.c
[193/827] Compiling fork_detect.c
[194/827] Compiling ctrdrbg.c
[195/827] Compiling p256_beeu-x86_64-asm.mac.x86_64.S
[196/827] Compiling p256-x86_64-asm.mac.x86_64.S
[197/827] Compiling p256_beeu-x86_64-asm.linux.x86_64.S
[198/827] Compiling p256-x86_64-asm.linux.x86_64.S
[199/827] Compiling polyval.c
[200/827] Compiling ofb.c
[201/827] Compiling gcm.c
[202/827] Compiling gcm_nohw.c
[203/827] Compiling ctr.c
[204/827] Compiling cfb.c
[205/827] Compiling cbc.c
[206/827] Compiling md5.c
[207/827] Compiling md5-x86_64.mac.x86_64.S
[208/827] Compiling md5-586.linux.x86.S
[209/827] Compiling md5-586.windows.x86.S
[210/827] Compiling md5-x86_64.linux.x86_64.S
[211/827] Compiling md4.c
[212/827] Compiling hmac.c
[213/827] Compiling ghashv8-armx64.linux.aarch64.S
[213/827] Compiling ghashv8-armx64.ios.aarch64.S
[215/827] Compiling ghashv8-armx32.linux.arm.S
[216/827] Compiling ghashv8-armx32.ios.arm.S
[217/827] Compiling ghash-x86_64.mac.x86_64.S
[218/827] Compiling ghash-x86.windows.x86.S
[219/827] Compiling ghash-x86.linux.x86.S
[220/827] Compiling ghash-x86_64.linux.x86_64.S
[221/827] Compiling ghash-ssse3-x86_64.mac.x86_64.S
[222/827] Compiling ghash-ssse3-x86.windows.x86.S
[223/827] Compiling ghash-ssse3-x86_64.linux.x86_64.S
[224/827] Compiling ghash-neon-armv8.linux.aarch64.S
[225/827] Compiling ghash-ssse3-x86.linux.x86.S
[226/827] Compiling fips_shared_support.c
[227/827] Compiling ghash-neon-armv8.ios.aarch64.S
[228/827] Compiling ghash-armv4.linux.arm.S
[229/827] Compiling ghash-armv4.ios.arm.S
[230/827] Compiling util.c
[231/827] Compiling ecdh.c
[231/827] Compiling ecdsa.c
[233/827] Compiling wnaf.c
[234/827] Compiling simple_mul.c
[235/827] Compiling simple.c
[236/827] Compiling scalar.c
[237/827] Compiling p256.c
[238/827] Compiling oct.c
[239/827] Compiling ec_montgomery.c
[239/827] Compiling felem.c
[241/827] Compiling p224-64.c
[242/827] Compiling digest.c
[242/827] Compiling ec_key.c
[244/827] Compiling digests.c
[245/827] Compiling check.c
[246/827] Compiling ec.c
[247/827] Compiling dh.c
[248/827] Compiling co-586.linux.x86.S
[249/827] Compiling co-586.windows.x86.S
[250/827] Compiling p256-x86_64.c
[251/827] Compiling e_des.c
[252/827] Compiling des.c
[253/827] Compiling aead.c
[254/827] Compiling cipher.c
[256/827] Compiling Get Request.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:85:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:86:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:88:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:87:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[256/827] Compiling e_aes.c
[257/827] Compiling bsaes-armv7.linux.arm.S
[259/827] Compiling Get APIClient.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:8:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:57: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:84: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:107:34: error: cannot find type 'URLRequest' in scope
private func send(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:116:42: error: cannot find type 'URLRequest' in scope
private func actuallySend(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:124:74: error: cannot find type 'URLRequest' in scope
private func makeRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:150:121: error: cannot find type 'URLRequest' in scope
private func makeRequest(url: URL, method: String, body: AnyEncodable?, headers: [String: String]?) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:162:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func validate(response: URLResponse, data: Data) throws {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:182:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:57:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: delegate, delegateQueue: queue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:118:28: error: no exact matches in call to instance method 'client'
try await delegate.client(self, willSendRequest: &request)
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:10: note: candidate has partially matching parameter list (APIClient, didReceiveInvalidResponse: HTTPURLResponse, data: Data)
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:10: note: candidate has partially matching parameter list (APIClient, didReceiveInvalidResponse: HTTPURLResponse, data: Data)
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:121:16: error: generic parameter 'T' could not be inferred
return Response(value: data, data: data, request: request, response: response, metrics: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:80:24: note: 'T' declared as parameter to type 'Response'
public struct Response<T> {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:121:16: note: explicitly specify the generic arguments to fix this issue
return Response(value: data, data: data, request: request, response: response, metrics: metrics)
^
<Any>
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:151:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:163:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
guard let httpResponse = response as? HTTPURLResponse else { return }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:164:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if !(200..<300).contains(httpResponse.statusCode) {
~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:185:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
[260/827] Compiling Get Helpers.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:19:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:72:64: error: cannot find type 'URLSessionTaskMetrics' in scope
private typealias Completion = (Result<(Data, URLResponse, URLSessionTaskMetrics?), Error>) -> Void
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:41: error: cannot find type 'URLRequest' in scope
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:62: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:111: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:124:22: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:70:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:144:40: error: cannot find type 'URLSessionDelegate' in scope
init(loader: DataLoader, delegate: URLSessionDelegate) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:135:27: error: cannot find type 'URLSessionDelegate' in scope
private var delegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:136:43: error: cannot find type 'Selector' in scope
private let interceptedSelectors: Set<Selector>
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:42: error: cannot find type 'Selector' in scope
override func responds(to aSelector: Selector!) -> Bool {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:19: error: method does not override any method from its superclass
override func responds(to aSelector: Selector!) -> Bool {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:50: error: cannot find type 'Selector' in scope
override func forwardingTarget(for selector: Selector!) -> Any? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:19: error: method does not override any method from its superclass
override func forwardingTarget(for selector: Selector!) -> Any? {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:48: error: cannot find type 'URLSessionTaskDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:72: error: cannot find type 'URLSessionDataDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:76:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class Box { var task: URLSessionTask? }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:90:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = session.dataTask(with: request)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:91:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
session.delegateQueue.addOperation {
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:100:26: error: 'nil' requires a contextual type
handlers[task] = nil
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:101:32: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
if let response = task.response, error == nil {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:102:33: error: cannot infer contextual base in reference to member 'success'
handler.completion(.success((handler.data ?? Data(), response, handler.metrics)))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:104:33: error: cannot infer contextual base in reference to member 'failure'
handler.completion(.failure(error ?? URLError(.unknown)))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:148:23: error: cannot find 'URLSessionDataDelegate' in scope
#selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:)),
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:149:23: error: cannot find 'URLSessionTaskDelegate' in scope
#selector(URLSessionTaskDelegate.urlSession(_:task:didCompleteWithError:)),
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:150:23: error: cannot find 'URLSessionTaskDelegate' in scope
#selector(URLSessionTaskDelegate.urlSession(_:task:didFinishCollecting:))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:148:13: error: '#selector' can only be used with the Objective-C runtime
#selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:)),
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:158:23: error: cannot find type 'URLSessionDataDelegate' in scope
(delegate as? URLSessionDataDelegate)?.urlSession?(session, dataTask: dataTask, didReceive: data)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:163:23: error: cannot find type 'URLSessionTaskDelegate' in scope
(delegate as? URLSessionTaskDelegate)?.urlSession?(session, task: task, didCompleteWithError: error)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:167:26: error: incorrect argument label in call (have '_:task:didFinishCollecting:', expected '_:task:didCompleteWithError:')
loader.urlSession(session, task: task, didFinishCollecting: metrics)
^ ~~~~~~~~~~~~~~~~~~~
didCompleteWithError
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:168:23: error: cannot find type 'URLSessionTaskDelegate' in scope
(delegate as? URLSessionTaskDelegate)?.urlSession?(session, task: task, didFinishCollecting: metrics)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:177:58: error: value of type 'NSObject' has no member 'responds'
return delegate.responds(to: aSelector) || super.responds(to: aSelector)
~~~~~ ^~~~~~~~
[260/827] Compiling bsaes-armv7.ios.arm.S
[261/827] Compiling NaiveDate NaiveDateFormatter.swift
[263/827] Compiling NaiveDate NaiveDate.swift
[263/827] Compiling sqrt.c
[264/827] Compiling rsaz_exp.c
[265/827] Compiling shift.c
error: fatalError
[266/828] Compiling random.c
[267/828] Compiling montgomery.c
[267/828] Compiling prime.c
[267/828] Compiling jacobi.c
[267/828] Compiling mul.c
[267/828] Compiling montgomery_inv.c
[268/828] Emitting module URLQueryEncoder
[0/1] Planning build
Building for debugging...
[0/559] Compiling v3_pmaps.c
[1/559] Compiling v3_pcia.c
[2/559] Compiling v3_pcons.c
[3/559] Compiling v3_skey.c
[4/559] Compiling v3_prn.c
[5/559] Compiling v3_utl.c
[6/559] Compiling v3_purp.c
[7/559] Compiling mul.c
[8/559] Compiling montgomery_inv.c
[9/559] Compiling prime.c
[10/559] Write swift-version-24593BA9C3E375BF.txt
[11/559] Compiling jacobi.c
[12/559] Compiling CCryptoBoringSSLShims shims.c
[13/559] Compiling generic.c
[13/559] Compiling montgomery.c
[15/559] Compiling div_extra.c
[16/559] Compiling gcd.c
[17/559] Compiling gcd_extra.c
[18/559] Compiling exponentiation.c
[19/565] Compiling bytes.c
[20/565] Compiling cmp.c
[21/565] Compiling div.c
[22/565] Compiling ctx.c
[23/566] Compiling add.c
[24/566] Compiling bn.c
[25/566] Compiling bn-586.windows.x86.S
error: emit-module command failed with exit code 1 (use -v to see invocation)
[27/566] Emitting module Get
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:8:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:57: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:84: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:107:34: error: cannot find type 'URLRequest' in scope
private func send(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:116:42: error: cannot find type 'URLRequest' in scope
private func actuallySend(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:124:74: error: cannot find type 'URLRequest' in scope
private func makeRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:150:121: error: cannot find type 'URLRequest' in scope
private func makeRequest(url: URL, method: String, body: AnyEncodable?, headers: [String: String]?) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:162:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func validate(response: URLResponse, data: Data) throws {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:182:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:57:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: delegate, delegateQueue: queue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:19:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:72:64: error: cannot find type 'URLSessionTaskMetrics' in scope
private typealias Completion = (Result<(Data, URLResponse, URLSessionTaskMetrics?), Error>) -> Void
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:41: error: cannot find type 'URLRequest' in scope
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:62: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:111: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:124:22: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:70:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:144:40: error: cannot find type 'URLSessionDelegate' in scope
init(loader: DataLoader, delegate: URLSessionDelegate) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:135:27: error: cannot find type 'URLSessionDelegate' in scope
private var delegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:136:43: error: cannot find type 'Selector' in scope
private let interceptedSelectors: Set<Selector>
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:42: error: cannot find type 'Selector' in scope
override func responds(to aSelector: Selector!) -> Bool {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:19: error: method does not override any method from its superclass
override func responds(to aSelector: Selector!) -> Bool {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:50: error: cannot find type 'Selector' in scope
override func forwardingTarget(for selector: Selector!) -> Any? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:19: error: method does not override any method from its superclass
override func forwardingTarget(for selector: Selector!) -> Any? {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:48: error: cannot find type 'URLSessionTaskDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:72: error: cannot find type 'URLSessionDataDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:76:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class Box { var task: URLSessionTask? }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:85:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:86:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:88:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
[27/566] Compiling armv8-mont.linux.aarch64.S
[28/566] Compiling bn-586.linux.x86.S
[30/566] Compiling Get Request.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:85:25: error: cannot find type 'URLRequest' in scope
public var request: URLRequest
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:86:26: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var response: URLResponse
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:88:25: error: cannot find type 'URLSessionTaskMetrics' in scope
public var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:70: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:87:67: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
public var statusCode: Int? { (response as? HTTPURLResponse)?.statusCode }
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~~~~~~~~~
[31/566] Compiling Get Helpers.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:19:11: error: cannot find type 'URLRequest' in scope
extension URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: type 'URLSessionTask' (aka 'AnyObject') does not conform to protocol 'Hashable'
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:71:28: error: 'URLSessionTask' (aka 'AnyObject') cannot be used as a type conforming to protocol 'Hashable' because 'Hashable' has static requirements
private var handlers = [URLSessionTask: TaskHandler]()
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:72:64: error: cannot find type 'URLSessionTaskMetrics' in scope
private typealias Completion = (Result<(Data, URLResponse, URLSessionTaskMetrics?), Error>) -> Void
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:49: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:41: error: cannot find type 'URLRequest' in scope
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:62: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:89:111: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func loadData(with request: URLRequest, session: URLSession, completion: @escaping Completion) -> URLSessionTask {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:98:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:108:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:112:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:124:22: error: cannot find type 'URLSessionTaskMetrics' in scope
var metrics: URLSessionTaskMetrics?
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:70:35: error: cannot find type 'URLSessionDataDelegate' in scope
final class DataLoader: NSObject, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:144:40: error: cannot find type 'URLSessionDelegate' in scope
init(loader: DataLoader, delegate: URLSessionDelegate) {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:135:27: error: cannot find type 'URLSessionDelegate' in scope
private var delegate: URLSessionDelegate
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:136:43: error: cannot find type 'Selector' in scope
private let interceptedSelectors: Set<Selector>
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:156:54: error: 'URLSessionDataTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
^~~~~~~~~~~~~~~~~~
Foundation.URLSessionDataTask:2:18: note: 'URLSessionDataTask' has been explicitly marked unavailable here
public typealias URLSessionDataTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:161:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:95: error: cannot find type 'URLSessionTaskMetrics' in scope
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:166:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:42: error: cannot find type 'Selector' in scope
override func responds(to aSelector: Selector!) -> Bool {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:173:19: error: method does not override any method from its superclass
override func responds(to aSelector: Selector!) -> Bool {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:50: error: cannot find type 'Selector' in scope
override func forwardingTarget(for selector: Selector!) -> Any? {
^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:180:19: error: method does not override any method from its superclass
override func forwardingTarget(for selector: Selector!) -> Any? {
~~~~~~~~ ^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:48: error: cannot find type 'URLSessionTaskDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:134:72: error: cannot find type 'URLSessionDataDelegate' in scope
final class URLSessionProxyDelegate: NSObject, URLSessionTaskDelegate, URLSessionDataDelegate {
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:76:37: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
final class Box { var task: URLSessionTask? }
^~~~~~~~~~~~~~
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
public typealias URLSessionTask = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:90:28: error: value of type 'URLSession' (aka 'AnyObject') has no member 'dataTask'
let task = session.dataTask(with: request)
~~~~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:91:17: error: value of type 'URLSession' (aka 'AnyObject') has no member 'delegateQueue'
session.delegateQueue.addOperation {
~~~~~~~ ^~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:100:26: error: 'nil' requires a contextual type
handlers[task] = nil
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:101:32: error: value of type 'URLSessionTask' (aka 'AnyObject') has no member 'response'
if let response = task.response, error == nil {
~~~~ ^~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:102:33: error: cannot infer contextual base in reference to member 'success'
handler.completion(.success((handler.data ?? Data(), response, handler.metrics)))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:104:33: error: cannot infer contextual base in reference to member 'failure'
handler.completion(.failure(error ?? URLError(.unknown)))
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:148:23: error: cannot find 'URLSessionDataDelegate' in scope
#selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:)),
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:149:23: error: cannot find 'URLSessionTaskDelegate' in scope
#selector(URLSessionTaskDelegate.urlSession(_:task:didCompleteWithError:)),
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:150:23: error: cannot find 'URLSessionTaskDelegate' in scope
#selector(URLSessionTaskDelegate.urlSession(_:task:didFinishCollecting:))
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:148:13: error: '#selector' can only be used with the Objective-C runtime
#selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:)),
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:158:23: error: cannot find type 'URLSessionDataDelegate' in scope
(delegate as? URLSessionDataDelegate)?.urlSession?(session, dataTask: dataTask, didReceive: data)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:163:23: error: cannot find type 'URLSessionTaskDelegate' in scope
(delegate as? URLSessionTaskDelegate)?.urlSession?(session, task: task, didCompleteWithError: error)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:167:26: error: incorrect argument label in call (have '_:task:didFinishCollecting:', expected '_:task:didCompleteWithError:')
loader.urlSession(session, task: task, didFinishCollecting: metrics)
^ ~~~~~~~~~~~~~~~~~~~
didCompleteWithError
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:168:23: error: cannot find type 'URLSessionTaskDelegate' in scope
(delegate as? URLSessionTaskDelegate)?.urlSession?(session, task: task, didFinishCollecting: metrics)
^~~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:177:58: error: value of type 'NSObject' has no member 'responds'
return delegate.responds(to: aSelector) || super.responds(to: aSelector)
~~~~~ ^~~~~~~~
[31/566] Compiling armv4-mont.linux.arm.S
[32/566] Compiling armv8-mont.ios.aarch64.S
[33/566] Compiling armv4-mont.ios.arm.S
[35/566] Compiling Get APIClient.swift
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:8:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:15:26: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private let session: URLSession
^~~~~~~~~~
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
public typealias URLSession = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:42: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public var sessionConfiguration: URLSessionConfiguration = .default
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:25:69: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public var sessionConfiguration: URLSessionConfiguration = .default
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:33:37: error: cannot find type 'URLSessionDelegate' in scope
public var sessionDelegate: URLSessionDelegate?
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:57: error: 'URLSessionConfiguration' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
^~~~~~~~~~~~~~~~~~~~~~~
Foundation.URLSessionConfiguration:2:18: note: 'URLSessionConfiguration' has been explicitly marked unavailable here
public typealias URLSessionConfiguration = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:35:84: error: type 'URLSessionConfiguration' (aka 'AnyObject') has no member 'default'
public init(host: String, sessionConfiguration: URLSessionConfiguration = .default, delegate: APIClientDelegate? = nil) {
~^~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:107:34: error: cannot find type 'URLRequest' in scope
private func send(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:116:42: error: cannot find type 'URLRequest' in scope
private func actuallySend(_ request: URLRequest) async throws -> Response<Data> {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:124:74: error: cannot find type 'URLRequest' in scope
private func makeRequest<T>(for request: Request<T>) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:150:121: error: cannot find type 'URLRequest' in scope
private func makeRequest(url: URL, method: String, body: AnyEncodable?, headers: [String: String]?) async throws -> URLRequest {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:162:37: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
private func validate(response: URLResponse, data: Data) throws {
^~~~~~~~~~~
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
public typealias URLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:182:69: error: cannot find type 'URLRequest' in scope
func client(_ client: APIClient, willSendRequest request: inout URLRequest) async throws {}
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:74: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:76: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:139:52: error: cannot find type 'URLSessionDelegate' in scope
static func make(loader: DataLoader, delegate: URLSessionDelegate?) -> URLSessionDelegate {
^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:57:24: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
self.session = URLSession(configuration: configuration.sessionConfiguration, delegate: delegate, delegateQueue: queue)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:118:28: error: no exact matches in call to instance method 'client'
try await delegate.client(self, willSendRequest: &request)
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:10:10: note: candidate has partially matching parameter list (APIClient, didReceiveInvalidResponse: HTTPURLResponse, data: Data)
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:184:10: note: candidate has partially matching parameter list (APIClient, didReceiveInvalidResponse: HTTPURLResponse, data: Data)
func client(_ client: APIClient, didReceiveInvalidResponse response: HTTPURLResponse, data: Data) -> Error {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:97: error: cannot find type 'URLSessionTaskMetrics' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Helpers.swift:75:28: error: cannot find type 'URLRequest' in scope
func data(for request: URLRequest, session: URLSession) async throws -> (Data, URLResponse, URLSessionTaskMetrics?) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:48: error: cannot find type 'URLRequest' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:90:92: error: cannot find type 'URLSessionTaskMetrics' in scope
public init(value: T, data: Data, request: URLRequest, response: URLResponse, metrics: URLSessionTaskMetrics? = nil) {
^~~~~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:121:16: error: generic parameter 'T' could not be inferred
return Response(value: data, data: data, request: request, response: response, metrics: metrics)
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/Request.swift:80:24: note: 'T' declared as parameter to type 'Response'
public struct Response<T> {
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:121:16: note: explicitly specify the generic arguments to fix this issue
return Response(value: data, data: data, request: request, response: response, metrics: metrics)
^
<Any>
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:151:23: error: cannot find 'URLRequest' in scope
var request = URLRequest(url: url)
^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:163:47: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
guard let httpResponse = response as? HTTPURLResponse else { return }
^~~~~~~~~~~~~~~
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
public typealias HTTPURLResponse = AnyObject
^
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:164:47: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
if !(200..<300).contains(httpResponse.statusCode) {
~~~~~~~~~~~~ ^~~~~~~~~~
/host/spi-builder-workspace/.build/checkouts/Get/Sources/Get/APIClient.swift:185:50: error: value of type 'HTTPURLResponse' (aka 'AnyObject') has no member 'statusCode'
APIError.unacceptableStatusCode(response.statusCode)
~~~~~~~~ ^~~~~~~~~~
[35/566] Compiling x86_64-gcc.c
[36/566] Compiling aesv8-armx64.linux.aarch64.S
error: fatalError
[37/566] Compiling aesni-x86_64.mac.x86_64.S
[37/566] Compiling aesv8-armx32.ios.arm.S
[37/566] Compiling aesv8-armx64.ios.aarch64.S
[37/566] Compiling aesni-x86_64.linux.x86_64.S
[37/566] Compiling aesv8-armx32.linux.arm.S
[38/566] Emitting module NaiveDate
[39/566] Emitting module URLQueryEncoder
BUILD FAILURE 5.10 linux