The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build IQAPIClient, reference 4.0.2 (44771a), with Swift 6.1 for Linux on 28 Apr 2025 20:37:54 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hackiftekhar/IQAPIClient.git
Reference: 4.0.2
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
 * tag               4.0.2      -> FETCH_HEAD
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 4.0.2
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/hackiftekhar/IQAPIClient.git
https://github.com/hackiftekhar/IQAPIClient.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "alamofire",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/Alamofire/Alamofire.git"
    }
  ],
  "manifest_display_name" : "IQAPIClient",
  "name" : "IQAPIClient",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "IQAPIClient",
      "targets" : [
        "IQAPIClient"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IQAPIClient",
      "module_type" : "SwiftTarget",
      "name" : "IQAPIClient",
      "path" : "IQAPIClient",
      "product_dependencies" : [
        "Alamofire"
      ],
      "product_memberships" : [
        "IQAPIClient"
      ],
      "sources" : [
        "Extensions/Data+Extension.swift",
        "Extensions/Dictionary+Extension.swift",
        "Extensions/IQAPIClient+Debug.swift",
        "Extensions/IQAPIClient+Interceptor.swift",
        "IQAPIClient+ConcurrencyEncodableSendRequest.swift",
        "IQAPIClient+ConcurrencySendRequest.swift",
        "IQAPIClient+EncodableSendRequest.swift",
        "IQAPIClient+EncodableSendRequestURL.swift",
        "IQAPIClient+Internal.swift",
        "IQAPIClient+SendRequest.swift",
        "IQAPIClient+SendRequestURL.swift",
        "IQAPIClient.swift",
        "Other Classes/File.swift",
        "Other Classes/IQAPIClientConstants.swift",
        "Other Classes/IQAPIDecoder.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/Alamofire/Alamofire.git
[1/30137] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.10s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.10.2 (3.57s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.10.2
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 NetworkReachabilityManager.swift
[7/48] Compiling Alamofire RedirectHandler.swift
[8/48] Compiling Alamofire RequestCompression.swift
[9/48] Compiling Alamofire RequestInterceptor.swift
[10/48] Compiling Alamofire ResponseSerialization.swift
[11/48] Compiling Alamofire URLRequest+Alamofire.swift
[12/48] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[13/48] Compiling Alamofire AlamofireExtended.swift
[14/48] Compiling Alamofire AuthenticationInterceptor.swift
[15/48] Compiling Alamofire CachedResponseHandler.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 RequestTaskMap.swift
[28/48] Compiling Alamofire Response.swift
[29/48] Compiling Alamofire Session.swift
[30/48] Compiling Alamofire SessionDelegate.swift
[31/48] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[32/48] Compiling Alamofire UploadRequest.swift
[33/48] Compiling Alamofire Alamofire.swift
[34/48] Compiling Alamofire AFError.swift
[35/48] Compiling Alamofire DataRequest.swift
[36/48] Compiling Alamofire DataStreamRequest.swift
[37/48] Compiling Alamofire DownloadRequest.swift
[38/48] Compiling Alamofire HTTPHeaders.swift
[39/48] Compiling Alamofire WebSocketRequest.swift
[40/48] Compiling Alamofire DispatchQueue+Alamofire.swift
[41/48] Compiling Alamofire OperationQueue+Alamofire.swift
[42/48] Compiling Alamofire Result+Alamofire.swift
[43/48] Compiling Alamofire StringEncoding+Alamofire.swift
[44/48] Compiling Alamofire Combine.swift
[45/48] Compiling Alamofire Concurrency.swift
[46/48] Compiling Alamofire EventMonitor.swift
[47/48] Compiling Alamofire MultipartFormData.swift
[48/48] Compiling Alamofire MultipartUpload.swift
[50/64] Compiling IQAPIClient IQAPIClient+EncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
120 |                             headers: headers,
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
124 |         })
/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'
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
124 |         })
125 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
124 |         })
125 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
118 |         })
/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'
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
118 |         })
119 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
118 |         })
119 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[51/64] Compiling IQAPIClient IQAPIClient+EncodableSendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
120 |                             headers: headers,
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
124 |         })
/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'
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
124 |         })
125 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
124 |         })
125 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
118 |         })
/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'
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
118 |         })
119 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
118 |         })
119 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[52/65] Compiling IQAPIClient IQAPIClient+Debug.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
[53/65] Compiling IQAPIClient IQAPIClient+Interceptor.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/65] Compiling IQAPIClient Data+Extension.swift
[55/65] Compiling IQAPIClient Dictionary+Extension.swift
[56/65] Emitting module IQAPIClient
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:28:20: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     private struct RequestCounter {
 28 |         static var counter: Int = 0
    |                    |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'counter' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     }
 30 | }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
