Build Information
Failed to build BluetoothConnector, reference 2.1.0 (4031a7
), with Swift 6.1 for Android on 28 May 2025 21:39:42 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/lapfelix/bluetoothconnector.git
Reference: 2.1.0
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/lapfelix/bluetoothconnector
* tag 2.1.0 -> FETCH_HEAD
HEAD is now at 4031a78 Set deployment target
Cloned https://github.com/lapfelix/bluetoothconnector.git
Revision (git rev-parse @):
4031a786653f6612466011cf1ed00a1fe8880e08
SUCCESS checkout https://github.com/lapfelix/bluetoothconnector.git at 2.1.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/lapfelix/bluetoothconnector.git
https://github.com/lapfelix/bluetoothconnector.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"exact" : [
"1.2.3"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "BluetoothConnector",
"name" : "BluetoothConnector",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "BluetoothConnector",
"targets" : [
"BluetoothConnector"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "BluetoothConnectorTests",
"module_type" : "SwiftTarget",
"name" : "BluetoothConnectorTests",
"path" : "Tests/BluetoothConnectorTests",
"product_dependencies" : [
"ArgumentParser"
],
"sources" : [
"BluetoothConnectorTests.swift"
],
"target_dependencies" : [
"BluetoothConnector"
],
"type" : "test"
},
{
"c99name" : "BluetoothConnector",
"module_type" : "SwiftTarget",
"name" : "BluetoothConnector",
"path" : "Sources/BluetoothConnector",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"BluetoothConnector"
],
"sources" : [
"main.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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
[1/15351] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.00s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.3 (4.32s)
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.2.3
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/10] Write sources
[4/10] Write swift-version-24593BA9C3E375BF.txt
[6/12] Emitting module ArgumentParserToolInfo
[7/12] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/13] Wrapping AST for ArgumentParserToolInfo for debugging
[10/50] Emitting module ArgumentParser
[11/55] Compiling ArgumentParser ArgumentVisibility.swift
[12/55] Compiling ArgumentParser CompletionKind.swift
[13/55] Compiling ArgumentParser Errors.swift
[14/55] Compiling ArgumentParser Flag.swift
[15/55] Compiling ArgumentParser NameSpecification.swift
[16/55] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[17/55] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[18/55] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[19/55] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[20/55] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[21/55] Compiling ArgumentParser BashCompletionsGenerator.swift
[22/55] Compiling ArgumentParser CompletionsGenerator.swift
[23/55] Compiling ArgumentParser FishCompletionsGenerator.swift
[24/55] Compiling ArgumentParser ZshCompletionsGenerator.swift
[25/55] Compiling ArgumentParser Argument.swift
[26/55] Compiling ArgumentParser ArgumentHelp.swift
[27/55] Compiling ArgumentParser ExpressibleByArgument.swift
[28/55] Compiling ArgumentParser ParsableArguments.swift
[29/55] Compiling ArgumentParser ParsableArgumentsValidation.swift
[30/55] Compiling ArgumentParser ParsableCommand.swift
[31/55] Compiling ArgumentParser ArgumentDecoder.swift
[32/55] Compiling ArgumentParser ArgumentDefinition.swift
[33/55] Compiling ArgumentParser ArgumentSet.swift
[34/55] Compiling ArgumentParser CommandParser.swift
[35/55] Compiling ArgumentParser InputKey.swift
[36/55] Compiling ArgumentParser InputOrigin.swift
[37/55] Compiling ArgumentParser Name.swift
[38/55] Compiling ArgumentParser Parsed.swift
[39/55] Compiling ArgumentParser ParsedValues.swift
[40/55] Compiling ArgumentParser ParserError.swift
[41/55] Compiling ArgumentParser SplitArguments.swift
[42/55] Compiling ArgumentParser Option.swift
[43/55] Compiling ArgumentParser OptionGroup.swift
[44/55] Compiling ArgumentParser AsyncParsableCommand.swift
[45/55] Compiling ArgumentParser CommandConfiguration.swift
[46/55] Compiling ArgumentParser EnumerableFlag.swift
[47/55] Compiling ArgumentParser DumpHelpGenerator.swift
[48/55] Compiling ArgumentParser HelpCommand.swift
[49/55] Compiling ArgumentParser HelpGenerator.swift
[50/55] Compiling ArgumentParser MessageInfo.swift
[51/55] Compiling ArgumentParser UsageGenerator.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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/7] Write swift-version-24593BA9C3E375BF.txt
[3/9] Emitting module ArgumentParserToolInfo
[4/9] Compiling ArgumentParserToolInfo ToolInfo.swift
[6/46] Compiling ArgumentParser Option.swift
[7/46] Compiling ArgumentParser OptionGroup.swift
[8/46] Compiling ArgumentParser AsyncParsableCommand.swift
[9/46] Compiling ArgumentParser CommandConfiguration.swift
[10/46] Compiling ArgumentParser EnumerableFlag.swift
[11/51] Emitting module ArgumentParser
[12/51] Compiling ArgumentParser ArgumentVisibility.swift
[13/51] Compiling ArgumentParser CompletionKind.swift
[14/51] Compiling ArgumentParser Errors.swift
[15/51] Compiling ArgumentParser Flag.swift
[16/51] Compiling ArgumentParser NameSpecification.swift
[17/51] Compiling ArgumentParser CollectionExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[18/51] Compiling ArgumentParser Platform.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[19/51] Compiling ArgumentParser SequenceExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[20/51] Compiling ArgumentParser StringExtensions.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[21/51] Compiling ArgumentParser Tree.swift
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:36:26: error: cannot find 'getenv' in scope
34 | #else
35 | // FIXME: This retrieves the user's preferred shell, not necessarily the one currently in use.
36 | guard let shellVar = getenv("SHELL") else { return nil }
| `- error: cannot find 'getenv' in scope
37 | let shellParts = String(cString: shellVar).split(separator: "/")
38 | return shellParts.last.map(String.init)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:56:5: error: cannot find 'EXIT_SUCCESS' in scope
54 | /// The code for successful exit.
55 | static var exitCodeSuccess: Int32 {
56 | EXIT_SUCCESS
| `- error: cannot find 'EXIT_SUCCESS' in scope
57 | }
58 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:61:5: error: cannot find 'EXIT_FAILURE' in scope
59 | /// The code for exit with a general failure.
60 | static var exitCodeFailure: Int32 {
61 | EXIT_FAILURE
| `- error: cannot find 'EXIT_FAILURE' in scope
62 | }
63 |
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:71:12: error: cannot find 'EX_USAGE' in scope
69 | return EXIT_FAILURE
70 | #else
71 | return EX_USAGE
| `- error: cannot find 'EX_USAGE' in scope
72 | #endif
73 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:33: error: cannot find 'putc' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'putc' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:57: error: cannot find 'stderr' in scope
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: cannot find 'stderr' in scope
102 | }
103 | }
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:101:38: error: generic parameter 'U' could not be inferred
99 | struct StandardError: TextOutputStream {
100 | mutating func write(_ string: String) {
101 | for byte in string.utf8 { putc(numericCast(byte), stderr) }
| `- error: generic parameter 'U' could not be inferred
102 | }
103 | }
Swift.numericCast:1:24: note: in call to function 'numericCast'
1 | @inlinable public func numericCast<T, U>(_ x: T) -> U where T : BinaryInteger, U : BinaryInteger
| `- note: in call to function 'numericCast'
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:137:13: error: cannot find 'winsize' in scope
135 | height: Int(csbi.srWindow.Bottom - csbi.srWindow.Top) + 1)
136 | #else
137 | var w = winsize()
| `- error: cannot find 'winsize' in scope
138 | #if os(OpenBSD)
139 | // TIOCGWINSZ is a complex macro, so we need the flattened value.
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:15: error: cannot find 'ioctl' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'ioctl' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:21: error: cannot find 'STDOUT_FILENO' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'STDOUT_FILENO' in scope
146 | #endif
147 | let width = Int(w.ws_col)
/host/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Utilities/Platform.swift:145:36: error: cannot find 'TIOCGWINSZ' in scope
143 | let err = ioctl(STDOUT_FILENO, UInt(TIOCGWINSZ), &w)
144 | #else
145 | let err = ioctl(STDOUT_FILENO, TIOCGWINSZ, &w)
| `- error: cannot find 'TIOCGWINSZ' in scope
146 | #endif
147 | let width = Int(w.ws_col)
[22/51] Compiling ArgumentParser Name.swift
[23/51] Compiling ArgumentParser Parsed.swift
[24/51] Compiling ArgumentParser ParsedValues.swift
[25/51] Compiling ArgumentParser ParserError.swift
[26/51] Compiling ArgumentParser SplitArguments.swift
[27/51] Compiling ArgumentParser BashCompletionsGenerator.swift
[28/51] Compiling ArgumentParser CompletionsGenerator.swift
[29/51] Compiling ArgumentParser FishCompletionsGenerator.swift
[30/51] Compiling ArgumentParser ZshCompletionsGenerator.swift
[31/51] Compiling ArgumentParser Argument.swift
[32/51] Compiling ArgumentParser ArgumentHelp.swift
[33/51] Compiling ArgumentParser ExpressibleByArgument.swift
[34/51] Compiling ArgumentParser ParsableArguments.swift
[35/51] Compiling ArgumentParser ParsableArgumentsValidation.swift
[36/51] Compiling ArgumentParser ParsableCommand.swift
[37/51] Compiling ArgumentParser ArgumentDecoder.swift
[38/51] Compiling ArgumentParser DumpHelpGenerator.swift
[39/51] Compiling ArgumentParser HelpCommand.swift
[40/51] Compiling ArgumentParser HelpGenerator.swift
[41/51] Compiling ArgumentParser MessageInfo.swift
[42/51] Compiling ArgumentParser UsageGenerator.swift
[43/51] Compiling ArgumentParser ArgumentDefinition.swift
[44/51] Compiling ArgumentParser ArgumentSet.swift
[45/51] Compiling ArgumentParser CommandParser.swift
[46/51] Compiling ArgumentParser InputKey.swift
[47/51] Compiling ArgumentParser InputOrigin.swift
BUILD FAILURE 6.1 android