The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsposeBarcodeCloud, reference v26.11.0 (1f9cd2), with Swift 6.4 for Wasm on 27 Nov 2026 18:31:23 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git
Reference: v26.11.0
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/aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift
 * tag               v26.11.0   -> FETCH_HEAD
HEAD is now at 1f9cd29 Release 26.11.0 (#17)
Cloned https://github.com/aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git
Revision (git rev-parse @):
1f9cd2978a67d01b07e7e17a1fec905f7877f2e4
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git at v26.11.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/aspose-barcode-cloud/Aspose.BarCode-Cloud-SDK-for-Swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344846-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:6e96de89237e7c0ea2deedfd5eb0c8fe8422d29c0e185f62352b98a0ea224104
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[22 / 33] AsposeBarcodeCloud
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:80:27: error: cannot find type 'DispatchQueue' in scope
 78 |         credential: URLCredential? = nil,
 79 |         requestBuilderFactory: RequestBuilderFactory = URLSessionRequestBuilderFactory(),
 80 |         apiResponseQueue: DispatchQueue = .main,
    |                           `- error: cannot find type 'DispatchQueue' in scope
 81 |         codableHelper: CodableHelper = CodableHelper(),
 82 |         successfulStatusCodeRange: Range<Int> = 200 ..< 300,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/AsposeBarcodeCloudConfiguration.swift:41:46: error: cannot find type 'URLRequest' in scope
39 |     }
40 |
41 |     public func makeTokenRequest() throws -> URLRequest {
   |                                              `- error: cannot find type 'URLRequest' in scope
42 |         guard let clientId, !clientId.isEmpty,
43 |               let clientSecret, !clientSecret.isEmpty
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:20:31: error: cannot find type 'DispatchQueue' in scope
 18 |         var credential: URLCredential?
 19 |         var requestBuilderFactory: RequestBuilderFactory
 20 |         var apiResponseQueue: DispatchQueue
    |                               `- error: cannot find type 'DispatchQueue' in scope
 21 |         var codableHelper: CodableHelper
 22 |         var successfulStatusCodeRange: Range<Int>
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:18:25: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |         var basePath: String
 17 |         var customHeaders: [String: String]
 18 |         var credential: URLCredential?
    |                         `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         var requestBuilderFactory: RequestBuilderFactory
 20 |         var apiResponseQueue: DispatchQueue
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:763:32: error: cannot find type 'URLRequest' in scope
761 |
762 |     /// Called before the request is sent. Allows modifying the URLRequest (e.g., adding authentication headers).
763 |     func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, Error>) -> Void)
    |                                `- error: cannot find type 'URLRequest' in scope
764 |
765 |     /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:763:158: error: cannot find type 'URLRequest' in scope
761 |
762 |     /// Called before the request is sent. Allows modifying the URLRequest (e.g., adding authentication headers).
763 |     func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, Error>) -> Void)
    |                                                                                                                                                              `- error: cannot find type 'URLRequest' in scope
764 |
765 |     /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:766:28: error: cannot find type 'URLRequest' in scope
764 |
765 |     /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
766 |     func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void)
    |                            `- error: cannot find type 'URLRequest' in scope
767 |
768 |     // MARK: - Lifecycle Hooks
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:772:38: error: cannot find type 'URLRequest' in scope
770 |     /// Called right before the request is sent, after all modifications from `intercept()` have been applied.
771 |     /// Useful for logging the final request that will be sent.
772 |     func willSendRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>)
    |                                      `- error: cannot find type 'URLRequest' in scope
773 |
774 |     /// Called when the raw response is received, before any processing or decoding.
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:776:41: error: cannot find type 'URLRequest' in scope
774 |     /// Called when the raw response is received, before any processing or decoding.
775 |     /// Useful for logging raw responses or performing custom validation.
776 |     func didReceiveResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error?)
    |                                         `- error: cannot find type 'URLRequest' in scope
777 |
778 |     /// Called after the request completes (either success or failure).
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:780:37: error: cannot find type 'URLRequest' in scope
778 |     /// Called after the request completes (either success or failure).
779 |     /// Useful for cleanup, analytics, or performance monitoring.
780 |     func didComplete<T>(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<T>, data: Data?, response: URLResponse?, result: Result<T, Error>)
    |                                     `- error: cannot find type 'URLRequest' in scope
