The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build SwiftBeanCountCLI, reference main (6275f0), with Swift 6.1 for Android on 13 Dec 2025 12:34:27 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>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
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 6275f0a Bump actions/upload-artifact to v6
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
6275f0a9f3bf64e293dde73defccd30cbbb798cc
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.6.1",
            "upper_bound" : "1.7.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.2.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-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 -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:df03784badd7f27c5aaf58aceda7a3eace61955b295b55f91184969c309ad8ef
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/SwiftBeanCountParser.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
[1/929] Fetching swiftytexttable
[930/4694] Fetching swiftytexttable, swiftbeancountmodel
[968/5348] Fetching swiftytexttable, swiftbeancountmodel, swiftbeancounttax
[1013/22269] Fetching swiftytexttable, swiftbeancountmodel, swiftbeancounttax, swift-argument-parser
[1323/24666] Fetching swiftytexttable, swiftbeancountmodel, swiftbeancounttax, swift-argument-parser, swiftbeancountparser
[3002/26028] Fetching swiftytexttable, swiftbeancountmodel, swiftbeancounttax, swift-argument-parser, swiftbeancountparser, rainbow
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.29s)
[11318/25374] Fetching swiftytexttable, swiftbeancountmodel, swift-argument-parser, swiftbeancountparser, rainbow
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.72s)
[23278/24445] Fetching swiftbeancountmodel, swift-argument-parser, swiftbeancountparser, rainbow
Fetched https://github.com/onevcat/Rainbow from cache (3.39s)
Fetched https://github.com/apple/swift-argument-parser from cache (3.40s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (3.49s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (3.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (5.76s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.58s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.56s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.55s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.55s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.2 (0.56s)
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/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.2
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
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[10/21] Write swift-version-24593BA9C3E375BF.txt
[12/58] Emitting module SwiftBeanCountModel
[13/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/60] Emitting module ArgumentParserToolInfo
[15/61] Compiling Rainbow StringGenerator.swift
[16/61] Compiling Rainbow Style.swift
[17/61] Compiling Rainbow String+ConditionalStyling.swift
[18/61] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[19/62] 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 |         }
[20/62] Compiling Rainbow BackgroundColor.swift
[21/62] Compiling Rainbow CodesParser.swift
[22/62] Wrapping AST for ArgumentParserToolInfo for debugging
[24/106] Compiling ArgumentParser ArgumentVisibility.swift
[25/106] Compiling ArgumentParser CompletionKind.swift
[26/106] Compiling ArgumentParser Errors.swift
[27/106] Compiling ArgumentParser Flag.swift
[28/106] Compiling ArgumentParser NameSpecification.swift
[29/106] Compiling ArgumentParser Option.swift
[30/112] Emitting module ArgumentParser
[31/112] Compiling ArgumentParser BashCompletionsGenerator.swift
[32/112] Compiling ArgumentParser CompletionsGenerator.swift
[33/112] Compiling ArgumentParser FishCompletionsGenerator.swift
[34/112] Compiling ArgumentParser ZshCompletionsGenerator.swift
[35/112] Compiling ArgumentParser Argument.swift
[36/112] Compiling ArgumentParser ArgumentDiscussion.swift
[37/112] Compiling ArgumentParser ArgumentHelp.swift
[38/112] Compiling ArgumentParser Tree.swift
[39/112] Compiling ArgumentParser CodingKeyValidator.swift
[40/112] Compiling ArgumentParser NonsenseFlagsValidator.swift
[41/112] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/112] Compiling ArgumentParser PositionalArgumentsValidator.swift
[43/112] Compiling ArgumentParser UniqueNamesValidator.swift
[46/112] Compiling ArgumentParser CommandConfiguration.swift
[47/112] Compiling ArgumentParser CommandGroup.swift
[48/112] Compiling Rainbow StyledStringBuilder.swift
[49/112] Emitting module SwiftyTextTable
[50/112] Compiling SwiftyTextTable TextTable.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 |         }
/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 |         }
[53/113] Compiling ArgumentParser OptionGroup.swift
[54/113] Compiling ArgumentParser AsyncParsableCommand.swift
[57/113] Compiling ArgumentParser EnumerableFlag.swift
[58/113] Compiling ArgumentParser ExpressibleByArgument.swift
[59/113] Compiling ArgumentParser ParsableArguments.swift
[60/113] Compiling ArgumentParser ParsableCommand.swift
[61/113] Compiling ArgumentParser ArgumentDecoder.swift
[62/113] Compiling ArgumentParser ArgumentDefinition.swift
[63/113] Compiling ArgumentParser ArgumentSet.swift
[64/113] Compiling ArgumentParser CommandParser.swift
[74/113] Compiling ArgumentParser CollectionExtensions.swift
[75/113] Compiling ArgumentParser Mutex.swift
[76/113] Compiling ArgumentParser Platform.swift
[77/113] Compiling ArgumentParser SequenceExtensions.swift
[78/113] Compiling ArgumentParser StringExtensions.swift
[79/113] Compiling ArgumentParser SwiftExtensions.swift
[94/114] Compiling ArgumentParser InputKey.swift
[95/114] Compiling ArgumentParser InputOrigin.swift
[96/114] Compiling ArgumentParser Name.swift
[97/114] Compiling ArgumentParser Parsed.swift
[98/114] Compiling ArgumentParser ParsedValues.swift
[99/114] Compiling ArgumentParser ParserError.swift
[100/114] Compiling ArgumentParser SplitArguments.swift
[101/114] Compiling ArgumentParser DumpHelpGenerator.swift
[102/114] Compiling ArgumentParser HelpCommand.swift
[103/114] Compiling ArgumentParser HelpGenerator.swift
[104/114] Compiling ArgumentParser MessageInfo.swift
[105/114] Compiling ArgumentParser UsageGenerator.swift
[105/114] Wrapping AST for SwiftyTextTable for debugging
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/13] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 |         }
[5/51] Emitting module SwiftyTextTable
[6/51] Compiling SwiftyTextTable TextTable.swift
[7/52] Compiling SwiftBeanCountModel Account.swift
[8/52] Compiling SwiftBeanCountModel AccountName.swift
[9/52] Emitting module SwiftBeanCountModel
[11/54] Compiling Rainbow StyledStringBuilder.swift
[12/54] Compiling Rainbow HSLColorConverter.swift
[13/54] Compiling Rainbow ModesExtractor.swift
[14/54] Compiling Rainbow StringGenerator.swift
[15/54] Compiling Rainbow Style.swift
[15/54] Wrapping AST for SwiftyTextTable for debugging
[17/54] Compiling Rainbow ConditionalStyleBuilder.swift
[18/54] Compiling Rainbow ControlCode.swift
[19/54] Compiling SwiftBeanCountModel Transaction.swift
[20/54] Compiling SwiftBeanCountModel TransactionMetaData.swift
[21/54] Compiling Rainbow Color.swift
[22/54] Compiling Rainbow ColorApproximation.swift
[25/54] Compiling Rainbow String+ConditionalStyling.swift
[26/54] Compiling Rainbow String+Rainbow.swift
[27/54] 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 |         }
[28/54] 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 |         }
[29/54] Compiling SwiftBeanCountModel TransactionPosting.swift
[30/54] Compiling SwiftBeanCountModel ValidationResult.swift
[31/54] Emitting module ArgumentParserToolInfo
[42/54] Compiling SwiftBeanCountModel Flag.swift
BUILD FAILURE 6.1 android