Build Information
Failed to build SwiftFileTools, reference main (5d7eea
), with Swift 6.1 for Android on 12 Aug 2025 07:50:41 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heroesofcode/SwiftFileTools.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/heroesofcode/SwiftFileTools
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 5d7eeab Merge pull request #18 from heroesofcode/renovate/major-all-dependencies
Cloned https://github.com/heroesofcode/SwiftFileTools.git
Revision (git rev-parse @):
5d7eeab954b451b70690c8ffb92f9810184c2a59
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/SwiftFileTools.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/heroesofcode/SwiftFileTools.git
https://github.com/heroesofcode/SwiftFileTools.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.2.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "SwiftFileTools",
"name" : "SwiftFileTools",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SwiftFileTools",
"targets" : [
"SwiftFileTools"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftFileTools",
"module_type" : "SwiftTarget",
"name" : "SwiftFileTools",
"path" : "Sources",
"product_dependencies" : [
"ArgumentParser",
"Rainbow"
],
"product_memberships" : [
"SwiftFileTools"
],
"sources" : [
"Core/Colors.swift",
"Core/Constants.swift",
"Core/Header.swift",
"Core/SwiftGen.swift",
"Core/ViewCode.swift",
"SwiftFileTools.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/1335] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.31s)
[1/15630] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.00s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (3.26s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.64s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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.6.1
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/13] Write sources
[6/13] Write swift-version-24593BA9C3E375BF.txt
[8/30] Compiling Rainbow StringGenerator.swift
[9/30] Compiling Rainbow Style.swift
[10/31] Emitting module ArgumentParserToolInfo
[11/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/32] Compiling Rainbow String+ConditionalStyling.swift
[14/32] Compiling Rainbow String+Rainbow.swift
[14/32] Wrapping AST for ArgumentParserToolInfo for debugging
[16/76] Compiling ArgumentParser OptionGroup.swift
[17/76] Compiling ArgumentParser AsyncParsableCommand.swift
[18/76] Compiling ArgumentParser CommandConfiguration.swift
[19/76] Compiling ArgumentParser CommandGroup.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/76] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[21/76] Compiling Rainbow StyledStringBuilder.swift
[22/76] Compiling ArgumentParser EnumerableFlag.swift
[23/76] Compiling ArgumentParser ExpressibleByArgument.swift
[24/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/76] Compiling ArgumentParser CompletionsGenerator.swift
[26/76] Compiling ArgumentParser FishCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[27/76] Compiling ArgumentParser ZshCompletionsGenerator.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/9] Write swift-version-24593BA9C3E375BF.txt
[4/26] Compiling Rainbow StringGenerator.swift
[5/26] Compiling Rainbow Style.swift
[6/27] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[7/27] Compiling Rainbow Rainbow.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[8/27] Compiling Rainbow ConditionalStyleBuilder.swift
[9/27] Compiling Rainbow ControlCode.swift
[10/27] Compiling Rainbow HSLColorConverter.swift
[11/27] Compiling Rainbow ModesExtractor.swift
[12/27] Compiling Rainbow StyledStringBuilder.swift
[13/27] Compiling Rainbow BackgroundColor.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/27] Compiling Rainbow CodesParser.swift
[15/27] Compiling Rainbow Color.swift
[16/27] Compiling Rainbow ColorApproximation.swift
[17/27] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 | // Check if we are in any term env and the output is a tty.
48 | let termType = getEnvValue("TERM")
49 | if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
| `- error: cannot find 'isatty' in scope
50 | return .console
51 | }
[18/27] Compiling Rainbow String+ConditionalStyling.swift
[19/27] Compiling Rainbow String+Rainbow.swift
[20/27] Emitting module ArgumentParserToolInfo
[21/27] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 android