The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Chalk, reference 0.5.0 (a7f58e), with Swift 6.1 for Android on 28 May 2025 18:41:32 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/mxcl/chalk.git
Reference: 0.5.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/mxcl/chalk
 * tag               0.5.0      -> FETCH_HEAD
HEAD is now at a7f58e4 Merge pull request #7 from mickeyl/master
Cloned https://github.com/mxcl/chalk.git
Revision (git rev-parse @):
a7f58e47a08ca5a84f73acc4bcf6c2c19d990609
SUCCESS checkout https://github.com/mxcl/chalk.git at 0.5.0
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mxcl/chalk.git
https://github.com/mxcl/chalk.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "Chalk",
  "name" : "Chalk",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Chalk",
      "targets" : [
        "Chalk"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "Chalk",
      "module_type" : "SwiftTarget",
      "name" : "Chalk",
      "path" : ".",
      "product_memberships" : [
        "Chalk"
      ],
      "sources" : [
        "Chalk.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/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module Chalk
/host/spi-builder-workspace/Chalk.swift:6:11: error: cannot find 'isatty' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |           `- error: cannot find 'isatty' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:6:18: error: cannot find 'STDOUT_FILENO' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |                  `- error: cannot find 'STDOUT_FILENO' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:59:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
/host/spi-builder-workspace/Chalk.swift:60:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
/host/spi-builder-workspace/Chalk.swift:61:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
/host/spi-builder-workspace/Chalk.swift:62:23: warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
    |                       |- warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underlined' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
/host/spi-builder-workspace/Chalk.swift:63:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
/host/spi-builder-workspace/Chalk.swift:64:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
/host/spi-builder-workspace/Chalk.swift:65:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
    |                       |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
 67 |
/host/spi-builder-workspace/Chalk.swift:66:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
    |                       |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |
 68 |     public let rawValue: Int
[4/4] Compiling Chalk Chalk.swift
/host/spi-builder-workspace/Chalk.swift:6:11: error: cannot find 'isatty' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |           `- error: cannot find 'isatty' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:6:18: error: cannot find 'STDOUT_FILENO' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |                  `- error: cannot find 'STDOUT_FILENO' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:59:23: warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
    |                       |- warning: static property 'bold' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'bold' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
/host/spi-builder-workspace/Chalk.swift:60:23: warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    |                       |- warning: static property 'dim' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'dim' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
/host/spi-builder-workspace/Chalk.swift:61:23: warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
    |                       |- warning: static property 'italic' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'italic' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
/host/spi-builder-workspace/Chalk.swift:62:23: warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
    |                       |- warning: static property 'underlined' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'underlined' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
/host/spi-builder-workspace/Chalk.swift:63:23: warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
 61 |     public static let italic = Style(rawValue: 1 << 2)
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
    |                       |- warning: static property 'blink' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'blink' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
/host/spi-builder-workspace/Chalk.swift:64:23: warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 62 |     public static let underlined = Style(rawValue: 1 << 3)
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
    |                       |- warning: static property 'inverse' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'inverse' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
/host/spi-builder-workspace/Chalk.swift:65:23: warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 63 |     public static let blink = Style(rawValue: 1 << 4)
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
    |                       |- warning: static property 'hidden' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'hidden' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
 67 |
/host/spi-builder-workspace/Chalk.swift:66:23: warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
 56 | }
 57 |
 58 | public struct Style: OptionSet {
    |               `- note: consider making struct 'Style' conform to the 'Sendable' protocol
 59 |     public static let bold = Style(rawValue: 1 << 0)
 60 |     public static let dim = Style(rawValue: 1 << 1)
    :
 64 |     public static let inverse = Style(rawValue: 1 << 5)
 65 |     public static let hidden = Style(rawValue: 1 << 6)  // for eg. passwords
 66 |     public static let strikethrough = Style(rawValue: 1 << 7)  // not implemented in Terminal.app
    |                       |- warning: static property 'strikethrough' is not concurrency-safe because non-'Sendable' type 'Style' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'strikethrough' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 67 |
 68 |     public let rawValue: Int
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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/3] Emitting module Chalk
/host/spi-builder-workspace/Chalk.swift:6:11: error: cannot find 'isatty' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |           `- error: cannot find 'isatty' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:6:18: error: cannot find 'STDOUT_FILENO' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |                  `- error: cannot find 'STDOUT_FILENO' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
[3/3] Compiling Chalk Chalk.swift
/host/spi-builder-workspace/Chalk.swift:6:11: error: cannot find 'isatty' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |           `- error: cannot find 'isatty' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
/host/spi-builder-workspace/Chalk.swift:6:18: error: cannot find 'STDOUT_FILENO' in scope
  4 |     if let cliColorForce = ProcessInfo.processInfo.environment["CLICOLOR_FORCE"],
  5 |        ["1", "yes", "true"].contains(cliColorForce) { return true}
  6 |     guard isatty(STDOUT_FILENO) == 1 else { return false }
    |                  `- error: cannot find 'STDOUT_FILENO' in scope
  7 | #if os(macOS)
  8 |     if let xpcServiceName = ProcessInfo.processInfo.environment["XPC_SERVICE_NAME"],
BUILD FAILURE 6.1 android