The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Sh, reference 1.3.0 (1c3006), with Swift 6.3 for Android on 23 Apr 2026 08:09:33 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsincere/Sh.git
Reference: 1.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/danielsincere/Sh
 * tag               1.3.0      -> FETCH_HEAD
HEAD is now at 1c30064 S3e15 (#6)
Cloned https://github.com/danielsincere/Sh.git
Revision (git rev-parse @):
1c30064de9dceac00aa3fefc70a1431e425e5f28
SUCCESS checkout https://github.com/danielsincere/Sh.git at 1.3.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/danielsincere/Sh.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-system
[1/1442] Fetching rainbow
[1443/7043] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (3.10s)
Fetched https://github.com/apple/swift-system from cache (3.10s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (5.67s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.54s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
Building for debugging...
[0/5] Write sources
[3/5] Compiling CSystem shims.c
[4/5] Write swift-version--4F562202D5529B1.txt
[6/51] Emitting module SystemPackage
[7/55] Compiling SystemPackage Errno.swift
[8/55] Compiling SystemPackage ErrnoWindows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/56] 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 |         }
[10/56] Compiling SystemPackage FilePathWindows.swift
[11/56] Compiling SystemPackage FilePermissions.swift
[12/56] Compiling SystemPackage IOCompletion.swift
[13/56] Compiling SystemPackage IORequest.swift
[14/56] Compiling SystemPackage SystemString.swift
[15/56] Compiling SystemPackage Util+StringArray.swift
[16/56] Compiling SystemPackage Util.swift
[17/56] Compiling SystemPackage UtilConsumers.swift
[20/56] Compiling SystemPackage FileDescriptor.swift
[21/56] Compiling SystemPackage FileHelpers.swift
[22/56] Compiling Rainbow ConditionalStyleBuilder.swift
[23/56] Compiling SystemPackage FilePath.swift
[24/56] Compiling SystemPackage FilePathComponentView.swift
[25/56] Compiling SystemPackage FilePathComponents.swift
[26/56] Compiling SystemPackage FilePathParsing.swift
[27/56] Compiling SystemPackage FilePathString.swift
[28/56] Compiling SystemPackage FilePathSyntax.swift
[29/56] Compiling SystemPackage FilePathTemp.swift
[30/56] Compiling SystemPackage FilePathTempPosix.swift
[31/56] Compiling SystemPackage FilePathTempWindows.swift
[32/56] Compiling SystemPackage IORing.swift
[33/56] Compiling SystemPackage RawIORequest.swift
[34/56] Compiling SystemPackage Backcompat.swift
[35/56] Compiling SystemPackage CInterop.swift
[36/56] Compiling SystemPackage Constants.swift
[37/56] Compiling SystemPackage Exports.swift
[38/56] Compiling SystemPackage Mocking.swift
[39/56] Compiling SystemPackage RawBuffer.swift
[40/56] Compiling SystemPackage Syscalls.swift
[41/56] Compiling SystemPackage WindowsSyscallAdapters.swift
[42/56] Compiling SystemPackage MachPort.swift
[43/56] Compiling SystemPackage PlatformString.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 |         }
/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 |         }
[57/57] Compiling Rainbow StyledStringBuilder.swift
BUILD FAILURE 6.3 android