Build Information
Failed to build Sh, reference trunk (1c3006
), with Swift 6.1 for Android on 29 May 2025 06:46:01 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/Sh.git
Reference: trunk
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
* branch trunk -> FETCH_HEAD
* [new branch] trunk -> origin/trunk
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 trunk
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/danielsincere/Sh.git
https://github.com/danielsincere/Sh.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.0.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
},
{
"identity" : "swift-system",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-system"
}
],
"manifest_display_name" : "Sh",
"name" : "Sh",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "Sh",
"targets" : [
"Sh"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ShTests",
"module_type" : "SwiftTarget",
"name" : "ShTests",
"path" : "Tests/ShTests",
"sources" : [
"AsyncDecodingTests.swift",
"AsyncTests.swift",
"LogFileTests.swift",
"MacTests.swift",
"ReturningAllOutputTests.swift",
"ReturningOutputTests.swift",
"SinkTests.swift"
],
"target_dependencies" : [
"Sh"
],
"type" : "test"
},
{
"c99name" : "Sh",
"module_type" : "SwiftTarget",
"name" : "Sh",
"path" : "Sources/Sh",
"product_dependencies" : [
"Rainbow",
"SystemPackage"
],
"product_memberships" : [
"Sh"
],
"sources" : [
"Data/Data.asJSON.swift",
"Data/Data.asTrimmedString.swift",
"Data/PipeBuffer.swift",
"Errors.swift",
"Process/Process.init.swift",
"Process/Process.runRedirectingAllOutput.swift",
"Process/Process.runReturningAllOutput.swift",
"Process/Process.runReturningData.swift",
"Process/Process.runReturningTrimmedString.swift",
"Process/Process.terminationError.swift",
"Sink.swift",
"String/String.asTrimmedLines.swift",
"sh.swift",
"shq.swift"
],
"type" : "library"
}
],
"tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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/onevcat/Rainbow
Fetching https://github.com/apple/swift-system
[1/1196] Fetching rainbow
[1197/5587] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.36s)
Fetched https://github.com/apple/swift-system from cache (0.36s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.21s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.77s)
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
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version-24593BA9C3E375BF.txt
[4/5] Compiling CSystem shims.c
[6/44] Emitting module SystemPackage
[7/44] Compiling SystemPackage Errno.swift
[8/44] Compiling SystemPackage ErrnoWindows.swift
[9/44] Compiling SystemPackage FileDescriptor.swift
[10/44] Compiling SystemPackage FileHelpers.swift
[11/47] Compiling Rainbow StringGenerator.swift
[12/48] Compiling SystemPackage FilePathParsing.swift
[13/48] Compiling SystemPackage FilePathString.swift
[14/48] Compiling SystemPackage FilePathSyntax.swift
[15/48] Compiling SystemPackage FilePathTemp.swift
[16/48] Compiling SystemPackage MachPort.swift
[17/48] Compiling SystemPackage PlatformString.swift
[18/48] Compiling SystemPackage SystemString.swift
[19/48] Compiling Rainbow Style.swift
[20/48] Compiling SystemPackage FileOperations.swift
[21/48] Compiling SystemPackage FilePath.swift
[22/48] Compiling SystemPackage FilePathComponentView.swift
[23/48] Compiling SystemPackage FilePathComponents.swift
[24/48] Compiling SystemPackage Util+StringArray.swift
[25/48] Compiling SystemPackage Util.swift
[26/48] Compiling SystemPackage UtilConsumers.swift
[27/48] Compiling SystemPackage FilePathTempPosix.swift
[28/48] Compiling SystemPackage FilePathTempWindows.swift
[29/48] Compiling SystemPackage FilePathWindows.swift
[30/48] Compiling SystemPackage FilePermissions.swift
[31/48] Compiling SystemPackage Backcompat.swift
[32/48] Compiling SystemPackage CInterop.swift
[33/48] Compiling SystemPackage Constants.swift
[34/48] Compiling SystemPackage Exports.swift
[35/48] Compiling SystemPackage Mocking.swift
[36/48] Compiling SystemPackage RawBuffer.swift
[37/48] Compiling SystemPackage Syscalls.swift
[38/48] Compiling SystemPackage WindowsSyscallAdapters.swift
[40/49] Compiling Rainbow String+Rainbow.swift
[43/49] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/49] 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 | }
[47/49] 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-4609320-3":/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 StringGenerator.swift
[4/41] Compiling Rainbow String+Rainbow.swift
[5/41] Compiling Rainbow Rainbow.swift
[6/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 | }
[7/41] Compiling SystemPackage FilePathParsing.swift
[8/41] Compiling SystemPackage FilePathString.swift
[9/41] Compiling SystemPackage Backcompat.swift
[10/41] Compiling SystemPackage CInterop.swift
[11/41] Compiling SystemPackage Constants.swift
[12/41] Compiling SystemPackage Exports.swift
[13/44] Compiling Rainbow Style.swift
[14/44] Emitting module SystemPackage
[15/44] Compiling SystemPackage Mocking.swift
[16/44] Compiling SystemPackage RawBuffer.swift
[17/44] Compiling SystemPackage Syscalls.swift
[18/44] Compiling SystemPackage WindowsSyscallAdapters.swift
[19/44] Compiling SystemPackage MachPort.swift
[20/44] Compiling SystemPackage PlatformString.swift
[21/44] Compiling SystemPackage SystemString.swift
[22/44] Compiling SystemPackage Errno.swift
[23/44] Compiling SystemPackage ErrnoWindows.swift
[24/44] Compiling SystemPackage FileDescriptor.swift
[25/44] Compiling SystemPackage FileHelpers.swift
BUILD FAILURE 6.1 android