781 | }
782 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:40:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 38 |     }
 39 |
 40 |     public var credential: URLCredential? {
    |                            `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 41 |         get { _state.value.credential }
 42 |         set { _state.withValue { $0.credential = newValue } }
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:50:34: error: cannot find type 'DispatchQueue' in scope
 48 |     }
 49 |
 50 |     public var apiResponseQueue: DispatchQueue {
    |                                  `- error: cannot find type 'DispatchQueue' in scope
 51 |         get { _state.value.apiResponseQueue }
 52 |         set { _state.withValue { $0.apiResponseQueue = newValue } }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:78:21: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 76 |         basePath: String = "https://api.aspose.cloud/v4.0",
 77 |         customHeaders: [String: String] = [:],
 78 |         credential: URLCredential? = nil,
    |                     `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 79 |         requestBuilderFactory: RequestBuilderFactory = URLSessionRequestBuilderFactory(),
 80 |         apiResponseQueue: DispatchQueue = .main,
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:115:32: error: cannot find type 'Progress' in scope
113 |         var credential: URLCredential?
114 |         var headers: [String: String]
115 |         var onProgressReady: ((Progress) -> Void)?
    |                                `- error: cannot find type 'Progress' in scope
116 |     }
117 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:113:25: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
111 |
112 |     private struct MutableState {
113 |         var credential: URLCredential?
    |                         `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
114 |         var headers: [String: String]
115 |         var onProgressReady: ((Progress) -> Void)?
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:122:28: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
120 |     // MARK: - Public mutable interface
121 |
122 |     public var credential: URLCredential? {
    |                            `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
123 |         get { _state.value.credential }
124 |         set { _state.withValue { $0.credential = newValue } }
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:133:35: error: cannot find type 'Progress' in scope
131 |
132 |     /// Optional block to obtain a reference to the request's progress instance when available.
133 |     public var onProgressReady: ((Progress) -> Void)? {
    |                                   `- error: cannot find type 'Progress' in scope
134 |         get { _state.value.onProgressReady }
135 |         set { _state.withValue { $0.onProgressReady = newValue } }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:32:21: error: cannot find type 'URLRequest' in scope
 30 |
 31 |     func intercept(
 32 |         urlRequest: URLRequest,
    |                     `- error: cannot find type 'URLRequest' in scope
 33 |         urlSession _: URLSessionProtocol,
 34 |         requestBuilder: RequestBuilder<some Any>,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:35:49: error: cannot find type 'URLRequest' in scope
 33 |         urlSession _: URLSessionProtocol,
 34 |         requestBuilder: RequestBuilder<some Any>,
 35 |         completion: @Sendable @escaping (Result<URLRequest, any Error>) -> Void
    |                                                 `- error: cannot find type 'URLRequest' in scope
 36 |     ) {
 37 |         let timeoutInterval = configuration.timeoutInterval
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:60:23: error: cannot find type 'URLRequest' in scope
 58 |
 59 |     func retry(
 60 |         urlRequest _: URLRequest,
    |                       `- error: cannot find type 'URLRequest' in scope
 61 |         urlSession _: URLSessionProtocol,
 62 |         requestBuilder _: RequestBuilder<some Any>,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:64:21: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 62 |         requestBuilder _: RequestBuilder<some Any>,
 63 |         data _: Data?,
 64 |         response _: URLResponse?,
    |                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 65 |         error _: any Error,
 66 |         completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONDataEncoding.swift:29:90: error: cannot find type 'URLRequest' in scope
27 |     ///
28 |     /// - returns: The encoded request.
29 |     public func encode(request: URLRequest, with parameters: [String: any Sendable]?) -> URLRequest {
   |                                                                                          `- error: cannot find type 'URLRequest' in scope
30 |         var urlRequest = request
31 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONDataEncoding.swift:29:33: error: cannot find type 'URLRequest' in scope
27 |     ///
28 |     /// - returns: The encoded request.
29 |     public func encode(request: URLRequest, with parameters: [String: any Sendable]?) -> URLRequest {
   |                                 `- error: cannot find type 'URLRequest' in scope
30 |         var urlRequest = request
31 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:73:28: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 71 |
 72 | public enum ErrorResponse: Error, Sendable {
 73 |     case error(Int, Data?, URLResponse?, Error)
    |                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 74 | }
 75 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:73:10: error: associated value 'error' of 'Sendable'-conforming enum 'ErrorResponse' contains non-Sendable type 'AnyObject'
 71 |
 72 | public enum ErrorResponse: Error, Sendable {
 73 |     case error(Int, Data?, URLResponse?, Error)
    |          `- error: associated value 'error' of 'Sendable'-conforming enum 'ErrorResponse' contains non-Sendable type 'AnyObject'
 74 | }
 75 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:105:27: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
103 |     }
104 |
105 |     public init(response: HTTPURLResponse, body: T, bodyData: Data?) {
    |                           `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
106 |         let rawHeader = response.allHeaderFields
107 |         var responseHeader = [String: String]()
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:22:19: error: cannot find type 'Progress' in scope
 20 |     var taskIdentifier: Int { get }
 21 |
 22 |     var progress: Progress { get }
    |                   `- error: cannot find type 'Progress' in scope
 23 |
 24 |     func cancel()
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:31:45: error: cannot find type 'URLRequest' in scope
 29 |     /// Task which performs the network fetch. Expected to be from URLSession.dataTask(with:completionHandler:) such that a network request
 30 |     /// is sent off when `.resume()` is called.
 31 |     func dataTaskFromProtocol(with request: URLRequest, completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void) -> URLSessionDataTaskProtocol
    |                                             `- error: cannot find type 'URLRequest' in scope
 32 | }
 33 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:31:104: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 29 |     /// Task which performs the network fetch. Expected to be from URLSession.dataTask(with:completionHandler:) such that a network request
 30 |     /// is sent off when `.resume()` is called.
 31 |     func dataTaskFromProtocol(with request: URLRequest, completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void) -> URLSessionDataTaskProtocol
    |                                                                                                        `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 32 | }
 33 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:34:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 32 | }
 33 |
 34 | extension URLSession: URLSessionProtocol {
    | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 35 |     /// Passthrough to URLSession.dataTask(with:completionHandler) since URLSessionDataTask conforms to URLSessionDataTaskProtocol and fetches the network data.
 36 |     public func dataTaskFromProtocol(with request: URLRequest, completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void) -> URLSessionDataTaskProtocol {
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:41:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 39 | }
 40 |
 41 | extension URLSessionDataTask: URLSessionDataTaskProtocol {}
    | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 42 |
 43 | public enum URLSessionRequestBuilderError: Error, CustomStringConvertible, Sendable {
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:89:28: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 87 |
 88 |     /// Store the URLSession to retain its reference
 89 |     let defaultURLSession: URLSession
    |                            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     /// Store current URLCredential for every URLSessionTask
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:92:55: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 90 |
 91 |     /// Store current URLCredential for every URLSessionTask
 92 |     let credentialStore = SynchronizedDictionary<Int, URLCredential>()
    |                                                       `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 93 | }
 94 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:123:154: error: cannot find type 'URLRequest' in scope
121 |      configuration (e.g. to override the cache policy).
122 |      */
123 |     open func createURLRequest(urlSession _: URLSessionProtocol, method: HTTPMethod, encoding: ParameterEncoding, headers _: [String: String]) throws -> URLRequest {
    |                                                                                                                                                          `- error: cannot find type 'URLRequest' in scope
124 |         guard let url = URL(string: URLString) else {
125 |             throw DownloadException.requestMissingURL
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:267:43: error: cannot find type 'URLRequest' in scope
265 |     }
266 |
267 |     private func retryRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, statusCode: Int, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                           `- error: cannot find type 'URLRequest' in scope
268 |         apiConfiguration.interceptor.retry(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, error: error) { retry in
269 |             switch retry {
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:267:127: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
265 |     }
266 |
267 |     private func retryRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, statusCode: Int, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                                                                                                               `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
268 |         apiConfiguration.interceptor.retry(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, error: error) { retry in
269 |             switch retry {
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:282:57: error: cannot find type 'URLRequest' in scope
280 |     }
281 |
282 |     fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error _: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                                         `- error: cannot find type 'URLRequest' in scope
283 |         switch T.self {
284 |         case is Void.Type:
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:282:128: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
280 |     }
281 |
282 |     fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error _: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                                                                                                                `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
283 |         switch T.self {
284 |         case is Void.Type:
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:345:46: error: cannot find type 'URLRequest' in scope
343 |     }
344 |
345 |     fileprivate func getURL(from urlRequest: URLRequest) throws -> URL {
    |                                              `- error: cannot find type 'URLRequest' in scope
346 |         guard let url = urlRequest.url else {
347 |             throw DownloadException.requestMissingURL
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:355:66: error: cannot find type 'URLRequest' in scope
353 |
354 | open class URLSessionDecodableRequestBuilder<T: Decodable & Sendable>: URLSessionRequestBuilder<T>, @unchecked Sendable {
355 |     override fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                                                  `- error: cannot find type 'URLRequest' in scope
356 |         switch T.self {
357 |         case is String.Type:
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:355:137: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
353 |
354 | open class URLSessionDecodableRequestBuilder<T: Decodable & Sendable>: URLSessionRequestBuilder<T>, @unchecked Sendable {
355 |     override fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
    |                                                                                                                                         `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
356 |         switch T.self {
357 |         case is String.Type:
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:439:48: error: cannot find type 'URLSessionTaskDelegate' in scope
437 | }
438 |
439 | private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
    |                                                `- error: cannot find type 'URLSessionTaskDelegate' in scope
440 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
441 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:167: error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
438 |
439 | private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
440 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                                                                                                       `- error: 'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')
441 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
442 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:32: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |
439 | private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
440 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
441 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
442 |
Foundation.URLSession:2:18: note: 'URLSession' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:50: error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |
439 | private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
440 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                  `- error: 'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
441 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
442 |
Foundation.URLSessionTask:2:18: note: 'URLSessionTask' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLSessionTask = AnyObject
  |                  `- note: 'URLSessionTask' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:88: error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
438 |
439 | private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
440 |     func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
    |                                                                                        `- error: 'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
441 |         var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
442 |
Foundation.URLAuthenticationChallenge:2:18: note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLAuthenticationChallenge = AnyObject
  |                  `- note: 'URLAuthenticationChallenge' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:472:90: error: cannot find type 'URLRequest' in scope
470 |
471 | public protocol ParameterEncoding {
472 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest
    |                                                                                          `- error: cannot find type 'URLRequest' in scope
473 | }
474 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:472:26: error: cannot find type 'URLRequest' in scope
470 |
471 | public protocol ParameterEncoding {
472 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest
    |                          `- error: cannot find type 'URLRequest' in scope
473 | }
474 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:476:90: error: cannot find type 'URLRequest' in scope
474 |
475 | private class URLEncoding: ParameterEncoding {
476 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                                                                                          `- error: cannot find type 'URLRequest' in scope
477 |         var urlRequest = request
478 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:476:26: error: cannot find type 'URLRequest' in scope
474 |
475 | private class URLEncoding: ParameterEncoding {
476 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                          `- error: cannot find type 'URLRequest' in scope
477 |         var urlRequest = request
478 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:501:90: error: cannot find type 'URLRequest' in scope
499 |     }
500 |
501 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                                                                                          `- error: cannot find type 'URLRequest' in scope
502 |         var urlRequest = request
503 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:501:26: error: cannot find type 'URLRequest' in scope
499 |     }
500 |
501 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                          `- error: cannot find type 'URLRequest' in scope
502 |         var urlRequest = request
503 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:576:125: error: cannot find type 'URLRequest' in scope
574 |     }
575 |
576 |     private func configureFileUploadRequest(urlRequest: URLRequest, boundary: String, name: String, fileURL: URL) throws -> URLRequest {
    |                                                                                                                             `- error: cannot find type 'URLRequest' in scope
577 |         var urlRequest = urlRequest
578 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:576:57: error: cannot find type 'URLRequest' in scope
574 |     }
575 |
576 |     private func configureFileUploadRequest(urlRequest: URLRequest, boundary: String, name: String, fileURL: URL) throws -> URLRequest {
    |                                                         `- error: cannot find type 'URLRequest' in scope
577 |         var urlRequest = urlRequest
578 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:610:116: error: cannot find type 'URLRequest' in scope
608 |     }
609 |
610 |     private func configureDataUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> URLRequest {
    |                                                                                                                    `- error: cannot find type 'URLRequest' in scope
611 |         var urlRequest = urlRequest
612 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:610:57: error: cannot find type 'URLRequest' in scope
608 |     }
609 |
610 |     private func configureDataUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> URLRequest {
    |                                                         `- error: cannot find type 'URLRequest' in scope
611 |         var urlRequest = urlRequest
612 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:637:118: error: cannot find type 'URLRequest' in scope
635 |     }
636 |
637 |     private func configureBinaryUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> URLRequest {
    |                                                                                                                      `- error: cannot find type 'URLRequest' in scope
638 |         var urlRequest = urlRequest
639 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:637:59: error: cannot find type 'URLRequest' in scope
635 |     }
636 |
637 |     private func configureBinaryUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> URLRequest {
    |                                                           `- error: cannot find type 'URLRequest' in scope
638 |         var urlRequest = urlRequest
639 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:680:90: error: cannot find type 'URLRequest' in scope
678 |
679 | private class FormURLEncoding: ParameterEncoding {
680 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                                                                                          `- error: cannot find type 'URLRequest' in scope
681 |         var urlRequest = request
682 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:680:26: error: cannot find type 'URLRequest' in scope
678 |
679 | private class FormURLEncoding: ParameterEncoding {
680 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                          `- error: cannot find type 'URLRequest' in scope
681 |         var urlRequest = request
682 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:710:90: error: cannot find type 'URLRequest' in scope
708 |
709 | private class OctetStreamEncoding: ParameterEncoding {
710 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                                                                                          `- error: cannot find type 'URLRequest' in scope
711 |         var urlRequest = request
712 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:710:26: error: cannot find type 'URLRequest' in scope
708 |
709 | private class OctetStreamEncoding: ParameterEncoding {
710 |     func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> URLRequest {
    |                          `- error: cannot find type 'URLRequest' in scope
711 |         var urlRequest = request
712 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:766:137: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
764 |
765 |     /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
766 |     func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void)
    |                                                                                                                                         `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
767 |
768 |     // MARK: - Lifecycle Hooks
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:776:150: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
774 |     /// Called when the raw response is received, before any processing or decoding.
775 |     /// Useful for logging raw responses or performing custom validation.
776 |     func didReceiveResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error?)
    |                                                                                                                                                      `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
777 |
778 |     /// Called after the request completes (either success or failure).
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:780:139: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
778 |     /// Called after the request completes (either success or failure).
779 |     /// Useful for cleanup, analytics, or performance monitoring.
780 |     func didComplete<T>(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<T>, data: Data?, response: URLResponse?, result: Result<T, Error>)
    |                                                                                                                                           `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
781 | }
782 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:786:40: error: cannot find type 'URLRequest' in scope
784 |
785 | public extension OpenAPIInterceptor {
786 |     func willSendRequest(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
    |                                        `- error: cannot find type 'URLRequest' in scope
787 |
788 |     func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:788:43: error: cannot find type 'URLRequest' in scope
786 |     func willSendRequest(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
787 |
788 |     func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
    |                                           `- error: cannot find type 'URLRequest' in scope
789 |
790 |     func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:788:160: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
786 |     func willSendRequest(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
787 |
788 |     func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
    |                                                                                                                                                                `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
789 |
790 |     func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:790:39: error: cannot find type 'URLRequest' in scope
788 |     func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
789 |
790 |     func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
    |                                       `- error: cannot find type 'URLRequest' in scope
791 | }
792 |
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:790:149: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
788 |     func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
789 |
790 |     func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
    |                                                                                                                                                     `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
791 | }
792 |
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:796:39: error: cannot find type 'URLRequest' in scope
794 |     public init() {}
795 |
796 |     public func intercept(urlRequest: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, any Error>) -> Void) {
    |                                       `- error: cannot find type 'URLRequest' in scope
797 |         completion(.success(urlRequest))
798 |     }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:796:169: error: cannot find type 'URLRequest' in scope
794 |     public init() {}
795 |
796 |     public func intercept(urlRequest: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, any Error>) -> Void) {
    |                                                                                                                                                                         `- error: cannot find type 'URLRequest' in scope
797 |         completion(.success(urlRequest))
798 |     }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:800:37: error: cannot find type 'URLRequest' in scope
798 |     }
799 |
800 |     public func retry(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) {
    |                                     `- error: cannot find type 'URLRequest' in scope
801 |         completion(.dontRetry)
802 |     }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:800:154: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
798 |     }
799 |
800 |     public func retry(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) {
    |                                                                                                                                                          `-[31 / 42] AsposeBarcodeCloud
 error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
801 |         completion(.dontRetry)
802 |     }
Foundation.URLResponse:2:18: note: 'URLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/APIs/GenerateAPI.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/APIs/RecognizeAPI.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/APIs/ScanAPI.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/AsposeBarcodeCloudClient.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/AsposeBarcodeCloudClientError.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/AsposeBarcodeCloudConfiguration.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIHelper.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/CodableHelper.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Extensions.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONDataEncoding.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONEncodingHelper.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONValue.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/OpenAPIMutex.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/OpenISO8601DateFormatter.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/SynchronizedDictionary.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Validation.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/ApiError.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/ApiErrorResponse.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BarcodeImageFormat.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BarcodeImageParams.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BarcodeResponse.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BarcodeResponseList.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BatchArchiveFormat.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BatchGenerateItem.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/BatchGenerateRequest.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/Code128EncodeMode.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/Code128Params.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/CodeLocation.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/DecodeBarcodeType.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/ECIEncodings.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/EncodeBarcodeType.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/EncodeData.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/EncodeDataType.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/GenerateParams.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/GraphicsUnit.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/MacroCharacter.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/MicroQRVersion.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/Pdf417EncodeMode.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/Pdf417ErrorLevel.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/Pdf417Params.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/QREncodeMode.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/QRErrorLevel.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/QRVersion.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/QrParams.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/RecognitionImageKind.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/RecognitionMode.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/RecognizeBase64Request.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/RectMicroQRVersion.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/RegionPoint.swift /host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Models/ScanBase64Request.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /usr/lib/swift/host/plugins/testing\#/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsposeBarcodeCloud -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/AsposeBarcodeCloud_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/Modules/AsposeBarcodeCloud.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/Modules/AsposeBarcodeCloud.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/AsposeBarcodeCloud-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/AsposeBarcodeCloud-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/AsposeBarcodeCloud-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/AsposeBarcodeCloud.build/Debug-webassembly-wasm32/AsposeBarcodeCloud-t.build/Objects-normal/wasm32/Modules/AsposeBarcodeCloud.swiftmodule
error: Build failed
BUILD FAILURE 6.4 wasm