Build Information
Failed to build ShGit, reference 1.2.0 (b994d8
), with Swift 6.1 for Android on 29 May 2025 08:30:06 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsincere/ShGit.git
Reference: 1.2.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/ShGit
* tag 1.2.0 -> FETCH_HEAD
HEAD is now at b994d87 GitHub Actions
Cloned https://github.com/danielsincere/ShGit.git
Revision (git rev-parse @):
b994d87e6d62650151e49f64076387bddc130428
SUCCESS checkout https://github.com/danielsincere/ShGit.git at 1.2.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/danielsincere/ShGit.git
https://github.com/danielsincere/ShGit.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "sh",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/DanielSincere/Sh.git"
}
],
"manifest_display_name" : "ShGit",
"name" : "ShGit",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "ShGit",
"targets" : [
"ShGit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShGitTests",
"module_type" : "SwiftTarget",
"name" : "ShGitTests",
"path" : "Tests/ShGitTests",
"product_dependencies" : [
"Sh"
],
"sources" : [
"IsCleanTests.swift",
"RootTests.swift"
],
"target_dependencies" : [
"ShGit"
],
"type" : "test"
},
{
"c99name" : "ShGit",
"module_type" : "SwiftTarget",
"name" : "ShGit",
"path" : "Sources/ShGit",
"product_dependencies" : [
"Sh"
],
"product_memberships" : [
"ShGit"
],
"sources" : [
"Git.isClean.swift",
"Git.root.swift",
"Git.swift"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/DanielSincere/Sh.git
[1/859] Fetching sh
Fetched https://github.com/DanielSincere/Sh.git from cache (0.34s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (1.33s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/onevcat/Rainbow
[12/1196] Fetching rainbow
[1162/5587] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.59s)
Fetched https://github.com/apple/swift-system from cache (0.71s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (4.35s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.55s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
Building for debugging...
[0/6] Write sources
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/45] Emitting module SystemPackage
[8/48] Compiling SystemPackage MachPort.swift
[9/48] Compiling SystemPackage PlatformString.swift
[10/48] Compiling SystemPackage SystemString.swift
[11/48] Compiling Rainbow StringGenerator.swift
[12/48] Compiling SystemPackage FilePathSyntax.swift
[13/48] Compiling SystemPackage FilePathTemp.swift
[14/49] Compiling SystemPackage Util+StringArray.swift
[15/49] Compiling SystemPackage Util.swift
[16/49] Compiling SystemPackage UtilConsumers.swift
[17/49] Compiling Rainbow String+Rainbow.swift
[18/49] Compiling SystemPackage FilePathParsing.swift
[19/49] Compiling SystemPackage FilePathString.swift
[22/49] Compiling Rainbow Style.swift
[23/49] Compiling SystemPackage Mocking.swift
[24/49] Compiling SystemPackage RawBuffer.swift
[25/49] Compiling SystemPackage Syscalls.swift
[26/49] Compiling SystemPackage WindowsSyscallAdapters.swift
[27/49] Compiling SystemPackage FilePathTempPosix.swift
[28/49] Compiling SystemPackage FilePathTempWindows.swift
[29/49] Compiling SystemPackage FilePathWindows.swift
[30/49] Compiling SystemPackage FilePermissions.swift
[31/49] Compiling SystemPackage FileOperations.swift
[32/49] Compiling SystemPackage FilePath.swift
[33/49] Compiling SystemPackage FilePathComponentView.swift
[34/49] Compiling SystemPackage FilePathComponents.swift
[35/49] Compiling SystemPackage Backcompat.swift
[36/49] Compiling SystemPackage CInterop.swift
[37/49] Compiling SystemPackage Constants.swift
[38/49] Compiling SystemPackage Exports.swift
[39/49] Compiling SystemPackage Errno.swift
[40/49] Compiling SystemPackage ErrnoWindows.swift
[41/49] Compiling SystemPackage FileDescriptor.swift
[42/49] Compiling SystemPackage FileHelpers.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[48/50] 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 | }
[49/50] Compiling Rainbow Rainbow.swift
[50/50] 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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/40] 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 | }
[3/41] 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 | }
[4/41] Compiling Rainbow Style.swift
[5/41] Compiling SystemPackage FilePathParsing.swift
[6/41] Compiling SystemPackage FilePathString.swift
[7/41] Compiling Rainbow String+Rainbow.swift
[8/41] Compiling Rainbow StringGenerator.swift
[9/41] Compiling Rainbow Rainbow.swift
[10/41] Compiling SystemPackage Backcompat.swift
[11/41] Compiling SystemPackage CInterop.swift
[12/41] Compiling SystemPackage Constants.swift
[13/41] Compiling SystemPackage Exports.swift
[14/44] Compiling SystemPackage Errno.swift
[15/44] Compiling SystemPackage ErrnoWindows.swift
[16/44] Compiling SystemPackage FileDescriptor.swift
[17/44] Compiling SystemPackage FileHelpers.swift
BUILD FAILURE 6.1 android