Build Information
Failed to build variable-injector, reference master (2f896a
), with Swift 6.1 for Android on 28 May 2025 09:53:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/lucianopalmeida/variable-injector.git
Reference: master
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/lucianopalmeida/variable-injector
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 2f896a7 Update README.md
Cloned https://github.com/lucianopalmeida/variable-injector.git
Revision (git rev-parse @):
2f896a7cd30f63fd1b0e157403cc3352c182d22a
SUCCESS checkout https://github.com/lucianopalmeida/variable-injector.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/lucianopalmeida/variable-injector.git
https://github.com/lucianopalmeida/variable-injector.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-syntax",
"requirement" : {
"exact" : [
"509.0.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-syntax.git"
},
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"1.3.0"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "variable-injector",
"name" : "variable-injector",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
},
{
"name" : "maccatalyst",
"version" : "13.0"
}
],
"products" : [
{
"name" : "variable-injector",
"targets" : [
"variable-injector"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "variable_injectorTests",
"module_type" : "SwiftTarget",
"name" : "variable-injectorTests",
"path" : "Tests/variable-injectorTests",
"sources" : [
"VariableInjectorTests.swift"
],
"target_dependencies" : [
"variable-injector-core"
],
"type" : "test"
},
{
"c99name" : "variable_injector_core",
"module_type" : "SwiftTarget",
"name" : "variable-injector-core",
"path" : "Sources/variable-injector/Core",
"product_dependencies" : [
"SwiftSyntax",
"SwiftParser",
"ArgumentParser"
],
"product_memberships" : [
"variable-injector"
],
"sources" : [
"CommandLine/Tool.swift",
"Extensions/TokenSyntax+Extensions.swift",
"Logger.swift",
"Rewriters/EnvirionmentVariableLiteralRewriter.swift"
],
"type" : "library"
},
{
"c99name" : "variable_injector",
"module_type" : "SwiftTarget",
"name" : "variable-injector",
"path" : "Sources/variable-injector/Tool",
"product_memberships" : [
"variable-injector"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"variable-injector-core"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-syntax.git
[1/15351] Fetching swift-argument-parser
[8445/85799] Fetching swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git from cache (9.58s)
Fetched https://github.com/apple/swift-syntax.git from cache (9.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.3.0 (12.34s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 509.0.0 (0.79s)
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 509.0.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.3.0
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/18] Write sources
[8/18] Write swift-version-24593BA9C3E375BF.txt
[10/22] Emitting module SwiftSyntax509
[11/22] Compiling SwiftSyntax509 Empty.swift
[13/23] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/23] Emitting module ArgumentParserToolInfo
[15/24] Wrapping AST for SwiftSyntax509 for debugging
[16/24] Wrapping AST for ArgumentParserToolInfo for debugging
[18/106] Compiling SwiftSyntax SyntaxText.swift
[19/106] Compiling SwiftSyntax SyntaxTreeViewMode.swift
[20/106] Compiling SwiftSyntax TokenDiagnostic.swift
[21/106] Compiling SwiftSyntax TokenSyntax.swift
[22/106] Compiling SwiftSyntax Trivia.swift
[23/106] Compiling SwiftSyntax Utils.swift
[24/112] Compiling SwiftSyntax RawSyntax.swift
[25/112] Compiling SwiftSyntax RawSyntaxLayoutView.swift
[26/112] Compiling SwiftSyntax RawSyntaxNodeProtocol.swift
[27/112] Compiling SwiftSyntax RawSyntaxTokenView.swift
[28/112] Compiling SwiftSyntax SourceLength.swift
[29/112] Compiling SwiftSyntax SourceLocation.swift
[30/112] Compiling SwiftSyntax SourcePresence.swift
[31/112] Compiling SwiftSyntax AbsolutePosition.swift
[32/112] Compiling SwiftSyntax Assert.swift
[33/112] Compiling SwiftSyntax BumpPtrAllocator.swift
[34/112] Compiling SwiftSyntax CommonAncestor.swift
[35/112] Compiling SwiftSyntax Convenience.swift
[36/112] Compiling SwiftSyntax MemoryLayout.swift
[37/112] Compiling SwiftSyntax MissingNodeInitializers.swift
[38/112] Compiling SwiftSyntax SwiftSyntaxCompatibility.swift
[39/112] Compiling SwiftSyntax Syntax.swift
[40/112] Compiling SwiftSyntax SyntaxArena.swift
[41/112] Compiling SwiftSyntax SyntaxChildren.swift
[42/112] Compiling SwiftSyntax SyntaxCollection.swift
[43/112] Compiling SwiftSyntax SyntaxData.swift
[44/112] Emitting module ArgumentParser
[45/117] 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/117] 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/117] 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/117] 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/117] 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) }
[55/117] Compiling SwiftSyntax ChildNameForKeyPath.swift
[56/117] Compiling SwiftSyntax Keyword.swift
[57/117] Compiling SwiftSyntax RenamedChildrenCompatibility.swift
[58/117] Compiling SwiftSyntax RenamedNodesCompatibility.swift
[59/117] Compiling SwiftSyntax SyntaxAnyVisitor.swift
[65/117] Emitting module SwiftSyntax
[82/117] Compiling SwiftSyntax SyntaxBaseNodes.swift
[83/117] Compiling SwiftSyntax SyntaxCollections.swift
[84/117] Compiling SwiftSyntax SyntaxEnum.swift
[85/117] Compiling SwiftSyntax SyntaxKind.swift
[86/117] Compiling SwiftSyntax SyntaxRewriter.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/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/11] Write swift-version-24593BA9C3E375BF.txt
[3/15] Emitting module ArgumentParserToolInfo
[4/15] Compiling SwiftSyntax509 Empty.swift
[5/15] Emitting module SwiftSyntax509
[7/60] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/97] Compiling ArgumentParser ArgumentVisibility.swift
[10/97] Compiling ArgumentParser CompletionKind.swift
[11/97] Compiling ArgumentParser Errors.swift
[12/97] Compiling ArgumentParser Flag.swift
[13/97] Compiling ArgumentParser NameSpecification.swift
[14/102] Compiling ArgumentParser ExpressibleByArgument.swift
[15/102] Compiling ArgumentParser ParsableArguments.swift
[16/102] Compiling ArgumentParser ParsableArgumentsValidation.swift
[17/102] Compiling ArgumentParser ParsableCommand.swift
[18/102] Compiling ArgumentParser ArgumentDecoder.swift
[19/102] Emitting module ArgumentParser
[20/102] Compiling ArgumentParser Name.swift
[21/102] Compiling ArgumentParser Parsed.swift
[22/102] Compiling ArgumentParser ParsedValues.swift
[23/102] Compiling ArgumentParser ParserError.swift
[24/102] Compiling ArgumentParser SplitArguments.swift
[25/102] 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) }
[26/102] 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) }
[27/102] 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) }
[28/102] 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) }
[29/102] 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) }
[30/102] Compiling ArgumentParser BashCompletionsGenerator.swift
[31/102] Compiling ArgumentParser CompletionsGenerator.swift
[32/102] Compiling ArgumentParser FishCompletionsGenerator.swift
[33/102] Compiling ArgumentParser ZshCompletionsGenerator.swift
[34/102] Compiling ArgumentParser Argument.swift
[35/102] Compiling ArgumentParser ArgumentHelp.swift
[36/102] Compiling ArgumentParser DumpHelpGenerator.swift
[37/102] Compiling ArgumentParser HelpCommand.swift
[38/102] Compiling ArgumentParser HelpGenerator.swift
[39/102] Compiling ArgumentParser MessageInfo.swift
[40/102] Compiling ArgumentParser UsageGenerator.swift
[41/102] Compiling ArgumentParser Option.swift
[42/102] Compiling ArgumentParser OptionGroup.swift
[43/102] Compiling ArgumentParser AsyncParsableCommand.swift
[44/102] Compiling ArgumentParser CommandConfiguration.swift
[45/102] Compiling ArgumentParser EnumerableFlag.swift
[46/102] Compiling ArgumentParser ArgumentDefinition.swift
[47/102] Compiling ArgumentParser ArgumentSet.swift
[48/102] Compiling ArgumentParser CommandParser.swift
[49/102] Compiling ArgumentParser InputKey.swift
[50/102] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.1 android