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 LiteSupport, reference 0.3.0 (0cdb97), with Swift 6.1 for Android on 10 Sep 2025 07:44:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/llvm-swift/lite.git
Reference: 0.3.0
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/llvm-swift/lite
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 0cdb971 Downgrade back to 6.1
Cloned https://github.com/llvm-swift/lite.git
Revision (git rev-parse @):
0cdb971f84a29d92f03ed8c186bad0dd21791ec9
SUCCESS checkout https://github.com/llvm-swift/lite.git at 0.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/llvm-swift/lite.git
https://github.com/llvm-swift/lite.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/swiftlang/swift-subprocess
[1/2252] Fetching swift-subprocess
Fetched https://github.com/swiftlang/swift-subprocess from cache (0.74s)
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-system
[1/1335] Fetching rainbow
[1336/6272] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow.git from cache (0.57s)
[3851/4937] Fetching swift-system
Fetched https://github.com/apple/swift-system from cache (0.79s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (1.94s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (3.91s)
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/swiftlang/swift-subprocess
Working copy of https://github.com/swiftlang/swift-subprocess resolved at main (eafdd72)
Building for debugging...
[0/15] Write sources
[5/15] Compiling CSystem shims.c
[6/15] Compiling _SubprocessCShims process_shims.c
[7/15] Write swift-version-24593BA9C3E375BF.txt
[9/54] Emitting module SystemPackage
[10/57] Compiling Rainbow StringGenerator.swift
[11/57] Compiling Rainbow Style.swift
[12/58] Compiling SystemPackage Errno.swift
[13/58] Compiling SystemPackage ErrnoWindows.swift
[14/58] Compiling SystemPackage FileDescriptor.swift
[15/58] Compiling SystemPackage FileHelpers.swift
[16/58] Compiling Rainbow XcodeColorsSupport.swift
[17/58] Compiling SystemPackage Util+StringArray.swift
[18/58] Compiling SystemPackage Util.swift
[19/58] Compiling SystemPackage UtilConsumers.swift
[20/58] Compiling SystemPackage FilePathTempPosix.swift
[21/58] Compiling SystemPackage FilePathTempWindows.swift
[22/58] Compiling SystemPackage FilePathWindows.swift
[23/58] Compiling SystemPackage FilePermissions.swift
[24/58] Compiling SystemPackage MachPort.swift
[25/58] Compiling SystemPackage PlatformString.swift
[26/58] Compiling SystemPackage SystemString.swift
[27/58] Compiling SystemPackage FileOperations.swift
[28/58] Compiling SystemPackage FilePath.swift
[29/58] Compiling SystemPackage FilePathComponentView.swift
[30/58] Compiling SystemPackage FilePathComponents.swift
[31/58] Compiling SystemPackage FilePathParsing.swift
[32/58] Compiling SystemPackage FilePathString.swift
[33/58] Compiling SystemPackage FilePathSyntax.swift
[34/58] Compiling SystemPackage FilePathTemp.swift
[35/58] Compiling SystemPackage Backcompat.swift
[36/58] Compiling SystemPackage CInterop.swift
[37/58] Compiling SystemPackage Constants.swift
[38/58] Compiling SystemPackage Exports.swift
[39/58] Compiling SystemPackage Mocking.swift
[40/58] Compiling SystemPackage RawBuffer.swift
[41/58] Compiling SystemPackage Syscalls.swift
[42/58] Compiling SystemPackage WindowsSyscallAdapters.swift
[43/59] Wrapping AST for SystemPackage for debugging
[45/81] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/81] Compiling Subprocess Error.swift
[47/81] Compiling Subprocess Execution.swift
[48/81] Compiling Subprocess API.swift
[49/81] Compiling Subprocess AsyncBufferSequence.swift
[50/81] Compiling Rainbow Rainbow.swift
[51/81] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[52/81] Compiling Subprocess Buffer.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[53/81] Compiling Subprocess Configuration.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/8] Write swift-version-24593BA9C3E375BF.txt
[2/47] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/48] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[4/48] Compiling SystemPackage FileOperations.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[5/48] Compiling SystemPackage FilePath.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[6/48] Compiling Rainbow StringGenerator.swift
[7/48] Compiling Rainbow XcodeColorsSupport.swift
[8/48] Compiling SystemPackage Errno.swift
[9/48] Compiling SystemPackage ErrnoWindows.swift
[10/48] Compiling SystemPackage FileDescriptor.swift
[11/48] Compiling SystemPackage FileHelpers.swift
[12/48] Compiling Rainbow Rainbow.swift
[13/48] Compiling Rainbow String+Rainbow.swift
BUILD FAILURE 6.1 android