Build Information
Failed to build SwiftBeanCountCLI, reference main (a890d8
), with Swift 6.1 for Android on 3 Jun 2025 08:14:11 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCLI.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/Nef10/SwiftBeanCountCLI
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a890d87 Bump SwiftLint to 0.59.1
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
a890d870f9cc92fcfb9026ef547fb314c3b3c92a
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCLI.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/Nef10/SwiftBeanCountCLI.git
https://github.com/Nef10/SwiftBeanCountCLI.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swiftbeancountmodel",
"requirement" : {
"exact" : [
"0.1.6"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountModel.git"
},
{
"identity" : "swiftbeancountparser",
"requirement" : {
"exact" : [
"0.1.8"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountParser.git"
},
{
"identity" : "swiftbeancounttax",
"requirement" : {
"exact" : [
"0.0.4"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.5.0",
"upper_bound" : "1.6.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser"
},
{
"identity" : "swiftytexttable",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.0",
"upper_bound" : "0.10.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/scottrhoyt/SwiftyTextTable.git"
},
{
"identity" : "rainbow",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.0",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/onevcat/Rainbow"
}
],
"manifest_display_name" : "SwiftBeanCountCLI",
"name" : "SwiftBeanCountCLI",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "swiftbeancount",
"targets" : [
"SwiftBeanCountCLI"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "SwiftBeanCountCLITests",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLITests",
"path" : "Tests/SwiftBeanCountCLITests",
"sources" : [
"ColorizedCommandTests.swift",
"FormattableCommandTests.swift",
"HelpTests.swift",
"SubCommands/AccountsTests.swift",
"SubCommands/CheckTests.swift",
"SubCommands/StatsTests.swift",
"SubCommands/TaxSlipTests.swift",
"XCTest+Execution.swift",
"XCTestCase+File.swift"
],
"target_dependencies" : [
"SwiftBeanCountCLI"
],
"type" : "test"
},
{
"c99name" : "SwiftBeanCountCLI",
"module_type" : "SwiftTarget",
"name" : "SwiftBeanCountCLI",
"path" : "Sources/SwiftBeanCountCLI",
"product_dependencies" : [
"SwiftBeanCountModel",
"SwiftBeanCountParser",
"SwiftBeanCountTax",
"ArgumentParser",
"SwiftyTextTable",
"Rainbow"
],
"product_memberships" : [
"swiftbeancount"
],
"sources" : [
"ColorizedCommand.swift",
"FormattableCommand.swift",
"FormattableLedgerCommand.swift",
"LedgerCommand.swift",
"SubCommands/Accounts.swift",
"SubCommands/Check.swift",
"SubCommands/Stats.swift",
"SubCommands/TaxSlips.swift",
"SwiftBeanCountCLI.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[1/929] Fetching swiftytexttable
[930/1460] Fetching swiftytexttable, swiftbeancounttax
[941/2656] Fetching swiftytexttable, swiftbeancounttax, rainbow
[2657/4848] Fetching swiftytexttable, swiftbeancounttax, rainbow, swiftbeancountparser
[3666/8208] Fetching swiftytexttable, swiftbeancounttax, rainbow, swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.36s)
[7005/7677] Fetching swiftytexttable, rainbow, swiftbeancountparser, swiftbeancountmodel
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.36s)
[4847/5485] Fetching swiftytexttable, rainbow, swiftbeancountmodel
Fetched https://github.com/onevcat/Rainbow from cache (0.49s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.49s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.49s)
[1/15380] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.98s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.29s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.50s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.50s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (1.08s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.51s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (0.84s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/scottrhoyt/SwiftyTextTable.git
Working copy of https://github.com/scottrhoyt/SwiftyTextTable.git resolved at 0.9.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountTax.git
Working copy of https://github.com/Nef10/SwiftBeanCountTax.git resolved at 0.0.4
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/53] 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 | }
[12/54] Compiling Rainbow ControlCode.swift
[13/54] Compiling Rainbow ModesExtractor.swift
[14/54] Emitting module ArgumentParserToolInfo
[15/54] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/55] Compiling Rainbow StringGenerator.swift
[17/55] Compiling Rainbow String+Rainbow.swift
[19/55] Compiling Rainbow Style.swift
[19/55] Wrapping AST for ArgumentParserToolInfo for debugging
[21/93] Emitting module ArgumentParser
[22/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/93] Compiling ArgumentParser CompletionsGenerator.swift
[24/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/93] Compiling ArgumentParser Argument.swift
[27/93] Compiling ArgumentParser ArgumentHelp.swift
[28/98] Compiling ArgumentParser ArgumentVisibility.swift
[29/98] Compiling ArgumentParser CompletionKind.swift
[30/98] Compiling ArgumentParser Errors.swift
[31/98] Compiling ArgumentParser Flag.swift
[32/98] Compiling ArgumentParser NameSpecification.swift
[33/98] Compiling ArgumentParser Option.swift
[34/98] Compiling ArgumentParser OptionGroup.swift
[35/98] Compiling ArgumentParser AsyncParsableCommand.swift
[36/98] Compiling ArgumentParser CommandConfiguration.swift
[37/98] Compiling ArgumentParser CommandGroup.swift
[38/98] Compiling ArgumentParser EnumerableFlag.swift
[39/98] Compiling ArgumentParser ArgumentDefinition.swift
[40/98] Compiling ArgumentParser ArgumentSet.swift
[41/98] Compiling ArgumentParser CommandParser.swift
[42/98] Compiling ArgumentParser InputKey.swift
[43/98] Compiling ArgumentParser InputOrigin.swift
[44/98] Compiling ArgumentParser ExpressibleByArgument.swift
[45/98] Compiling ArgumentParser ParsableArguments.swift
[46/98] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/98] Compiling ArgumentParser ParsableCommand.swift
[48/98] Compiling ArgumentParser ArgumentDecoder.swift
[52/100] Compiling Rainbow Rainbow.swift
[53/100] Emitting module SwiftyTextTable
[54/100] Compiling SwiftyTextTable TextTable.swift
[55/100] 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 | }
[58/100] Compiling ArgumentParser CollectionExtensions.swift
[59/100] Compiling ArgumentParser Platform.swift
[60/100] Compiling ArgumentParser SequenceExtensions.swift
[61/100] Compiling ArgumentParser StringExtensions.swift
[62/100] Compiling ArgumentParser Tree.swift
[65/101] Compiling ArgumentParser Name.swift
[66/101] Compiling ArgumentParser Parsed.swift
[67/101] Compiling ArgumentParser ParsedValues.swift
[68/101] Compiling ArgumentParser ParserError.swift
[69/101] Compiling ArgumentParser SplitArguments.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" 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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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
Building for debugging...
[1/12] Write swift-version-24593BA9C3E375BF.txt
[3/45] Compiling SwiftyTextTable TextTable.swift
[4/45] Emitting module SwiftyTextTable
[5/46] Compiling Rainbow StringGenerator.swift
[7/47] Emitting module ArgumentParserToolInfo
[8/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[10/48] Compiling Rainbow Style.swift
[11/48] Compiling SwiftBeanCountModel Transaction.swift
[12/48] Compiling SwiftBeanCountModel TransactionMetaData.swift
[13/48] Emitting module SwiftBeanCountModel
[14/50] Compiling Rainbow ControlCode.swift
[15/50] Compiling Rainbow ModesExtractor.swift
[16/50] Compiling Rainbow Rainbow.swift
[17/50] 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 | }
[18/50] Compiling Rainbow String+Rainbow.swift
[19/50] Compiling SwiftBeanCountModel Price.swift
[20/50] Compiling SwiftBeanCountModel Tag.swift
[22/50] Compiling SwiftBeanCountModel Option.swift
[23/50] Compiling SwiftBeanCountModel TransactionPosting.swift
[24/50] Compiling SwiftBeanCountModel ValidationResult.swift
[25/50] Compiling SwiftBeanCountModel Account.swift
[26/50] Compiling SwiftBeanCountModel AccountName.swift
[27/50] Compiling SwiftBeanCountModel Amount.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/50] Compiling SwiftBeanCountModel Balance.swift
[29/50] Compiling SwiftBeanCountModel Commodity.swift
[32/50] 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 | }
[33/50] Compiling SwiftBeanCountModel Custom.swift
[34/50] Compiling SwiftBeanCountModel Event.swift
[35/50] Compiling SwiftBeanCountModel Flag.swift
[39/50] Compiling SwiftBeanCountModel Inventory.swift
[40/50] Compiling SwiftBeanCountModel Ledger.swift
[41/51] Wrapping AST for SwiftyTextTable for debugging
BUILD FAILURE 6.1 android