Build Information
Failed to build SwiftFileTools, reference 1.3.1 (db5c0d
), with Swift 6.2 (beta) for Android on 21 Jun 2025 15:09:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/heroesofcode/SwiftFileTools.git
Reference: 1.3.1
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
* tag 1.3.1 -> FETCH_HEAD
HEAD is now at db5c0d5 Fix version
Cloned https://github.com/heroesofcode/SwiftFileTools.git
Revision (git rev-parse @):
db5c0d5d795f1f9bd0bdd04f2f83248cfc35360e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/SwiftFileTools.git at 1.3.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/heroesofcode/SwiftFileTools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
[1/1196] Fetching rainbow
[1197/16576] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.57s)
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 (6.18s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.88s)
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-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/25] 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 | }
[8/26] Compiling Rainbow StringGenerator.swift
[9/26] Compiling Rainbow String+Rainbow.swift
[10/26] Compiling Rainbow Style.swift
[11/26] Emitting module ArgumentParserToolInfo
[12/26] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/27] Wrapping AST for ArgumentParserToolInfo for debugging
[15/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 | }
[16/65] Compiling ArgumentParser FishCompletionsGenerator.swift
[17/65] Compiling ArgumentParser ZshCompletionsGenerator.swift
[18/65] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/65] Compiling ArgumentParser CompletionsGenerator.swift
[20/65] Compiling ArgumentParser Argument.swift
[21/65] Compiling ArgumentParser ArgumentHelp.swift
[22/65] Compiling Rainbow Rainbow.swift
BUILD FAILURE 6.2 android