The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SwiftBar, reference develop (42d506), with Swift 6.1 for Android on 29 May 2025 00:34:43 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.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/skunkrocker/SwiftBar.git
Reference: develop
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/skunkrocker/SwiftBar
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 42d506c Merge branch 'develop' of github.com:skunkrocker/SwiftBar into develop
Cloned https://github.com/skunkrocker/SwiftBar.git
Revision (git rev-parse @):
42d506c43b5f1e5853adc9bcfa189af764fbbfa1
SUCCESS checkout https://github.com/skunkrocker/SwiftBar.git at develop
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/skunkrocker/SwiftBar.git
https://github.com/skunkrocker/SwiftBar.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "swiftext",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/skunkrocker/SwiftExt.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.4.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    }
  ],
  "manifest_display_name" : "SwiftBar",
  "name" : "SwiftBar",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "SwiftBar",
      "targets" : [
        "SwiftBar"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBarTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBarTests",
      "path" : "Tests/SwiftBarTests",
      "sources" : [
        "SwiftBarTests.swift"
      ],
      "target_dependencies" : [
        "SwiftBar"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBar",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBar",
      "path" : "Sources/SwiftBar",
      "product_dependencies" : [
        "Rainbow",
        "SwiftExt",
        "SwiftToolsSupport-auto"
      ],
      "product_memberships" : [
        "SwiftBar"
      ],
      "sources" : [
        "Legacy.swift",
        "SwiftBar.swift",
        "Types.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/apple/swift-tools-support-core.git
Fetching https://github.com/skunkrocker/SwiftExt.git
Fetching https://github.com/onevcat/Rainbow
[1/25] Fetching swiftext
[26/1221] Fetching swiftext, rainbow
[1222/7985] Fetching swiftext, rainbow, swift-tools-support-core
Fetched https://github.com/skunkrocker/SwiftExt.git from cache (0.35s)
[3158/7960] Fetching rainbow, swift-tools-support-core
Fetched https://github.com/onevcat/Rainbow from cache (1.67s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (1.67s)
Computing version for https://github.com/skunkrocker/SwiftExt.git
Computed https://github.com/skunkrocker/SwiftExt.git at 1.0.0 (2.34s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.29s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.3 (0.83s)
Creating working copy for https://github.com/skunkrocker/SwiftExt.git
Working copy of https://github.com/skunkrocker/SwiftExt.git resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.3
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Building for debugging...
[0/10] Write sources
[6/10] Compiling TSCclibc strerror.c
[7/10] Compiling TSCclibc process.c
[8/10] Compiling TSCclibc libc.c
[9/10] Write swift-version-24593BA9C3E375BF.txt
[11/23] Compiling Rainbow StringGenerator.swift
[12/24] Compiling Rainbow Style.swift
[13/24] Compiling TSCLibc libc.swift
[14/24] Emitting module TSCLibc
[16/65] Compiling Rainbow String+Rainbow.swift
[17/65] Compiling Rainbow Rainbow.swift
[18/65] Compiling TSCBasic CollectionExtensions.swift
[19/65] Compiling TSCBasic Condition.swift
[20/65] Compiling TSCBasic CodableResult.swift
[21/65] Compiling TSCBasic CollectionAlgorithms.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[22/65] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[23/65] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[24/65] Compiling TSCBasic DeltaAlgorithm.swift
[25/65] Compiling TSCBasic DiagnosticsEngine.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/14] Emitting module TSCLibc
[3/14] Compiling TSCLibc libc.swift
[5/15] Compiling Rainbow ControlCode.swift
[6/15] Compiling Rainbow ModesExtractor.swift
[7/15] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[8/16] Compiling Rainbow StringGenerator.swift
[9/17] Compiling Rainbow Rainbow.swift
[10/17] Compiling Rainbow String+Rainbow.swift
[11/56] Compiling Rainbow Style.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[12/56] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
[13/56] Compiling TSCBasic Path.swift
[14/56] Compiling TSCBasic Result.swift
[15/56] Compiling TSCBasic OrderedDictionary.swift
[16/56] Compiling TSCBasic OrderedSet.swift
BUILD FAILURE 6.1 android