The Swift Package Index logo.Swift Package Index

Build Information

Failed to build UCLKit, reference main (823da0), with Swift 6.4 for Android on 16 Sep 2026 08:07:53 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: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/tiferrei/UCLKit.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/tiferrei/UCLKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 823da01 Update LICENSE
Cloned https://github.com/tiferrei/UCLKit.git
Revision (git rev-parse @):
823da018a17d77852cf92841bef600bf7dc89657
SUCCESS checkout https://github.com/tiferrei/UCLKit.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/tiferrei/UCLKit.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: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/nerdishbynature/RequestKit.git
[1/1693] Fetching requestkit
Fetched https://github.com/nerdishbynature/RequestKit.git (0.46s)
Creating working copy for https://github.com/nerdishbynature/RequestKit.git
Working copy of https://github.com/nerdishbynature/RequestKit.git resolved at xcode-10.2 (eb41e20)
Building for debugging...
[Pre-planning 1 / 96]
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:33: error: cannot find type 'URLRequest' in scope
 2 |
 3 | public protocol RequestKitURLSession {
 4 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                 `- error: cannot find type 'URLRequest' in scope
 5 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 6 | }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:35: error: cannot find type 'URLRequest' in scope
 3 | public protocol RequestKitURLSession {
 4 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 5 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                   `- error: cannot find type 'URLRequest' in scope
 6 | }
 7 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:9:67: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
 7 |
 8 | public extension JSONPostRouter {
 9 |     func postJSON<T>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
   |                                                                   `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
10 |         guard let request = request() else {
11 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/JSONPostRouter.swift:54:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
52 |     }
53 |
54 |     func post<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder:JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
   |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
55 |         guard let request = request() else {
56 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:4:82: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 2 |
 3 | public protocol RequestKitURLSession {
 4 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
   |                                                                                  `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 5 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
 6 | }
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:5:110: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 3 | public protocol RequestKitURLSession {
 4 |     func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol
 5 |     func uploadTask(with request: URLRequest, fromData bodyData: Data?, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Void) -> URLSessionDataTaskProtocol
   |                                                                                                              `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
 6 | }
 7 |
Foundation.URLResponse:2:18: note: 'URLResponse' 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 URLResponse = AnyObject
  |                  `- note: 'URLResponse' has been explicitly marked unavailable here
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:12:1: error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
10 | }
11 |
12 | extension URLSessionDataTask: URLSessionDataTaskProtocol { }
   | `- error: non-nominal type 'URLSessionDataTask' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
13 |
14 | extension URLSession: RequestKitURLSession {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift:14:1: error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
12 | extension URLSessionDataTask: URLSessionDataTaskProtocol { }
13 |
14 | extension URLSession: RequestKitURLSession {
   | `- error: non-nominal type 'URLSession' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
15 |     public func dataTask(with request: URLRequest, completionHandler: @escaping (Data?, URLResponse?, Error?) -> Swift.Void) -> URLSessionDataTaskProtocol {
16 |         return (dataTask(with: request, completionHandler: completionHandler) as URLSessionDataTask)
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:62:80: error: cannot find type 'URLRequest' in scope
 60 |
 61 |     func urlQuery(_ parameters: [String: Any]) -> [URLQueryItem]?
 62 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest?
    |                                                                                `- error: cannot find type 'URLRequest' in scope
 63 |     func loadJSON<T: Codable>(_ session: RequestKitURLSession, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 64 |     func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:66:23: error: cannot find type 'URLRequest' in scope
 64 |     func load<T: Codable>(_ session: RequestKitURLSession, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 65 |     func load<T: Codable>(_ session: RequestKitURLSession, decoder: JSONDecoder, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol?
 66 |     func request() -> URLRequest?
    |                       `- error: cannot find type 'URLRequest' in scope
 67 | }
 68 |
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:70:23: error: cannot find type 'URLRequest' in scope
 68 |
 69 | public extension Router {
 70 |     func request() -> URLRequest? {
    |                       `- error: cannot find type 'URLRequest' in scope
 71 |         let url = URL(string: path, relativeTo: URL(string: configuration.apiEndpoint)!)
 72 |         var parameters = encoding == .json ? [:] : params
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:124:80: error: cannot find type 'URLRequest' in scope
122 |     }
123 |
124 |     func request(_ urlComponents: URLComponents, parameters: [String: Any]) -> URLRequest? {
    |                                                                                `- error: cannot find type 'URLRequest' in scope
125 |         var urlComponents = urlComponents
126 |         urlComponents.percentEncodedQuery = urlQuery(parameters)?.map({ [$0.name, $0.value ?? ""].joined(separator: "=") }).joined(separator: "&")
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:145:76: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
143 |
144 |     @available(*, deprecated, message: "Plase use `load` method instead")
145 |     func loadJSON<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
146 |         return load(session, expectedResultType: expectedResultType, completion: completion)
147 |     }
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:149:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
147 |     }
148 |
149 |     func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, dateDecodingStrategy: JSONDecoder.DateDecodingStrategy?, expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
150 |         let decoder = JSONDecoder()
151 |         if let dateDecodingStrategy = dateDecodingStrategy {
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:157:72: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
155 |     }
156 |
157 |     func load<T: Codable>(_ session: RequestKitURLSession = URLSession.shared, decoder: JSONDecoder = JSONDecoder(), expectedResultType: T.Type, completion: @escaping (_ json: T?, _ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                                        `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
158 |         guard let request = request() else {
159 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:192:60: error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
190 |     }
191 |
192 |     func load(_ session: RequestKitURLSession = URLSession.shared, completion: @escaping (_ error: Error?) -> Void) -> URLSessionDataTaskProtocol? {
    |                                                            `- error: type 'URLSession' (aka 'AnyObject') has no member 'shared'
193 |         guard let request = request() else {
194 |             return nil
/host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.swift:230:8: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
228 | }
229 |
230 | public extension HTTPURLResponse {
    |        `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
231 |     var wasSuccessful: Bool {
232 |         let successRange = 200..<300
[#NominalTypes]: <https://docs.swift.org/compiler/documentation/diagnostics/nominal-types>
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/RequestKit/Sources/RequestKit/JSONPostRouter.swift /host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/RequestKitSession.swift /host/spi-builder-workspace/.build/checkouts/RequestKit/Sources/RequestKit/Router.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 4.2 -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/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name RequestKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/RequestKit_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/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/Modules/RequestKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/Modules/RequestKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/RequestKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/RequestKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/RequestKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/RequestKit.build/Debug-android-aarch64/RequestKit-t.build/Objects-normal/aarch64/Modules/RequestKit.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android