Build Information
Failed to build Bariloche, reference master (bb2856), with Swift 6.1 for Android on 25 Sep 2025 07:46:13 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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/subito-it/bariloche.git
Reference: master
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/subito-it/bariloche
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at bb2856b Add support for multiple arguments
Cloned https://github.com/subito-it/bariloche.git
Revision (git rev-parse @):
bb2856b0eb513b8ee7d98e4d774ee55eef62d103
SUCCESS checkout https://github.com/subito-it/bariloche.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/subito-it/bariloche.git
https://github.com/subito-it/bariloche.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.0.0",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "Bariloche",
"name" : "Bariloche",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Bariloche",
"targets" : [
"Bariloche"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "BarilocheExample",
"targets" : [
"BarilocheExample"
],
"type" : {
"executable" : null
}
}
],
"swift_languages_versions" : [
"4.2",
"5"
],
"targets" : [
{
"c99name" : "BarilocheTests",
"module_type" : "SwiftTarget",
"name" : "BarilocheTests",
"path" : "Tests/BarilocheTests",
"sources" : [
"CommandUtilitiesTests.swift",
"ParserTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Bariloche"
],
"type" : "test"
},
{
"c99name" : "BarilocheExample",
"module_type" : "SwiftTarget",
"name" : "BarilocheExample",
"path" : "Sources/BarilocheExample",
"product_memberships" : [
"BarilocheExample"
],
"sources" : [
"Cat-Like/CatCommand.swift",
"CocoaPods-Like/CacheCommand.swift",
"CocoaPods-Like/CocoaPodsCommand.swift",
"CocoaPods-Like/SearchCommand.swift",
"CocoaPods-Like/TestCommand.swift",
"CocoaPods-Like/TestSub1Command.swift",
"CocoaPods-Like/TestSub2Command.swift",
"main.swift"
],
"target_dependencies" : [
"Bariloche"
],
"type" : "executable"
},
{
"c99name" : "Bariloche",
"module_type" : "SwiftTarget",
"name" : "Bariloche",
"path" : "Sources/Bariloche",
"product_dependencies" : [
"Rainbow"
],
"product_memberships" : [
"Bariloche",
"BarilocheExample"
],
"sources" : [
"Argument.swift",
"Autocomplete.swift",
"Bariloche.swift",
"BaseArgument.swift",
"Command.swift",
"Flag.swift",
"Internal/AutocompleteWriter.swift",
"Internal/Command+Assertions.swift",
"Internal/Command+Mirror.swift",
"Internal/OutputStreamer.swift",
"Internal/Parser.swift",
"Internal/Process+Shell.swift",
"Internal/StringTypeConverter.swift",
"Internal/UsagePrinter.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1339] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.27s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (2.32s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-24593BA9C3E375BF.txt
[5/20] Compiling Rainbow String+Rainbow.swift
[6/20] Compiling Rainbow StringGenerator.swift
[7/20] Compiling Rainbow Style.swift
[8/21] Compiling Rainbow XcodeColorsSupport.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/21] Compiling Rainbow Color.swift
[10/21] Compiling Rainbow ControlCode.swift
[11/21] 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 | }
[12/21] Compiling Rainbow ModesExtractor.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 | }
[13/21] Compiling Rainbow OutputTarget.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 | }
[14/21] Compiling Rainbow BackgroundColor.swift
[15/21] Compiling Rainbow CodesParser.swift
[16/21] Compiling Rainbow Rainbow.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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
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/6] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/17] Compiling Rainbow Style.swift
[3/17] 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/17] Compiling Rainbow String+Rainbow.swift
[5/17] Compiling Rainbow Rainbow.swift
[6/17] Compiling Rainbow BackgroundColor.swift
[7/17] Compiling Rainbow CodesParser.swift
[8/17] Compiling Rainbow StringGenerator.swift
[9/17] Compiling Rainbow Color.swift
[10/17] Compiling Rainbow ControlCode.swift
[11/17] Compiling Rainbow ModesExtractor.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 | }
[12/17] Compiling Rainbow OutputTarget.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 | }
[13/18] Compiling Rainbow XcodeColorsSupport.swift
BUILD FAILURE 6.1 android