[57/65] Compiling IQAPIClient IQAPIDecoder.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
[58/65] Compiling IQAPIClient IQAPIClient+ConcurrencyEncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
85 |         case .failure(let response):
86 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
85 |         case .failure(let response):
86 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
86 |         case .failure(let response):
87 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
86 |         case .failure(let response):
87 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[59/65] Compiling IQAPIClient IQAPIClient+ConcurrencySendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
85 |         case .failure(let response):
86 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
85 |         case .failure(let response):
86 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
86 |         case .failure(let response):
87 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
86 |         case .failure(let response):
87 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[60/65] Compiling IQAPIClient IQAPIClient+SendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
/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'
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
119 |         })
120 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
119 |         })
120 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
 61 |         }
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
    |                                      `- error: cannot find 'DispatchQueue' in scope
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
    |                                               `- error: cannot find 'DispatchQueue' in scope
 65 |                                                             attributes: .concurrent))
 66 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
    |                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 66 |     }
 67 |
[61/65] Compiling IQAPIClient IQAPIClient.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
/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'
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
119 |         })
120 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
119 |         })
120 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
 61 |         }
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
    |                                      `- error: cannot find 'DispatchQueue' in scope
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
    |                                               `- error: cannot find 'DispatchQueue' in scope
 65 |                                                             attributes: .concurrent))
 66 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
    |                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 66 |     }
 67 |
[62/65] Compiling IQAPIClient IQAPIClient+Internal.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:28:20: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     private struct RequestCounter {
 28 |         static var counter: Int = 0
    |                    |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'counter' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     }
 30 | }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:233:31: warning: type 'Parameters' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |                     `- note: consider making generic parameter 'Parameters' conform to the 'Sendable' protocol
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
231 |             }
232 |
233 |             request = session.request(url, method: method, parameters: parameters, encoder: finalEncoder, headers: httpHeaders)
    |                               `- warning: type 'Parameters' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
234 |         }
235 |         return (request, requestNumber)
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
254 |         case .success:
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
257 |                 await Self.haptic.notificationOccurred(.success)
258 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
259 |         case .failure(let failure):
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
262 |                 await Self.haptic.notificationOccurred(.success)
263 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
268 |         case .error(let error):
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
271 |                 await Self.haptic.notificationOccurred(.error)
272 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                            `- error: type 'Self' has no member 'haptic'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                                                         `- error: cannot infer contextual base in reference to member 'error'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
336 |                 multipartFormData.append(data, withName: key, fileName: file.fileName, mimeType: file.mimeType)
337 |             }
338 |         case let data as Data:
    |                          `- error: cannot find type 'Data' in scope
339 |             multipartFormData.append(data, withName: key)
340 |         default:
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
[63/65] Compiling IQAPIClient IQAPIClient+SendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:28:20: warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 26 |
 27 |     private struct RequestCounter {
 28 |         static var counter: Int = 0
    |                    |- warning: static property 'counter' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'counter' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: add '@MainActor' to make static property 'counter' part of global actor 'MainActor'
    |                    `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 29 |     }
 30 | }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:233:31: warning: type 'Parameters' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |                     `- note: consider making generic parameter 'Parameters' conform to the 'Sendable' protocol
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
231 |             }
232 |
233 |             request = session.request(url, method: method, parameters: parameters, encoder: finalEncoder, headers: httpHeaders)
    |                               `- warning: type 'Parameters' does not conform to the 'Sendable' protocol; this is an error in the Swift 6 language mode
