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 BetterXC, reference master (3a87c1), with Swift 6.2 (beta) for Android on 18 Jun 2025 09:33:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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/monstar-lab/betterxc.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/monstar-lab/betterxc
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 3a87c18 Merge branch 'release/0.9.3'
Cloned https://github.com/monstar-lab/betterxc.git
Revision (git rev-parse @):
3a87c187cdc9a6e5b16ade2d71518bc6175b2720
SUCCESS checkout https://github.com/monstar-lab/betterxc.git at master
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/monstar-lab/betterxc.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/kareman/SwiftShell.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1196] Fetching rainbow
[1174/6059] Fetching rainbow, swiftshell
Fetched https://github.com/onevcat/Rainbow.git from cache (0.94s)
Fetching https://github.com/kareman/Moderator.git
Fetching https://github.com/xcodeswift/xcproj.git
Fetched https://github.com/kareman/SwiftShell.git from cache (1.11s)
[1/658] Fetching moderator
[449/23991] Fetching moderator, xcproj
Fetched https://github.com/kareman/Moderator.git from cache (2.15s)
Fetched https://github.com/xcodeswift/xcproj.git from cache (2.16s)
Computing version for https://github.com/xcodeswift/xcproj.git
Computed https://github.com/xcodeswift/xcproj.git at 4.3.1 (4.01s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/tadija/AEXML.git
[1/1411] Fetching pathkit
[975/2391] Fetching pathkit, shellout
[2265/4518] Fetching pathkit, shellout, aexml
Fetched https://github.com/JohnSundell/ShellOut.git from cache (0.41s)
Fetched https://github.com/kylef/PathKit.git from cache (0.44s)
Fetched https://github.com/tadija/AEXML.git from cache (0.44s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (3.73s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.39s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.87s)
Computing version for https://github.com/kareman/Moderator.git
Computed https://github.com/kareman/Moderator.git at 0.5.1 (0.45s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (3.83s)
Computing version for https://github.com/JohnSundell/ShellOut.git
Computed https://github.com/JohnSundell/ShellOut.git at 2.3.0 (0.73s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.49s)
Creating working copy for https://github.com/JohnSundell/ShellOut.git
Working copy of https://github.com/JohnSundell/ShellOut.git resolved at 2.3.0
Creating working copy for https://github.com/xcodeswift/xcproj.git
Working copy of https://github.com/xcodeswift/xcproj.git resolved at 4.3.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/kareman/Moderator.git
Working copy of https://github.com/kareman/Moderator.git resolved at 0.5.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Building for debugging...
[0/17] Write sources
[7/17] Write swift-version-8C5A4AE7A8CE2BA.txt
[9/51] Emitting module Moderator
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/51] 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 |         }
[11/51] Compiling Rainbow BackgroundColor.swift
[12/51] Compiling Rainbow CodesParser.swift
[13/52] Compiling Moderator SwiftCompat.swift
[14/52] Compiling Rainbow Style.swift
[15/52] Compiling Rainbow XcodeColorsSupport.swift
[16/52] Compiling Rainbow StringGenerator.swift
[17/52] Compiling Rainbow String+Rainbow.swift
[18/52] Compiling Moderator Parsers.swift
[19/52] Compiling Rainbow Color.swift
[20/52] Compiling Rainbow ControlCode.swift
[21/52] Compiling SwiftShell Process.swift
[22/52] Compiling SwiftShell Array.swift
[25/53] Compiling SwiftShell Files.swift
[26/53] Emitting module SwiftShell
[29/53] 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 |         }
[30/53] 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 |         }
[31/53] Compiling Rainbow Rainbow.swift
[32/53] Compiling Moderator Moderator.swift
[33/54] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
error: emit-module command failed with exit code 1 (use -v to see invocation)
[34/54] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[36/54] Compiling AEXML Options.swift
[37/54] Compiling AEXML Document.swift
[38/54] Compiling AEXML Error.swift
BUILD FAILURE 6.2 android