Build Information
Failed to build BetterXC, reference master (3a87c1
), with Swift 6.1 for Android on 27 May 2025 16:36:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/monstar-lab/betterxc.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/monstar-lab/betterxc
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 3a87c18 Merge branch 'release/0.9.3'
Cloned https://github.com/monstar-lab/betterxc.git
Revision (git rev-parse @):
3a87c187cdc9a6e5b16ade2d71518bc6175b2720
SUCCESS checkout https://github.com/monstar-lab/betterxc.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/monstar-lab/betterxc.git
https://github.com/monstar-lab/betterxc.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "xcproj",
"requirement" : {
"range" : [
{
"lower_bound" : "4.3.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/xcodeswift/xcproj.git"
},
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell.git"
},
{
"identity" : "moderator",
"requirement" : {
"range" : [
{
"lower_bound" : "0.4.3",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/Moderator.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "3.1.4",
"upper_bound" : "4.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow.git"
}
],
"manifest_display_name" : "BetterXC",
"name" : "BetterXC",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "xc",
"targets" : [
"BetterXC"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BetterXC",
"module_type" : "SwiftTarget",
"name" : "BetterXC",
"path" : "Sources/BetterXC",
"product_dependencies" : [
"xcproj",
"SwiftShell",
"Moderator",
"Rainbow"
],
"product_memberships" : [
"xc"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/kareman/Moderator.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetching https://github.com/onevcat/Rainbow.git
[1/658] Fetching moderator
[423/1854] Fetching moderator, rainbow
[1622/25144] Fetching moderator, rainbow, xcproj
[13746/30007] Fetching moderator, rainbow, xcproj, swiftshell
Fetched https://github.com/kareman/SwiftShell.git from cache (0.99s)
[17957/25144] Fetching moderator, rainbow, xcproj
Fetched https://github.com/onevcat/Rainbow.git from cache (1.69s)
Fetched https://github.com/kareman/Moderator.git from cache (1.71s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (1.73s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (2.37s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/kylef/PathKit.git
[1/960] Fetching shellout
[961/3087] Fetching shellout, aexml
[1451/4498] Fetching shellout, aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.29s)
Fetched https://github.com/tadija/AEXML.git from cache (0.31s)
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.31s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (2.81s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.28s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.91s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.62s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.60s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (4.05s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (1.41s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.58s)
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-24593BA9C3E375BF.txt
[9/51] Emitting module SwiftShell
[10/52] Compiling Moderator SwiftCompat.swift
[11/52] Compiling Moderator Parsers.swift
[12/52] Compiling Rainbow String+Rainbow.swift
[13/52] Compiling Rainbow StringGenerator.swift
[14/52] Compiling Rainbow Style.swift
[15/53] Compiling Rainbow XcodeColorsSupport.swift
[16/53] Compiling Rainbow Rainbow.swift
[17/53] Compiling Rainbow BackgroundColor.swift
[18/53] Compiling Rainbow CodesParser.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/53] 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 | }
[20/53] Compiling SwiftShell Bash.swift
[21/53] Compiling SwiftShell Command.swift
[22/53] Compiling SwiftShell Context.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 | }
[23/53] Compiling SwiftShell FileHandle.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 | }
[24/53] Emitting module Moderator
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/53] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/10] Write swift-version-24593BA9C3E375BF.txt
[2/44] Compiling Moderator SwiftCompat.swift
[3/44] Compiling AEXML Error.swift
[4/44] Compiling AEXML Options.swift
[5/44] Compiling AEXML Parser.swift
[6/44] Compiling Rainbow Style.swift
[7/45] Compiling Rainbow String+Rainbow.swift
[8/45] Compiling Rainbow Rainbow.swift
[9/45] Compiling Rainbow StringGenerator.swift
[10/45] Compiling SwiftShell Bash.swift
[11/45] Compiling SwiftShell Command.swift
[12/45] Compiling SwiftShell Context.swift
[13/45] Compiling SwiftShell FileHandle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/45] 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 | }
[15/45] 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 | }
[16/45] 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 | }
[17/45] Compiling SwiftShell Process.swift
[18/45] Compiling SwiftShell Array.swift
[19/46] Compiling SwiftShell Files.swift
[20/46] Compiling Rainbow XcodeColorsSupport.swift
[21/46] Emitting module AEXML
[22/46] Compiling SwiftShell Stream.swift
[23/46] Compiling SwiftShell Lazy-split.swift
[24/46] Compiling AEXML Builders.swift
[25/46] Compiling AEXML Document.swift
[26/46] Compiling Moderator Moderator.swift
[27/46] Emitting module Moderator
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/46] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
6 | let system_glob = Glibc.glob
7 | #else
8 | import Darwin
| `- error: no such module 'Darwin'
9 |
10 | let system_glob = Darwin.glob
BUILD FAILURE 6.1 android