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 (b3af12), with Swift 6.1 for Android on 8 Sep 2025 09:42:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.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 b3af126 Bump swiftlint to 0.61.0
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
b3af126c2f3c7bd5251b448cbb87bff85b866428
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-4609320-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.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:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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/Nef10/SwiftBeanCountModel.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
[1/2326] Fetching swiftbeancountparser
[1002/5986] Fetching swiftbeancountparser, swiftbeancountmodel
[1524/6568] Fetching swiftbeancountparser, swiftbeancountmodel, swiftbeancounttax
[3995/7903] Fetching swiftbeancountparser, swiftbeancountmodel, swiftbeancounttax, rainbow
[5838/8832] Fetching swiftbeancountparser, swiftbeancountmodel, swiftbeancounttax, rainbow, swiftytexttable
[8016/24524] Fetching swiftbeancountparser, swiftbeancountmodel, swiftbeancounttax, rainbow, swiftytexttable, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.14s)
[8037/8832] Fetching swiftbeancountparser, swiftbeancountmodel, swiftbeancounttax, rainbow, swiftytexttable
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (4.34s)
Fetched https://github.com/onevcat/Rainbow from cache (4.95s)
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (4.95s)
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (4.95s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (5.04s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (7.04s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (0.68s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.6.1 (0.47s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.4 (0.48s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.50s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.51s)
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/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.6.1
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/Nef10/SwiftBeanCountParser.git
Working copy of https://github.com/Nef10/SwiftBeanCountParser.git resolved at 0.1.8
Creating working copy for https://github.com/Nef10/SwiftBeanCountModel.git
Working copy of https://github.com/Nef10/SwiftBeanCountModel.git resolved at 0.1.6
[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] Compiling SwiftBeanCountModel Ledger.swift
[13/58] Compiling SwiftBeanCountModel Price.swift
[14/59] Emitting module ArgumentParserToolInfo
[15/59] Compiling ArgumentParserToolInfo ToolInfo.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[16/60] 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 |         }
[17/60] Compiling SwiftBeanCountModel Tag.swift
[18/60] Compiling SwiftBeanCountModel Transaction.swift
[19/60] Wrapping AST for ArgumentParserToolInfo for debugging
[21/104] Compiling ArgumentParser InputKey.swift
[22/104] Compiling ArgumentParser InputOrigin.swift
[23/104] Compiling ArgumentParser Name.swift
[24/104] Compiling ArgumentParser Parsed.swift
[25/104] Compiling ArgumentParser ParsedValues.swift
[26/104] Compiling ArgumentParser ParserError.swift
[27/110] Compiling ArgumentParser Tree.swift
[28/110] Compiling ArgumentParser CodingKeyValidator.swift
[29/110] Compiling ArgumentParser NonsenseFlagsValidator.swift
[30/110] Compiling ArgumentParser ParsableArgumentsValidation.swift
[31/110] Compiling ArgumentParser PositionalArgumentsValidator.swift
[32/110] Compiling ArgumentParser UniqueNamesValidator.swift
[33/110] Compiling ArgumentParser ArgumentVisibility.swift
[34/110] Compiling ArgumentParser CompletionKind.swift
[35/110] Compiling ArgumentParser Errors.swift
[36/110] Compiling ArgumentParser Flag.swift
[37/110] Compiling ArgumentParser NameSpecification.swift
[38/110] Compiling ArgumentParser Option.swift
[39/110] Compiling ArgumentParser OptionGroup.swift
[40/110] Compiling ArgumentParser AsyncParsableCommand.swift
[41/110] Compiling ArgumentParser CommandConfiguration.swift
[42/110] Compiling ArgumentParser CollectionExtensions.swift
[43/110] Compiling ArgumentParser Mutex.swift
[44/110] Compiling ArgumentParser Platform.swift
[45/110] Compiling ArgumentParser SequenceExtensions.swift
[46/110] Compiling ArgumentParser StringExtensions.swift
[47/110] Compiling ArgumentParser SwiftExtensions.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 |         }
[53/112] Compiling ArgumentParser CommandGroup.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 |         }
[57/112] Compiling Rainbow StyledStringBuilder.swift
[59/112] Compiling ArgumentParser EnumerableFlag.swift
[60/112] Compiling ArgumentParser ExpressibleByArgument.swift
[61/112] Compiling ArgumentParser ParsableArguments.swift
[62/112] Compiling ArgumentParser ArgumentDefinition.swift
[63/112] Compiling ArgumentParser ArgumentSet.swift
[64/112] Compiling ArgumentParser ParsableCommand.swift
[65/112] Compiling ArgumentParser ArgumentDecoder.swift
[70/112] Emitting module SwiftyTextTable
[71/112] Compiling SwiftyTextTable TextTable.swift
[72/113] Emitting module SwiftBeanCountModel
[82/113] Compiling ArgumentParser BashCompletionsGenerator.swift
[83/113] Compiling ArgumentParser CompletionsGenerator.swift
[84/113] Compiling ArgumentParser FishCompletionsGenerator.swift
[85/113] Compiling ArgumentParser ZshCompletionsGenerator.swift
[86/113] Compiling ArgumentParser Argument.swift
[87/113] Compiling ArgumentParser ArgumentDiscussion.swift
[88/113] Compiling ArgumentParser ArgumentHelp.swift
[89/113] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:8106a39f56f5bb7aad9f0d9a94f1e5362f9a40b692f7bc17efe17b7b91dc65fc
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
[4/50] Compiling SwiftBeanCountModel Flag.swift
[5/50] Compiling SwiftBeanCountModel Price.swift
[6/51] Emitting module SwiftyTextTable
[7/51] Compiling SwiftyTextTable TextTable.swift
[9/52] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[10/52] Compiling SwiftBeanCountModel Option.swift
[11/54] Compiling SwiftBeanCountModel Balance.swift
[12/54] Compiling SwiftBeanCountModel Commodity.swift
[13/54] Compiling SwiftBeanCountModel Cost.swift
[13/54] Wrapping AST for SwiftyTextTable for debugging
[15/54] Compiling SwiftBeanCountModel Account.swift
[16/54] Compiling SwiftBeanCountModel AccountName.swift
[17/54] Compiling SwiftBeanCountModel Transaction.swift
[18/54] Compiling SwiftBeanCountModel TransactionMetaData.swift
[20/54] Compiling SwiftBeanCountModel Tag.swift
[23/54] Compiling SwiftBeanCountModel Inventory.swift
[24/54] Compiling SwiftBeanCountModel Ledger.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 |         }
[27/54] Compiling SwiftBeanCountModel Amount.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[29/54] Compiling SwiftBeanCountModel Custom.swift
[30/54] Compiling SwiftBeanCountModel Event.swift
[31/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 |         }
[32/54] Compiling Rainbow StyledStringBuilder.swift
[36/54] Emitting module SwiftBeanCountModel
BUILD FAILURE 6.1 android