The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IQAPIClient, reference master (44771a), with Swift 6.3 for macOS (SPM) on 21 Apr 2026 16:39:20 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hackiftekhar/IQAPIClient.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/hackiftekhar/IQAPIClient
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 44771a9 - Removed OSX
Cloned https://github.com/hackiftekhar/IQAPIClient.git
Revision (git rev-parse @):
44771a9a9e8798e39986e2921c1e46f1ddc5b0dc
SUCCESS checkout https://github.com/hackiftekhar/IQAPIClient.git at master
Fetching https://github.com/Alamofire/Alamofire.git
[1/31645] Fetching alamofire
Fetched https://github.com/Alamofire/Alamofire.git from cache (3.74s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (4.44s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.11.2
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "iqapiclient",
      "name": "IQAPIClient",
      "url": "https://github.com/hackiftekhar/IQAPIClient.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/IQAPIClient",
      "traits": [
        "default"
      ],
      "dependencies": [
        {
          "identity": "alamofire",
          "name": "Alamofire",
          "url": "https://github.com/Alamofire/Alamofire.git",
          "version": "5.11.2",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Alamofire",
          "traits": [
            "default"
          ],
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/hackiftekhar/IQAPIClient.git
[1/568] Fetching iqapiclient
Fetched https://github.com/hackiftekhar/IQAPIClient.git from cache (0.84s)
Fetching https://github.com/Alamofire/Alamofire.git from cache
Fetched https://github.com/Alamofire/Alamofire.git from cache (0.65s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.11.2 (0.74s)
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.11.2
Creating working copy for https://github.com/hackiftekhar/IQAPIClient.git
Working copy of https://github.com/hackiftekhar/IQAPIClient.git resolved at master (44771a9)
warning: '.resolve-product-dependencies': dependency 'iqapiclient' is not used by any target
Found 1 product dependencies
  - Alamofire
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/hackiftekhar/IQAPIClient.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/4] Copying PrivacyInfo.xcprivacy
[1/4] Write sources
[3/4] Write swift-version--6988338F2F200930.txt
[5/45] Emitting module Alamofire
[6/49] Compiling Alamofire OperationQueue+Alamofire.swift
[7/49] Compiling Alamofire Result+Alamofire.swift
[8/49] Compiling Alamofire StringEncoding+Alamofire.swift
[9/49] Compiling Alamofire URLRequest+Alamofire.swift
[10/49] Compiling Alamofire URLSessionConfiguration+Alamofire.swift
[11/49] Compiling Alamofire AlamofireExtended.swift
[12/49] Compiling Alamofire AuthenticationInterceptor.swift
[13/49] Compiling Alamofire CachedResponseHandler.swift
[14/49] Compiling Alamofire ServerTrustEvaluation.swift
[15/49] Compiling Alamofire URLEncodedFormEncoder.swift
[16/49] Compiling Alamofire Validation.swift
[17/49] Compiling Alamofire resource_bundle_accessor.swift
[18/49] Compiling Alamofire RequestCompression.swift
[19/49] Compiling Alamofire RequestInterceptor.swift
[20/49] Compiling Alamofire ResponseSerialization.swift
[21/49] Compiling Alamofire RetryPolicy.swift
[22/49] Compiling Alamofire Protected.swift
[23/49] Compiling Alamofire Request.swift
[24/49] Compiling Alamofire RequestTaskMap.swift
[25/49] Compiling Alamofire Response.swift
[26/49] Compiling Alamofire Session.swift
[27/49] Compiling Alamofire HTTPHeaders.swift
[28/49] Compiling Alamofire HTTPMethod.swift
[29/49] Compiling Alamofire Notifications.swift
[30/49] Compiling Alamofire ParameterEncoder.swift
[31/49] Compiling Alamofire ParameterEncoding.swift
[32/49] Compiling Alamofire Alamofire.swift
[33/49] Compiling Alamofire AFError.swift
[34/49] Compiling Alamofire DataRequest.swift
[35/49] Compiling Alamofire DataStreamRequest.swift
[36/49] Compiling Alamofire DownloadRequest.swift
[37/49] Compiling Alamofire SessionDelegate.swift
[38/49] Compiling Alamofire URLConvertible+URLRequestConvertible.swift
[39/49] Compiling Alamofire UploadRequest.swift
[40/49] Compiling Alamofire WebSocketRequest.swift
[41/49] Compiling Alamofire DispatchQueue+Alamofire.swift
[42/49] Compiling Alamofire Combine.swift
[43/49] Compiling Alamofire Concurrency.swift
[44/49] Compiling Alamofire EventMonitor.swift
[45/49] Compiling Alamofire MultipartFormData.swift
[46/49] Compiling Alamofire MultipartUpload.swift
[47/49] Compiling Alamofire NetworkReachabilityManager.swift
[48/49] Compiling Alamofire OfflineRetrier.swift
[49/49] Compiling Alamofire RedirectHandler.swift
[50/64] Compiling IQAPIClient IQAPIClient+SendRequestURL.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
[51/65] Compiling IQAPIClient IQAPIClient+ConcurrencyEncodableSendRequest.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[52/65] Compiling IQAPIClient IQAPIClient+ConcurrencySendRequest.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
[53/65] Compiling IQAPIClient IQAPIClient+Debug.swift
/Users/admin/builder/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
/Users/admin/builder/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
[54/65] Compiling IQAPIClient IQAPIClient+Interceptor.swift
/Users/admin/builder/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
/Users/admin/builder/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
[55/65] Compiling IQAPIClient IQAPIClientConstants.swift
[56/65] Compiling IQAPIClient IQAPIClient+Internal.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:98:38: error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
 81 | }
 82 |
 83 | internal extension IQAPIClient {
    |          `- note: add '@available' attribute to enclosing extension
 84 |
 85 |     func _sendRequest<Success, Failure>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
 86 |                                         method: HTTPMethod,
 87 |                                         parameters: Parameters?,
    :
 96 |
 97 |         let (request, requestNumber) = newRequest(url: url, method: method, parameters: parameters, encoding: encoding, headers: headers, options: options)
 98 |         let response = await request.serializingData().response
    |                                      |- error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 99 |
100 |         let result: IQAPIClient.Result<Success, Failure> = await handleResponse(response: response, parameters: parameters, options: options, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:123:38: error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
 81 | }
 82 |
 83 | internal extension IQAPIClient {
    |          `- note: add '@available' attribute to enclosing extension
 84 |
 85 |     func _sendRequest<Success, Failure>(url: URLConvertible,
    :
108 |     }
109 |
110 |     func _sendRequest<Success, Failure, Parameters>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
111 |                                                     method: HTTPMethod,
112 |                                                     parameters: Parameters?,
    :
121 |
122 |         let (request, requestNumber) = newRequest(url: url, method: method, parameters: parameters, encoder: encoder, headers: headers, options: options)
123 |         let response = await request.serializingData().response
    |                                      |- error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
124 |
125 |         let result: IQAPIClient.Result<Success, Failure> = await handleResponse(response: response, parameters: parameters, options: options, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:159:9: error: 'Task' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
138 |                     method: HTTPMethod,
139 |                     parameters: Parameters?,
    :
157 |
158 |         let requestNumber = RequestCounter.counter
159 |         Task.detached(priority: .utility) { [httpHeaders] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
160 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
161 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:159:14: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
138 |                     method: HTTPMethod,
139 |                     parameters: Parameters?,
    :
157 |
158 |         let requestNumber = RequestCounter.counter
159 |         Task.detached(priority: .utility) { [httpHeaders] in
    |              |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
160 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
161 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:209:9: error: 'Task' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    :
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
207 |
208 |         let requestNumber = RequestCounter.counter
209 |         Task.detached(priority: .utility) { [httpHeaders] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
210 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
211 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:209:14: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    :
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
207 |
208 |         let requestNumber = RequestCounter.counter
209 |         Task.detached(priority: .utility) { [httpHeaders] in
    |              |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
210 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
211 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/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 |             }
/Users/admin/builder/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):
/Users/admin/builder/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):
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:54: error: cannot find type 'URLRequest' 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 'URLRequest' in scope
 82 |
 83 |     /// --------------------------
/Users/admin/builder/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 |     /// --------------------------
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Users/admin/builder/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
[57/65] Compiling IQAPIClient IQAPIClient+SendRequest.swift
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:98:38: error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
 81 | }
 82 |
 83 | internal extension IQAPIClient {
    |          `- note: add '@available' attribute to enclosing extension
 84 |
 85 |     func _sendRequest<Success, Failure>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
 86 |                                         method: HTTPMethod,
 87 |                                         parameters: Parameters?,
    :
 96 |
 97 |         let (request, requestNumber) = newRequest(url: url, method: method, parameters: parameters, encoding: encoding, headers: headers, options: options)
 98 |         let response = await request.serializingData().response
    |                                      |- error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
 99 |
100 |         let result: IQAPIClient.Result<Success, Failure> = await handleResponse(response: response, parameters: parameters, options: options, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:123:38: error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
 81 | }
 82 |
 83 | internal extension IQAPIClient {
    |          `- note: add '@available' attribute to enclosing extension
 84 |
 85 |     func _sendRequest<Success, Failure>(url: URLConvertible,
    :
108 |     }
109 |
110 |     func _sendRequest<Success, Failure, Parameters>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
111 |                                                     method: HTTPMethod,
112 |                                                     parameters: Parameters?,
    :
121 |
122 |         let (request, requestNumber) = newRequest(url: url, method: method, parameters: parameters, encoder: encoder, headers: headers, options: options)
123 |         let response = await request.serializingData().response
    |                                      |- error: 'serializingData(automaticallyCancelling:dataPreprocessor:emptyResponseCodes:emptyRequestMethods:)' is only available in macOS 10.15 or newer
    |                                      `- note: add 'if #available' version check
124 |
125 |         let result: IQAPIClient.Result<Success, Failure> = await handleResponse(response: response, parameters: parameters, options: options, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:159:9: error: 'Task' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
138 |                     method: HTTPMethod,
139 |                     parameters: Parameters?,
    :
157 |
158 |         let requestNumber = RequestCounter.counter
159 |         Task.detached(priority: .utility) { [httpHeaders] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
160 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
161 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:159:14: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
138 |                     method: HTTPMethod,
139 |                     parameters: Parameters?,
    :
157 |
158 |         let requestNumber = RequestCounter.counter
159 |         Task.detached(priority: .utility) { [httpHeaders] in
    |              |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
160 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
161 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:209:9: error: 'Task' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    :
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
207 |
208 |         let requestNumber = RequestCounter.counter
209 |         Task.detached(priority: .utility) { [httpHeaders] in
    |         |- error: 'Task' is only available in macOS 10.15 or newer
    |         `- note: add 'if #available' version check
210 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
211 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient+Internal.swift:209:14: error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
133 | }
134 |
135 | private extension IQAPIClient {
    |         `- note: add '@available' attribute to enclosing extension
136 |
137 |     func newRequest(url: URLConvertible,
    :
185 |     }
186 |
187 |     func newRequest<Parameters: Encodable>(url: URLConvertible,
    |          `- note: add '@available' attribute to enclosing instance method
188 |                                            method: HTTPMethod,
189 |                                            parameters: Parameters?,
    :
207 |
208 |         let requestNumber = RequestCounter.counter
209 |         Task.detached(priority: .utility) { [httpHeaders] in
    |              |- error: 'detached(name:priority:operation:)' is only available in macOS 10.15 or newer
    |              `- note: add 'if #available' version check
210 |             await self.printRequestURL(url: url, method: method, headers: httpHeaders,
211 |                                        parameters: parameters, requestNumber: requestNumber)
/Users/admin/builder/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 |             }
/Users/admin/builder/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):
/Users/admin/builder/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):
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:54: error: cannot find type 'URLRequest' 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 'URLRequest' in scope
 82 |
 83 |     /// --------------------------
/Users/admin/builder/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 |     /// --------------------------
/Users/admin/builder/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 |             }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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:
/Users/admin/builder/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
[58/65] Compiling IQAPIClient IQAPIClient+EncodableSendRequest.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |         })
/Users/admin/builder/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 |         })
[59/65] Compiling IQAPIClient IQAPIClient+EncodableSendRequestURL.swift
/Users/admin/builder/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
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |         })
/Users/admin/builder/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 |         })
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/65] Compiling IQAPIClient Data+Extension.swift
[61/65] Compiling IQAPIClient Dictionary+Extension.swift
[62/65] Emitting module IQAPIClient
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 {
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:54: error: cannot find type 'URLRequest' 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 'URLRequest' in scope
 82 |
 83 |     /// --------------------------
/Users/admin/builder/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 |     /// --------------------------
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:130:23: error: cannot find 'JSONDecoder' in scope
128 |
129 |     public var jsonDecoder: JSONDecoder = {
130 |         let decoder = JSONDecoder()
    |                       `- error: cannot find 'JSONDecoder' in scope
131 |         decoder.dateDecodingStrategy = .secondsSince1970
132 |         decoder.dataDecodingStrategy = .deferredToData
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:140:23: error: cannot find 'JSONEncoder' in scope
138 |
139 |     public var jsonEncoder: JSONEncoder = {
140 |         let decoder = JSONEncoder()
    |                       `- error: cannot find 'JSONEncoder' in scope
141 |         decoder.dateEncodingStrategy = .secondsSince1970
142 |         decoder.dataEncodingStrategy = .deferredToData
/Users/admin/builder/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
[63/65] Compiling IQAPIClient File.swift
[64/65] Compiling IQAPIClient IQAPIClient.swift
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:81:54: error: cannot find type 'URLRequest' 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 'URLRequest' in scope
 82 |
 83 |     /// --------------------------
/Users/admin/builder/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 |     /// --------------------------
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:130:23: error: cannot find 'JSONDecoder' in scope
128 |
129 |     public var jsonDecoder: JSONDecoder = {
130 |         let decoder = JSONDecoder()
    |                       `- error: cannot find 'JSONDecoder' in scope
131 |         decoder.dateDecodingStrategy = .secondsSince1970
132 |         decoder.dataDecodingStrategy = .deferredToData
/Users/admin/builder/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
/Users/admin/builder/spi-builder-workspace/IQAPIClient/IQAPIClient.swift:140:23: error: cannot find 'JSONEncoder' in scope
138 |
139 |     public var jsonEncoder: JSONEncoder = {
140 |         let decoder = JSONEncoder()
    |                       `- error: cannot find 'JSONEncoder' in scope
141 |         decoder.dateEncodingStrategy = .secondsSince1970
142 |         decoder.dataEncodingStrategy = .deferredToData
/Users/admin/builder/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
/Users/admin/builder/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))
/Users/admin/builder/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 |     }
/Users/admin/builder/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 |
[65/65] Compiling IQAPIClient IQAPIDecoder.swift
/Users/admin/builder/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.3 macosSpm