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 (d6508d), with Swift 6.1 for Android on 20 Nov 2025 17:13:17 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.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 d6508dd Merge pull request #20 from heroesofcode/renovate/major-all-dependencies
Cloned https://github.com/heroesofcode/SwiftFileTools.git
Revision (git rev-parse @):
d6508dd1238439166f43a7dba1f64b99b45247d7
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.2",
            "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-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
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/1339] Fetching rainbow
[403/18016] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.37s)
[4503/16677] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.83s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (3.32s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.60s)
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.2
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
[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] Emitting module ArgumentParserToolInfo
[9/30] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/30] Compiling Rainbow BackgroundColor.swift
[11/30] Compiling Rainbow CodesParser.swift
[13/32] Compiling Rainbow ConditionalStyleBuilder.swift
[14/32] Compiling Rainbow ControlCode.swift
[14/32] Wrapping AST for ArgumentParserToolInfo for debugging
[16/76] Compiling ArgumentParser ArgumentHelp.swift
[17/76] Compiling ArgumentParser ParsableArguments.swift
[18/76] Compiling ArgumentParser Argument.swift
[19/76] Compiling ArgumentParser ArgumentDiscussion.swift
[20/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 |         }
[21/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 |         }
[22/76] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/76] Compiling ArgumentParser CompletionsGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[24/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 |         }
[25/76] Compiling ArgumentParser ArgumentVisibility.swift
[26/76] Compiling ArgumentParser CompletionKind.swift
[27/76] Compiling Rainbow StyledStringBuilder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:91d018f1076d6a900d71818287e1b2618039c67008f0564a121787f87e1ae735
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 HSLColorConverter.swift
[7/27] Compiling Rainbow ModesExtractor.swift
[8/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 |         }
[9/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 |         }
[10/27] Compiling Rainbow StyledStringBuilder.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/27] Compiling Rainbow ConditionalStyleBuilder.swift
[12/27] Compiling Rainbow ControlCode.swift
[13/27] Compiling Rainbow BackgroundColor.swift
[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
BUILD FAILURE 6.1 android