Build Information
Failed to build SwiftAsk, reference 1.0.2 (3ef514), with Swift 6.2 for Android on 20 Jun 2025 20:18:40 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.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/SwiftAsk.git
Reference: 1.0.2
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/SwiftAsk
* tag 1.0.2 -> FETCH_HEAD
HEAD is now at 3ef514a ask question and act only if positive answer given
Cloned https://github.com/skunkrocker/SwiftAsk.git
Revision (git rev-parse @):
3ef514a5fe29fb2bb82d4fa17d0b35ae4eb37f73
SUCCESS checkout https://github.com/skunkrocker/SwiftAsk.git at 1.0.2
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/skunkrocker/SwiftAsk.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/skunkrocker/SwiftExt.git
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/1221] Fetching rainbow, swiftext
[1222/8076] Fetching rainbow, swiftext, swift-tools-support-core
Fetched https://github.com/onevcat/Rainbow from cache (0.33s)
[2219/6880] Fetching swiftext, swift-tools-support-core
Fetched https://github.com/skunkrocker/SwiftExt.git from cache (0.52s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.52s)
Computing version for https://github.com/skunkrocker/SwiftExt.git
Computed https://github.com/skunkrocker/SwiftExt.git at 1.0.0 (1.06s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.10s)
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.65s)
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/skunkrocker/SwiftExt.git
Working copy of https://github.com/skunkrocker/SwiftExt.git resolved at 1.0.0
Building for debugging...
[0/10] Write sources
[6/10] Compiling TSCclibc strerror.c
[7/10] Compiling TSCclibc process.c
[8/10] Compiling TSCclibc libc.c
[9/10] Write swift-version-8C5A4AE7A8CE2BA.txt
[11/23] Emitting module TSCLibc
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/23] 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 | }
[13/24] Compiling Rainbow StringGenerator.swift
[14/24] Compiling Rainbow String+Rainbow.swift
[15/24] Compiling Rainbow Style.swift
[16/24] Compiling TSCLibc libc.swift
[18/65] Compiling TSCBasic Await.swift
[19/65] Compiling TSCBasic Base64URL.swift
[20/65] Compiling TSCBasic ByteString.swift
[21/65] Compiling TSCBasic CStringArray.swift
[22/65] Compiling TSCBasic CacheableSequence.swift
[23/65] Compiling TSCBasic Closable.swift
[24/65] Compiling Rainbow Rainbow.swift
[25/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 | }
BUILD FAILURE 6.2 android