Build Information
Failed to build Console, reference master (9f4946
), with Swift 6.2 (beta) for Android on 21 Jun 2025 19:34:24 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/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.2
Building package at path: $PWD
https://github.com/luizzak/console.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/17] Compiling Console LinuxSupport.swift
[5/18] Compiling Console ConsoleType.swift
[6/18] Compiling Console ConsoleColor.swift
[7/18] Compiling Console ConsoleOutputStream.swift
[8/18] Compiling Console ConsoleString.swift
[9/18] Compiling Console ConsoleFormat.swift
[10/18] Compiling Console String+ConsoleFormatting.swift
[11/18] Compiling Console ConsoleDataProvider.swift
[12/18] Compiling Console ConsoleMenuController.swift
[13/18] 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 }
[14/18] 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/18] 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/18] 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 {
[17/18] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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
[18/18] 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.2-DEVELOPMENT-SNAPSHOT-2025-05-15-a-android-0.1.artifactbundle/swift-android/ndk-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
BUILD FAILURE 6.2 android