Build Information
Failed to build CommandLine, reference 2.0.0 (9b5611
), with Swift 6.2 (beta) for Android on 18 Jun 2025 22:15:19 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/davidskrundz/commandline.git
Reference: 2.0.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/davidskrundz/commandline
* tag 2.0.0 -> FETCH_HEAD
HEAD is now at 9b56116 Swift 5 update
Cloned https://github.com/davidskrundz/commandline.git
Revision (git rev-parse @):
9b56116871b5cbd9f81455ab639fa1705efb5ac8
SUCCESS checkout https://github.com/davidskrundz/commandline.git at 2.0.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.2
Building package at path: $PWD
https://github.com/davidskrundz/commandline.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/DavidSkrundz/Collections.git
[1/203] Fetching collections
Fetched https://github.com/DavidSkrundz/Collections.git from cache (0.43s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 2.0.0 (1.01s)
Creating working copy for https://github.com/DavidSkrundz/Collections.git
Working copy of https://github.com/DavidSkrundz/Collections.git resolved at 2.0.0
Building for debugging...
[0/9] Write sources
[2/9] Write swift-version-8C5A4AE7A8CE2BA.txt
[4/18] Compiling Generator Generator+Sequence.swift
[5/19] Emitting module Generator
[6/19] Compiling Generator Character.swift
[7/19] Compiling Generator Collection+Generator.swift
[8/19] Compiling Generator Generator+String.swift
[9/19] Compiling Generator Generator+Previous.swift
[10/19] Compiling Generator Generator+Iterator.swift
[11/19] Compiling Generator Generator+Move.swift
[12/19] Compiling Generator Generator+Peek.swift
[13/19] Compiling Generator Generator.swift
[14/20] Wrapping AST for Generator for debugging
[16/28] Compiling CommandLine Option.swift
[17/28] Compiling CommandLine ANSI.swift
[18/28] Compiling CommandLine AutoTask.swift
/host/spi-builder-workspace/Sources/CommandLine/AutoTask.swift:62:11: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
60 | private static func createProcess(_ arguments: [String]) -> Process {
61 | let process = Process()
62 | process.launchPath = "/usr/bin/env"
| |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
| `- note: use 'executableURL' instead
63 | process.arguments = arguments
64 | return process
/host/spi-builder-workspace/Sources/CommandLine/AutoTask.swift:89:25: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
87 | let pipe = Pipe()
88 | lhs.tasks.last!.standardOutput = pipe
89 | lhs.tasks.forEach { $0.launch() }
| |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
| `- note: use 'run' instead
90 |
91 | while true {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[19/28] Emitting module CommandLine
[20/28] Compiling CommandLine ParseError.swift
[21/28] Compiling CommandLine StandardInOut.swift
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:12:10: error: cannot find 'isatty' in scope
10 |
11 | public func isTerminal() -> Bool {
12 | return isatty(fileno(stdout)) == 1
| `- error: cannot find 'isatty' in scope
13 | }
14 |
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:25:10: error: cannot find 'isatty' in scope
23 |
24 | public func isTerminal() -> Bool {
25 | return isatty(fileno(stdin)) == 1
| `- error: cannot find 'isatty' in scope
26 | }
27 | }
[22/28] Compiling CommandLine ArgumentParser.swift
[23/28] Compiling CommandLine Output.swift
BUILD FAILURE 6.2 android