The Swift Package Index logo.Swift Package Index

Build Information

Failed to build baton, reference v0.1.4 (02c358), 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-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: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/alexey1312/baton.git
Reference: v0.1.4
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
 * tag               v0.1.4     -> FETCH_HEAD
HEAD is now at 02c3581 chore: rename repo references swift-baton -> baton
Cloned https://github.com/alexey1312/baton.git
Revision (git rev-parse @):
02c3581b1cba36d2cf025bc330cbb7ccc3c0b657
SUCCESS checkout https://github.com/alexey1312/baton.git at v0.1.4
========================================
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-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: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/stephencelis/SQLite.swift
Fetching https://github.com/swiftlang/swift-docc-plugin
Fetching https://github.com/mattt/swift-yyjson
Fetching https://github.com/tuist/Noora
Fetching https://github.com/mattt/swift-toml
[1/331] Fetching swift-toml
[31/2676] Fetching swift-toml, swift-docc-plugin
[2044/13983] Fetching swift-toml, swift-docc-plugin, sqlite.swift
[3582/33643] Fetching swift-toml, swift-docc-plugin, sqlite.swift, noora
Fetching https://github.com/huggingface/swift-jinja.git
Fetched https://github.com/stephencelis/SQLite.swift (0.87s)
Fetching https://github.com/apple/swift-log.git
[11721/22892] Fetching swift-toml, swift-docc-plugin, noora, swift-yyjson
Fetched https://github.com/mattt/swift-toml (1.08s)
Fetched https://github.com/mattt/swift-yyjson (1.08s)
Fetching https://github.com/apple/swift-argument-parser
[11390/30170] Fetching swift-docc-plugin, noora, swift-log
[19555/31546] Fetching swift-docc-plugin, noora, swift-log, swift-jinja
Fetched https://github.com/apple/swift-log.git (0.55s)
Fetched https://github.com/huggingface/swift-jinja.git (0.57s)
[11586/22005] Fetching swift-docc-plugin, noora
[11666/40946] Fetching swift-docc-plugin, noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.81s)
[11782/22005] Fetching swift-docc-plugin, noora
Fetched https://github.com/swiftlang/swift-docc-plugin (2.67s)
Fetched https://github.com/tuist/Noora (2.72s)
Computing version for https://github.com/swiftlang/swift-docc-plugin
Computed https://github.com/swiftlang/swift-docc-plugin at 1.5.0 (3.79s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3830] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit (0.58s)
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 (0.77s)
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/onevcat/Rainbow
Fetching https://github.com/tuist/path
[1/412] Fetching path
[413/1922] Fetching path, rainbow
Fetched https://github.com/tuist/path (0.46s)
Fetched https://github.com/onevcat/Rainbow (0.46s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (0.65s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.2 (1.04s)
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.14s)
Fetching https://github.com/apple/swift-collections.git
[1/27723] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git (1.13s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.7.0 (1.43s)
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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.57.3
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/mattt/swift-yyjson
Working copy of https://github.com/mattt/swift-yyjson resolved at 0.6.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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.2
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/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/stephencelis/CSQLite
Working copy of https://github.com/stephencelis/CSQLite resolved at 3.53.3
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/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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.8.2
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
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]
[5 / 223]
[127 / 251] Rainbow
[129 / 286] Path
[133 / 286] Path
[148 / 286] YYJSON
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line:     cd /host

/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
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