Build Information
Failed to build ShXcrun, reference 0.50.1 (8128fa
), with Swift 6.2 (beta) for Android on 21 Jun 2025 11:12:38 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>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/danielsincere/ShXcrun.git
Reference: 0.50.1
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/danielsincere/ShXcrun
* tag 0.50.1 -> FETCH_HEAD
HEAD is now at 8128fae update Package.swift
Cloned https://github.com/danielsincere/ShXcrun.git
Revision (git rev-parse @):
8128fae96e027a12cc8524a51f3bdabe6e3d3d25
SUCCESS checkout https://github.com/danielsincere/ShXcrun.git at 0.50.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/danielsincere/ShXcrun.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/DanielSincere/Sh.git
[1/859] Fetching sh
Fetched https://github.com/DanielSincere/Sh.git from cache (0.22s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (0.61s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-system
[1/1196] Fetching rainbow
[1197/5632] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.33s)
Fetched https://github.com/apple/swift-system from cache (0.33s)
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-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.99s)
Creating working copy for https://github.com/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Building for debugging...
[0/6] Write sources
[4/6] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/6] Compiling CSystem shims.c
[7/45] Emitting module SystemPackage
[8/48] Compiling SystemPackage Util+StringArray.swift
[9/48] Compiling SystemPackage Util.swift
[10/48] Compiling SystemPackage UtilConsumers.swift
[11/48] Compiling SystemPackage MachPort.swift
[12/48] Compiling SystemPackage PlatformString.swift
[13/48] Compiling SystemPackage SystemString.swift
[14/48] Compiling SystemPackage Errno.swift
[15/48] Compiling SystemPackage ErrnoWindows.swift
[16/48] Compiling SystemPackage FileDescriptor.swift
[17/48] Compiling SystemPackage FileHelpers.swift
[18/48] Compiling SystemPackage FileOperations.swift
[19/48] Compiling SystemPackage FilePath.swift
[20/48] Compiling SystemPackage FilePathComponentView.swift
[21/48] Compiling SystemPackage FilePathComponents.swift
[22/48] Compiling SystemPackage FilePathParsing.swift
[23/48] Compiling SystemPackage FilePathString.swift
[24/48] Compiling SystemPackage FilePathSyntax.swift
[25/48] Compiling SystemPackage FilePathTemp.swift
[26/48] Compiling SystemPackage Mocking.swift
[27/48] Compiling SystemPackage RawBuffer.swift
[28/48] Compiling SystemPackage Syscalls.swift
[29/48] Compiling SystemPackage WindowsSyscallAdapters.swift
[30/48] Compiling SystemPackage Backcompat.swift
[31/48] Compiling SystemPackage CInterop.swift
[32/48] Compiling SystemPackage Constants.swift
[33/48] Compiling SystemPackage Exports.swift
[34/48] Compiling SystemPackage FilePathTempPosix.swift
[35/48] Compiling SystemPackage FilePathTempWindows.swift
[36/48] Compiling SystemPackage FilePathWindows.swift
[37/48] Compiling SystemPackage FilePermissions.swift
[39/49] 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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/50] 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 | }
[47/50] Compiling Rainbow StringGenerator.swift
[48/50] Compiling Rainbow String+Rainbow.swift
[49/50] Compiling Rainbow Rainbow.swift
[50/50] Compiling Rainbow Style.swift
BUILD FAILURE 6.2 android