Build Information
Failed to build IQAPIClient with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.39.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hackiftekhar/IQAPIClient.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/hackiftekhar/IQAPIClient
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 44771a9 - Removed OSX
Cloned https://github.com/hackiftekhar/IQAPIClient.git
Revision (git rev-parse @):
44771a9a9e8798e39986e2921c1e46f1ddc5b0dc
SUCCESS checkout https://github.com/hackiftekhar/IQAPIClient.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 5.10
Building package at path: $workDir
https://github.com/hackiftekhar/IQAPIClient.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Fetching https://github.com/Alamofire/Alamofire.git
[1/28780] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.02s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.9.1 (0.35s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.9.1
Building for debugging...
[0/4] Write sources
[1/4] Copying PrivacyInfo.xcprivacy
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/43] Emitting module Alamofire
[6/48] Compiling Alamofire URLRequest+Alamofire.swift
[7/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[8/48] Compiling Alamofire AlamofireExtended.swift
[9/48] Compiling Alamofire AuthenticationInterceptor.swift
[10/48] Compiling Alamofire CachedResponseHandler.swift
[11/48] Compiling Alamofire NetworkReachabilityManager.swift
[12/48] Compiling Alamofire RedirectHandler.swift
[13/48] Compiling Alamofire RequestCompression.swift
[14/48] Compiling Alamofire RequestInterceptor.swift
[15/48] Compiling Alamofire ResponseSerialization.swift
[16/48] Compiling Alamofire RetryPolicy.swift
[17/48] Compiling Alamofire ServerTrustEvaluation.swift
[18/48] Compiling Alamofire URLEncodedFormEncoder.swift
[19/48] Compiling Alamofire Validation.swift
[20/48] Compiling Alamofire resource_bundle_accessor.swift
[21/48] Compiling Alamofire HTTPMethod.swift
[22/48] Compiling Alamofire Notifications.swift
[23/48] Compiling Alamofire ParameterEncoder.swift
[24/48] Compiling Alamofire ParameterEncoding.swift
[25/48] Compiling Alamofire Protected.swift
[26/48] Compiling Alamofire Request.swift
[27/48] Compiling Alamofire Combine.swift
[28/48] Compiling Alamofire Concurrency.swift
[29/48] Compiling Alamofire EventMonitor.swift
[30/48] Compiling Alamofire MultipartFormData.swift
[31/48] Compiling Alamofire MultipartUpload.swift
[32/48] Compiling Alamofire WebSocketRequest.swift
[33/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[34/48] Compiling Alamofire OperationQueue+Alamofire.swift
[35/48] Compiling Alamofire Result+Alamofire.swift
[36/48] Compiling Alamofire StringEncoding+Alamofire.swift
[37/48] Compiling Alamofire RequestTaskMap.swift
[38/48] Compiling Alamofire Response.swift
[39/48] Compiling Alamofire Session.swift
[40/48] Compiling Alamofire SessionDelegate.swift
[41/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[42/48] Compiling Alamofire UploadRequest.swift
[43/48] Compiling Alamofire Alamofire.swift
[44/48] Compiling Alamofire AFError.swift
[45/48] Compiling Alamofire DataRequest.swift
[46/48] Compiling Alamofire DataStreamRequest.swift
[47/48] Compiling Alamofire DownloadRequest.swift
[48/48] Compiling Alamofire HTTPHeaders.swift
[50/64] Compiling IQAPIClient IQAPIClient+ConcurrencyEncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
return (result.response.response ?? HTTPURLResponse(), response)
^
!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
return (result.response.response ?? HTTPURLResponse(), response)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
return (result.response.response ?? HTTPURLResponse(), response)
^
!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
return (result.response.response ?? HTTPURLResponse(), response)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
[51/64] Compiling IQAPIClient IQAPIClient+ConcurrencySendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
return (result.response.response ?? HTTPURLResponse(), response)
^
!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
return (result.response.response ?? HTTPURLResponse(), response)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
return (result.response.response ?? HTTPURLResponse(), response)
^
!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
return (result.response.response ?? HTTPURLResponse(), response)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
[52/64] Compiling IQAPIClient IQAPIClient+EncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
[53/64] Compiling IQAPIClient IQAPIClient+EncodableSendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/65] Emitting module IQAPIClient
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
public init(baseURL: URL? = nil, identifier: String? = nil) {
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
public var jsonDecoder: JSONDecoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
public var jsonEncoder: JSONEncoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable
public var baseURL: URL?
^
[55/65] Compiling IQAPIClient Data+Extension.swift
[56/65] Compiling IQAPIClient Dictionary+Extension.swift
[57/65] Compiling IQAPIClient IQAPIClient+Debug.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
public var jsonEncoder: JSONEncoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
^~~~
[58/65] Compiling IQAPIClient IQAPIClient+Interceptor.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
public var jsonEncoder: JSONEncoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
^~~~
[59/65] Compiling IQAPIClient IQAPIDecoder.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
public init(baseURL: URL? = nil, identifier: String? = nil) {
^~~
[60/65] Compiling IQAPIClient File.swift
[61/65] Compiling IQAPIClient IQAPIClientConstants.swift
[62/65] Compiling IQAPIClient IQAPIClient+Internal.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.success)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
await Self.haptic.notificationOccurred(.success)
~^~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.success)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
await Self.haptic.notificationOccurred(.success)
~^~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.error)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
await Self.haptic.notificationOccurred(.error)
~^~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
case let data as Data:
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
[63/65] Compiling IQAPIClient IQAPIClient+SendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.success)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
await Self.haptic.notificationOccurred(.success)
~^~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.success)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
await Self.haptic.notificationOccurred(.success)
~^~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
await Self.haptic.prepare()
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
await Self.haptic.notificationOccurred(.error)
~~~~ ^~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
await Self.haptic.notificationOccurred(.error)
~^~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
case let data as Data:
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
[64/65] Compiling IQAPIClient IQAPIClient+SendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
public init(baseURL: URL? = nil, identifier: String? = nil) {
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
public var jsonDecoder: JSONDecoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
public var jsonEncoder: JSONEncoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable
public var baseURL: URL?
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
session = Session(rootQueue: DispatchQueue(label: rootQueueName),
^~~~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
serializationQueue: DispatchQueue(label: serializationQueueName,
^~~~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
attributes: .concurrent))
~^~~~~~~~~~
[65/65] Compiling IQAPIClient IQAPIClient.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: note: coalesce using '??' to provide a default when the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( ) ?? <#default value#>
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:57: note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
( )!
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
^
coder: <#NSCoder#>
FoundationNetworking.HTTPURLResponse:3:21: note: 'init(coder:)' declared here
required public init?(coder aDecoder: NSCoder)
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
public init(baseURL: URL? = nil, identifier: String? = nil) {
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
public var baseURL: URL?
^~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
^~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
public var jsonDecoder: JSONDecoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
public var jsonEncoder: JSONEncoder = {
^~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable
public var baseURL: URL?
^
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
session = Session(rootQueue: DispatchQueue(label: rootQueueName),
^~~~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
serializationQueue: DispatchQueue(label: serializationQueueName,
^~~~~~~~~~~~~
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
attributes: .concurrent))
~^~~~~~~~~~
error: fatalError
BUILD FAILURE 5.10 linux