Build Information
Failed to build SwiftExt, reference 1.0.0 (829b50), with Swift 6.2 for Android on 20 Jun 2025 20:20:58 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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/SwiftExt.git
Reference: 1.0.0
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/SwiftExt
* tag 1.0.0 -> FETCH_HEAD
HEAD is now at 829b508 moved all the swift extensions to this project
Cloned https://github.com/skunkrocker/SwiftExt.git
Revision (git rev-parse @):
829b5083612f4d26e997a2b8a7df0f4ec5288a73
SUCCESS checkout https://github.com/skunkrocker/SwiftExt.git at 1.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/skunkrocker/SwiftExt.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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
[1/1196] Fetching rainbow
[1197/8051] Fetching rainbow, swift-tools-support-core
Fetched https://github.com/onevcat/Rainbow from cache (0.54s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.58s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.46s)
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.64s)
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-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Building for debugging...
[0/9] Write sources
[5/9] Compiling TSCclibc libc.c
[6/9] Compiling TSCclibc strerror.c
[7/9] Compiling TSCclibc process.c
[8/9] Write swift-version-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/22] 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 | }
[11/23] Compiling Rainbow Style.swift
[12/23] Compiling Rainbow StringGenerator.swift
[13/23] Compiling Rainbow String+Rainbow.swift
[14/23] Emitting module TSCLibc
[15/23] Compiling TSCLibc libc.swift
[17/64] Compiling Rainbow Rainbow.swift
[18/64] Compiling TSCBasic CacheableSequence.swift
[19/64] Compiling TSCBasic Closable.swift
[20/64] Compiling TSCBasic ByteString.swift
[21/64] Compiling TSCBasic CStringArray.swift
[22/64] 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 | }
[23/64] Compiling TSCBasic Await.swift
[24/64] Compiling TSCBasic Base64URL.swift
BUILD FAILURE 6.2 android