Build Information
Failed to build swift-aria2, reference main (e1ea84), with Swift 6.2 for Android on 26 Dec 2025 17:30:38 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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/McNight/Swift-Aria2.git
Reference: main
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/McNight/Swift-Aria2
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at e1ea84a Update dependencies
Cloned https://github.com/McNight/Swift-Aria2.git
Revision (git rev-parse @):
e1ea84a507aadfd5e405a426d52fd6a872ae7625
SUCCESS checkout https://github.com/McNight/Swift-Aria2.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/McNight/Swift-Aria2.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/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:5dcfe09194e3c36609f58c2a9689c9c974fddafea0cac7c12077a98d08c6b397
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora
[1/16705] Fetching noora
[1338/33692] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.41s)
Fetched https://github.com/tuist/Noora from cache (5.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.0 (6.96s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.44s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/path
[1/381] Fetching path
[382/1793] Fetching path, rainbow
[1794/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/tuist/path from cache (0.28s)
[1758/7171] Fetching rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.46s)
Fetched https://github.com/apple/swift-log from cache (3.60s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (11.16s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.39s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.48s)
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.7.0
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.8.0
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.53.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[11/26] Write swift-version-2B04F66FBCF4E350.txt
[12/50] Compiling CxxAria2 handle.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/54] 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 | }
[15/54] Compiling Rainbow BackgroundColor.swift
[16/54] Compiling Rainbow CodesParser.swift
[17/55] Compiling Rainbow StringGenerator.swift
[18/55] Compiling Rainbow Style.swift
[19/55] Compiling Rainbow ConditionalStyleBuilder.swift
[20/55] Compiling Rainbow ControlCode.swift
[21/55] Compiling Rainbow String+ConditionalStyling.swift
[22/55] Compiling Rainbow String+Rainbow.swift
[23/55] Emitting module Path
[24/55] Compiling Path Path.swift
[26/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/56] Emitting module ArgumentParserToolInfo
[27/57] Wrapping AST for Path for debugging
[29/67] Wrapping AST for ArgumentParserToolInfo for debugging
[31/103] Compiling Logging MetadataProvider.swift
[32/103] Compiling Logging LogHandler.swift
[33/103] Compiling Logging Locks.swift
[34/103] Emitting module Logging
[35/103] Compiling Logging Logging.swift
[36/104] Compiling Rainbow StyledStringBuilder.swift
[38/104] Compiling ArgumentParser FishCompletionsGenerator.swift
[39/104] Compiling ArgumentParser ZshCompletionsGenerator.swift
[40/104] Compiling ArgumentParser ArgumentHelp.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 | }
[41/104] Compiling ArgumentParser ParentCommand.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 | }
[42/104] Compiling ArgumentParser AsyncParsableCommand.swift
[43/104] Compiling ArgumentParser CommandConfiguration.swift
[43/104] Wrapping AST for Logging for debugging
BUILD FAILURE 6.2 android