The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftBeanCountCLI, reference v0.1.0 (6699a0), with Swift 6.3 for Android on 13 Apr 2026 14:53:18 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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/Nef10/SwiftBeanCountCLI.git
Reference: v0.1.0
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
 * tag               v0.1.0     -> FETCH_HEAD
HEAD is now at 6699a08 Bump version and update readme
Cloned https://github.com/Nef10/SwiftBeanCountCLI.git
Revision (git rev-parse @):
6699a081e1b9a371de0363ab593b5b50ca434cd9
SUCCESS checkout https://github.com/Nef10/SwiftBeanCountCLI.git at v0.1.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.3
Building package at path:  $PWD
https://github.com/Nef10/SwiftBeanCountCLI.git
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/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[1/1442] Fetching rainbow
[102/2371] Fetching rainbow, swiftytexttable
[2372/3033] Fetching rainbow, swiftytexttable, swiftbeancounttax
[2498/6804] Fetching rainbow, swiftytexttable, swiftbeancounttax, swiftbeancountmodel
[2773/24327] Fetching rainbow, swiftytexttable, swiftbeancounttax, swiftbeancountmodel, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (0.68s)
[3103/22885] Fetching swiftytexttable, swiftbeancounttax, swiftbeancountmodel, swift-argument-parser
[3538/25290] Fetching swiftytexttable, swiftbeancounttax, swiftbeancountmodel, swift-argument-parser, swiftbeancountparser
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (5.83s)
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (5.84s)
Fetched https://github.com/apple/swift-argument-parser from cache (5.87s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (6.04s)
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (6.36s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (10.80s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.2 (0.77s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (0.81s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.84s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.87s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (0.89s)
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
Creating working copy for https://github.com/Nef10/SwiftBeanCountTax.git
Working copy of https://github.com/Nef10/SwiftBeanCountTax.git resolved at 0.0.2
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.2.3
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
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version--4F562202D5529B1.txt
[11/57] Emitting module SwiftBeanCountModel
[12/59] Compiling SwiftBeanCountModel Option.swift
[13/59] Compiling SwiftBeanCountModel Inventory.swift
[14/60] Compiling SwiftBeanCountModel Tag.swift
[15/60] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[16/60] Compiling SwiftBeanCountModel Commodity.swift
[17/60] Compiling SwiftBeanCountModel Cost.swift
[18/60] Emitting module ArgumentParserToolInfo
[19/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/61] Wrapping AST for ArgumentParserToolInfo for debugging
[22/98] Emitting module ArgumentParser
[23/103] Compiling ArgumentParser Option.swift
[24/103] Compiling ArgumentParser OptionGroup.swift
[25/103] Compiling ArgumentParser AsyncParsableCommand.swift
[26/103] Compiling ArgumentParser CommandConfiguration.swift
[27/103] Compiling ArgumentParser EnumerableFlag.swift
[28/103] Compiling ArgumentParser Name.swift
[29/103] Compiling ArgumentParser Parsed.swift
[30/103] Compiling ArgumentParser ParsedValues.swift
[31/103] Compiling ArgumentParser ParserError.swift
[32/103] Compiling ArgumentParser SplitArguments.swift
[33/103] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[34/103] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[35/103] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[36/103] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[37/103] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
 34 | #else
 35 |     // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
 36 |     guard let shellVar = getenv("SHELL") else { return nil }
    |                          `- error: cannot find 'getenv' in scope
 37 |     let shellParts = String(cString: shellVar).split(separator: "/")
 38 |     return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
 54 |   /// The code for successful exit.
 55 |   static var exitCodeSuccess: Int32 {
 56 |     EXIT_SUCCESS
    |     `- error: cannot find 'EXIT_SUCCESS' in scope
 57 |   }
 58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
 59 |   /// The code for exit with a general failure.
 60 |   static var exitCodeFailure: Int32 {
 61 |     EXIT_FAILURE
    |     `- error: cannot find 'EXIT_FAILURE' in scope
 62 |   }
 63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
 69 |     return EXIT_FAILURE
 70 | #else
 71 |     return EX_USAGE
    |            `- error: cannot find 'EX_USAGE' in scope
 72 | #endif
 73 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                 `- error: cannot find 'putc' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                                         `- error: cannot find 'stderr' in scope
102 |     }
103 |   }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
 99 |   struct StandardError: TextOutputStream {
100 |     mutating func write(_ string: String) {
101 |       for byte in string.utf8 { putc(numericCast(byte), stderr) }
    |                                      `- error: generic parameter 'U' could not be inferred
102 |     }
103 |   }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
  |                        `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 |             height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 |     var w = winsize()
    |             `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 |     // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |               `- error: cannot find 'ioctl' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                     `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 |     let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 |     let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
    |                                    `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 |     let width = Int(w.ws_col)
[38/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/103] Compiling ArgumentParser CompletionsGenerator.swift
[40/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/103] Compiling ArgumentParser Argument.swift
[43/103] Compiling ArgumentParser ArgumentHelp.swift
[44/103] Compiling ArgumentParser ExpressibleByArgument.swift
[45/103] Compiling ArgumentParser ParsableArguments.swift
[46/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[47/103] Compiling ArgumentParser ParsableCommand.swift
[48/103] Compiling ArgumentParser ArgumentDecoder.swift
[49/103] Compiling ArgumentParser ArgumentDefinition.swift
[50/103] Compiling ArgumentParser ArgumentSet.swift
[51/103] Compiling ArgumentParser CommandParser.swift
[52/103] Compiling ArgumentParser InputKey.swift
[53/103] Compiling ArgumentParser InputOrigin.swift
[54/103] Compiling ArgumentParser ArgumentVisibility.swift
[55/103] Compiling ArgumentParser CompletionKind.swift
[56/103] Compiling ArgumentParser Errors.swift
[57/103] Compiling ArgumentParser Flag.swift
[58/103] Compiling ArgumentParser NameSpecification.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[61/103] 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 |         }
/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 |         }
[81/103] Compiling Rainbow StyledStringBuilder.swift
[88/103] Emitting module SwiftyTextTable
[89/104] Compiling ArgumentParser DumpHelpGenerator.swift
[90/104] Compiling ArgumentParser HelpCommand.swift
[91/104] Compiling ArgumentParser HelpGenerator.swift
[92/104] Compiling ArgumentParser MessageInfo.swift
[93/104] Compiling ArgumentParser UsageGenerator.swift
[94/104] Compiling SwiftyTextTable TextTable.swift
BUILD FAILURE 6.3 android