Build Information
Failed to build SwiftBeanCountCLI, reference v0.1.0 (6699a0
), with Swift 6.1 for Android on 28 May 2025 14:34:47 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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: 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.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.2"
]
},
"type" : "sourceControl",
"url" : "https://github.com/Nef10/SwiftBeanCountTax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "1.3.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.0.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" 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/Nef10/SwiftBeanCountParser.git
Fetching https://github.com/scottrhoyt/SwiftyTextTable.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/Nef10/SwiftBeanCountTax.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/Nef10/SwiftBeanCountModel.git
[1/519] Fetching swiftbeancounttax
[110/1448] Fetching swiftbeancounttax, swiftytexttable
[1449/2644] Fetching swiftbeancounttax, swiftytexttable, rainbow
[2645/4824] Fetching swiftbeancounttax, swiftytexttable, rainbow, swiftbeancountparser
[4760/8172] Fetching swiftbeancounttax, swiftytexttable, rainbow, swiftbeancountparser, swiftbeancountmodel
[8173/23523] Fetching swiftbeancounttax, swiftytexttable, rainbow, swiftbeancountparser, swiftbeancountmodel, swift-argument-parser
Fetched https://github.com/Nef10/SwiftBeanCountTax.git from cache (0.44s)
Fetched https://github.com/onevcat/Rainbow from cache (0.44s)
[6611/21808] Fetching swiftytexttable, swiftbeancountparser, swiftbeancountmodel, swift-argument-parser
Fetched https://github.com/Nef10/SwiftBeanCountModel.git from cache (0.44s)
[3417/18460] Fetching swiftytexttable, swiftbeancountparser, swift-argument-parser
Fetched https://github.com/scottrhoyt/SwiftyTextTable.git from cache (0.78s)
Fetched https://github.com/Nef10/SwiftBeanCountParser.git from cache (0.78s)
Fetched https://github.com/apple/swift-argument-parser from cache (0.79s)
Computing version for https://github.com/scottrhoyt/SwiftyTextTable.git
Computed https://github.com/scottrhoyt/SwiftyTextTable.git at 0.9.0 (2.86s)
Computing version for https://github.com/Nef10/SwiftBeanCountTax.git
Computed https://github.com/Nef10/SwiftBeanCountTax.git at 0.0.2 (1.78s)
Computing version for https://github.com/Nef10/SwiftBeanCountParser.git
Computed https://github.com/Nef10/SwiftBeanCountParser.git at 0.1.8 (2.82s)
Computing version for https://github.com/Nef10/SwiftBeanCountModel.git
Computed https://github.com/Nef10/SwiftBeanCountModel.git at 0.1.6 (0.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (0.99s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.3 (0.54s)
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/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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/20] Write sources
[9/20] Write swift-version-24593BA9C3E375BF.txt
[11/53] Emitting module ArgumentParserToolInfo
[12/53] Compiling ArgumentParserToolInfo ToolInfo.swift
[13/54] Wrapping AST for ArgumentParserToolInfo for debugging
[15/91] Compiling Rainbow StringGenerator.swift
[16/92] Compiling Rainbow Style.swift
[17/92] Emitting module ArgumentParser
[18/97] Compiling ArgumentParser ArgumentVisibility.swift
[19/97] Compiling ArgumentParser CompletionKind.swift
[20/97] Compiling ArgumentParser Errors.swift
[21/97] Compiling ArgumentParser Flag.swift
[22/97] Compiling ArgumentParser NameSpecification.swift
[23/97] 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)
[24/97] 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)
[25/97] 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)
[26/97] 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)
[27/97] 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)
[28/97] Compiling ArgumentParser BashCompletionsGenerator.swift
[29/97] Compiling ArgumentParser CompletionsGenerator.swift
[30/97] Compiling ArgumentParser FishCompletionsGenerator.swift
[31/97] Compiling ArgumentParser ZshCompletionsGenerator.swift
[32/97] Compiling ArgumentParser Argument.swift
[33/97] Compiling ArgumentParser ArgumentHelp.swift
[34/97] Compiling ArgumentParser Option.swift
[35/97] Compiling ArgumentParser OptionGroup.swift
[36/97] Compiling ArgumentParser AsyncParsableCommand.swift
[37/97] Compiling ArgumentParser CommandConfiguration.swift
[38/97] Compiling ArgumentParser EnumerableFlag.swift
[39/97] Compiling ArgumentParser ExpressibleByArgument.swift
[40/97] Compiling ArgumentParser ParsableArguments.swift
[41/97] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/97] Compiling ArgumentParser ParsableCommand.swift
[43/97] Compiling ArgumentParser ArgumentDecoder.swift
[44/97] Compiling ArgumentParser ArgumentDefinition.swift
[45/97] Compiling ArgumentParser ArgumentSet.swift
[46/97] Compiling ArgumentParser CommandParser.swift
[47/97] Compiling ArgumentParser InputKey.swift
[48/97] Compiling ArgumentParser InputOrigin.swift
[51/99] 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 | }
[56/99] Compiling Rainbow Rainbow.swift
[57/99] Compiling Rainbow String+Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/99] 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 | }
[73/99] Emitting module SwiftyTextTable
[74/99] Compiling SwiftyTextTable TextTable.swift
[75/100] Emitting module SwiftBeanCountModel
[79/100] Compiling ArgumentParser Name.swift
[80/100] Compiling ArgumentParser Parsed.swift
[81/100] Compiling ArgumentParser ParsedValues.swift
[82/100] Compiling ArgumentParser ParserError.swift
[83/100] Compiling ArgumentParser SplitArguments.swift
[84/100] Compiling ArgumentParser DumpHelpGenerator.swift
[85/100] Compiling ArgumentParser HelpCommand.swift
[86/100] Compiling ArgumentParser HelpGenerator.swift
[87/100] Compiling ArgumentParser MessageInfo.swift
[88/100] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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] Emitting module ArgumentParserToolInfo
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/45] 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/46] Compiling SwiftBeanCountModel Event.swift
[6/46] Compiling SwiftBeanCountModel Flag.swift
[7/46] Compiling Rainbow Style.swift
[8/46] Compiling SwiftyTextTable TextTable.swift
[9/46] Emitting module SwiftyTextTable
[10/47] Compiling Rainbow Rainbow.swift
[11/47] 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 | }
[12/47] Compiling Rainbow StringGenerator.swift
[13/47] Compiling Rainbow String+Rainbow.swift
[15/47] Compiling SwiftBeanCountModel Custom.swift
[18/49] Compiling SwiftBeanCountModel Account.swift
[19/49] Compiling SwiftBeanCountModel AccountName.swift
[20/49] Compiling SwiftBeanCountModel Amount.swift
[22/49] Compiling SwiftBeanCountModel Price.swift
[23/49] Compiling SwiftBeanCountModel Tag.swift
[24/49] Compiling SwiftBeanCountModel MultiCurrencyAmount.swift
[25/49] Compiling SwiftBeanCountModel Option.swift
[26/49] Compiling SwiftBeanCountModel Transaction.swift
[27/49] Compiling SwiftBeanCountModel TransactionMetaData.swift
[28/49] Emitting module SwiftBeanCountModel
[28/49] Wrapping AST for SwiftyTextTable for debugging
BUILD FAILURE 6.1 android