234 |         }
235 |         return (request, requestNumber)
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
254 |         case .success:
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
257 |                 await Self.haptic.notificationOccurred(.success)
258 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
259 |         case .failure(let failure):
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
262 |                 await Self.haptic.notificationOccurred(.success)
263 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
268 |         case .error(let error):
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
271 |                 await Self.haptic.notificationOccurred(.error)
272 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                            `- error: type 'Self' has no member 'haptic'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                                                         `- error: cannot infer contextual base in reference to member 'error'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
336 |                 multipartFormData.append(data, withName: key, fileName: file.fileName, mimeType: file.mimeType)
337 |             }
338 |         case let data as Data:
    |                          `- error: cannot find type 'Data' in scope
339 |             multipartFormData.append(data, withName: key)
340 |         default:
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
[64/65] Compiling IQAPIClient File.swift
[65/65] Compiling IQAPIClient IQAPIClientConstants.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling Alamofire WebSocketRequest.swift
[3/40] Compiling Alamofire DispatchQueue+Alamofire.swift
[4/40] Compiling Alamofire OperationQueue+Alamofire.swift
[5/40] Compiling Alamofire Result+Alamofire.swift
[6/40] Compiling Alamofire StringEncoding+Alamofire.swift
[7/45] Compiling Alamofire NetworkReachabilityManager.swift
[8/45] Compiling Alamofire RedirectHandler.swift
[9/45] Compiling Alamofire RequestCompression.swift
[10/45] Compiling Alamofire RequestInterceptor.swift
[11/45] Compiling Alamofire ResponseSerialization.swift
[12/45] Emitting module Alamofire
[13/45] Compiling Alamofire RequestTaskMap.swift
[14/45] Compiling Alamofire Response.swift
[15/45] Compiling Alamofire Session.swift
[16/45] Compiling Alamofire SessionDelegate.swift
[17/45] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[18/45] Compiling Alamofire UploadRequest.swift
[19/45] Compiling Alamofire URLRequest+Alamofire.swift
[20/45] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[21/45] Compiling Alamofire AlamofireExtended.swift
[22/45] Compiling Alamofire AuthenticationInterceptor.swift
[23/45] Compiling Alamofire CachedResponseHandler.swift
[24/45] Compiling Alamofire HTTPMethod.swift
[25/45] Compiling Alamofire Notifications.swift
[26/45] Compiling Alamofire ParameterEncoder.swift
[27/45] Compiling Alamofire ParameterEncoding.swift
[28/45] Compiling Alamofire Protected.swift
[29/45] Compiling Alamofire Request.swift
[30/45] Compiling Alamofire Combine.swift
[31/45] Compiling Alamofire Concurrency.swift
[32/45] Compiling Alamofire EventMonitor.swift
[33/45] Compiling Alamofire MultipartFormData.swift
[34/45] Compiling Alamofire MultipartUpload.swift
[35/45] Compiling Alamofire RetryPolicy.swift
[36/45] Compiling Alamofire ServerTrustEvaluation.swift
[37/45] Compiling Alamofire URLEncodedFormEncoder.swift
[38/45] Compiling Alamofire Validation.swift
[39/45] Compiling Alamofire resource_bundle_accessor.swift
[40/45] Compiling Alamofire Alamofire.swift
[41/45] Compiling Alamofire AFError.swift
[42/45] Compiling Alamofire DataRequest.swift
[43/45] Compiling Alamofire DataStreamRequest.swift
[44/45] Compiling Alamofire DownloadRequest.swift
[45/45] Compiling Alamofire HTTPHeaders.swift
[47/61] Compiling IQAPIClient IQAPIClient+Internal.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
254 |         case .success:
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
257 |                 await Self.haptic.notificationOccurred(.success)
258 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
259 |         case .failure(let failure):
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
262 |                 await Self.haptic.notificationOccurred(.success)
263 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
268 |         case .error(let error):
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
271 |                 await Self.haptic.notificationOccurred(.error)
272 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                            `- error: type 'Self' has no member 'haptic'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                                                         `- error: cannot infer contextual base in reference to member 'error'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
336 |                 multipartFormData.append(data, withName: key, fileName: file.fileName, mimeType: file.mimeType)
337 |             }
338 |         case let data as Data:
    |                          `- error: cannot find type 'Data' in scope
