Build Information
Failed to build swift-aria2, reference main (e1ea84), 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-3":/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: 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.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-3":/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/tuist/Noora
Fetching https://github.com/apple/swift-argument-parser.git
[1/16987] Fetching swift-argument-parser
[681/33692] Fetching swift-argument-parser, noora
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
[5873/16705] Fetching noora
Fetched https://github.com/tuist/Noora from cache (6.29s)
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.98s)
Computing version for https://github.com/tuist/Noora
Computed https://github.com/tuist/Noora at 0.53.0 (0.65s)
Fetching https://github.com/tuist/path
Fetching https://github.com/apple/swift-log
Fetching https://github.com/onevcat/Rainbow
[1/381] Fetching path
[382/1793] Fetching path, rainbow
[1794/7552] Fetching path, rainbow, swift-log
Fetched https://github.com/onevcat/Rainbow from cache (0.29s)
[785/6140] Fetching path, swift-log
Fetched https://github.com/tuist/path from cache (0.52s)
Fetched https://github.com/apple/swift-log from cache (0.53s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (3.07s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.8.0 (0.59s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (5.20s)
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/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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
[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/39] Emitting module ArgumentParserToolInfo
[15/54] Emitting module Logging
[16/54] Emitting module Path
[17/54] Compiling Path Path.swift
[19/55] Compiling Rainbow ConditionalStyleBuilder.swift
[20/55] Compiling Rainbow ControlCode.swift
[21/56] Compiling Rainbow String+ConditionalStyling.swift
[22/56] Compiling Rainbow String+Rainbow.swift
[23/56] Compiling Rainbow StringGenerator.swift
[24/56] Compiling Rainbow Style.swift
[25/56] Compiling ArgumentParserToolInfo ToolInfo.swift
[26/57] Wrapping AST for Path for debugging
[27/57] Wrapping AST for ArgumentParserToolInfo for debugging
[29/103] Compiling Logging MetadataProvider.swift
[30/103] Compiling Logging Locks.swift
[31/103] Compiling Logging LogHandler.swift
[32/103] Compiling Logging Logging.swift
[33/104] Wrapping AST for Logging for debugging
[35/104] Compiling ArgumentParser CommandConfiguration.swift
[36/104] Compiling ArgumentParser CommandGroup.swift
[37/104] Compiling ArgumentParser ParentCommand.swift
[38/104] Compiling ArgumentParser AsyncParsableCommand.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[39/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 | }
[40/104] Compiling Rainbow StyledStringBuilder.swift
[41/104] Compiling ArgumentParser ParsableArguments.swift
[42/104] Compiling ArgumentParser BashCompletionsGenerator.swift
[43/104] Compiling ArgumentParser ZshCompletionsGenerator.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 | }
[44/104] Compiling ArgumentParser Argument.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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/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] Compiling Logging MetadataProvider.swift
[5/44] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/44] Compiling Rainbow StringGenerator.swift
[7/44] Compiling Rainbow Style.swift
[8/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 | }
[9/45] Compiling Rainbow StyledStringBuilder.swift
[10/45] Compiling Rainbow HSLColorConverter.swift
[11/45] Compiling Rainbow ModesExtractor.swift
[12/45] Compiling Rainbow Color.swift
[13/45] Compiling Rainbow ColorApproximation.swift
[14/45] Compiling Rainbow ConditionalStyleBuilder.swift
[15/45] Compiling Rainbow ControlCode.swift
[16/45] Compiling Rainbow BackgroundColor.swift
[17/45] Compiling Rainbow CodesParser.swift
[18/45] Compiling Rainbow String+ConditionalStyling.swift
[19/45] Compiling Rainbow String+Rainbow.swift
[20/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 | }
[21/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 | }
[22/45] Compiling Path Path.swift
[23/45] Emitting module Path
[25/46] Emitting module ArgumentParserToolInfo
[26/46] Compiling ArgumentParserToolInfo ToolInfo.swift
[28/47] Compiling Logging LogHandler.swift
[29/47] Compiling Logging Locks.swift
[30/47] Compiling Logging Logging.swift
BUILD FAILURE 6.1 android