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 ShXcrun, reference trunk (8128fa), with Swift 6.1 for Android on 29 May 2025 08:10:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/danielsincere/ShXcrun.git
Reference: trunk
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/danielsincere/ShXcrun
 * branch            trunk      -> FETCH_HEAD
 * [new branch]      trunk      -> origin/trunk
HEAD is now at 8128fae update Package.swift
Cloned https://github.com/danielsincere/ShXcrun.git
Revision (git rev-parse @):
8128fae96e027a12cc8524a51f3bdabe6e3d3d25
SUCCESS checkout https://github.com/danielsincere/ShXcrun.git at trunk
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/danielsincere/ShXcrun.git
https://github.com/danielsincere/ShXcrun.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "sh",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DanielSincere/Sh.git"
    }
  ],
  "manifest_display_name" : "ShXcrun",
  "name" : "ShXcrun",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "ShXcrun",
      "targets" : [
        "ShXcrun"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "ShXcrunTests",
      "module_type" : "SwiftTarget",
      "name" : "ShXcrunTests",
      "path" : "Tests/ShXcrunTests",
      "product_dependencies" : [
        "Sh"
      ],
      "sources" : [
        "ShXcrunTests.swift",
        "SimctlTests.swift"
      ],
      "target_dependencies" : [
        "ShXcrun"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ShXcrun",
      "module_type" : "SwiftTarget",
      "name" : "ShXcrun",
      "path" : "Sources/ShXcrun",
      "product_dependencies" : [
        "Sh"
      ],
      "product_memberships" : [
        "ShXcrun"
      ],
      "sources" : [
        "Altool/Altool.swift",
        "Altool/Altool.uploadApp.swift",
        "Altool/Credential/AltoolCredential.swift",
        "Altool/Credential/ApiKeyCredential.swift",
        "Altool/Credential/EnvironmentVariablePasswordCredential.swift",
        "Altool/Credential/KeychainPasswordCredential.swift",
        "Altool/Credential/LiteralPasswordCredential.swift",
        "Altool/Platform/Altool.Platform.swift",
        "Altool/Transport/Altool.Transport.swift",
        "SimCtl/Simctl.bootUp.swift",
        "SimCtl/Simctl.erase.swift",
        "SimCtl/Simctl.eraseAll.swift",
        "SimCtl/Simctl.listDeviceTypes.swift",
        "SimCtl/Simctl.listDevices.swift",
        "SimCtl/Simctl.screenshot.swift",
        "SimCtl/Simctl.shutdown.swift",
        "SimCtl/Simctl.shutdownAll.swift",
        "SimCtl/Simctl.swift",
        "Simctl/Simctl.listRuntimes.swift",
        "Xcodebuild/Destination/Xcodebuild.Destination(string).swift",
        "Xcodebuild/Destination/Xcodebuild.Destination.swift",
        "Xcodebuild/ExportOptions/ExportOptions.swift",
        "Xcodebuild/ExportOptions/ExportOptions.write.swift",
        "Xcodebuild/Xcodebuild.analyze.swift",
        "Xcodebuild/Xcodebuild.archive.swift",
        "Xcodebuild/Xcodebuild.build.swift",
        "Xcodebuild/Xcodebuild.buildForTesting.swift",
        "Xcodebuild/Xcodebuild.clean.swift",
        "Xcodebuild/Xcodebuild.exportArchive.swift",
        "Xcodebuild/Xcodebuild.install.swift",
        "Xcodebuild/Xcodebuild.installSrc.swift",
        "Xcodebuild/Xcodebuild.list.swift",
        "Xcodebuild/Xcodebuild.showDestinations.swift",
        "Xcodebuild/Xcodebuild.showSDKs.swift",
        "Xcodebuild/Xcodebuild.swift",
        "Xcodebuild/Xcodebuild.test.swift",
        "Xcodebuild/Xcodebuild.testWithoutBuilding.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.8"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/DanielSincere/Sh.git
[1/859] Fetching sh
Fetched https://github.com/DanielSincere/Sh.git from cache (0.31s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (0.83s)
Fetching https://github.com/apple/swift-system
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/5587] Fetching rainbow, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
Fetched https://github.com/apple/swift-system from cache (0.38s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.58s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.57s)
Creating working copy for https://github.com/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
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/6] Write sources
[4/6] Compiling CSystem shims.c
[5/6] Write swift-version-24593BA9C3E375BF.txt
[7/45] Emitting module SystemPackage
[8/48] Compiling SystemPackage MachPort.swift
[9/48] Compiling SystemPackage PlatformString.swift
[10/48] Compiling SystemPackage SystemString.swift
[11/48] Compiling SystemPackage Util+StringArray.swift
[12/48] Compiling SystemPackage Util.swift
[13/48] Compiling SystemPackage UtilConsumers.swift
[14/48] Compiling SystemPackage FilePathParsing.swift
[15/48] Compiling SystemPackage FilePathString.swift
[16/48] Compiling SystemPackage FilePathSyntax.swift
[17/48] Compiling SystemPackage FilePathTemp.swift
[18/48] Compiling SystemPackage FileOperations.swift
[19/48] Compiling SystemPackage FilePath.swift
[20/48] Compiling SystemPackage FilePathComponentView.swift
[21/48] Compiling SystemPackage FilePathComponents.swift
[22/48] Compiling SystemPackage Mocking.swift
[23/48] Compiling SystemPackage RawBuffer.swift
[24/48] Compiling SystemPackage Syscalls.swift
[25/48] Compiling SystemPackage WindowsSyscallAdapters.swift
[26/48] Compiling SystemPackage Errno.swift
[27/48] Compiling SystemPackage ErrnoWindows.swift
[28/48] Compiling SystemPackage FileDescriptor.swift
[29/48] Compiling SystemPackage FileHelpers.swift
[30/48] Compiling SystemPackage FilePathTempPosix.swift
[31/48] Compiling SystemPackage FilePathTempWindows.swift
[32/48] Compiling SystemPackage FilePathWindows.swift
[33/48] Compiling SystemPackage FilePermissions.swift
[34/48] Compiling SystemPackage Backcompat.swift
[35/48] Compiling SystemPackage CInterop.swift
[36/48] Compiling SystemPackage Constants.swift
[37/48] Compiling SystemPackage Exports.swift
[39/49] Compiling Rainbow String+Rainbow.swift
[40/49] 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 |         }
[41/49] Compiling Rainbow StringGenerator.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[46/50] Compiling Rainbow Rainbow.swift
[49/50] 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 |         }
[50/50] Compiling Rainbow Style.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/1] Write swift-version-24593BA9C3E375BF.txt
[2/40] Compiling Rainbow String+Rainbow.swift
[3/40] Compiling Rainbow StringGenerator.swift
[4/41] Compiling SystemPackage FileOperations.swift
[5/41] Compiling SystemPackage FilePath.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/41] Compiling SystemPackage FileDescriptor.swift
[7/41] Compiling SystemPackage FileHelpers.swift
[8/41] 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 |         }
[9/41] Compiling SystemPackage Errno.swift
[10/41] Compiling SystemPackage ErrnoWindows.swift
[11/41] 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 |         }
[12/41] Compiling Rainbow Rainbow.swift
[13/41] Compiling Rainbow Style.swift
BUILD FAILURE 6.1 android