Build Information
Failed to build FengNiao, reference 0.11.0 (c8fad0), with Swift 6.2 for Android on 29 Nov 2025 13:52:34 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/fengniao.git
Reference: 0.11.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/onevcat/fengniao
* tag 0.11.0 -> FETCH_HEAD
HEAD is now at c8fad0a Bump version to 0.11.0
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
c8fad0a4cbc2325516a274c59dfdef24f10893f6
SUCCESS checkout https://github.com/onevcat/fengniao.git at 0.11.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/onevcat/fengniao.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:c3fe93b3f7c9edfd66b4287786a9b8caf7805f96d7219e301e257b4e0de911bb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/benoit-pereira-da-silva/CommandLine.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/683] Fetching commandline
[70/1704] Fetching commandline, spectre
[606/3142] Fetching commandline, spectre, pathkit
[1511/4481] Fetching commandline, spectre, pathkit, rainbow
Fetched https://github.com/kylef/Spectre.git from cache (0.29s)
Fetched https://github.com/kylef/PathKit.git from cache (0.32s)
Fetched https://github.com/benoit-pereira-da-silva/CommandLine.git from cache (0.32s)
Fetched https://github.com/onevcat/Rainbow.git from cache (0.33s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.46s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.44s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (2.16s)
Computing version for https://github.com/benoit-pereira-da-silva/CommandLine.git
Computed https://github.com/benoit-pereira-da-silva/CommandLine.git at 4.0.9 (0.43s)
Creating working copy for https://github.com/benoit-pereira-da-silva/CommandLine.git
Working copy of https://github.com/benoit-pereira-da-silva/CommandLine.git resolved at 4.0.9
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.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Building for debugging...
[0/13] Write sources
[5/13] Write swift-version--6B0C4D200E742BB1.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/30] 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
[8/30] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[9/30] 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 | }
[10/31] Compiling CommandLineKit StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/CommandLine/Sources/CommandLineKit/StringExtensions.swift:30:24: error: cannot find 'localeconv' in scope
28 | */
29 | private func _localDecimalPoint() -> Character {
30 | guard let locale = localeconv(), let decimalPoint = locale.pointee.decimal_point else {
| `- error: cannot find 'localeconv' in scope
31 | return "."
32 | }
[11/31] Compiling Rainbow Style.swift
[12/31] Compiling CommandLineKit Option.swift
[13/31] Compiling Rainbow StringGenerator.swift
[14/31] Compiling Rainbow XcodeColorsSupport.swift
[15/31] 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
[16/31] Compiling Rainbow BackgroundColor.swift
[17/31] Compiling Rainbow CodesParser.swift
[18/31] Compiling Rainbow Color.swift
[19/31] Compiling Rainbow ControlCode.swift
[20/31] Compiling Rainbow Rainbow.swift
[21/31] 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 | }
[22/31] 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 | }
[23/31] Compiling CommandLineKit CommandLine.swift
[24/31] Emitting module CommandLineKit
BUILD FAILURE 6.2 android