339 |             multipartFormData.append(data, withName: key)
340 |         default:
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
[48/61] Compiling IQAPIClient IQAPIClient+SendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:256:28: error: type 'Self' has no member 'haptic'
254 |         case .success:
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
257 |                 await Self.haptic.notificationOccurred(.success)
258 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:28: error: type 'Self' has no member 'haptic'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:257:57: error: cannot infer contextual base in reference to member 'success'
255 |             if options.contains(.successSound) {
256 |                 await Self.haptic.prepare()
257 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
258 |             }
259 |         case .failure(let failure):
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:261:28: error: type 'Self' has no member 'haptic'
259 |         case .failure(let failure):
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
262 |                 await Self.haptic.notificationOccurred(.success)
263 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:28: error: type 'Self' has no member 'haptic'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                            `- error: type 'Self' has no member 'haptic'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:262:57: error: cannot infer contextual base in reference to member 'success'
260 |             if options.contains(.failedSound) {
261 |                 await Self.haptic.prepare()
262 |                 await Self.haptic.notificationOccurred(.success)
    |                                                         `- error: cannot infer contextual base in reference to member 'success'
263 |             }
264 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:270:28: error: type 'Self' has no member 'haptic'
268 |         case .error(let error):
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
    |                            `- error: type 'Self' has no member 'haptic'
271 |                 await Self.haptic.notificationOccurred(.error)
272 |             }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:28: error: type 'Self' has no member 'haptic'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                            `- error: type 'Self' has no member 'haptic'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:271:57: error: cannot infer contextual base in reference to member 'error'
269 |             if options.contains(.failedSound) {
270 |                 await Self.haptic.prepare()
271 |                 await Self.haptic.notificationOccurred(.error)
    |                                                         `- error: cannot infer contextual base in reference to member 'error'
272 |             }
273 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:338:26: error: cannot find type 'Data' in scope
336 |                 multipartFormData.append(data, withName: key, fileName: file.fileName, mimeType: file.mimeType)
337 |             }
338 |         case let data as Data:
    |                          `- error: cannot find type 'Data' in scope
339 |             multipartFormData.append(data, withName: key)
340 |         default:
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
[49/62] Compiling IQAPIClient IQAPIClient+SendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
/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'
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
119 |         })
120 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
119 |         })
120 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
 61 |         }
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
    |                                      `- error: cannot find 'DispatchQueue' in scope
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
    |                                               `- error: cannot find 'DispatchQueue' in scope
 65 |                                                             attributes: .concurrent))
 66 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
    |                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 66 |     }
 67 |
[50/62] Compiling IQAPIClient IQAPIClient.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
/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'
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
119 |         })
120 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+SendRequestURL.swift:118:76: error: missing argument for parameter 'coder' in call
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |
118 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
119 |         })
120 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:63:38: error: cannot find 'DispatchQueue' in scope
 61 |         }
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
    |                                      `- error: cannot find 'DispatchQueue' in scope
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:64:47: error: cannot find 'DispatchQueue' in scope
 62 |
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
    |                                               `- error: cannot find 'DispatchQueue' in scope
 65 |                                                             attributes: .concurrent))
 66 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:65:74: error: cannot infer contextual base in reference to member 'concurrent'
 63 |         session = Session(rootQueue: DispatchQueue(label: rootQueueName),
 64 |                           serializationQueue: DispatchQueue(label: serializationQueueName,
 65 |                                                             attributes: .concurrent))
    |                                                                          `- error: cannot infer contextual base in reference to member 'concurrent'
 66 |     }
 67 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[51/62] Emitting module IQAPIClient
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:238:68: error: cannot find type 'Data' in scope
236 |     }
237 |
238 |     func handleResponse<Success, Failure>(response: AFDataResponse<Data>, parameters: Any?, options: Options,
    |                                                                    `- error: cannot find type 'Data' in scope
