Build Information
Failed to build SwiftBar, reference develop (42d506), with Swift 6.2 for Android on 20 Jun 2025 20:18:07 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/skunkrocker/SwiftBar.git
Reference: develop
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/skunkrocker/SwiftBar
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 42d506c Merge branch 'develop' of github.com:skunkrocker/SwiftBar into develop
Cloned https://github.com/skunkrocker/SwiftBar.git
Revision (git rev-parse @):
42d506c43b5f1e5853adc9bcfa189af764fbbfa1
SUCCESS checkout https://github.com/skunkrocker/SwiftBar.git at develop
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/skunkrocker/SwiftBar.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-tools-support-core.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/skunkrocker/SwiftExt.git
[1/25] Fetching swiftext
[26/1221] Fetching swiftext, rainbow
[1222/8076] Fetching swiftext, rainbow, swift-tools-support-core
Fetched https://github.com/skunkrocker/SwiftExt.git from cache (0.32s)
Fetched https://github.com/onevcat/Rainbow from cache (0.32s)
[1920/6855] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.55s)
Computing version for https://github.com/skunkrocker/SwiftExt.git
Computed https://github.com/skunkrocker/SwiftExt.git at 1.0.0 (1.08s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.61s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.57s)
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/skunkrocker/SwiftExt.git
Working copy of https://github.com/skunkrocker/SwiftExt.git resolved at 1.0.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Building for debugging...
[0/10] Write sources
[6/10] Compiling TSCclibc libc.c
[7/10] Compiling TSCclibc process.c
[8/10] Compiling TSCclibc strerror.c
[8/10] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/23] Compiling Rainbow StringGenerator.swift
[12/24] Compiling Rainbow ControlCode.swift
[13/24] Compiling Rainbow ModesExtractor.swift
[14/24] Compiling Rainbow Style.swift
[15/24] Emitting module TSCLibc
[16/24] Compiling TSCLibc libc.swift
[18/65] Compiling Rainbow String+Rainbow.swift
[19/65] 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 | }
[20/65] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/65] Compiling TSCBasic ByteString.swift
[22/65] Compiling TSCBasic CStringArray.swift
[23/65] Compiling TSCBasic Await.swift
[24/65] Compiling TSCBasic Base64URL.swift
[25/65] 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 | }
BUILD FAILURE 6.2 android