Build Information
Failed to build MoyaSugar, reference master (079f25), with Swift 6.4 for Linux on 16 Sep 2026 21:52:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344843-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/devxoul/MoyaSugar.git
Reference: master
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/devxoul/MoyaSugar
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 079f25a Bump version to 1.3.3
Cloned https://github.com/devxoul/MoyaSugar.git
Revision (git rev-parse @):
079f25af9798977885058895085051379755bc7c
SUCCESS checkout https://github.com/devxoul/MoyaSugar.git at master
========================================
Build
========================================
Selected platform: linux
Swift version: 6.4
Building package at path: $PWD
https://github.com/devxoul/MoyaSugar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344843-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/devxoul/Then.git
Fetching https://github.com/Moya/Moya.git
Fetching https://github.com/devxoul/Immutable.git
[1/160] Fetching immutable
Fetched https://github.com/devxoul/Immutable.git (0.44s)
[1/25315] Fetching moya
[2/26170] Fetching moya, then
Fetched https://github.com/devxoul/Then.git (0.51s)
[3038/25315] Fetching moya
Fetched https://github.com/Moya/Moya.git (1.30s)
Computing version for https://github.com/devxoul/Immutable.git
Computed https://github.com/devxoul/Immutable.git at 0.6.0 (1.49s)
Computing version for https://github.com/devxoul/Then.git
Computed https://github.com/devxoul/Then.git at 2.7.0 (0.18s)
Computing version for https://github.com/Moya/Moya.git
Computed https://github.com/Moya/Moya.git at 14.0.1 (0.19s)
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/shibapm/Rocket
Fetching https://github.com/ReactiveX/RxSwift.git
Fetching https://github.com/Alamofire/Alamofire.git
[1/14925] Fetching quick
[2/16311] Fetching quick, rocket
[11536/70839] Fetching quick, rocket, rxswift
[27218/90825] Fetching quick, rocket, rxswift, nimble
[47204/123719] Fetching quick, rocket, rxswift, nimble, alamofire
Fetching https://github.com/AliSoftware/OHHTTPStubs.git
Fetched https://github.com/Quick/Quick.git (2.46s)
Fetching https://github.com/Moya/ReactiveSwift.git
Fetched https://github.com/Quick/Nimble.git (2.47s)
Fetched https://github.com/Alamofire/Alamofire.git (2.49s)
[55603/55914] Fetching rocket, rxswift
[55915/101777] Fetching rocket, rxswift, reactiveswift
[55916/109677] Fetching rocket, rxswift, reactiveswift, ohhttpstubs
Fetched https://github.com/AliSoftware/OHHTTPStubs.git (0.63s)
Fetched https://github.com/shibapm/Rocket (3.10s)
[68287/100391] Fetching rxswift, reactiveswift
Fetched https://github.com/ReactiveX/RxSwift.git (3.16s)
[20639/45863] Fetching reactiveswift
Fetched https://github.com/Moya/ReactiveSwift.git (1.18s)
Computing version for https://github.com/Moya/ReactiveSwift.git
Computed https://github.com/Moya/ReactiveSwift.git at 6.1.0 (3.86s)
Computing version for https://github.com/AliSoftware/OHHTTPStubs.git
Computed https://github.com/AliSoftware/OHHTTPStubs.git at 9.1.0 (0.18s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 2.2.1 (0.19s)
Computing version for https://github.com/shibapm/Rocket
Computed https://github.com/shibapm/Rocket at 1.3.0 (0.18s)
Fetching https://github.com/jpsim/Yams
Fetching https://github.com/shibapm/PackageConfig.git
Fetching https://github.com/kareman/SwiftShell
[1/4891] Fetching swiftshell
[784/5471] Fetching swiftshell, packageconfig
Fetched https://github.com/shibapm/PackageConfig.git (0.48s)
[1468/4891] Fetching swiftshell
[2398/16752] Fetching swiftshell, yams
Fetched https://github.com/kareman/SwiftShell (0.54s)
[831/11861] Fetching yams
Fetching https://github.com/shibapm/Logger
Fetched https://github.com/jpsim/Yams (1.14s)
[1/116] Fetching logger
Fetched https://github.com/shibapm/Logger (0.82s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 5.1.1 (2.13s)
Computing version for https://github.com/shibapm/Logger
Computed https://github.com/shibapm/Logger at 0.2.3 (1.03s)
Computing version for https://github.com/ReactiveX/RxSwift.git
Computed https://github.com/ReactiveX/RxSwift.git at 5.1.3 (0.20s)
Computing version for https://github.com/shibapm/PackageConfig.git
Computed https://github.com/shibapm/PackageConfig.git at 1.1.3 (0.18s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 8.1.2 (0.18s)
Computing version for https://github.com/jpsim/Yams
Computed https://github.com/jpsim/Yams at 5.4.0 (0.18s)
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/Alamofire/Alamofire.git
Working copy of https://github.com/Alamofire/Alamofire.git resolved at 5.12.2
Creating working copy for https://github.com/AliSoftware/OHHTTPStubs.git
Working copy of https://github.com/AliSoftware/OHHTTPStubs.git resolved at 9.1.0
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 8.1.2
Creating working copy for https://github.com/Moya/Moya.git
Working copy of https://github.com/Moya/Moya.git resolved at 14.0.1
Creating working copy for https://github.com/ReactiveX/RxSwift.git
Working copy of https://github.com/ReactiveX/RxSwift.git resolved at 5.1.3
Creating working copy for https://github.com/jpsim/Yams
Working copy of https://github.com/jpsim/Yams resolved at 5.4.0
Creating working copy for https://github.com/devxoul/Then.git
Working copy of https://github.com/devxoul/Then.git resolved at 2.7.0
Creating working copy for https://github.com/shibapm/Logger
Working copy of https://github.com/shibapm/Logger resolved at 0.2.3
Creating working copy for https://github.com/shibapm/PackageConfig.git
Working copy of https://github.com/shibapm/PackageConfig.git resolved at 1.1.3
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 2.2.1
Creating working copy for https://github.com/Moya/ReactiveSwift.git
Working copy of https://github.com/Moya/ReactiveSwift.git resolved at 6.1.0
Creating working copy for https://github.com/shibapm/Rocket
Working copy of https://github.com/shibapm/Rocket resolved at 1.3.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 5.1.1
Creating working copy for https://github.com/devxoul/Immutable.git
Working copy of https://github.com/devxoul/Immutable.git resolved at 0.6.0
Building for debugging...
[Constructing description]
[Planning deferred tasks]
[46 / 68] Alamofire
[58 / 78] Alamofire
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
/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/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/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 { return 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 { return 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
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/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 -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MultiTarget.swift -primary-file /host/spi-builder-workspace/.build/checkouts/Moya/Sources/Moya/MultipartFormData.swift -primary-file /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 -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-12 -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/MultiTarget.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/MultipartFormData.o -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/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/MultiTarget.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/MultipartFormData.o -index-unit-output-path /Moya.build/Debug-linux-x86_64/Moya-t.build/Objects-normal/x86_64/Plugin.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 linux