The Swift Package Index logo.Swift Package Index

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>&1

Build 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: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
  8 |
  9 |     /// The network returned response which can be fully customized.
 10 |     case response(HTTPURLResponse, Data)
    |                   `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 11 |
 12 |     /// The network failed to send the request, or failed to retrieve a response (eg a timeout).
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Endpoint.swift:78:33: error: cannot find type 'URLRequest' in scope
 76 |     // swiftlint:disable cyclomatic_complexity
 77 |     /// Returns the `Endpoint` converted to a `URLRequest` if valid. Throws an error otherwise.
 78 |     func urlRequest() throws -> URLRequest {
    |                                 `- error: cannot find type 'URLRequest' in scope
 79 |         guard let requestURL = Foundation.URL(string: url) else {
 80 |             throw MoyaError.requestMapping(url)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Image.swift:10:26: error: cannot find type 'ImageType' in scope
 8 |
 9 | /// An alias for the SDK's image type.
10 | public typealias Image = ImageType
   |                          `- error: cannot find type 'ImageType' in scope
11 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:39:18: error: cannot find type 'URLRequest' in scope
37 |
38 |     /// Retrieve an `NSURLRequest` representation.
39 |     var request: URLRequest? { get }
   |                  `- error: cannot find type 'URLRequest' in scope
40 |
41 |     ///  Additional headers appended to the request when added to the session.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:45:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
43 |
44 |     /// Authenticates the request with a username and password.
45 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> Self
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Moya+Alamofire.swift:27:1: error: type 'Request' does not conform to protocol 'RequestType'
 25 |
 26 | /// Make the Alamofire Request type conform to our type, to prevent leaking Alamofire to plugins.
 27 | extension Request: RequestType {
    | |- error: type 'Request' does not conform to protocol 'RequestType'
    | `- note: add stubs for conformance
 28 |     public var sessionHeaders: [String: String] {
 29 |         delegate?.sessionConfiguration.httpAdditionalHeaders as? [String: String] ?? [:]
/host/spi-builder-workspace/.build/checkouts/Alamofire/Source/Core/Request.swift:816:17: note: candidate has non-matching type '(URLCredential) -> Self'
 814 |     /// - Returns:              The instance.
 815 |     @discardableResult
 816 |     public func authenticate(with credential: URLCredential) -> Self {
     |                 `- note: candidate has non-matching type '(URLCredential) -> Self'
 817 |         self.credential = credential
 818 |
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:10: note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |          `- note: protocol requires function 'authenticate(with:)' with type '(URLCredential) -> Self' (aka '(AnyObject) -> Self')
49 |
50 |     /// cURL representation of the instance.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:58:53: error: cannot find type 'URLRequest' in scope
 56 |
 57 |     /// Closure that decides if and what request should be performed.
 58 |     public typealias RequestResultClosure = (Result<URLRequest, MoyaError>) -> Void
    |                                                     `- error: cannot find type 'URLRequest' in scope
 59 |
 60 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:79:60: error: cannot find type 'URLRequest' in scope
 77 |
 78 |     // swiftlint:disable:next function_parameter_count
 79 |     private func performRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> Cancellable {
    |                                                            `- error: cannot find type 'URLRequest' in scope
 80 |         switch stubBehavior {
 81 |         case .never:
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:107:194: error: cannot find type 'URLRequest' in scope
105 |
106 |     /// Creates a function which, when called, executes the appropriate stubbing behavior for the given parameters.
107 |     final func createStubFunction(_ token: CancellableToken, forTarget target: Target, withCompletion completion: @escaping Moya.Completion, endpoint: Endpoint, plugins: [PluginType], request: URLRequest) -> (() -> Void) { // swiftlint:disable:this function_parameter_count
    |                                                                                                                                                                                                  `- error: cannot find type 'URLRequest' in scope
108 |         return {
109 |             if token.isCancelled {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:89: error: cannot find type 'URLRequest' in scope
144 |
145 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
146 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                                                         `- error: cannot find type 'URLRequest' in scope
147 |         let alamoRequest = session.request(request)
148 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:146:58: error: cannot find type 'URLRequest' in scope
144 |
145 |     /// Notify all plugins that a stub is about to be performed. You must call this if overriding `stubRequest`.
146 |     final func notifyPluginsOfImpendingStub(for request: URLRequest, target: Target) -> URLRequest {
    |                                                          `- error: cannot find type 'URLRequest' in scope
147 |         let alamoRequest = session.request(request)
148 |         alamoRequest.cancel()
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:175:57: error: cannot find type 'URLRequest' in scope
173 |     }
174 |
175 |     func sendUploadMultipart(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, multipartBody: [MultipartFormData], progress: Moya.ProgressBlock? = nil, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
176 |         let formData = RequestMultipartFormData()
177 |         formData.applyMoyaMultipartFormData(multipartBody)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:192:52: error: cannot find type 'URLRequest' in scope
190 |     }
191 |
192 |     func sendUploadFile(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, file: URL, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                    `- error: cannot find type 'URLRequest' in scope
193 |         let interceptor = self.interceptor(target: target)
194 |         let uploadRequest: UploadRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:206:57: error: cannot find type 'URLRequest' in scope
204 |     }
205 |
206 |     func sendDownloadRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, destination: @escaping DownloadDestination, progress: ProgressBlock? = nil, completion: @escaping Completion) -> CancellableToken {
    |                                                         `- error: cannot find type 'URLRequest' in scope
207 |         let interceptor = self.interceptor(target: target)
208 |         let downloadRequest: DownloadRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider+Internal.swift:220:49: error: cannot find type 'URLRequest' in scope
218 |     }
219 |
220 |     func sendRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, progress: Moya.ProgressBlock?, completion: @escaping Moya.Completion) -> CancellableToken {
    |                                                 `- error: cannot find type 'URLRequest' in scope
221 |         let interceptor = self.interceptor(target: target)
222 |         let initialRequest: DataRequest = session.requestQueue.sync {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:61:50: error: '@escaping' only applies to function types
 59 |
 60 |     /// Closure that resolves an `Endpoint` into a `RequestResult`.
 61 |     public typealias RequestClosure = (Endpoint, @escaping RequestResultClosure) -> Void
    |                                                  `- error: '@escaping' only applies to function types
 62 |
 63 |     /// Closure that decides if/how a request should be stubbed.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:11:64: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                                                                `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// 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: error: cannot find type 'URLRequest' in scope
 9 | public protocol PluginType {
10 |     /// Called to modify a request before sending.
11 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest
   |                             `- error: cannot find type 'URLRequest' in scope
12 |
13 |     /// 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: error: '@escaping' only applies to function types
 94 |     /// Initializes a provider.
 95 |     public init(endpointClosure: @escaping EndpointClosure = MoyaProvider.defaultEndpointMapping,
 96 |                 requestClosure: @escaping RequestClosure = MoyaProvider.defaultRequestMapping,
    |                                 `- error: '@escaping' only applies to function types
 97 |                 stubClosure: @escaping StubClosure = MoyaProvider.neverStub,
 98 |                 callbackQueue: DispatchQueue? = nil,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:133:54: error: cannot find type 'URLRequest' in scope
131 |     /// Note: this was previously in an extension, however it must be in the original class declaration to allow subclasses to override.
132 |     @discardableResult
133 |     open func stubRequest(_ target: Target, request: URLRequest, callbackQueue: DispatchQueue?, completion: @escaping Moya.Completion, endpoint: Endpoint, stubBehavior: Moya.StubBehavior) -> CancellableToken {
    |                                                      `- error: cannot find type 'URLRequest' in scope
134 |         let callbackQueue = callbackQueue ?? self.callbackQueue
135 |         let cancellableToken = CancellableToken { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:76: error: cannot find type 'URLRequest' in scope
193 |
194 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
195 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                                            `- error: cannot find type 'URLRequest' in scope
196 |     Result<Moya.Response, MoyaError> {
197 |         switch (response, data, error) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MoyaProvider.swift:195:49: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
193 |
194 | /// A public function responsible for converting the result of a `URLRequest` to a Result<Moya.Response, MoyaError>.
195 | public func convertResponseToResult(_ response: HTTPURLResponse?, request: URLRequest?, data: Data?, error: Swift.Error?) ->
    |                                                 `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
196 |     Result<Moya.Response, MoyaError> {
197 |         switch (response, data, error) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:64: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
   |                                                                `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:24:29: error: cannot find type 'URLRequest' in scope
22 |
23 | public extension PluginType {
24 |     func prepare(_ request: URLRequest, target: TargetType) -> URLRequest { request }
   |                             `- error: cannot find type 'URLRequest' in scope
25 |     func willSend(_ request: RequestType, target: TargetType) { }
26 |     func didReceive(_ result: Result<Moya.Response, MoyaError>, target: TargetType) { }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift:48:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
46 |
47 |     /// Authenticates the request with an `NSURLCredential` instance.
48 |     func authenticate(with credential: URLCredential) -> Self
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
49 |
50 |     /// cURL representation of the instance.
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:71: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                                                       `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift:88:36: error: cannot find type 'URLRequest' in scope
 86 |      - returns: The modified `URLRequest`.
 87 |      */
 88 |     public func prepare(_ request: URLRequest, target: TargetType) -> URLRequest {
    |                                    `- error: cannot find type 'URLRequest' in scope
 89 |
 90 |         guard let authorizable = target as? AccessTokenAuthorizable,
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift:6:58: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 4 | public final class CredentialsPlugin: PluginType {
 5 |
 6 |     public typealias CredentialClosure = (TargetType) -> URLCredential?
   |                                                          `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 7 |     let credentialsClosure: CredentialClosure
 8 |
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:6:18: error: cannot find type 'URLRequest' in scope
 4 | struct RequestTypeWrapper: RequestType {
 5 |
 6 |     var request: URLRequest? { _urlRequest }
   |                  `- error: cannot find type 'URLRequest' in scope
 7 |
 8 |     var sessionHeaders: [String: String] { _request.sessionHeaders }
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:11:30: error: cannot find type 'URLRequest' in scope
 9 |
10 |     private var _request: Request
11 |     private var _urlRequest: URLRequest?
   |                              `- error: cannot find type 'URLRequest' in scope
12 |
13 |     init(request: Request, urlRequest: URLRequest?) {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:13:40: error: cannot find type 'URLRequest' in scope
11 |     private var _urlRequest: URLRequest?
12 |
13 |     init(request: Request, urlRequest: URLRequest?) {
   |                                        `- error: cannot find type 'URLRequest' in scope
14 |         self._request = request
15 |         self._urlRequest = urlRequest
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:18:86: error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
16 |     }
17 |
18 |     func authenticate(username: String, password: String, persistence: URLCredential.Persistence) -> RequestTypeWrapper {
   |                                                                                      `- error: 'Persistence' is not a member type of type 'Foundation.URLCredential' (aka 'AnyObject')
19 |         let newRequest = _request.authenticate(username: username, password: password, persistence: persistence)
20 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/RequestTypeWrapper.swift:23:40: error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
21 |     }
22 |
23 |     func authenticate(with credential: URLCredential) -> RequestTypeWrapper {
   |                                        `- error: 'URLCredential' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
24 |         let newRequest = _request.authenticate(with: credential)
25 |         return RequestTypeWrapper(request: newRequest, urlRequest: _urlRequest)
Foundation.URLCredential:2:18: note: 'URLCredential' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias URLCredential = AnyObject
  |                  `- note: 'URLCredential' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:13:25: error: cannot find type 'URLRequest' in scope
 11 |
 12 |     /// The original URLRequest for the response.
 13 |     public let request: URLRequest?
    |                         `- error: cannot find type 'URLRequest' in scope
 14 |
 15 |     /// The HTTPURLResponse object.
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:16:26: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 14 |
 15 |     /// The HTTPURLResponse object.
 16 |     public let response: HTTPURLResponse?
    |                          `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:55: error: cannot find type 'URLRequest' in scope
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                       `- error: cannot find type 'URLRequest' in scope
 19 |         self.statusCode = statusCode
 20 |         self.data = data
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Response.swift:18:84: error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 16 |     public let response: HTTPURLResponse?
 17 |
 18 |     public init(statusCode: Int, data: Data, request: URLRequest? = nil, response: HTTPURLResponse? = nil) {
    |                                                                                    `- error: 'HTTPURLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 19 |         self.statusCode = statusCode
 20 |         self.data = data
Foundation.HTTPURLResponse:2:18: note: 'HTTPURLResponse' has been explicitly marked unavailable here
1 | @available(*, unavailable, message: "This type has moved to the FoundationNetworking module. Import that module to use it.")
2 | public typealias HTTPURLResponse = AnyObject
  |                  `- note: 'HTTPURLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:3:20: error: cannot find type 'URLRequest' in scope
 1 | import Foundation
 2 |
 3 | internal extension URLRequest {
   |                    `- error: cannot find type 'URLRequest' in scope
 4 |
 5 |     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