Build Information
Failed to build Console, reference master (9f4946
), with Swift 6.1 for Android on 29 May 2025 13:14:59 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/luizzak/console.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/luizzak/console
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 9f49469 Fixes to NO_COLOR detection and adding StandardErrorTextStream/NullOutputStream
Cloned https://github.com/luizzak/console.git
Revision (git rev-parse @):
9f4946929b7aac54ecc642c3ef15ec4fc05618a0
SUCCESS checkout https://github.com/luizzak/console.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.1
Building package at path: $PWD
https://github.com/luizzak/console.git
https://github.com/luizzak/console.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Console",
"name" : "Console",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Console",
"targets" : [
"Console"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ConsoleTestHelpers",
"targets" : [
"ConsoleTestHelpers"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "ConsoleTests",
"module_type" : "SwiftTarget",
"name" : "ConsoleTests",
"path" : "Tests/ConsoleTests",
"sources" : [
"ConsoleMenuControllerTests.swift",
"ConsoleStringTests.swift",
"ConsoleTestCase.swift",
"Formatting/String+ConsoleFormattingTests.swift",
"PagesTests.swift"
],
"target_dependencies" : [
"Console",
"ConsoleTestHelpers"
],
"type" : "test"
},
{
"c99name" : "ConsoleTestHelpers",
"module_type" : "SwiftTarget",
"name" : "ConsoleTestHelpers",
"path" : "Sources/ConsoleTestHelpers",
"product_memberships" : [
"ConsoleTestHelpers"
],
"sources" : [
"MockConsole.swift",
"MockConsoleTestAdapterType.swift"
],
"target_dependencies" : [
"Console"
],
"type" : "library"
},
{
"c99name" : "Console",
"module_type" : "SwiftTarget",
"name" : "Console",
"path" : "Sources/Console",
"product_memberships" : [
"Console",
"ConsoleTestHelpers"
],
"sources" : [
"Console+Command.swift",
"Console+Paging.swift",
"Console+Static.swift",
"Console.swift",
"ConsoleDataProvider.swift",
"ConsoleMenuController.swift",
"ConsoleOutputStream.swift",
"ConsoleString.swift",
"ConsoleType.swift",
"Formatting/ConsoleColor.swift",
"Formatting/ConsoleFormat.swift",
"Formatting/String+ConsoleFormatting.swift",
"LinuxSupport.swift",
"Platform/FileHandle+Ext.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/17] Emitting module Console
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
| |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
15 |
16 | /// Erase screen control sequence (`\e[2J`)
17 | public static let eraseScreen = eraseInScreen(.all)
| |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
20 | public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
| |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
23 | public static let eraseLine = eraseInLine(.all)
| |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Move cursor command (`\e[..;..H`)
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Indicates capabilities for `ConsoleOutputStream` types.
9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
| `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 | /// Specifies that the output stream supports ANSI control sequences for
19 | /// changing formatting of the text displayed or moving the cursor/screen.
20 | public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
| |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | extension FileHandle: TextOutputStream {
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | var standardError = FileHandle.standardError
4 |
5 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public func write(_ string: String) {
7 | guard let data = string.data(using: .utf8) else { return }
[5/17] Compiling Console Console+Command.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
| |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
15 |
16 | /// Erase screen control sequence (`\e[2J`)
17 | public static let eraseScreen = eraseInScreen(.all)
| |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
20 | public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
| |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
23 | public static let eraseLine = eraseInLine(.all)
| |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Move cursor command (`\e[..;..H`)
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:25:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 | ) {
24 | var page = 0
25 | var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 |
27 | var provider = provider
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:30:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
28 | func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
29 | provider = other
30 | pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
31 |
32 | if keepPageIndex {
[6/17] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:14:27: warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
| |- warning: static property 'moveHome' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'moveHome' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
15 |
16 | /// Erase screen control sequence (`\e[2J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:17:27: warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
15 |
16 | /// Erase screen control sequence (`\e[2J`)
17 | public static let eraseScreen = eraseInScreen(.all)
| |- warning: static property 'eraseScreen' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreen' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:20:27: warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
18 |
19 | /// Erase screen and all scroll control sequence (`\e[3J`)
20 | public static let eraseScreenAndScrollback = eraseInScreen(.allAndScrollback)
| |- warning: static property 'eraseScreenAndScrollback' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseScreenAndScrollback' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
/host/spi-builder-workspace/Sources/Console/Console+Command.swift:23:27: warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
10 | public extension Terminal {
11 | /// Available terminal commands.
12 | enum Command {
| `- note: consider making enum 'Command' conform to the 'Sendable' protocol
13 | /// Move home command (`\e[2J`)
14 | public static let moveHome = move(.home)
:
21 |
22 | /// Erase entire line control sequence (`\e[2K`)
23 | public static let eraseLine = eraseInLine(.all)
| |- warning: static property 'eraseLine' is not concurrency-safe because non-'Sendable' type 'Terminal.Command' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eraseLine' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
24 |
25 | /// Move cursor command (`\e[..;..H`)
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:25:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 | ) {
24 | var page = 0
25 | var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 |
27 | var provider = provider
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:30:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
28 | func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
29 | provider = other
30 | pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
31 |
32 | if keepPageIndex {
[7/17] Compiling Console ConsoleOutputStream.swift
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Indicates capabilities for `ConsoleOutputStream` types.
9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
| `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 | /// Specifies that the output stream supports ANSI control sequences for
19 | /// changing formatting of the text displayed or moving the cursor/screen.
20 | public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
| |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[8/17] Compiling Console ConsoleString.swift
/host/spi-builder-workspace/Sources/Console/ConsoleOutputStream.swift:20:23: warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Indicates capabilities for `ConsoleOutputStream` types.
9 | public struct ConsoleOutputCapabilityFlag: OptionSet {
| `- note: consider making struct 'ConsoleOutputCapabilityFlag' conform to the 'Sendable' protocol
10 | public var rawValue: Int
11 |
:
18 | /// Specifies that the output stream supports ANSI control sequences for
19 | /// changing formatting of the text displayed or moving the cursor/screen.
20 | public static let ansiControlSequences: Self = Self(rawValue: 1 << 0)
| |- warning: static property 'ansiControlSequences' is not concurrency-safe because non-'Sendable' type 'ConsoleOutputCapabilityFlag' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ansiControlSequences' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
21 | }
22 |
[9/17] Compiling Console Console+Static.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:9: error: cannot find 'isatty' in scope
21 | /// terminal.
22 | static func isTerminalStandardInput() -> Bool {
23 | isatty(fileno(stdin)) == 1
| `- error: cannot find 'isatty' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:9: error: cannot find 'isatty' in scope
27 | /// terminal.
28 | static func isTerminalStandardOutput() -> Bool {
29 | isatty(fileno(stdout)) == 1
| `- error: cannot find 'isatty' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:9: error: cannot find 'isatty' in scope
33 | /// terminal.
34 | static func isTerminalStandardError() -> Bool {
35 | isatty(fileno(stderr)) == 1
| `- error: cannot find 'isatty' in scope
36 | }
37 | }
/host/spi-builder-workspace/Sources/Console/Console.swift:247:9: error: cannot find 'errno' in scope
245 |
246 | open func recordExitCode(_ code: Int) {
247 | errno = Int32(code)
| `- error: cannot find 'errno' in scope
248 | }
249 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[10/17] Compiling Console Console.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:9: error: cannot find 'isatty' in scope
21 | /// terminal.
22 | static func isTerminalStandardInput() -> Bool {
23 | isatty(fileno(stdin)) == 1
| `- error: cannot find 'isatty' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:9: error: cannot find 'isatty' in scope
27 | /// terminal.
28 | static func isTerminalStandardOutput() -> Bool {
29 | isatty(fileno(stdout)) == 1
| `- error: cannot find 'isatty' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:9: error: cannot find 'isatty' in scope
33 | /// terminal.
34 | static func isTerminalStandardError() -> Bool {
35 | isatty(fileno(stderr)) == 1
| `- error: cannot find 'isatty' in scope
36 | }
37 | }
/host/spi-builder-workspace/Sources/Console/Console.swift:247:9: error: cannot find 'errno' in scope
245 |
246 | open func recordExitCode(_ code: Int) {
247 | errno = Int32(code)
| `- error: cannot find 'errno' in scope
248 | }
249 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[11/17] Compiling Console ConsoleDataProvider.swift
[12/17] Compiling Console ConsoleMenuController.swift
[13/18] Compiling Console ConsoleFormat.swift
[14/18] Compiling Console String+ConsoleFormatting.swift
[15/18] Compiling Console ConsoleType.swift
[16/18] Compiling Console ConsoleColor.swift
[17/18] Compiling Console LinuxSupport.swift
[18/18] Compiling Console FileHandle+Ext.swift
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:3:5: warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
1 | import Foundation
2 |
3 | var standardError = FileHandle.standardError
| |- warning: var 'standardError' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'standardError' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make var 'standardError' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
4 |
5 | extension FileHandle: TextOutputStream {
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | var standardError = FileHandle.standardError
4 |
5 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public func write(_ string: String) {
7 | guard let data = string.data(using: .utf8) else { return }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/15] Compiling Console LinuxSupport.swift
[3/16] Compiling Console ConsoleFormat.swift
[4/16] Compiling Console String+ConsoleFormatting.swift
[5/16] Compiling Console ConsoleType.swift
[6/16] Compiling Console ConsoleColor.swift
[7/16] Compiling Console Console+Static.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:9: error: cannot find 'isatty' in scope
21 | /// terminal.
22 | static func isTerminalStandardInput() -> Bool {
23 | isatty(fileno(stdin)) == 1
| `- error: cannot find 'isatty' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:9: error: cannot find 'isatty' in scope
27 | /// terminal.
28 | static func isTerminalStandardOutput() -> Bool {
29 | isatty(fileno(stdout)) == 1
| `- error: cannot find 'isatty' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:9: error: cannot find 'isatty' in scope
33 | /// terminal.
34 | static func isTerminalStandardError() -> Bool {
35 | isatty(fileno(stderr)) == 1
| `- error: cannot find 'isatty' in scope
36 | }
37 | }
/host/spi-builder-workspace/Sources/Console/Console.swift:247:9: error: cannot find 'errno' in scope
245 |
246 | open func recordExitCode(_ code: Int) {
247 | errno = Int32(code)
| `- error: cannot find 'errno' in scope
248 | }
249 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[8/16] Compiling Console Console.swift
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:23:9: error: cannot find 'isatty' in scope
21 | /// terminal.
22 | static func isTerminalStandardInput() -> Bool {
23 | isatty(fileno(stdin)) == 1
| `- error: cannot find 'isatty' in scope
24 | }
25 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:29:9: error: cannot find 'isatty' in scope
27 | /// terminal.
28 | static func isTerminalStandardOutput() -> Bool {
29 | isatty(fileno(stdout)) == 1
| `- error: cannot find 'isatty' in scope
30 | }
31 |
/host/spi-builder-workspace/Sources/Console/Console+Static.swift:35:9: error: cannot find 'isatty' in scope
33 | /// terminal.
34 | static func isTerminalStandardError() -> Bool {
35 | isatty(fileno(stderr)) == 1
| `- error: cannot find 'isatty' in scope
36 | }
37 | }
/host/spi-builder-workspace/Sources/Console/Console.swift:247:9: error: cannot find 'errno' in scope
245 |
246 | open func recordExitCode(_ code: Int) {
247 | errno = Int32(code)
| `- error: cannot find 'errno' in scope
248 | }
249 |
/root/.swiftpm/swift-sdks/swift-6.1-RELEASE-android-24-0.1.artifactbundle/swift-6.1-release-android-24-sdk/android-27c-sysroot/usr/include/errno.h:58:9: note: macro 'errno' unavailable: structure not supported
56 | * thread.
57 | */
58 | #define errno (*__errno())
| `- note: macro 'errno' unavailable: structure not supported
59 |
60 | __END_DECLS
[9/16] Compiling Console FileHandle+Ext.swift
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | var standardError = FileHandle.standardError
4 |
5 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public func write(_ string: String) {
7 | guard let data = string.data(using: .utf8) else { return }
[10/16] Compiling Console ConsoleOutputStream.swift
[11/16] Compiling Console ConsoleString.swift
[12/16] Compiling Console ConsoleDataProvider.swift
[13/16] Compiling Console ConsoleMenuController.swift
[14/16] Emitting module Console
/host/spi-builder-workspace/Sources/Console/Platform/FileHandle+Ext.swift:5:1: warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
3 | var standardError = FileHandle.standardError
4 |
5 | extension FileHandle: TextOutputStream {
| |- warning: extension declares a conformance of imported type 'FileHandle' to imported protocol 'TextOutputStream'; this will not behave correctly if the owners of 'Foundation' introduce this conformance in the future
| `- note: add '@retroactive' to silence this warning
6 | public func write(_ string: String) {
7 | guard let data = string.data(using: .utf8) else { return }
[15/16] Compiling Console Console+Command.swift
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:25:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 | ) {
24 | var page = 0
25 | var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 |
27 | var provider = provider
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:30:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
28 | func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
29 | provider = other
30 | pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
31 |
32 | if keepPageIndex {
[16/16] Compiling Console Console+Paging.swift
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:25:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
23 | ) {
24 | var page = 0
25 | var pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
26 |
27 | var provider = provider
/host/spi-builder-workspace/Sources/Console/Console+Paging.swift:30:63: error: cannot convert value of type 'Float' to expected argument type 'Double'
28 | func switchProvider(to other: ConsoleDataProvider, keepPageIndex: Bool) {
29 | provider = other
30 | pageCount = max(1, Int(ceil(Float(provider.count) / Float(perPageCount))))
| `- error: cannot convert value of type 'Float' to expected argument type 'Double'
31 |
32 | if keepPageIndex {
BUILD FAILURE 6.1 android