Build Information
Failed to build SwiftFileTools, reference main (8032e6
), with Swift 6.1 for Android on 31 May 2025 16:18:58 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.63.1
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 8032e6c Merge pull request #15 from heroesofcode/renovate/swift-dependencies
Cloned https://github.com/heroesofcode/SwiftFileTools.git
Revision (git rev-parse @):
8032e6c060693b03889453961100b3b43f5b5af9
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.5.1",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/1196] Fetching rainbow
[1126/16582] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.56s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.57s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (5.69s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.99s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/12] Write sources
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/25] Emitting module ArgumentParserToolInfo
[8/25] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/26] Wrapping AST for ArgumentParserToolInfo for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/64] Compiling ArgumentParser ArgumentVisibility.swift
[12/64] Compiling ArgumentParser CompletionKind.swift
[13/64] 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 | }
[14/64] Compiling Rainbow StringGenerator.swift
[15/65] Compiling Rainbow String+Rainbow.swift
[16/65] Compiling Rainbow Style.swift
[17/65] Compiling ArgumentParser NameSpecification.swift
[18/65] Compiling ArgumentParser Option.swift
[19/65] Compiling ArgumentParser Errors.swift
[20/65] Compiling ArgumentParser Flag.swift
[21/65] 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 | }
[22/65] Compiling Rainbow Rainbow.swift
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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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
Building for debugging...
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/21] Emitting module ArgumentParserToolInfo
[4/21] Compiling Rainbow StringGenerator.swift
[5/22] Compiling Rainbow Style.swift
[6/22] Compiling Rainbow String+Rainbow.swift
[7/22] 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 | }
[8/22] Compiling Rainbow ControlCode.swift
[9/22] Compiling Rainbow ModesExtractor.swift
[10/22] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/22] 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 | }
[12/22] Compiling Rainbow BackgroundColor.swift
[13/22] Compiling Rainbow CodesParser.swift
[14/22] Compiling Rainbow Color.swift
[15/22] Compiling Rainbow ColorApproximation.swift
[16/22] Compiling ArgumentParserToolInfo ToolInfo.swift
BUILD FAILURE 6.1 android