Build Information
Failed to build baton, reference main (c5f1f4), with Swift 6.4 for Android on 25 Sep 2026 15:48:39 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/alexey1312/baton.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/alexey1312/baton
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at c5f1f41 ci: bust stale SPM cache after swift-baton -> baton rename
Cloned https://github.com/alexey1312/baton.git
Revision (git rev-parse @):
c5f1f41cfae3811856aeac2d9d7534204cce3cdd
SUCCESS checkout https://github.com/alexey1312/baton.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/alexey1312/baton.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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/swiftlang/swift-docc-plugin
Fetching https://github.com/stephencelis/SQLite.swift
Fetching https://github.com/tuist/Noora
Fetching https://github.com/mattt/swift-toml
Fetching https://github.com/huggingface/swift-jinja.git
Fetching https://github.com/mattt/swift-yyjson
[1/556] Fetching swift-yyjson
[13/887] Fetching swift-yyjson, swift-toml
[497/2263] Fetching swift-yyjson, swift-toml, swift-jinja
[511/4608] Fetching swift-yyjson, swift-toml, swift-jinja, swift-docc-plugin
Fetched https://github.com/mattt/swift-yyjson (0.47s)
[1365/4052] Fetching swift-toml, swift-jinja, swift-docc-plugin
Fetching https://github.com/apple/swift-log.git
[1531/15359] Fetching swift-toml, swift-jinja, swift-docc-plugin, sqlite.swift
Fetched https://github.com/huggingface/swift-jinja.git (0.52s)
Fetching https://github.com/apple/swift-argument-parser
[1494/13983] Fetching swift-toml, swift-docc-plugin, sqlite.swift
[9914/33643] Fetching swift-toml, swift-docc-plugin, sqlite.swift, noora
[18703/41808] Fetching swift-toml, swift-docc-plugin, sqlite.swift, noora, swift-log
Fetched https://github.com/apple/swift-log.git (0.55s)
[23225/52584] Fetching swift-toml, swift-docc-plugin, sqlite.swift, noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.83s)
[23232/33643] Fetching swift-toml, swift-docc-plugin, sqlite.swift, noora
Fetched https://github.com/mattt/swift-toml (3.71s)
Fetched https://github.com/swiftlang/swift-docc-plugin (3.72s)
Fetched https://github.com/stephencelis/SQLite.swift (3.72s)
Fetched https://github.com/tuist/Noora (3.75s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (4.83s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.85s)
Computing version for https://github.com/stephencelis/SQLite.swift
warning: 'sqlite.swift': /Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Computed https://github.com/stephencelis/SQLite.swift at 0.16.0 (1.04s)
Fetching https://github.com/stephencelis/CSQLite
[1/295] Fetching csqlite
Fetched https://github.com/stephencelis/CSQLite (0.81s)
Computing version for https://github.com/mattt/swift-toml
Computed https://github.com/mattt/swift-toml at 2.0.0 (0.97s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.22s)
Computing version for https://github.com/mattt/swift-yyjson
Computed https://github.com/mattt/swift-yyjson at 0.6.0 (0.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.8.2 (0.17s)
Computing version for https://github.com/stephencelis/CSQLite
Computed https://github.com/stephencelis/CSQLite at 3.53.3 (0.15s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.57.3 (0.15s)
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/412] Fetching path
[47/1922] Fetching path, rainbow
Fetched https://github.com/tuist/path (0.43s)
Fetched https://github.com/onevcat/Rainbow (0.43s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.63s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (1.05s)
Computing version for https://github.com/apple/swift-log.git
Computed https://github.com/apple/swift-log.git at 1.15.0 (0.19s)
Computing version for https://github.com/huggingface/swift-jinja.git
Computed https://github.com/huggingface/swift-jinja.git at 2.5.1 (0.15s)
Fetching https://github.com/apple/swift-collections.git
[1/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.21s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.51s)
Creating working copy for https://github.com/apple/swift-log.git
Working copy of https://github.com/apple/swift-log.git resolved at 1.15.0
Creating working copy for https://github.com/huggingface/swift-jinja.git
Working copy of https://github.com/huggingface/swift-jinja.git resolved at 2.5.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.2
Creating working copy for https://github.com/mattt/swift-toml
Working copy of https://github.com/mattt/swift-toml resolved at 2.0.0
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.57.3
Creating working copy for https://github.com/stephencelis/SQLite.swift
Working copy of https://github.com/stephencelis/SQLite.swift resolved at 0.16.0
Creating working copy for https://github.com/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.53.3
Creating working copy for https://github.com/mattt/swift-yyjson
Working copy of https://github.com/mattt/swift-yyjson resolved at 0.6.0
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/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.7.0
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/swiftlang/swift-docc-plugin
Working copy of https://github.com/swiftlang/swift-docc-plugin resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
warning: 'sqlite.swift': /host/spi-builder-workspace/.build/checkouts/SQLite.swift/Package.swift:41:19: warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
39 | .iOS(.v12),
40 | .macOS(.v10_13),
41 | .watchOS(.v4),
| `- warning: 'v4' is deprecated: watchOS 9.0 is the oldest supported version [#DeprecatedDeclaration]
42 | .tvOS(.v12),
43 | .visionOS(.v1)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 602]
[Planning deferred tasks]
[6 / 223] Rainbow-product
[128 / 265] Rainbow
[130 / 283] Logging
[133 / 283] Path
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
[147 / 283] Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: [1;31merror: [1;39mcannot find 'isatty' in scope[0;0m
[0;36m55 |[0;0m // Check if we are in any term env and the output is a tty.
[0;36m56 |[0;0m let termType = getEnvValue("TERM")
[0;36m57 |[0;0m if let t = termType, t.lowercased() != "dumb" && [4;39misatty[0;0m(fileno(stdout)) != 0 {
[0;36m|[0;0m `- [1;31merror: [1;39mcannot find 'isatty' in scope[0;0m
[0;36m58 |[0;0m return .console
[0;36m59 |[0;0m }
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/Rainbow/Sources/BackgroundColor.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/CodesParser.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Color.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ColorApproximation.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ConditionalStyleBuilder.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ControlCode.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/HSLColorConverter.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/ModesExtractor.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Rainbow.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/String+ConditionalStyling.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/String+Rainbow.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/StringGenerator.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/Style.swift /host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/StyledStringBuilder.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 -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/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Rainbow -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Rainbow_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/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Modules/Rainbow.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Modules/Rainbow.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Rainbow-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Rainbow-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Rainbow-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Rainbow.build/Debug-android-aarch64/Rainbow-t.build/Objects-normal/aarch64/Modules/Rainbow.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android