The Swift Package Index logo.Swift Package Index

Build Information

Failed to build emu, reference 0.0.2 (d72c8b), with Swift 6.1 for Android on 27 May 2025 07:47:08 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-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/limethaw/emu.git
Reference: 0.0.2
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/limethaw/emu
 * tag               0.0.2      -> FETCH_HEAD
HEAD is now at d72c8bd Added FordFulkerson test cases
Cloned https://github.com/limethaw/emu.git
Revision (git rev-parse @):
d72c8bd640cdda076fc2ffab0c0e02feeef2a004
SUCCESS checkout https://github.com/limethaw/emu.git at 0.0.2
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/limethaw/emu.git
https://github.com/limethaw/emu.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "3.0.0",
            "upper_bound" : "4.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    }
  ],
  "manifest_display_name" : "emu",
  "name" : "emu",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "emu",
      "targets" : [
        "emu"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "threadsafe",
      "module_type" : "SwiftTarget",
      "name" : "threadsafe",
      "path" : "Sources/threadsafe",
      "product_memberships" : [
        "emu"
      ],
      "sources" : [
        "algorithms/Atomic.swift",
        "datastructures/Lock.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "functionalTests",
      "module_type" : "SwiftTarget",
      "name" : "functionalTests",
      "path" : "Tests/functionalTests",
      "sources" : [
        "datastructures/AVLTreeTest.swift"
      ],
      "target_dependencies" : [
        "functional"
      ],
      "type" : "test"
    },
    {
      "c99name" : "functional",
      "module_type" : "SwiftTarget",
      "name" : "functional",
      "path" : "Sources/functional",
      "product_memberships" : [
        "emu"
      ],
      "sources" : [
        "algorithms/Atomic.swift",
        "datastructures/AVLTree.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "emuTests",
      "module_type" : "SwiftTarget",
      "name" : "emuTests",
      "path" : "Tests/emuTests",
      "sources" : [
        "algorithms/BFSTests.swift",
        "algorithms/FordFulkersonTests.swift",
        "algorithms/InsertionSortTests.swift",
        "algorithms/QuicksortTests.swift",
        "datastructures/MatrixTests.swift",
        "datastructures/QueueTests.swift"
      ],
      "target_dependencies" : [
        "emu"
      ],
      "type" : "test"
    },
    {
      "c99name" : "emu",
      "module_type" : "SwiftTarget",
      "name" : "emu",
      "path" : "Sources/emu",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "emu"
      ],
      "sources" : [
        "Util.swift",
        "algorithms/BFS.swift",
        "algorithms/FordFulkerson.swift",
        "algorithms/InsertionSort.swift",
        "algorithms/Quicksort.swift",
        "datastructures/Matrix.swift",
        "datastructures/Queue.swift"
      ],
      "target_dependencies" : [
        "functional",
        "threadsafe"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
Fetched https://github.com/onevcat/Rainbow from cache (0.34s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 3.2.0 (0.98s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 3.2.0
Building for debugging...
[0/5] Write sources
[4/5] Write swift-version-24593BA9C3E375BF.txt
[6/22] Compiling threadsafe Atomic.swift
[7/22] Emitting module threadsafe
[8/22] Compiling threadsafe Lock.swift
[9/23] Compiling functional Atomic.swift
[10/23] Compiling functional AVLTree.swift
[11/23] Emitting module functional
error: emit-module command failed with exit code 1 (use -v to see invocation)
[14/24] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[15/25] Compiling Rainbow StringGenerator.swift
[16/25] Compiling Rainbow Style.swift
[17/25] Compiling Rainbow String+Rainbow.swift
[18/25] Compiling Rainbow XcodeColorsSupport.swift
[19/25] Compiling Rainbow BackgroundColor.swift
[20/25] Compiling Rainbow CodesParser.swift
[21/25] Compiling Rainbow Color.swift
[22/25] Compiling Rainbow ControlCode.swift
[23/25] Compiling Rainbow Rainbow.swift
[24/25] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[25/25] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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:9f3c606dcd2a4f06d17ba472aa533c43685ba7ba19a5c9bc23518a066eb7f86a
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/18] Emitting module threadsafe
[3/18] Compiling threadsafe Atomic.swift
[4/18] Compiling threadsafe Lock.swift
[6/19] Compiling functional Atomic.swift
[7/19] Emitting module functional
[8/19] Compiling functional AVLTree.swift
[10/20] Compiling Rainbow Style.swift
[11/21] Compiling Rainbow StringGenerator.swift
[12/21] Compiling Rainbow Rainbow.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/21] Compiling Rainbow Color.swift
[14/21] Compiling Rainbow ControlCode.swift
[15/21] Compiling Rainbow BackgroundColor.swift
[16/21] Compiling Rainbow CodesParser.swift
[17/21] Compiling Rainbow String+Rainbow.swift
[18/21] Emitting module Rainbow
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[19/21] Compiling Rainbow ModesExtractor.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[20/21] Compiling Rainbow OutputTarget.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:57:58: error: cannot find 'isatty' in scope
55 |         // Check if we are in any term env and the output is a tty.
56 |         let termType = getEnvValue("TERM")
57 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
58 |             return .console
59 |         }
[21/21] Compiling Rainbow XcodeColorsSupport.swift
BUILD FAILURE 6.1 android