The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncMoya, reference main (d92027), with Swift 6.4 for Linux on 23 Sep 2026 10:36:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886769-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 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:         linux
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-53886769-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:basic-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:c77fcce225e223ac0fafed844619173fc6de8d62dd560eeb28db3182af6a282b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:basic-6.4-latest
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/Roy-wonji/LogMacro.git
Fetching https://github.com/Moya/Moya.git
[1/762] Fetching logmacro
[238/26077] Fetching logmacro, moya
[2521/28422] Fetching logmacro, moya, swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git (0.60s)
[11142/26077] Fetching logmacro, moya
Fetched https://github.com/Roy-wonji/LogMacro.git (1.33s)
Fetched https://github.com/Moya/Moya.git (1.34s)
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.42s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3829] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.59s)
Computing version for https://github.com/Roy-wonji/LogMacro.git
Computed https://github.com/Roy-wonji/LogMacro.git at 1.1.1 (0.76s)
Fetching https://github.com/apple/swift-syntax.git
[1/80014] Fetching swift-syntax
Fetched https://github.com/apple/swift-syntax.git (2.94s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 15.0.3 (3.16s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/54537] Fetching rxswift
[2/107037] Fetching rxswift, reactiveswift
[14401/139931] Fetching rxswift, reactiveswift, alamofire
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git (3.16s)
Fetched https://github.com/Alamofire/Alamofire.git (3.19s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.21s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (3.44s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 600.0.1 (0.29s)
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.23s)
Computing version for https://github.com/Alamofire/Alamofire.git
Computed https://github.com/Alamofire/Alamofire.git at 5.12.2 (0.15s)
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
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
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/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/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
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
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]
[164 / 321] _SwiftSyntaxCShims
[185 / 339] Alamofire
[186 / 339] SwiftSyntax510
[188 / 340] SwiftSyntax600
[198 / 341] RxSwift
[199 / 342] SwiftSyntax509
[206 / 342] RxSwift
[210 / 342] RxSwift
[211 / 342] Alamofire-product
[212 / 342] Alamofire-product
[214 / 342] Moya
[219 / 344] RxSwift
[223 / 362] SwiftSyntax
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile Plugin.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile AccessTokenPlugin.swift
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/CredentialsPlugin.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile CredentialsPlugin.swift
/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/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/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
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /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 -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugin.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/Plugins/AccessTokenPlugin.swift -primary-file /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 -supplementary-output-file-map /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/supplementaryOutputs-21 -target x86_64-unknown-linux-gnu -disable-objc-interop -I /host/spi-builder-workspace/.build/out/Products/Debug-linux-x86_64 -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 /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 -enable-anonymous-context-mangled-names -file-compilation-dir /host -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-linux-x86_64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/DerivedSources-normal/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/DerivedSources/x86_64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/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-linux-x86_64/Moya-t.build/Objects-normal/x86_64/Moya_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/Plugin.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/AccessTokenPlugin.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/CredentialsPlugin.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/Plugin.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/AccessTokenPlugin.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/CredentialsPlugin.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux