The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FalClient, reference 0.5.6 (a58ca8), with Swift 6.4 for Android on 20 Sep 2026 10:05:55 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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/fal-ai/fal-swift.git
Reference: 0.5.6
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/fal-ai/fal-swift
 * tag               0.5.6      -> FETCH_HEAD
HEAD is now at a58ca8a fix(queue): codable input request url (#17)
Cloned https://github.com/fal-ai/fal-swift.git
Revision (git rev-parse @):
a58ca8a926a56a69ba3c454583f626b3629a4223
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/fal-ai/fal-swift.git at 0.5.6
========================================
Build
========================================
Selected platform:         android
Swift version:             6.4
Building package at path:  $PWD
https://github.com/fal-ai/fal-swift.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344844-2":/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/nnabeyang/swift-msgpack.git
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/Quick/Quick.git
[1/855] Fetching swift-msgpack
[241/15780] Fetching swift-msgpack, quick
Fetched https://github.com/nnabeyang/swift-msgpack.git (0.54s)
[2090/14925] Fetching quick
[10150/34911] Fetching quick, nimble
Fetched https://github.com/Quick/Quick.git (0.93s)
[3398/19986] Fetching nimble
Fetched https://github.com/Quick/Nimble.git (1.57s)
Computing version for https://github.com/nnabeyang/swift-msgpack.git
Computed https://github.com/nnabeyang/swift-msgpack.git at 0.7.0 (1.80s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 7.6.2 (0.19s)
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-algorithms.git
[1/6145] Fetching swift-algorithms
[6146/25063] Fetching swift-algorithms, swift-argument-parser
Fetched https://github.com/apple/swift-algorithms.git (0.86s)
Fetched https://github.com/apple/swift-argument-parser.git (0.87s)
Computing version for https://github.com/apple/swift-algorithms.git
Computed https://github.com/apple/swift-algorithms.git at 1.2.1 (1.06s)
Fetching https://github.com/apple/swift-numerics.git
[1/6636] Fetching swift-numerics
Fetched https://github.com/apple/swift-numerics.git (0.57s)
Computing version for https://github.com/apple/swift-numerics.git
Computed https://github.com/apple/swift-numerics.git at 1.1.1 (0.81s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.26s)
Computing version for https://github.com/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 13.8.0 (0.24s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.47s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.68s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.37s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.57s)
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/apple/swift-numerics.git
Working copy of https://github.com/apple/swift-numerics.git resolved at 1.1.1
Creating working copy for https://github.com/apple/swift-algorithms.git
Working copy of https://github.com/apple/swift-algorithms.git resolved at 1.2.1
Creating working copy for https://github.com/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 7.6.2
Creating working copy for https://github.com/nnabeyang/swift-msgpack.git
Working copy of https://github.com/nnabeyang/swift-msgpack.git resolved at 0.7.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 13.8.0
Building for debugging...
[Pre-planning 1 / 96]
[31 / 46] SwiftMsgpack
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/Sources/FalClient/Client+Request.swift:3:1: error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 1 | import Foundation
 2 |
 3 | extension HTTPURLResponse {
   | `- error: non-nominal type 'HTTPURLResponse' (aka 'AnyObject') cannot be extended [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/nominal-types\NominalTypes]8;;\]
 4 |     /// Returns `true` if `statusCode` is in range 200...299.
 5 |     /// Otherwise `false`.
/host/spi-builder-workspace/Sources/FalClient/Client+Request.swift:60:44: error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
58 |     }
59 |
60 |     func checkResponseStatus(for response: URLResponse, withData data: Data) throws {
   |                                            `- error: 'URLResponse' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
61 |         guard response is HTTPURLResponse else {
62 |             throw FalError.invalidResultFormat
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/Sources/FalClient/Realtime.swift:44:27: error: cannot find type 'URLSessionWebSocketTask' in scope
 42 | }
 43 |
 44 | typealias SendFunction = (URLSessionWebSocketTask.Message) throws -> Void
    |                           `- error: cannot find type 'URLSessionWebSocketTask' in scope
 45 | typealias CloseFunction = () -> Void
 46 |
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:76:18: error: '@escaping' only applies to function types
 74 |     var closeReference: CloseFunction
 75 |
 76 |     init(_ send: @escaping SendFunction, _ close: @escaping CloseFunction) {
    |                  `- error: '@escaping' only applies to function types
 77 |         sendReference = send
 78 |         closeReference = close
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:150:30: error: cannot find type 'URLSessionWebSocketTask' in scope
148 | private let TokenExpirationInterval: DispatchTimeInterval = .minutes(1)
149 |
150 | typealias WebSocketMessage = URLSessionWebSocketTask.Message
    |                              `- error: cannot find type 'URLSessionWebSocketTask' in scope
151 |
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:152:38: error: cannot find type 'URLSessionWebSocketDelegate' in scope
150 | typealias WebSocketMessage = URLSessionWebSocketTask.Message
151 |
152 | class WebSocketConnection: NSObject, URLSessionWebSocketDelegate {
    |                                      `- error: cannot find type 'URLSessionWebSocketDelegate' in scope
153 |     let app: String
154 |     let client: Client
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:159:27: error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
157 |
158 |     private let queue = DispatchQueue(label: "ai.fal.WebSocketConnection.\(UUID().uuidString)")
159 |     private let session = URLSession(configuration: .default)
    |                           `- error: 'URLSession' (aka 'AnyObject') cannot be constructed because it has no accessible initializers
160 |     private var enqueuedMessage: WebSocketMessage? = nil
161 |     private var task: URLSessionWebSocketTask?
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:161:23: error: cannot find type 'URLSessionWebSocketTask' in scope
159 |     private let session = URLSession(configuration: .default)
160 |     private var enqueuedMessage: WebSocketMessage? = nil
161 |     private var task: URLSessionWebSocketTask?
    |                       `- error: cannot find type 'URLSessionWebSocketTask' in scope
162 |     private var token: String?
163 |
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:279:26: error: cannot find type 'URLSessionWebSocketTask' in scope
277 |     }
278 |
279 |     func send(_ message: URLSessionWebSocketTask.Message) throws {
    |                          `- error: cannot find type 'URLSessionWebSocketTask' in scope
280 |         if let task {
281 |             task.send(message) { [weak self] error in
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:303:26: error: cannot find type 'URLSessionWebSocketTask' in scope
301 |     func urlSession(
302 |         _: URLSession,
303 |         webSocketTask _: URLSessionWebSocketTask,
    |                          `- error: cannot find type 'URLSessionWebSocketTask' in scope
304 |         didOpenWithProtocol _: String?
305 |     ) {
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:302:12: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
300 |
301 |     func urlSession(
302 |         _: URLSession,
    |            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
303 |         webSocketTask _: URLSessionWebSocketTask,
304 |         didOpenWithProtocol _: String?
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:318:26: error: cannot find type 'URLSessionWebSocketTask' in scope
316 |     func urlSession(
317 |         _: URLSession,
318 |         webSocketTask _: URLSessionWebSocketTask,
    |                          `- error: cannot find type 'URLSessionWebSocketTask' in scope
319 |         didCloseWith code: URLSessionWebSocketTask.CloseCode,
320 |         reason _: Data?
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:319:28: error: cannot find type 'URLSessionWebSocketTask' in scope
317 |         _: URLSession,
318 |         webSocketTask _: URLSessionWebSocketTask,
319 |         didCloseWith code: URLSessionWebSocketTask.CloseCode,
    |                            `- error: cannot find type 'URLSessionWebSocketTask' in scope
320 |         reason _: Data?
321 |     ) {
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:317:12: error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
315 |
316 |     func urlSession(
317 |         _: URLSession,
    |            `- error: 'URLSession' is unavailable: This type has moved to the FoundationNetworking module. Import that module to use it.
318 |         webSocketTask _: URLSessionWebSocketTask,
319 |         didCloseWith code: URLSessionWebSocketTask.CloseCode,
Foundation.URLSession:2:18: note: 'URLSession' 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 URLSession = AnyObject
  |                  `- note: 'URLSession' has been explicitly marked unavailable here
/host/spi-builder-workspace/Sources/FalClient/Realtime.swift:423:64: error: '@escaping' only applies to function types
421 |         connectionKey: String = UUID().uuidString,
422 |         throttleInterval: DispatchTimeInterval = .milliseconds(128),
423 |         connectionFactory createRealtimeConnection: @escaping (@escaping SendFunction, @escaping CloseFunction) -> BaseRealtimeConnection<InputType>,
    |                                                                `- error: '@escaping' only applies to function types
424 |         onResult completion: @escaping (Result<ResultType, Error>) -> Void
425 |     ) -> BaseRealtimeConnection<InputType> {
[#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/Sources/FalClient/Client+Codable.swift /host/spi-builder-workspace/Sources/FalClient/Client+Config.swift /host/spi-builder-workspace/Sources/FalClient/Client+Request.swift /host/spi-builder-workspace/Sources/FalClient/Client.swift /host/spi-builder-workspace/Sources/FalClient/FalClient.swift /host/spi-builder-workspace/Sources/FalClient/FalError.swift /host/spi-builder-workspace/Sources/FalClient/FalImage.swift /host/spi-builder-workspace/Sources/FalClient/Payload.swift /host/spi-builder-workspace/Sources/FalClient/Queue+Codable.swift /host/spi-builder-workspace/Sources/FalClient/Queue.swift /host/spi-builder-workspace/Sources/FalClient/QueueStatus.swift /host/spi-builder-workspace/Sources/FalClient/Realtime+Codable.swift /host/spi-builder-workspace/Sources/FalClient/Realtime.swift /host/spi-builder-workspace/Sources/FalClient/Storage.swift /host/spi-builder-workspace/Sources/FalClient/TimeInterval+Extensions.swift /host/spi-builder-workspace/Sources/FalClient/Utility.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 -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/FalClient.build/Debug-android-aarch64/FalClient-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name FalClient -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/FalClient_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/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/Modules/FalClient.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/Modules/FalClient.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/FalClient-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/FalClient-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/FalClient-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/FalClient.build/Debug-android-aarch64/FalClient-t.build/Objects-normal/aarch64/Modules/FalClient.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android