239 |                                           requestNumber: Int) async -> IQAPIClient.Result<Success, Failure>
240 |     where Success: Sendable, Failure: Sendable {
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:94: error: cannot find type 'Data' in scope
 79 |     /// A error handler block for all errors (It save a lot of code we write at every place to show error),
 80 |     /// now implement it and show error message from here, no need to write error alert code everywhere
 81 |     public var commonErrorHandlerBlock: ((_ request: URLRequest, _ parameters: Any?, _ data: Data?, _ error: Error) -> Void)?
    |                                                                                              `- error: cannot find type 'Data' in scope
 82 |
 83 |     /// --------------------------
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:129:29: error: cannot find type 'JSONDecoder' in scope
127 | #endif
128 |
129 |     public var jsonDecoder: JSONDecoder = {
    |                             `- error: cannot find type 'JSONDecoder' in scope
130 |         let decoder = JSONDecoder()
131 |         decoder.dateDecodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:16: warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                `- warning: stored property 'baseURL' of 'Sendable'-conforming class 'IQAPIClient' is mutable; this is an error in the Swift 6 language mode
 70 |
 71 |     /// Alamofire Setup
[52/62] Compiling IQAPIClient Data+Extension.swift
[53/62] Compiling IQAPIClient Dictionary+Extension.swift
[54/62] Compiling IQAPIClient IQAPIClient+ConcurrencyEncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
85 |         case .failure(let response):
86 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
85 |         case .failure(let response):
86 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
86 |         case .failure(let response):
87 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
86 |         case .failure(let response):
87 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[55/62] Compiling IQAPIClient IQAPIClient+ConcurrencySendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
85 |         case .failure(let response):
86 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencyEncodableSendRequest.swift:84:65: error: missing argument for parameter 'coder' in call
82 |         switch result.result {
83 |         case .success(let response):
84 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
85 |         case .failure(let response):
86 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:49: error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                 `- error: cannot convert value of type 'HTTPURLResponse?' to expected argument type 'HTTPURLResponse'
86 |         case .failure(let response):
87 |             throw response
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+ConcurrencySendRequest.swift:85:65: error: missing argument for parameter 'coder' in call
83 |         switch result.result {
84 |         case .success(let response):
85 |             return (result.response.response ?? HTTPURLResponse(), response)
   |                                                                 `- error: missing argument for parameter 'coder' in call
86 |         case .failure(let response):
87 |             throw response
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[56/62] Compiling IQAPIClient IQAPIClient+Debug.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
[57/62] Compiling IQAPIClient IQAPIClient+Interceptor.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:139:29: error: cannot find type 'JSONEncoder' in scope
137 |     }()
138 |
139 |     public var jsonEncoder: JSONEncoder = {
    |                             `- error: cannot find type 'JSONEncoder' in scope
140 |         let decoder = JSONEncoder()
141 |         decoder.dateEncodingStrategy = .secondsSince1970
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:118:56: error: cannot find type 'Data' in scope
116 |     //     completionHandler(.failure(error))
117 |
118 |     public var responseModifierBlock: ((AFDataResponse<Data>, Any) -> IQAPIClient.Result<Any, Any>)?
    |                                                        `- error: cannot find type 'Data' in scope
119 |
120 |     public var debuggingEnabled = false
[58/62] Compiling IQAPIClient IQAPIClient+EncodableSendRequest.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
120 |                             headers: headers,
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
124 |         })
/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'
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
124 |         })
125 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
124 |         })
125 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
118 |         })
/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'
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
118 |         })
119 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
118 |         })
119 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[59/62] Compiling IQAPIClient IQAPIClient+EncodableSendRequestURL.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:69:25: error: cannot find type 'URL' in scope
 67 |
 68 |     /// Base URL of the API
 69 |     public var baseURL: URL?
    |                         `- error: cannot find type 'URL' in scope
 70 |
 71 |     /// Alamofire Setup
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:42:146: error: cannot find type 'Data' in scope
 40 |                                                            headers: HTTPHeaders?,
 41 |                                                            options: Options,
 42 |                                                            completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                  `- error: cannot find type 'Data' in scope
 43 |     where Success: Sendable, Failure: Sendable {
 44 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:65:158: error: cannot find type 'Data' in scope
 63 |                                                                        headers: HTTPHeaders?,
 64 |                                                                        options: Options,
 65 |                                                                        completionHandler: @Sendable @escaping @MainActor (_ originalResponse: AFDataResponse<Data>, _ result: IQAPIClient.Result<Success, Failure>) -> Void) -> DataRequest
    |                                                                                                                                                              `- error: cannot find type 'Data' in scope
 66 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
 67 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:90:99: error: cannot find type 'Data' in scope
 88 |                                         encoding: ParameterEncoding?,
 89 |                                         headers: HTTPHeaders?,
 90 |                                         options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                   `- error: cannot find type 'Data' in scope
 91 |     where Success: Sendable, Failure: Sendable {
 92 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:115:111: error: cannot find type 'Data' in scope
113 |                                                     encoder: ParameterEncoder?,
114 |                                                     headers: HTTPHeaders?,
115 |                                                     options: Options) async throws -> (response: DataResponse<Data, AFError>, result: IQAPIClient.Result<Success, Failure>)
    |                                                                                                               `- error: cannot find type 'Data' in scope
116 |     where Success: Sendable, Failure: Sendable, Parameters: Encodable {
117 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:122:48: error: generic parameter 'Success' could not be inferred
120 |                             headers: headers,
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
124 |         })
/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'
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
124 |         })
125 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequest.swift:123:76: error: missing argument for parameter 'coder' in call
121 |                             options: options,
122 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
123 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
124 |         })
125 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:116:48: error: generic parameter 'Success' could not be inferred
114 |                             headers: headers,
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
    |                                                `- error: generic parameter 'Success' could not be inferred
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
118 |         })
/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'
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                         |- error: value of optional type 'HTTPURLResponse?' must be unwrapped to a value of type 'HTTPURLResponse'
    |                                                         |- note: coalesce using '??' to provide a default when the optional value contains 'nil'
    |                                                         `- note: force-unwrap using '!' to abort execution if the optional value contains 'nil'
