The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build RPG-card-generator, reference master (e852b6), with Swift 6.2 (beta) for Android on 18 Jun 2025 10:00:41 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/Samasaur1/RPG-card-generator.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/Samasaur1/RPG-card-generator
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at e852b6d Update RPGSTDLIB with four more spells
Cloned https://github.com/Samasaur1/RPG-card-generator.git
Revision (git rev-parse @):
e852b6d565d973f82d3d3e46eb9dbcbc949b95e8
SUCCESS checkout https://github.com/Samasaur1/RPG-card-generator.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/Samasaur1/RPG-card-generator.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/onevcat/Rainbow
Fetching https://github.com/JohnSundell/Files
[1/1248] Fetching files
[26/2444] Fetching files, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.24s)
Fetched https://github.com/JohnSundell/Files from cache (0.25s)
Computing version for https://github.com/JohnSundell/Files
Computed https://github.com/JohnSundell/Files at 2.3.0 (0.58s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.36s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Creating working copy for https://github.com/JohnSundell/Files
Working copy of https://github.com/JohnSundell/Files resolved at 2.3.0
Building for debugging...
[0/9] Write sources
[3/9] Write swift-version-8C5A4AE7A8CE2BA.txt
[5/22] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/23] Compiling Rainbow BackgroundColor.swift
[7/23] Compiling Rainbow CodesParser.swift
[8/23] 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 |         }
[9/23] Compiling Rainbow XcodeColorsSupport.swift
[10/23] Compiling Rainbow String+Rainbow.swift
[11/23] Compiling Rainbow StringGenerator.swift
[12/23] Compiling Rainbow Rainbow.swift
[13/23] Compiling Rainbow Color.swift
[14/23] Compiling Rainbow ControlCode.swift
[15/23] 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/23] 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/23] Emitting module Files
BUILD FAILURE 6.2 android