Build Information
Failed to build AsposeBarcodeCloud, reference main (1f9cd2), with Swift 6.4 for Wasm on 27 Nov 2026 18:14:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344849-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>&1Build 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: main
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
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
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 main
========================================
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-54344849-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]
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
[31 / 42] AsposeBarcodeCloud
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:80:27: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m78 |[0;0m credential: URLCredential? = nil,
[0;36m79 |[0;0m requestBuilderFactory: RequestBuilderFactory = URLSessionRequestBuilderFactory(),
[0;36m80 |[0;0m apiResponseQueue: [4;39mDispatchQueue[0;0m = .main,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m81 |[0;0m codableHelper: CodableHelper = CodableHelper(),
[0;36m82 |[0;0m successfulStatusCodeRange: Range<Int> = 200 ..< 300,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/AsposeBarcodeCloudConfiguration.swift:41:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m public func makeTokenRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m42 |[0;0m guard let clientId, !clientId.isEmpty,
[0;36m43 |[0;0m let clientSecret, !clientSecret.isEmpty
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:20:31: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m18 |[0;0m var credential: URLCredential?
[0;36m19 |[0;0m var requestBuilderFactory: RequestBuilderFactory
[0;36m20 |[0;0m var apiResponseQueue: [4;39mDispatchQueue[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m21 |[0;0m var codableHelper: CodableHelper
[0;36m22 |[0;0m var successfulStatusCodeRange: Range<Int>
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:18:25: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m var basePath: String
[0;36m17 |[0;0m var customHeaders: [String: String]
[0;36m18 |[0;0m var credential: [4;39mURLCredential[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m19 |[0;0m var requestBuilderFactory: RequestBuilderFactory
[0;36m20 |[0;0m var apiResponseQueue: DispatchQueue
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:763:32: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m761 |[0;0m
[0;36m762 |[0;0m /// Called before the request is sent. Allows modifying the URLRequest (e.g., adding authentication headers).
[0;36m763 |[0;0m func intercept(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, Error>) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m764 |[0;0m
[0;36m765 |[0;0m /// 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: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m761 |[0;0m
[0;36m762 |[0;0m /// Called before the request is sent. Allows modifying the URLRequest (e.g., adding authentication headers).
[0;36m763 |[0;0m func intercept(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<[4;39mURLRequest[0;0m, Error>) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m764 |[0;0m
[0;36m765 |[0;0m /// 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: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m764 |[0;0m
[0;36m765 |[0;0m /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
[0;36m766 |[0;0m func retry(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m767 |[0;0m
[0;36m768 |[0;0m // MARK: - Lifecycle Hooks
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:772:38: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m770 |[0;0m /// Called right before the request is sent, after all modifications from `intercept()` have been applied.
[0;36m771 |[0;0m /// Useful for logging the final request that will be sent.
[0;36m772 |[0;0m func willSendRequest(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m773 |[0;0m
[0;36m774 |[0;0m /// Called when the raw response is received, before any processing or decoding.
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:776:41: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m774 |[0;0m /// Called when the raw response is received, before any processing or decoding.
[0;36m775 |[0;0m /// Useful for logging raw responses or performing custom validation.
[0;36m776 |[0;0m func didReceiveResponse(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: URLResponse?, error: Error?)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m777 |[0;0m
[0;36m778 |[0;0m /// Called after the request completes (either success or failure).
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:780:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m778 |[0;0m /// Called after the request completes (either success or failure).
[0;36m779 |[0;0m /// Useful for cleanup, analytics, or performance monitoring.
[0;36m780 |[0;0m func didComplete<T>(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<T>, data: Data?, response: URLResponse?, result: Result<T, Error>)
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m781 |[0;0m }
[0;36m782 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:40:28: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m38 |[0;0m }
[0;36m39 |[0;0m
[0;36m40 |[0;0m public var credential: [4;39mURLCredential[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m41 |[0;0m get { _state.value.credential }
[0;36m42 |[0;0m set { _state.withValue { $0.credential = newValue } }
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:50:34: [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m48 |[0;0m }
[0;36m49 |[0;0m
[0;36m50 |[0;0m public var apiResponseQueue: [4;39mDispatchQueue[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'DispatchQueue' in scope[0;0m
[0;36m51 |[0;0m get { _state.value.apiResponseQueue }
[0;36m52 |[0;0m set { _state.withValue { $0.apiResponseQueue = newValue } }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:78:21: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m76 |[0;0m basePath: String = "https://api.aspose.cloud/v4.0",
[0;36m77 |[0;0m customHeaders: [String: String] = [:],
[0;36m78 |[0;0m credential: [4;39mURLCredential[0;0m? = nil,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m79 |[0;0m requestBuilderFactory: RequestBuilderFactory = URLSessionRequestBuilderFactory(),
[0;36m80 |[0;0m apiResponseQueue: DispatchQueue = .main,
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:115:32: [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m113 |[0;0m var credential: URLCredential?
[0;36m114 |[0;0m var headers: [String: String]
[0;36m115 |[0;0m var onProgressReady: (([4;39mProgress[0;0m) -> Void)?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m116 |[0;0m }
[0;36m117 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:113:25: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m111 |[0;0m
[0;36m112 |[0;0m private struct MutableState {
[0;36m113 |[0;0m var credential: [4;39mURLCredential[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m114 |[0;0m var headers: [String: String]
[0;36m115 |[0;0m var onProgressReady: ((Progress) -> Void)?
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:122:28: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m120 |[0;0m // MARK: - Public mutable interface
[0;36m121 |[0;0m
[0;36m122 |[0;0m public var credential: [4;39mURLCredential[0;0m? {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m123 |[0;0m get { _state.value.credential }
[0;36m124 |[0;0m set { _state.withValue { $0.credential = newValue } }
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/APIs.swift:133:35: [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m131 |[0;0m
[0;36m132 |[0;0m /// Optional block to obtain a reference to the request's progress instance when available.
[0;36m133 |[0;0m public var onProgressReady: (([4;39mProgress[0;0m) -> Void)? {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m134 |[0;0m get { _state.value.onProgressReady }
[0;36m135 |[0;0m set { _state.withValue { $0.onProgressReady = newValue } }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:32:21: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m
[0;36m31 |[0;0m func intercept(
[0;36m32 |[0;0m urlRequest: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m33 |[0;0m urlSession _: URLSessionProtocol,
[0;36m34 |[0;0m requestBuilder: RequestBuilder<some Any>,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:35:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m33 |[0;0m urlSession _: URLSessionProtocol,
[0;36m34 |[0;0m requestBuilder: RequestBuilder<some Any>,
[0;36m35 |[0;0m completion: @Sendable @escaping (Result<[4;39mURLRequest[0;0m, any Error>) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m36 |[0;0m ) {
[0;36m37 |[0;0m let timeoutInterval = configuration.timeoutInterval
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:60:23: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m58 |[0;0m
[0;36m59 |[0;0m func retry(
[0;36m60 |[0;0m urlRequest _: [4;39mURLRequest[0;0m,
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m61 |[0;0m urlSession _: URLSessionProtocol,
[0;36m62 |[0;0m requestBuilder _: RequestBuilder<some Any>,
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/BarcodeAuthInterceptor.swift:64:21: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m62 |[0;0m requestBuilder _: RequestBuilder<some Any>,
[0;36m63 |[0;0m data _: Data?,
[0;36m64 |[0;0m response _: [4;39mURLResponse[0;0m?,
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m65 |[0;0m error _: any Error,
[0;36m66 |[0;0m completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONDataEncoding.swift:29:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// - returns: The encoded request.
[0;36m29 |[0;0m public func encode(request: URLRequest, with parameters: [String: any Sendable]?) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m var urlRequest = request
[0;36m31 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/JSONDataEncoding.swift:29:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m27 |[0;0m ///
[0;36m28 |[0;0m /// - returns: The encoded request.
[0;36m29 |[0;0m public func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m30 |[0;0m var urlRequest = request
[0;36m31 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:73:28: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m public enum ErrorResponse: Error, Sendable {
[0;36m73 |[0;0m case error(Int, Data?, [4;39mURLResponse[0;0m?, Error)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m74 |[0;0m }
[0;36m75 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:73:10: [1;31merror: [1;39massociated value 'error' of 'Sendable'-conforming enum 'ErrorResponse' contains non-Sendable type 'AnyObject'[0;0m
[0;36m71 |[0;0m
[0;36m72 |[0;0m public enum ErrorResponse: Error, Sendable {
[0;36m73 |[0;0m case error(Int, Data?, URLResponse?, Error)
[0;36m|[0;0m `- [1;31merror: [1;39massociated value 'error' of 'Sendable'-conforming enum 'ErrorResponse' contains non-Sendable type 'AnyObject'[0;0m
[0;36m74 |[0;0m }
[0;36m75 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/Models.swift:105:27: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m103 |[0;0m }
[0;36m104 |[0;0m
[0;36m105 |[0;0m public init(response: [4;39mHTTPURLResponse[0;0m, body: T, bodyData: Data?) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m106 |[0;0m let rawHeader = response.allHeaderFields
[0;36m107 |[0;0m var responseHeader = [String: String]()
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:22:19: [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m20 |[0;0m var taskIdentifier: Int { get }
[0;36m21 |[0;0m
[0;36m22 |[0;0m var progress: [4;39mProgress[0;0m { get }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'Progress' in scope[0;0m
[0;36m23 |[0;0m
[0;36m24 |[0;0m func cancel()
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:31:45: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m29 |[0;0m /// Task which performs the network fetch. Expected to be from URLSession.dataTask(with:completionHandler:) such that a network request
[0;36m30 |[0;0m /// is sent off when `.resume()` is called.
[0;36m31 |[0;0m func dataTaskFromProtocol(with request: [4;39mURLRequest[0;0m, completionHandler: @escaping @Sendable (Data?, URLResponse?, (any Error)?) -> Void) -> URLSessionDataTaskProtocol
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:31:104: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m29 |[0;0m /// Task which performs the network fetch. Expected to be from URLSession.dataTask(with:completionHandler:) such that a network request
[0;36m30 |[0;0m /// is sent off when `.resume()` is called.
[0;36m31 |[0;0m func dataTaskFromProtocol(with request: URLRequest, completionHandler: @escaping @Sendable (Data?, [4;39mURLResponse[0;0m?, (any Error)?) -> Void) -> URLSessionDataTaskProtocol
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:34:1: [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m32 |[0;0m }
[0;36m33 |[0;0m
[0;36m34 |[0;0m extension [4;39mURLSession[0;0m: URLSessionProtocol {
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSession' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m35 |[0;0m /// Passthrough to URLSession.dataTask(with:completionHandler) since URLSessionDataTask conforms to URLSessionDataTaskProtocol and fetches the network data.
[0;36m36 |[0;0m 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: [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m extension [4;39mURLSessionDataTask[0;0m: URLSessionDataTaskProtocol {}
[0;36m|[0;0m `- [1;31merror: [1;39mnon-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended[0;0m [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
[0;36m42 |[0;0m
[0;36m43 |[0;0m public enum URLSessionRequestBuilderError: Error, CustomStringConvertible, Sendable {
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:89:28: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m87 |[0;0m
[0;36m88 |[0;0m /// Store the URLSession to retain its reference
[0;36m89 |[0;0m let defaultURLSession: [4;39mURLSession[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m90 |[0;0m
[0;36m91 |[0;0m /// Store current URLCredential for every URLSessionTask
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:92:55: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m90 |[0;0m
[0;36m91 |[0;0m /// Store current URLCredential for every URLSessionTask
[0;36m92 |[0;0m let credentialStore = SynchronizedDictionary<Int, [4;39mURLCredential[0;0m>()
[0;36m|[0;0m `- [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m93 |[0;0m }
[0;36m94 |[0;0m
Foundation.URLCredential:2:18: [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLCredential = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLCredential' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:123:154: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m121 |[0;0m configuration (e.g. to override the cache policy).
[0;36m122 |[0;0m */
[0;36m123 |[0;0m open func createURLRequest(urlSession _: URLSessionProtocol, method: HTTPMethod, encoding: ParameterEncoding, headers _: [String: String]) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m124 |[0;0m guard let url = URL(string: URLString) else {
[0;36m125 |[0;0m throw DownloadException.requestMissingURL
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:267:43: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m265 |[0;0m }
[0;36m266 |[0;0m
[0;36m267 |[0;0m private func retryRequest(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, statusCode: Int, data: Data?, response: URLResponse?, error: Error, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m268 |[0;0m apiConfiguration.interceptor.retry(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, error: error) { retry in
[0;36m269 |[0;0m switch retry {
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:267:127: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m265 |[0;0m }
[0;36m266 |[0;0m
[0;36m267 |[0;0m private func retryRequest(urlRequest: URLRequest, urlSession: URLSessionProtocol, statusCode: Int, data: Data?, response: [4;39mURLResponse[0;0m?, error: Error, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m268 |[0;0m apiConfiguration.interceptor.retry(urlRequest: urlRequest, urlSession: urlSession, requestBuilder: self, data: data, response: response, error: error) { retry in
[0;36m269 |[0;0m switch retry {
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:282:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m280 |[0;0m }
[0;36m281 |[0;0m
[0;36m282 |[0;0m fileprivate func processRequestResponse(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error _: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m283 |[0;0m switch T.self {
[0;36m284 |[0;0m case is Void.Type:
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:282:128: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m280 |[0;0m }
[0;36m281 |[0;0m
[0;36m282 |[0;0m fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: [4;39mHTTPURLResponse[0;0m, error _: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m283 |[0;0m switch T.self {
[0;36m284 |[0;0m case is Void.Type:
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:345:46: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m343 |[0;0m }
[0;36m344 |[0;0m
[0;36m345 |[0;0m fileprivate func getURL(from urlRequest: [4;39mURLRequest[0;0m) throws -> URL {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m346 |[0;0m guard let url = urlRequest.url else {
[0;36m347 |[0;0m throw DownloadException.requestMissingURL
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:355:66: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m353 |[0;0m
[0;36m354 |[0;0m open class URLSessionDecodableRequestBuilder<T: Decodable & Sendable>: URLSessionRequestBuilder<T>, @unchecked Sendable {
[0;36m355 |[0;0m override fileprivate func processRequestResponse(urlRequest: [4;39mURLRequest[0;0m, urlSession: URLSessionProtocol, data: Data?, httpResponse: HTTPURLResponse, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m356 |[0;0m switch T.self {
[0;36m357 |[0;0m case is String.Type:
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:355:137: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m353 |[0;0m
[0;36m354 |[0;0m open class URLSessionDecodableRequestBuilder<T: Decodable & Sendable>: URLSessionRequestBuilder<T>, @unchecked Sendable {
[0;36m355 |[0;0m override fileprivate func processRequestResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, data: Data?, httpResponse: [4;39mHTTPURLResponse[0;0m, error: Error?, completion: @Sendable @escaping (_ result: Swift.Result<Response<T>, ErrorResponse>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m356 |[0;0m switch T.self {
[0;36m357 |[0;0m case is String.Type:
Foundation.HTTPURLResponse:2:18: [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias HTTPURLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'HTTPURLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:439:48: [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m437 |[0;0m }
[0;36m438 |[0;0m
[0;36m439 |[0;0m private final class SessionDelegate: NSObject, [4;39mURLSessionTaskDelegate[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLSessionTaskDelegate' in scope[0;0m
[0;36m440 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m441 |[0;0m var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:167: [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m438 |[0;0m
[0;36m439 |[0;0m private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
[0;36m440 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping ([4;39mURLSession[0;0m.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'AuthChallengeDisposition' is not a member type of type 'Foundation.URLSession' (aka 'AnyObject')[0;0m
[0;36m441 |[0;0m var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
[0;36m442 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:32: [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m438 |[0;0m
[0;36m439 |[0;0m private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
[0;36m440 |[0;0m func urlSession(_ session: [4;39mURLSession[0;0m, task: URLSessionTask, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m441 |[0;0m var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
[0;36m442 |[0;0m
Foundation.URLSession:2:18: [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSession = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSession' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:50: [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m438 |[0;0m
[0;36m439 |[0;0m private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
[0;36m440 |[0;0m func urlSession(_ session: URLSession, task: [4;39mURLSessionTask[0;0m, didReceive challenge: URLAuthenticationChallenge, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLSessionTask' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m441 |[0;0m var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
[0;36m442 |[0;0m
Foundation.URLSessionTask:2:18: [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLSessionTask = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLSessionTask' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:440:88: [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m438 |[0;0m
[0;36m439 |[0;0m private final class SessionDelegate: NSObject, URLSessionTaskDelegate {
[0;36m440 |[0;0m func urlSession(_ session: URLSession, task: URLSessionTask, didReceive challenge: [4;39mURLAuthenticationChallenge[0;0m, completionHandler: @Sendable @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLAuthenticationChallenge' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m441 |[0;0m var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
[0;36m442 |[0;0m
Foundation.URLAuthenticationChallenge:2:18: [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLAuthenticationChallenge = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLAuthenticationChallenge' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:472:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m470 |[0;0m
[0;36m471 |[0;0m public protocol ParameterEncoding {
[0;36m472 |[0;0m func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m473 |[0;0m }
[0;36m474 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:472:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m470 |[0;0m
[0;36m471 |[0;0m public protocol ParameterEncoding {
[0;36m472 |[0;0m func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) throws -> URLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m473 |[0;0m }
[0;36m474 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:476:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m474 |[0;0m
[0;36m475 |[0;0m private class URLEncoding: ParameterEncoding {
[0;36m476 |[0;0m func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m477 |[0;0m var urlRequest = request
[0;36m478 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:476:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m474 |[0;0m
[0;36m475 |[0;0m private class URLEncoding: ParameterEncoding {
[0;36m476 |[0;0m func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m477 |[0;0m var urlRequest = request
[0;36m478 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:501:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m499 |[0;0m }
[0;36m500 |[0;0m
[0;36m501 |[0;0m func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m502 |[0;0m var urlRequest = request
[0;36m503 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:501:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m499 |[0;0m }
[0;36m500 |[0;0m
[0;36m501 |[0;0m func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m502 |[0;0m var urlRequest = request
[0;36m503 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:576:125: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m574 |[0;0m }
[0;36m575 |[0;0m
[0;36m576 |[0;0m private func configureFileUploadRequest(urlRequest: URLRequest, boundary: String, name: String, fileURL: URL) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m577 |[0;0m var urlRequest = urlRequest
[0;36m578 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:576:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m574 |[0;0m }
[0;36m575 |[0;0m
[0;36m576 |[0;0m private func configureFileUploadRequest(urlRequest: [4;39mURLRequest[0;0m, boundary: String, name: String, fileURL: URL) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m577 |[0;0m var urlRequest = urlRequest
[0;36m578 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:610:116: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m608 |[0;0m }
[0;36m609 |[0;0m
[0;36m610 |[0;0m private func configureDataUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m611 |[0;0m var urlRequest = urlRequest
[0;36m612 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:610:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m608 |[0;0m }
[0;36m609 |[0;0m
[0;36m610 |[0;0m private func configureDataUploadRequest(urlRequest: [4;39mURLRequest[0;0m, boundary: String, name: String, data: Data) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m611 |[0;0m var urlRequest = urlRequest
[0;36m612 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:637:118: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m635 |[0;0m }
[0;36m636 |[0;0m
[0;36m637 |[0;0m private func configureBinaryUploadRequest(urlRequest: URLRequest, boundary: String, name: String, data: Data) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m638 |[0;0m var urlRequest = urlRequest
[0;36m639 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:637:59: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m635 |[0;0m }
[0;36m636 |[0;0m
[0;36m637 |[0;0m private func configureBinaryUploadRequest(urlRequest: [4;39mURLRequest[0;0m, boundary: String, name: String, data: Data) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m638 |[0;0m var urlRequest = urlRequest
[0;36m639 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:680:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m678 |[0;0m
[0;36m679 |[0;0m private class FormURLEncoding: ParameterEncoding {
[0;36m680 |[0;0m func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m681 |[0;0m var urlRequest = request
[0;36m682 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:680:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m678 |[0;0m
[0;36m679 |[0;0m private class FormURLEncoding: ParameterEncoding {
[0;36m680 |[0;0m func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m681 |[0;0m var urlRequest = request
[0;36m682 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:710:90: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m708 |[0;0m
[0;36m709 |[0;0m private class OctetStreamEncoding: ParameterEncoding {
[0;36m710 |[0;0m func encode(request: URLRequest, with parameters: [String: any Sendable]?) throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m711 |[0;0m var urlRequest = request
[0;36m712 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:710:26: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m708 |[0;0m
[0;36m709 |[0;0m private class OctetStreamEncoding: ParameterEncoding {
[0;36m710 |[0;0m func encode(request: [4;39mURLRequest[0;0m, with parameters: [String: any Sendable]?) throws -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m711 |[0;0m var urlRequest = request
[0;36m712 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:766:137: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m764 |[0;0m
[0;36m765 |[0;0m /// Called when a request fails. Allows the interceptor to decide whether to retry the request.
[0;36m766 |[0;0m func retry(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: [4;39mURLResponse[0;0m?, error: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m767 |[0;0m
[0;36m768 |[0;0m // MARK: - Lifecycle Hooks
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:776:150: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m774 |[0;0m /// Called when the raw response is received, before any processing or decoding.
[0;36m775 |[0;0m /// Useful for logging raw responses or performing custom validation.
[0;36m776 |[0;0m func didReceiveResponse(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<some Any>, data: Data?, response: [4;39mURLResponse[0;0m?, error: Error?)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m777 |[0;0m
[0;36m778 |[0;0m /// Called after the request completes (either success or failure).
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:780:139: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m778 |[0;0m /// Called after the request completes (either success or failure).
[0;36m779 |[0;0m /// Useful for cleanup, analytics, or performance monitoring.
[0;36m780 |[0;0m func didComplete<T>(urlRequest: URLRequest, urlSession: URLSessionProtocol, requestBuilder: RequestBuilder<T>, data: Data?, response: [4;39mURLResponse[0;0m?, result: Result<T, Error>)
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m781 |[0;0m }
[0;36m782 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:786:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m784 |[0;0m
[0;36m785 |[0;0m public extension OpenAPIInterceptor {
[0;36m786 |[0;0m func willSendRequest(urlRequest _: [4;39mURLRequest[0;0m, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m787 |[0;0m
[0;36m788 |[0;0m 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: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m786 |[0;0m func willSendRequest(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
[0;36m787 |[0;0m
[0;36m788 |[0;0m func didReceiveResponse(urlRequest _: [4;39mURLRequest[0;0m, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m789 |[0;0m
[0;36m790 |[0;0m 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: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m786 |[0;0m func willSendRequest(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>) {}
[0;36m787 |[0;0m
[0;36m788 |[0;0m func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: [4;39mURLResponse[0;0m?, error _: Error?) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m789 |[0;0m
[0;36m790 |[0;0m func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:790:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m788 |[0;0m func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
[0;36m789 |[0;0m
[0;36m790 |[0;0m func didComplete<T>(urlRequest _: [4;39mURLRequest[0;0m, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: URLResponse?, result _: Result<T, Error>) {}
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m791 |[0;0m }
[0;36m792 |[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:790:149: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m788 |[0;0m func didReceiveResponse(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error?) {}
[0;36m789 |[0;0m
[0;36m790 |[0;0m func didComplete<T>(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<T>, data _: Data?, response _: [4;39mURLResponse[0;0m?, result _: Result<T, Error>) {}
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m791 |[0;0m }
[0;36m792 |[0;0m
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:796:39: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m794 |[0;0m public init() {}
[0;36m795 |[0;0m
[0;36m796 |[0;0m public func intercept(urlRequest: [4;39mURLRequest[0;0m, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<URLRequest, any Error>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m797 |[0;0m completion(.success(urlRequest))
[0;36m798 |[0;0m }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:796:169: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m794 |[0;0m public init() {}
[0;36m795 |[0;0m
[0;36m796 |[0;0m public func intercept(urlRequest: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, completion: @Sendable @escaping (Result<[4;39mURLRequest[0;0m, any Error>) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m797 |[0;0m completion(.success(urlRequest))
[0;36m798 |[0;0m }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:800:37: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m798 |[0;0m }
[0;36m799 |[0;0m
[0;36m800 |[0;0m public func retry(urlRequest _: [4;39mURLRequest[0;0m, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: URLResponse?, error _: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m801 |[0;0m completion(.dontRetry)
[0;36m802 |[0;0m }
/host/spi-builder-workspace/Sources/AsposeBarcodeCloud/Infrastructure/URLSessionImplementations.swift:800:154: [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m798 |[0;0m }
[0;36m799 |[0;0m
[0;36m800 |[0;0m public func retry(urlRequest _: URLRequest, urlSession _: URLSessionProtocol, requestBuilder _: RequestBuilder<some Any>, data _: Data?, response _: [4;39mURLResponse[0;0m?, error _: Error, completion: @Sendable @escaping (OpenAPIInterceptorRetry) -> Void) {
[0;36m|[0;0m `- [1;31merror: [1;39m'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m801 |[0;0m completion(.dontRetry)
[0;36m802 |[0;0m }
Foundation.URLResponse:2:18: [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[0;36m1 |[0;0m @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
[0;36m2 |[0;0m public typealias URLResponse = AnyObject
[0;36m|[0;0m `- [1;39mnote: [1;39m'URLResponse' has been explicitly marked unavailable here[0;0m
[#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