The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MoyaAPIClient, reference 1.1.1 (49f00a), with Swift 6.4 for Linux on 19 Sep 2026 10:33:37 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/fummicc1/MoyaAPIClient.git
Reference: 1.1.1
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/fummicc1/MoyaAPIClient
 * tag               1.1.1      -> FETCH_HEAD
HEAD is now at 49f00a0 fix: APIClient
Cloned https://github.com/fummicc1/MoyaAPIClient.git
Revision (git rev-parse @):
49f00a0fcaa64bac86aa19e51c291da00430be5d
SUCCESS checkout https://github.com/fummicc1/MoyaAPIClient.git at 1.1.1
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fummicc1/MoyaAPIClient.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/Moya/Moya.git
[1/25315] Fetching moya
Fetched https://github.com/Moya/Moya.git (1.38s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 15.0.3 (2.45s)
Fetching https://github.com/ReactiveCocoa/ReactiveSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
Fetching https://github.com/ReactiveX/RxSwift.git
[1/52500] Fetching reactiveswift
[2626/107028] Fetching reactiveswift, rxswift
[63407/139922] Fetching reactiveswift, rxswift, alamofire
Fetched https://github.com/Alamofire/Alamofire.git (2.86s)
Fetched https://github.com/ReactiveCocoa/ReactiveSwift.git (3.10s)
Fetched https://github.com/ReactiveX/RxSwift.git (3.14s)
Computing version for https://github.com/ReactiveCocoa/ReactiveSwift.git
Computed https://github.com/ReactiveCocoa/ReactiveSwift.git at 6.7.0 (3.34s)
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.17s)
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/ReactiveCocoa/ReactiveSwift.git
Working copy of https://github.com/ReactiveCocoa/ReactiveSwift.git resolved at 6.7.0
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
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...
[Constructing description]
[Planning deferred tasks]
[45 / 68] Alamofire
[46 / 68] Alamofire
[58 / 78] Moya
error: SwiftCompile normal x86_64 /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift failed with a nonzero exit code. Command line:     cd /host
    builtin-SwiftPerFileCompile URLRequest+Encoding.swift
/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 {
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:5:97: error: cannot find type 'URLRequest' in scope
 3 | internal extension URLRequest {
 4 |
 5 |     mutating func encoded(encodable: Encodable, encoder: JSONEncoder = JSONEncoder()) throws -> URLRequest {
   |                                                                                                 `- error: cannot find type 'URLRequest' in scope
 6 |         do {
 7 |             let encodable = AnyEncodable(encodable)
/host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift:21:93: error: cannot find type 'URLRequest' in scope
19 |     }
20 |
21 |     func encoded(parameters: [String: Any], parameterEncoding: ParameterEncoding) throws -> URLRequest {
   |                                                                                             `- error: cannot find type 'URLRequest' in scope
22 |         do {
23 |             return try parameterEncoding.encode(self, with: parameters)
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 /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 -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URL+Moya.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/URLRequest+Encoding.swift -primary-file /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-16 -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/URL+Moya.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/URLRequest+Encoding.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/ValidationType.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/URL+Moya.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/URLRequest+Encoding.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/ValidationType.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux