Build Information
Failed to build AsyncMoya, reference main (d92027), with Swift 6.4 for Android on 23 Sep 2026 10:36:16 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Roy-wonji/AsyncMoya.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/Roy-wonji/AsyncMoya
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at d92027d 🪛[chore]: 이름 변경
Cloned https://github.com/Roy-wonji/AsyncMoya.git
Revision (git rev-parse @):
d92027d1258a8020ce57d73a7644c7dbf32f093e
SUCCESS checkout https://github.com/Roy-wonji/AsyncMoya.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/Roy-wonji/AsyncMoya.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886770-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:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/Roy-wonji/LogMacro.git
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2345] Fetching swift-docc-plugin
[25/3107] Fetching swift-docc-plugin, logmacro
[117/28422] Fetching swift-docc-plugin, logmacro, moya
Fetched https://github.com/Roy-wonji/LogMacro.git (1.28s)
Fetched https://github.com/apple/swift-docc-plugin.git (1.28s)
Fetched https://github.com/Moya/Moya.git (1.30s)
Computing version for https://github.com/apple/swift-docc-plugin.git
Computed https://github.com/apple/swift-docc-plugin.git at 1.4.4 (2.37s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
Computing version for https://github.com/Roy-wonji/LogMacro.git
Computed https://github.com/Roy-wonji/LogMacro.git at 1.1.1 (0.75s)
Fetching https://github.com/apple/swift-syntax.git
[1/80014] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (3.02s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 15.0.3 (3.25s)
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/54537] Fetching rxswift
[2/107037] Fetching rxswift, reactiveswift
[20823/139931] Fetching rxswift, reactiveswift, alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.27s)
[63953/107037] Fetching rxswift, reactiveswift
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git (3.51s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.55s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.77s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.30s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (0.19s)
Computing version for https://github.com/ReactiveX/RxSwift.git
warning: 'rxswift': /Package@swift-5.9.swift:99:56: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
97 | let package = Package(
98 | name: "RxSwift",
99 | platforms: [.iOS(.v12), .macOS(.v10_13), .watchOS(.v4), .tvOS(.v12), .visionOS(.v1)],
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
100 | products: ([
101 | [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/ReactiveX/RxSwift.git at 6.10.2 (0.24s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.16s)
Creating working copy for https://github.com/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 15.0.3
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.4.4
Creating working copy for https://github.com/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 6.10.2
Creating working copy for https://github.com/Roy-wonji/LogMacro.git
Working copy of https://github.com/Roy-wonji/LogMacro.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 600.0.1
warning: 'rxswift': /host/spi-builder-workspace/.build/checkouts/RxSwift/Package@swift-5.9.swift:99:56: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
97 | let package = Package(
98 | name: "RxSwift",
99 | platforms: [.iOS(.v12), .macOS(.v10_13), .watchOS(.v4), .tvOS(.v12), .visionOS(.v1)],
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
100 | products: ([
101 | [
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Provisioning 8 / 35]
[Pre-planning 1 / 771]
[Planning deferred tasks]
[167 / 324] Alamofire
[188 / 342] RxSwift
[189 / 343] SwiftSyntax509
[193 / 344] SwiftSyntax
[195 / 345] SwiftSyntax600
[203 / 345] RxSwift
[204 / 345] RxSwift
[212 / 345] RxSwift-product
[216 / 345] Moya
[221 / 347] Moya
[223 / 365] Moya
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:10:19: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// The network returned response which can be fully customized.
[0;36m10 |[0;0m case response([4;39mHTTPURLResponse[0;0m, 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;36m11 |[0;0m
[0;36m12 |[0;0m /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
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/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m76 |[0;0m // swiftlint:disable cyclomatic_complexity
[0;36m77 |[0;0m /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
[0;36m78 |[0;0m func urlRequest() throws -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m79 |[0;0m guard let requestURL = Foundation.URL(string: url) else {
[0;36m80 |[0;0m throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: [1;31merror: [1;39mcannot find type 'ImageType' in scope[0;0m
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// An alias for the SDK's image type.
[0;36m10 |[0;0m public typealias Image = [4;39mImageType[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'ImageType' in scope[0;0m
[0;36m11 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m37 |[0;0m
[0;36m38 |[0;0m /// Retrieve an `NSURLRequest` representation.
[0;36m39 |[0;0m var request: [4;39mURLRequest[0;0m? { get }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m40 |[0;0m
[0;36m41 |[0;0m /// Additional headers appended to the request when added to the session.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: [1;31merror: [1;39m'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')[0;0m
[0;36m43 |[0;0m
[0;36m44 |[0;0m /// Authenticates the request with a username and password.
[0;36m45 |[0;0m func authenticate(username: String, password: String, persistence: [4;39mURLCredential[0;0m.Persistence) -> Self
[0;36m|[0;0m `- [1;31merror: [1;39m'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: [1;31merror: [1;39mtype 'Request' does not conform to protocol 'RequestType'[0;0m
[0;36m25 |[0;0m
[0;36m26 |[0;0m /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
[0;36m27 |[0;0m extension Request: RequestType {
[0;36m|[0;0m |- [1;31merror: [1;39mtype 'Request' does not conform to protocol 'RequestType'[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd stubs for conformance[0;0m
[0;36m28 |[0;0m public var sessionHeaders: [String: String] {
[0;36m29 |[0;0m delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:816:17: [1;39mnote: [1;39mcandidate has non-matching type '(URLCredential) -> Self'[0;0m
[0;36m814 |[0;0m /// - Returns: The instance.
[0;36m815 |[0;0m @discardableResult
[0;36m816 |[0;0m public func authenticate(with credential: URLCredential) -> Self {
[0;36m|[0;0m `- [1;39mnote: [1;39mcandidate has non-matching type '(URLCredential) -> Self'[0;0m
[0;36m817 |[0;0m self.credential = credential
[0;36m818 |[0;0m
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: [1;39mnote: [1;39mprotocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m /// Authenticates the request with an `NSURLCredential` instance.
[0;36m48 |[0;0m func authenticate(with credential: URLCredential) -> Self
[0;36m|[0;0m `- [1;39mnote: [1;39mprotocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')[0;0m
[0;36m49 |[0;0m
[0;36m50 |[0;0m /// cURL representation of the instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m56 |[0;0m
[0;36m57 |[0;0m /// Closure that decides if and what request should be performed.
[0;36m58 |[0;0m public typealias RequestResultClosure = (Result<[4;39mURLRequest[0;0m, MoyaError>) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m77 |[0;0m
[0;36m78 |[0;0m // swiftlint:disable:next function_parameter_count
[0;36m79 |[0;0m private func performRequest(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m80 |[0;0m switch stubBehavior {
[0;36m81 |[0;0m case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m105 |[0;0m
[0;36m106 |[0;0m /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
[0;36m107 |[0;0m final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: [4;39mURLRequest[0;0m) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m108 |[0;0m return {
[0;36m109 |[0;0m if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m144 |[0;0m
[0;36m145 |[0;0m /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
[0;36m146 |[0;0m final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m147 |[0;0m let alamoRequest = session.request(request)
[0;36m148 |[0;0m alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m144 |[0;0m
[0;36m145 |[0;0m /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
[0;36m146 |[0;0m final func notifyPluginsOfImpendingStub(for request: [4;39mURLRequest[0;0m, target: Target) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m147 |[0;0m let alamoRequest = session.request(request)
[0;36m148 |[0;0m alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m173 |[0;0m }
[0;36m174 |[0;0m
[0;36m175 |[0;0m func sendUploadMultipart(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m176 |[0;0m let formData = RequestMultipartFormData()
[0;36m177 |[0;0m formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m190 |[0;0m }
[0;36m191 |[0;0m
[0;36m192 |[0;0m func sendUploadFile(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m193 |[0;0m let interceptor = self.interceptor(target: target)
[0;36m194 |[0;0m let uploadRequest: UploadRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m204 |[0;0m }
[0;36m205 |[0;0m
[0;36m206 |[0;0m func sendDownloadRequest(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m207 |[0;0m let interceptor = self.interceptor(target: target)
[0;36m208 |[0;0m let downloadRequest: DownloadRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m218 |[0;0m }
[0;36m219 |[0;0m
[0;36m220 |[0;0m func sendRequest(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m221 |[0;0m let interceptor = self.interceptor(target: target)
[0;36m222 |[0;0m let initialRequest: DataRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:61:50: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m59 |[0;0m
[0;36m60 |[0;0m /// Closure that resolves an `Endpoint` into a `RequestResult`.
[0;36m61 |[0;0m public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m62 |[0;0m
[0;36m63 |[0;0m /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m9 |[0;0m public protocol PluginType {
[0;36m10 |[0;0m /// Called to modify a request before sending.
[0;36m11 |[0;0m func prepare(_ request: URLRequest, target: TargetType) -> [4;39mURLRequest[0;0m
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m9 |[0;0m public protocol PluginType {
[0;36m10 |[0;0m /// Called to modify a request before sending.
[0;36m11 |[0;0m func prepare(_ request: [4;39mURLRequest[0;0m, target: TargetType) -> URLRequest
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Called immediately before a request is sent over the network (or stubbed).
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:96:33: [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m94 |[0;0m /// Initializes a provider.
[0;36m95 |[0;0m public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
[0;36m96 |[0;0m requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
[0;36m|[0;0m `- [1;31merror: [1;39m'@escaping' only applies to function types[0;0m
[0;36m97 |[0;0m stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
[0;36m98 |[0;0m callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m131 |[0;0m /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
[0;36m132 |[0;0m @discardableResult
[0;36m133 |[0;0m open func stubRequest(_ target: Target, request: [4;39mURLRequest[0;0m, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m134 |[0;0m let callbackQueue = callbackQueue ?? self.callbackQueue
[0;36m135 |[0;0m let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m193 |[0;0m
[0;36m194 |[0;0m /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
[0;36m195 |[0;0m public func convertResponseToResult(_ response: HTTPURLResponse?, request: [4;39mURLRequest[0;0m?, data: Data?, error: Swift.Error?) ->
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m196 |[0;0m Result<Moya.Response, MoyaError> {
[0;36m197 |[0;0m switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m193 |[0;0m
[0;36m194 |[0;0m /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
[0;36m195 |[0;0m public func convertResponseToResult(_ response: [4;39mHTTPURLResponse[0;0m?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
[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;36m196 |[0;0m Result<Moya.Response, MoyaError> {
[0;36m197 |[0;0m switch (response, data, error) {
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/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m public extension PluginType {
[0;36m24 |[0;0m func prepare(_ request: URLRequest, target: TargetType) -> [4;39mURLRequest[0;0m { request }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m func willSend(_ request: RequestType, target: TargetType) { }
[0;36m26 |[0;0m func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m22 |[0;0m
[0;36m23 |[0;0m public extension PluginType {
[0;36m24 |[0;0m func prepare(_ request: [4;39mURLRequest[0;0m, target: TargetType) -> URLRequest { request }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m25 |[0;0m func willSend(_ request: RequestType, target: TargetType) { }
[0;36m26 |[0;0m func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m46 |[0;0m
[0;36m47 |[0;0m /// Authenticates the request with an `NSURLCredential` instance.
[0;36m48 |[0;0m func authenticate(with credential: [4;39mURLCredential[0;0m) -> Self
[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;36m49 |[0;0m
[0;36m50 |[0;0m /// cURL representation of the instance.
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/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m86 |[0;0m - returns: The modified `URLRequest`.
[0;36m87 |[0;0m */
[0;36m88 |[0;0m public func prepare(_ request: URLRequest, target: TargetType) -> [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m86 |[0;0m - returns: The modified `URLRequest`.
[0;36m87 |[0;0m */
[0;36m88 |[0;0m public func prepare(_ request: [4;39mURLRequest[0;0m, target: TargetType) -> URLRequest {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m89 |[0;0m
[0;36m90 |[0;0m guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m4 |[0;0m public final class CredentialsPlugin: PluginType {
[0;36m5 |[0;0m
[0;36m6 |[0;0m public typealias CredentialClosure = (TargetType) -> [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;36m7 |[0;0m let credentialsClosure: CredentialClosure
[0;36m8 |[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/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m struct RequestTypeWrapper: RequestType {
[0;36m5 |[0;0m
[0;36m6 |[0;0m var request: [4;39mURLRequest[0;0m? { _urlRequest }
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m var sessionHeaders: [String: String] { _request.sessionHeaders }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m private var _request: Request
[0;36m11 |[0;0m private var _urlRequest: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m private var _urlRequest: URLRequest?
[0;36m12 |[0;0m
[0;36m13 |[0;0m init(request: Request, urlRequest: [4;39mURLRequest[0;0m?) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m self._request = request
[0;36m15 |[0;0m self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: [1;31merror: [1;39m'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')[0;0m
[0;36m16 |[0;0m }
[0;36m17 |[0;0m
[0;36m18 |[0;0m func authenticate(username: String, password: String, persistence: [4;39mURLCredential[0;0m.Persistence) -> RequestTypeWrapper {
[0;36m|[0;0m `- [1;31merror: [1;39m'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')[0;0m
[0;36m19 |[0;0m let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
[0;36m20 |[0;0m return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: [1;31merror: [1;39m'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m21 |[0;0m }
[0;36m22 |[0;0m
[0;36m23 |[0;0m func authenticate(with credential: [4;39mURLCredential[0;0m) -> RequestTypeWrapper {
[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;36m24 |[0;0m let newRequest = _request.authenticate(with: credential)
[0;36m25 |[0;0m return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
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/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m11 |[0;0m
[0;36m12 |[0;0m /// The original URLRequest for the response.
[0;36m13 |[0;0m public let request: [4;39mURLRequest[0;0m?
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// The HTTPURLResponse object.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m14 |[0;0m
[0;36m15 |[0;0m /// The HTTPURLResponse object.
[0;36m16 |[0;0m public let response: [4;39mHTTPURLResponse[0;0m?
[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;36m17 |[0;0m
[0;36m18 |[0;0m public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
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/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m16 |[0;0m public let response: HTTPURLResponse?
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init(statusCode: Int, data: Data, request: [4;39mURLRequest[0;0m? = nil, response: HTTPURLResponse? = nil) {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m19 |[0;0m self.statusCode = statusCode
[0;36m20 |[0;0m self.data = data
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: [1;31merror: [1;39m'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.[0;0m
[0;36m16 |[0;0m public let response: HTTPURLResponse?
[0;36m17 |[0;0m
[0;36m18 |[0;0m public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: [4;39mHTTPURLResponse[0;0m? = nil) {
[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;36m19 |[0;0m self.statusCode = statusCode
[0;36m20 |[0;0m self.data = data
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/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m1 |[0;0m import Foundation
[0;36m2 |[0;0m
[0;36m3 |[0;0m internal extension [4;39mURLRequest[0;0m {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find type 'URLRequest' in scope[0;0m
[0;36m4 |[0;0m
[0;36m5 |[0;0m mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/AnyEncodable.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Atomic.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Cancellable.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaError.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Defaults.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MultiTarget.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MultipartFormData.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkActivityPlugin.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/NetworkLoggerPlugin.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/TargetType.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Task.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URL+Moya.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/ValidationType.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -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 -suppress-warnings -swift-version 5 -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 /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -Xcc -fno-omit-frame-pointer -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-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Moya -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Moya_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Modules/Moya.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Modules/Moya.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Moya-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Moya-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Moya-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-android-aarch64/Moya-t.build/Objects-normal/aarch64/Modules/Moya.swiftmodule
[224 / 365] SwiftSyntax
error: Build failed
BUILD FAILURE 6.4 android