The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FengNiao, reference master (180af9), with Swift 6.2 for Android on 25 Jun 2026 04:29:32 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4071e0796c748d991a0123890d2f0ecadc8fcc8c
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/onevcat/fengniao.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/onevcat/fengniao
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 180af9c Bump version to 0.13.0
Cloned https://github.com/onevcat/fengniao.git
Revision (git rev-parse @):
180af9c3e70f94aae4676312c84e2fad5a8106b4
SUCCESS checkout https://github.com/onevcat/fengniao.git at master
========================================
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-53886768-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:a30e3bfdcec38518f1e133b47d2d7fca472c20d828ebf94d6baf9d8167791ad0
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.2-latest
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1452] Fetching pathkit
[1003/2902] Fetching pathkit, rainbow
Fetched https://github.com/kylef/PathKit.git from cache (0.36s)
[522/1450] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow.git from cache (0.40s)
[1/17949] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.80s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.67s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.32s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.19s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 3.2.0 (0.86s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.15s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 3.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/17] Write sources
[8/17] Write swift-version--11D90AFD9DD3AB2.txt
[10/32] Compiling Rainbow StringGenerator.swift
[11/33] Compiling Rainbow BackgroundColor.swift
[12/33] Compiling Rainbow CodesParser.swift
[13/33] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/33] Emitting module ArgumentParserToolInfo
[15/34] Compiling Rainbow XcodeColorsSupport.swift
[17/34] Compiling Rainbow Style.swift
[17/34] Wrapping AST for ArgumentParserToolInfo for debugging
[19/81] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/81] 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
[21/81] 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
[22/81] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/81] 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 |         }
BUILD FAILURE 6.2 android