118 |         })
119 |     }
/host/spi-builder-workspace/IQAPIClient/IQAPIClient+EncodableSendRequestURL.swift:117:76: error: missing argument for parameter 'coder' in call
115 |                             options: options,
116 |                             completionHandler: { (originalResponse: AFDataResponse, result: IQAPIClient.Result<Success, Failure>) in
117 |             completionHandler(originalResponse.response ?? HTTPURLResponse(), result)
    |                                                                            `- error: missing argument for parameter 'coder' in call
118 |         })
119 |     }
FoundationNetworking.HTTPURLResponse.init:2:17: note: 'init(coder:)' declared here
1 | class HTTPURLResponse {
2 | required public init?(coder aDecoder: NSCoder)}
  |                 `- note: 'init(coder:)' declared here
3 |
[60/62] Compiling IQAPIClient File.swift
[61/62] Compiling IQAPIClient IQAPIClientConstants.swift
[62/62] Compiling IQAPIClient IQAPIDecoder.swift
/host/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:53:26: error: cannot find type 'URL' in scope
 51 |     public static let `default` = IQAPIClient()
 52 |
 53 |     public init(baseURL: URL? = nil, identifier: String? = nil) {
    |                          `- error: cannot find type 'URL' in scope
 54 |         self.baseURL = baseURL
 55 |
BUILD FAILURE 6.1 linux