Build Information
Failed to build galah, reference main (49cd69
), with Swift 6.2 (beta) for Android on 22 Jun 2025 14:39:22 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/wabiverse/galah.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/wabiverse/galah
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 49cd69c Bump swift syntax and stacky macros. * also silence retroactive conformance warnings.
Cloned https://github.com/wabiverse/galah.git
Revision (git rev-parse @):
49cd69c9af968c034b345e39956ad458ce9bd27d
SUCCESS checkout https://github.com/wabiverse/galah.git at main
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/wabiverse/galah.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/swiftwasm/carton
Fetching https://github.com/stackotter/swift-macro-toolkit
Fetching https://github.com/swiftlang/swift-syntax.git
[1/896] Fetching swift-macro-toolkit
[897/10733] Fetching swift-macro-toolkit, carton
[8079/26113] Fetching swift-macro-toolkit, carton, swift-argument-parser
[15964/97038] Fetching swift-macro-toolkit, carton, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser from cache (1.29s)
[24209/81658] Fetching swift-macro-toolkit, carton, swift-syntax
Fetched https://github.com/stackotter/swift-macro-toolkit from cache (5.31s)
Fetched https://github.com/swiftwasm/carton from cache (5.32s)
Fetched https://github.com/swiftlang/swift-syntax.git from cache (5.38s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 600.0.1 (6.10s)
Computing version for https://github.com/swiftwasm/carton
Computed https://github.com/swiftwasm/carton at 1.1.3 (0.47s)
Fetching https://github.com/swiftwasm/WasmTransformer
Fetching https://github.com/apple/swift-nio.git
[1/809] Fetching wasmtransformer
[810/77148] Fetching wasmtransformer, swift-nio
Fetched https://github.com/swiftwasm/WasmTransformer from cache (5.84s)
Fetched https://github.com/apple/swift-nio.git from cache (5.94s)
Computing version for https://github.com/swiftwasm/WasmTransformer
Computed https://github.com/swiftwasm/WasmTransformer at 0.5.0 (6.49s)
Computing version for https://github.com/stackotter/swift-macro-toolkit
Computed https://github.com/stackotter/swift-macro-toolkit at 0.6.1 (1.06s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.3.1 (0.50s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (0.92s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-system.git
[1/4436] Fetching swift-system
[2/21076] Fetching swift-system, swift-collections
[13090/22873] Fetching swift-system, swift-collections, swift-atomics
Fetched https://github.com/apple/swift-atomics.git from cache (1.01s)
Fetched https://github.com/apple/swift-system.git from cache (1.01s)
Fetched https://github.com/apple/swift-collections.git from cache (1.20s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.3.0 (1.69s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.5.0 (0.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.99s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.3.1
Creating working copy for https://github.com/stackotter/swift-macro-toolkit
Working copy of https://github.com/stackotter/swift-macro-toolkit resolved at 0.6.1
Creating working copy for https://github.com/swiftwasm/WasmTransformer
Working copy of https://github.com/swiftwasm/WasmTransformer resolved at 0.5.0
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 600.0.1
Creating working copy for https://github.com/swiftwasm/carton
Working copy of https://github.com/swiftwasm/carton resolved at 1.1.3
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.5.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
[1/1] Compiling plugin CartonDevPlugin
[2/2] Compiling plugin CartonTestPlugin
[3/3] Compiling plugin CartonBundlePlugin
[4/4] Compiling plugin GenerateManual
Building for debugging...
[4/52] Write sources
[25/52] Compiling _SwiftSyntaxCShims dummy.c
[26/52] Write swift-version-8C5A4AE7A8CE2BA.txt
[28/60] Emitting module SwiftSyntax510
[29/60] Compiling SwiftSyntax510 Empty.swift
[31/61] Emitting module SwiftSyntax600
[32/61] Compiling SwiftSyntax600 Empty.swift
[33/62] Wrapping AST for SwiftSyntax510 for debugging
[35/62] Emitting module SwiftSyntax509
[36/62] Compiling SwiftSyntax509 Empty.swift
[36/63] Wrapping AST for SwiftSyntax600 for debugging
[38/63] Wrapping AST for SwiftSyntax509 for debugging
[40/63] Emitting module ArgumentParserToolInfo
[41/63] Compiling ArgumentParserToolInfo ToolInfo.swift
[42/128] Wrapping AST for ArgumentParserToolInfo for debugging
[44/165] Emitting module ArgumentParser
[45/170] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
44 | #else
45 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
46 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
47 | let shellParts = String(cString: shellVar).split(separator: "/")
48 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
64 | /// The code for successful exit.
65 | static var exitCodeSuccess: Int32 {
66 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
69 | /// The code for exit with a general failure.
70 | static var exitCodeFailure: Int32 {
71 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
79 | return EXIT_FAILURE
80 | #else
81 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
82 | #endif
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
112 | }
113 | }
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:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 | if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
| `- error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
170 | if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
| `- error: cannot find 'getenv' in scope
171 | height = linesVal
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 | var w = winsize()
| `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
[46/170] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
44 | #else
45 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
46 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
47 | let shellParts = String(cString: shellVar).split(separator: "/")
48 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
64 | /// The code for successful exit.
65 | static var exitCodeSuccess: Int32 {
66 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
69 | /// The code for exit with a general failure.
70 | static var exitCodeFailure: Int32 {
71 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
79 | return EXIT_FAILURE
80 | #else
81 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
82 | #endif
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
112 | }
113 | }
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:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 | if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
| `- error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
170 | if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
| `- error: cannot find 'getenv' in scope
171 | height = linesVal
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 | var w = winsize()
| `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
[47/170] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
44 | #else
45 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
46 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
47 | let shellParts = String(cString: shellVar).split(separator: "/")
48 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
64 | /// The code for successful exit.
65 | static var exitCodeSuccess: Int32 {
66 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
69 | /// The code for exit with a general failure.
70 | static var exitCodeFailure: Int32 {
71 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
79 | return EXIT_FAILURE
80 | #else
81 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
82 | #endif
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
112 | }
113 | }
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:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 | if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
| `- error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
170 | if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
| `- error: cannot find 'getenv' in scope
171 | height = linesVal
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 | var w = winsize()
| `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
[48/170] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
44 | #else
45 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
46 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
47 | let shellParts = String(cString: shellVar).split(separator: "/")
48 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
64 | /// The code for successful exit.
65 | static var exitCodeSuccess: Int32 {
66 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
69 | /// The code for exit with a general failure.
70 | static var exitCodeFailure: Int32 {
71 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
79 | return EXIT_FAILURE
80 | #else
81 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
82 | #endif
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
112 | }
113 | }
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:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 | if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
| `- error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
170 | if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
| `- error: cannot find 'getenv' in scope
171 | height = linesVal
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 | var w = winsize()
| `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
[49/170] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:46:26: error: cannot find 'getenv' in scope
44 | #else
45 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
46 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
47 | let shellParts = String(cString: shellVar).split(separator: "/")
48 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:66:5: error: cannot find 'EXIT_SUCCESS' in scope
64 | /// The code for successful exit.
65 | static var exitCodeSuccess: Int32 {
66 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
67 | }
68 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:5: error: cannot find 'EXIT_FAILURE' in scope
69 | /// The code for exit with a general failure.
70 | static var exitCodeFailure: Int32 {
71 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
72 | }
73 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:81:12: error: cannot find 'EX_USAGE' in scope
79 | return EXIT_FAILURE
80 | #else
81 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
82 | #endif
83 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:33: error: cannot find 'putc' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:57: error: cannot find 'stderr' in scope
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
112 | }
113 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:111:38: error: generic parameter 'U' could not be inferred
109 | struct StandardError: TextOutputStream {
110 | mutating func write(_ string: String) {
111 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
112 | }
113 | }
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:167:23: error: cannot find 'getenv' in scope
165 |
166 | #if !os(Windows) && !os(WASI)
167 | if let colsCStr = getenv("COLUMNS"), let colsVal = Int(String(cString: colsCStr)) {
| `- error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:170:24: error: cannot find 'getenv' in scope
168 | width = colsVal
169 | }
170 | if let linesCStr = getenv("LINES"), let linesVal = Int(String(cString: linesCStr)) {
| `- error: cannot find 'getenv' in scope
171 | height = linesVal
172 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:194:13: error: cannot find 'winsize' in scope
192 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
193 | #else
194 | var w = winsize()
| `- error: cannot find 'winsize' in scope
195 |
196 | #if os(OpenBSD)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:15: error: cannot find 'ioctl' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:21: error: cannot find 'STDOUT_FILENO' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:203:36: error: cannot find 'TIOCGWINSZ' in scope
201 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
202 | #else
203 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
204 | #endif
205 | guard err == 0 else { return (width: nil, height: nil) }
[50/170] Compiling ArgumentParser BashCompletionsGenerator.swift
[51/170] Compiling ArgumentParser CompletionsGenerator.swift
[52/170] Compiling ArgumentParser FishCompletionsGenerator.swift
[53/170] Compiling ArgumentParser ZshCompletionsGenerator.swift
[54/170] Compiling ArgumentParser Argument.swift
[55/170] Compiling ArgumentParser ArgumentHelp.swift
[56/170] Compiling ArgumentParser ExpressibleByArgument.swift
[57/170] Compiling ArgumentParser ParsableArguments.swift
[58/170] Compiling ArgumentParser ParsableArgumentsValidation.swift
[59/170] Compiling ArgumentParser ParsableCommand.swift
[60/170] Compiling ArgumentParser ArgumentDecoder.swift
[61/170] Compiling ArgumentParser Name.swift
[62/170] Compiling ArgumentParser Parsed.swift
[63/170] Compiling ArgumentParser ParsedValues.swift
[64/170] Compiling ArgumentParser ParserError.swift
[65/170] Compiling ArgumentParser SplitArguments.swift
[66/170] Compiling ArgumentParser DumpHelpGenerator.swift
[67/170] Compiling ArgumentParser HelpCommand.swift
[68/170] Compiling ArgumentParser HelpGenerator.swift
[69/170] Compiling ArgumentParser MessageInfo.swift
[70/170] Compiling ArgumentParser UsageGenerator.swift
[71/170] Compiling ArgumentParser ArgumentDefinition.swift
[72/170] Compiling ArgumentParser ArgumentSet.swift
[73/170] Compiling ArgumentParser CommandParser.swift
[74/170] Compiling ArgumentParser InputKey.swift
[75/170] Compiling ArgumentParser InputOrigin.swift
[76/170] Compiling ArgumentParser ArgumentVisibility.swift
[77/170] Compiling ArgumentParser CompletionKind.swift
[78/170] Compiling ArgumentParser Errors.swift
[79/170] Compiling ArgumentParser Flag.swift
[80/170] Compiling ArgumentParser NameSpecification.swift
[81/170] Compiling ArgumentParser Option.swift
[82/170] Compiling ArgumentParser OptionGroup.swift
[83/170] Compiling ArgumentParser AsyncParsableCommand.swift
[84/170] Compiling ArgumentParser CommandConfiguration.swift
[85/170] Compiling ArgumentParser EnumerableFlag.swift
BUILD FAILURE 6.2 android