The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftFileTools, reference main (5d7eea), with Swift 6.2 (beta) for Android on 12 Aug 2025 07:50:31 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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.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.2
Building package at path:  $PWD
https://github.com/heroesofcode/SwiftFileTools.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-argument-parser
Fetching https://github.com/onevcat/Rainbow
[1/1335] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.30s)
[1/15630] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.06s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (4.01s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.46s)
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-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/30] 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 |         }
[9/31] Compiling Rainbow String+ConditionalStyling.swift
[10/31] Compiling Rainbow String+Rainbow.swift
[11/31] Compiling Rainbow StringGenerator.swift
[12/31] Compiling Rainbow Style.swift
[13/31] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/31] Emitting module ArgumentParserToolInfo
[15/32] Wrapping AST for ArgumentParserToolInfo for debugging
[17/76] Compiling ArgumentParser InputKey.swift
[18/76] Compiling ArgumentParser InputOrigin.swift
[19/76] Compiling ArgumentParser Name.swift
[20/76] Compiling ArgumentParser Parsed.swift
[21/76] Compiling ArgumentParser ParsedValues.swift
[22/76] Compiling ArgumentParser ParserError.swift
[23/82] Compiling ArgumentParser CompletionKind.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 |         }
[24/82] Compiling ArgumentParser Errors.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 |         }
[25/82] Compiling Rainbow StyledStringBuilder.swift
[26/82] Compiling ArgumentParser BashCompletionsGenerator.swift
[27/82] Compiling ArgumentParser CompletionsGenerator.swift
[28/82] Compiling ArgumentParser ArgumentHelp.swift
[29/82] Compiling ArgumentParser ArgumentVisibility.swift
[30/82] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/82] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/82] Compiling ArgumentParser Argument.swift
[33/82] Compiling ArgumentParser ArgumentDiscussion.swift
BUILD FAILURE 6.2 android