The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build CommandLine, reference 2.0.0 (9b5611), with Swift 6.1 for Android on 27 May 2025 23:02:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/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.1
Building package at path:  $PWD
https://github.com/davidskrundz/commandline.git
https://github.com/davidskrundz/commandline.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "2.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DavidSkrundz/Collections.git"
    }
  ],
  "manifest_display_name" : "CommandLine",
  "name" : "CommandLine",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "CommandLine",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "sCommandLine",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "library" : [
          "static"
        ]
      }
    },
    {
      "name" : "dCommandLine",
      "targets" : [
        "CommandLine"
      ],
      "type" : {
        "library" : [
          "dynamic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "CommandLineTests",
      "module_type" : "SwiftTarget",
      "name" : "CommandLineTests",
      "path" : "Tests/CommandLineTests",
      "sources" : [
        "ArgumentParserTests.swift",
        "AutoTaskTests.swift"
      ],
      "target_dependencies" : [
        "CommandLine"
      ],
      "type" : "test"
    },
    {
      "c99name" : "CommandLine",
      "module_type" : "SwiftTarget",
      "name" : "CommandLine",
      "path" : "Sources/CommandLine",
      "product_dependencies" : [
        "Generator"
      ],
      "product_memberships" : [
        "CommandLine",
        "sCommandLine",
        "dCommandLine"
      ],
      "sources" : [
        "ANSI.swift",
        "ArgumentParser.swift",
        "AutoTask.swift",
        "Option.swift",
        "Output.swift",
        "ParseError.swift",
        "StandardInOut.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/DavidSkrundz/Collections.git
[1/203] Fetching collections
Fetched https://github.com/DavidSkrundz/Collections.git from cache (0.23s)
Computing version for https://github.com/DavidSkrundz/Collections.git
Computed https://github.com/DavidSkrundz/Collections.git at 2.0.0 (0.73s)
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-24593BA9C3E375BF.txt
[4/18] Compiling Generator Character.swift
[5/18] Compiling Generator Collection+Generator.swift
[6/19] Compiling Generator Generator.swift
[7/19] Compiling Generator Generator+Sequence.swift
[8/19] Compiling Generator Generator+Previous.swift
[9/19] Compiling Generator Generator+Peek.swift
[10/19] Compiling Generator Generator+Move.swift
[11/19] Compiling Generator Generator+String.swift
[12/19] Emitting module Generator
[13/19] Compiling Generator Generator+Iterator.swift
[14/20] Wrapping AST for Generator for debugging
[16/28] Compiling CommandLine Option.swift
[17/28] Compiling CommandLine Output.swift
[18/28] Compiling CommandLine ArgumentParser.swift
[19/28] Compiling CommandLine ANSI.swift
[20/28] Emitting module CommandLine
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:29:12: warning: let 'standardIn' is not concurrency-safe because non-'Sendable' type 'StandardIn' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public struct StandardIn {
   |               `- note: consider making struct 'StandardIn' conform to the 'Sendable' protocol
22 | 	fileprivate init() {}
23 |
   :
27 | }
28 |
29 | public let standardIn: StandardIn = StandardIn()
   |            |- warning: let 'standardIn' is not concurrency-safe because non-'Sendable' type 'StandardIn' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'standardIn' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public let standardOut: StandardOut = StandardOut()
31 |
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:30:12: warning: let 'standardOut' is not concurrency-safe because non-'Sendable' type 'StandardOut' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct StandardOut: Output {
   |               `- note: consider making struct 'StandardOut' conform to the 'Sendable' protocol
 9 | 	fileprivate init() {}
10 |
   :
28 |
29 | public let standardIn: StandardIn = StandardIn()
30 | public let standardOut: StandardOut = StandardOut()
   |            |- warning: let 'standardOut' is not concurrency-safe because non-'Sendable' type 'StandardOut' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'standardOut' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
[21/28] Compiling CommandLine AutoTask.swift
/host/spi-builder-workspace/Sources/CommandLine/AutoTask.swift:62:11: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 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'
    |           `- 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'
 87 | 	let pipe = Pipe()
 88 | 	lhs.tasks.last!.standardOutput = pipe
 89 | 	lhs.tasks.forEach { $0.launch() }
    |                         |- warning: 'launch()' is deprecated: renamed to 'run'
    |                         `- note: use 'run' instead
 90 |
 91 | 	while true {
[22/28] Compiling CommandLine ParseError.swift
[23/28] Compiling CommandLine StandardInOut.swift
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:29:12: warning: let 'standardIn' is not concurrency-safe because non-'Sendable' type 'StandardIn' may have shared mutable state; this is an error in the Swift 6 language mode
19 | }
20 |
21 | public struct StandardIn {
   |               `- note: consider making struct 'StandardIn' conform to the 'Sendable' protocol
22 | 	fileprivate init() {}
23 |
   :
27 | }
28 |
29 | public let standardIn: StandardIn = StandardIn()
   |            |- warning: let 'standardIn' is not concurrency-safe because non-'Sendable' type 'StandardIn' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'standardIn' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
30 | public let standardOut: StandardOut = StandardOut()
31 |
/host/spi-builder-workspace/Sources/CommandLine/StandardInOut.swift:30:12: warning: let 'standardOut' is not concurrency-safe because non-'Sendable' type 'StandardOut' may have shared mutable state; this is an error in the Swift 6 language mode
 6 | import Foundation
 7 |
 8 | public struct StandardOut: Output {
   |               `- note: consider making struct 'StandardOut' conform to the 'Sendable' protocol
 9 | 	fileprivate init() {}
10 |
   :
28 |
29 | public let standardIn: StandardIn = StandardIn()
30 | public let standardOut: StandardOut = StandardOut()
   |            |- warning: let 'standardOut' is not concurrency-safe because non-'Sendable' type 'StandardOut' may have shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: add '@MainActor' to make let 'standardOut' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
/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 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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
Building for debugging...
[0/7] Write swift-version-24593BA9C3E375BF.txt
[2/16] Emitting module Generator
[3/17] Compiling Generator Character.swift
[4/17] Compiling Generator Collection+Generator.swift
[5/17] Compiling Generator Generator+Previous.swift
[6/17] Compiling Generator Generator+Peek.swift
[7/17] Compiling Generator Generator+Move.swift
[8/17] Compiling Generator Generator+Sequence.swift
[9/17] Compiling Generator Generator+Iterator.swift
[10/17] Compiling Generator Generator+String.swift
[11/17] Compiling Generator Generator.swift
[13/25] Compiling CommandLine Option.swift
[14/25] Compiling CommandLine ParseError.swift
[15/25] Compiling CommandLine Output.swift
[16/25] 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 | }
[17/25] Compiling CommandLine AutoTask.swift
/host/spi-builder-workspace/Sources/CommandLine/AutoTask.swift:62:11: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 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'
    |           `- 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'
 87 | 	let pipe = Pipe()
 88 | 	lhs.tasks.last!.standardOutput = pipe
 89 | 	lhs.tasks.forEach { $0.launch() }
    |                         |- warning: 'launch()' is deprecated: renamed to 'run'
    |                         `- note: use 'run' instead
 90 |
 91 | 	while true {
[18/25] Emitting module CommandLine
[19/25] Compiling CommandLine ArgumentParser.swift
[20/25] Compiling CommandLine ANSI.swift
BUILD FAILURE 6.1 android