Build Information
Failed to build swift-aria2, reference 0.0.1 (eb07c0), with Swift 6.1 for Android on 26 Dec 2025 17:29:35 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/McNight/Swift-Aria2.git
Reference: 0.0.1
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
* tag 0.0.1 -> FETCH_HEAD
HEAD is now at eb07c02 Initial commit
Cloned https://github.com/McNight/Swift-Aria2.git
Revision (git rev-parse @):
eb07c02cba617ded3cb8a5f5c1af33dc6ce4f3bd
SUCCESS checkout https://github.com/McNight/Swift-Aria2.git at 0.0.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/McNight/Swift-Aria2.git
https://github.com/McNight/Swift-Aria2.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
},
{
"identity" : "noora",
"requirement" : {
"range" : [
{
"lower_bound" : "0.15.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/tuist/Noora"
}
],
"manifest_display_name" : "swift-aria2",
"name" : "swift-aria2",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "15.0"
}
],
"products" : [
{
"name" : "SwiftAria2",
"targets" : [
"SwiftAria2"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "URLSessionBindings",
"targets" : [
"URLSessionBindings"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "cli",
"targets" : [
"cli"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "cli",
"module_type" : "SwiftTarget",
"name" : "cli",
"path" : "Sources/cli",
"product_dependencies" : [
"ArgumentParser",
"Noora"
],
"product_memberships" : [
"cli"
],
"sources" : [
"cli.swift",
"download.swift"
],
"target_dependencies" : [
"SwiftAria2"
],
"type" : "executable"
},
{
"c99name" : "aria2",
"module_type" : "BinaryTarget",
"name" : "aria2",
"path" : "Frameworks/aria2.xcframework",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
],
"type" : "binary"
},
{
"c99name" : "URLSessionBindingsLoader",
"module_type" : "ClangTarget",
"name" : "URLSessionBindingsLoader",
"path" : "Sources/URLSessionBindingsLoader",
"product_memberships" : [
"URLSessionBindings"
],
"sources" : [
"AriaSwizzlingLoader.m"
],
"target_dependencies" : [
"SwiftAria2"
],
"type" : "library"
},
{
"c99name" : "URLSessionBindings",
"module_type" : "SwiftTarget",
"name" : "URLSessionBindings",
"path" : "Sources/URLSessionBindings",
"product_memberships" : [
"URLSessionBindings"
],
"sources" : [
"Aria+Conversions.swift",
"NSObject+Swizzling.swift",
"URLSession+Bindings.swift",
"URLSessionTask+Bindings.swift"
],
"target_dependencies" : [
"SwiftAria2",
"URLSessionBindingsLoader"
],
"type" : "library"
},
{
"c99name" : "SwiftAria2Tests",
"module_type" : "SwiftTarget",
"name" : "SwiftAria2Tests",
"path" : "Tests/SwiftAria2Tests",
"sources" : [
"SwiftAria2Tests.swift"
],
"target_dependencies" : [
"URLSessionBindings"
],
"type" : "test"
},
{
"c99name" : "SwiftAria2",
"module_type" : "SwiftTarget",
"name" : "SwiftAria2",
"path" : "Sources/SwiftAria2",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
"aria.swift",
"handle.swift",
"session.swift"
],
"target_dependencies" : [
"CxxAria2"
],
"type" : "library"
},
{
"c99name" : "CxxAria2",
"module_type" : "ClangTarget",
"name" : "CxxAria2",
"path" : "Sources/CxxAria2",
"product_memberships" : [
"SwiftAria2",
"URLSessionBindings",
"cli"
],
"sources" : [
"handle.cpp"
],
"target_dependencies" : [
"aria2"
],
"type" : "library"
}
],
"tools_version" : "6.0"
}
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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora
[1/16987] Fetching swift-argument-parser
[1021/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (6.41s)
Fetched https://github.com/tuist/Noora from cache (6.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 (7.31s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.62s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/path
[1/1412] Fetching rainbow
[2/1793] Fetching rainbow, path
Fetching https://github.com/apple/swift-log
Fetched https://github.com/tuist/path from cache (0.47s)
Fetched https://github.com/onevcat/Rainbow from cache (0.47s)
[1/5759] Fetching swift-log
Fetched https://github.com/apple/swift-log from cache (0.44s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.61s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (4.76s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (2.95s)
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/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/tuist/Noora
Working copy of https://github.com/tuist/Noora resolved at 0.53.0
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.8.0
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/26] Write sources
[11/26] Compiling CxxAria2 handle.cpp
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/54] Emitting module ArgumentParserToolInfo
[15/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/54] Compiling Rainbow StringGenerator.swift
[17/54] Compiling Rainbow Style.swift
[18/55] Emitting module Path
[19/55] Compiling Path Path.swift
[20/55] Compiling Rainbow BackgroundColor.swift
[21/56] Compiling Rainbow CodesParser.swift
[24/57] Compiling Rainbow String+ConditionalStyling.swift
[25/57] Compiling Rainbow String+Rainbow.swift
[25/57] Wrapping AST for Path for debugging
[26/57] Wrapping AST for ArgumentParserToolInfo for debugging
[28/103] Compiling Logging Locks.swift
[29/103] Emitting module Logging
[30/103] Compiling Logging MetadataProvider.swift
[31/103] Compiling Logging LogHandler.swift
[32/103] Compiling Logging Logging.swift
[33/104] Wrapping AST for Logging for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/104] 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 | }
[36/104] Compiling ArgumentParser Errors.swift
[37/104] Compiling ArgumentParser Flag.swift
[38/104] Compiling ArgumentParser ArgumentDecoder.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 | }
[39/104] Compiling ArgumentParser ArgumentDefinition.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 | }
[40/104] Compiling Rainbow StyledStringBuilder.swift
[41/104] Compiling ArgumentParser NameSpecification.swift
[42/104] Compiling ArgumentParser Option.swift
[43/104] Compiling ArgumentParser OptionGroup.swift
[44/104] Compiling ArgumentParser ParsableCommand.swift
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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/16] Write swift-version-24593BA9C3E375BF.txt
[4/44] Emitting module Path
[5/44] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/44] 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 | }
[7/45] Emitting module Logging
[8/45] Compiling Logging Locks.swift
[9/45] Compiling Rainbow ConditionalStyleBuilder.swift
[10/45] Compiling Rainbow ControlCode.swift
[11/45] Compiling Rainbow StyledStringBuilder.swift
[12/45] Compiling Rainbow StringGenerator.swift
[13/45] Compiling Rainbow Style.swift
[14/45] Compiling Rainbow String+ConditionalStyling.swift
[15/45] Compiling Rainbow String+Rainbow.swift
[16/45] Compiling Rainbow OutputTarget.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 | }
[17/45] Compiling Rainbow Rainbow.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 | }
[18/45] Compiling Rainbow HSLColorConverter.swift
[19/45] Compiling Rainbow ModesExtractor.swift
[20/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/45] Emitting module ArgumentParserToolInfo
[22/46] Compiling Path Path.swift
[24/47] Compiling Rainbow BackgroundColor.swift
[25/47] Compiling Rainbow CodesParser.swift
[26/47] Compiling Rainbow Color.swift
[27/47] Compiling Rainbow ColorApproximation.swift
[29/47] Compiling Logging Logging.swift
[30/47] Compiling Logging LogHandler.swift
BUILD FAILURE 6.1 android