The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CLITable, reference main (18ec56), with Swift 6.1 for Android on 22 Feb 2026 20:39:20 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/CLI-Table-Swift.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/CLI-Table-Swift
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 18ec562 Added more tests
Cloned https://github.com/heroesofcode/CLI-Table-Swift.git
Revision (git rev-parse @):
18ec562fb39261da2bc0ae2fc63b9c0798f71778
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/heroesofcode/CLI-Table-Swift.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/heroesofcode/CLI-Table-Swift.git
https://github.com/heroesofcode/CLI-Table-Swift.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "exact" : [
          "4.2.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "CLITable",
  "name" : "CLITable",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "CLITable",
      "targets" : [
        "CLITable"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CLITableTests",
      "module_type" : "SwiftTarget",
      "name" : "CLITableTests",
      "path" : "Tests/CLITableTests",
      "sources" : [
        "CLITableTests.swift"
      ],
      "target_dependencies" : [
        "CLITable"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CLITable",
      "module_type" : "SwiftTarget",
      "name" : "CLITable",
      "path" : "Sources/CLITable",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "CLITable"
      ],
      "sources" : [
        "CLITable.swift",
        "Core/ConsoleColor.swift",
        "Core/PrintLine.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1420] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.23s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.51s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/18] 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 |         }
[5/19] Compiling Rainbow StringGenerator.swift
[6/19] Compiling Rainbow Style.swift
[7/19] Compiling Rainbow String+ConditionalStyling.swift
[8/19] Compiling Rainbow String+Rainbow.swift
[9/19] Compiling Rainbow HSLColorConverter.swift
[10/19] Compiling Rainbow ModesExtractor.swift
[11/19] Compiling Rainbow ConditionalStyleBuilder.swift
[12/19] Compiling Rainbow ControlCode.swift
[13/19] 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 |         }
[14/19] 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 |         }
[15/19] Compiling Rainbow BackgroundColor.swift
[16/19] Compiling Rainbow CodesParser.swift
[17/19] Compiling Rainbow Color.swift
[18/19] Compiling Rainbow ColorApproximation.swift
[19/19] Compiling Rainbow StyledStringBuilder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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:08fa5f1bd27c53c71ebe7c2842e29d52715d90da2c5b8f52513c9039c232613d
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/16] 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 |         }
[3/16] 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 |         }
[4/17] Compiling Rainbow StringGenerator.swift
[5/17] Compiling Rainbow Style.swift
[6/17] Compiling Rainbow HSLColorConverter.swift
[7/17] Compiling Rainbow ModesExtractor.swift
[8/17] Compiling Rainbow ConditionalStyleBuilder.swift
[9/17] Compiling Rainbow ControlCode.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/17] Compiling Rainbow BackgroundColor.swift
[11/17] Compiling Rainbow CodesParser.swift
[12/17] Compiling Rainbow Color.swift
[13/17] Compiling Rainbow ColorApproximation.swift
[14/17] 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 |         }
[15/17] Compiling Rainbow String+ConditionalStyling.swift
[16/17] Compiling Rainbow String+Rainbow.swift
[17/17] Compiling Rainbow StyledStringBuilder.swift
BUILD FAILURE 6.1 android