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 yap, reference main (49f520), with Swift 6.1 for Android on 26 Sep 2025 02:23:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/finnvoor/yap.git
Reference: main
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/finnvoor/yap
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 49f5209 Adding support for modifying maximum sentence length when outputting to .srt via CLI argument (#14)
Cloned https://github.com/finnvoor/yap.git
Revision (git rev-parse @):
49f5209619a18b08e89ee5f872fc83e0bac505ea
SUCCESS checkout https://github.com/finnvoor/yap.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/finnvoor/yap.git
https://github.com/finnvoor/yap.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "noora",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.40.1",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/Noora.git"
    }
  ],
  "manifest_display_name" : "yap",
  "name" : "yap",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "26"
    }
  ],
  "products" : [
    {
      "name" : "yap",
      "targets" : [
        "yap"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "yap",
      "module_type" : "SwiftTarget",
      "name" : "yap",
      "path" : "Sources/yap",
      "product_dependencies" : [
        "ArgumentParser",
        "Noora"
      ],
      "product_memberships" : [
        "yap"
      ],
      "sources" : [
        "Extensions/AttributedString+Extensions.swift",
        "OutputFormat.swift",
        "Transcribe.swift",
        "Yap.swift"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "6.1"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora.git
[1/14155] Fetching noora
[1275/30549] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (5.33s)
Fetched https://github.com/tuist/Noora.git from cache (5.55s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.49.1 (7.08s)
Fetching https://github.com/apple/swift-log
Fetching https://github.com/tuist/path
Fetching https://github.com/onevcat/Rainbow
[1/369] Fetching path
[370/1708] Fetching path, rainbow
[1709/5618] Fetching path, rainbow, swift-log
Fetched https://github.com/tuist/path from cache (0.36s)
Fetched https://github.com/onevcat/Rainbow from cache (0.45s)
Fetched https://github.com/apple/swift-log from cache (0.45s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.02s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.66s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.54s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.40s)
Creating working copy for https://github.com/tuist/path
Working copy of https://github.com/tuist/path resolved at 0.3.8
Creating working copy for https://github.com/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.49.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.6.1
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[9/21] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[11/45] 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 |         }
[12/46] Emitting module Path
[13/46] Compiling Path Path.swift
[14/47] Compiling Rainbow BackgroundColor.swift
[15/47] Compiling Rainbow CodesParser.swift
[17/47] Compiling Rainbow StringGenerator.swift
[18/47] Compiling Rainbow Style.swift
[19/47] Emitting module ArgumentParserToolInfo
[20/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/48] Wrapping AST for Path for debugging
[22/48] Wrapping AST for ArgumentParserToolInfo for debugging
[24/92] Compiling ArgumentParser CommandGroup.swift
[25/92] Compiling ArgumentParser EnumerableFlag.swift
[26/92] Compiling Logging Locks.swift
[27/92] Emitting module Logging
[28/92] Compiling Logging MetadataProvider.swift
[29/92] Compiling Logging LogHandler.swift
[30/92] Compiling Logging Logging.swift
[32/93] Compiling ArgumentParser AsyncParsableCommand.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 |         }
[33/93] Compiling ArgumentParser CommandConfiguration.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 |         }
[34/93] Compiling ArgumentParser OptionGroup.swift
[39/93] Compiling ArgumentParser ExpressibleByArgument.swift
[40/99] Compiling ArgumentParser CollectionExtensions.swift
[41/99] Compiling ArgumentParser Mutex.swift
[42/99] Compiling ArgumentParser Platform.swift
[43/99] Compiling ArgumentParser SequenceExtensions.swift
[44/99] Compiling ArgumentParser StringExtensions.swift
[45/99] Compiling ArgumentParser SwiftExtensions.swift
[45/99] Wrapping AST for Logging for debugging
[47/99] Compiling ArgumentParser Argument.swift
[48/99] Compiling ArgumentParser ArgumentDiscussion.swift
[49/99] Compiling ArgumentParser FishCompletionsGenerator.swift
[50/99] Compiling ArgumentParser ZshCompletionsGenerator.swift
[51/99] Compiling ArgumentParser ArgumentHelp.swift
[53/99] Compiling Rainbow StyledStringBuilder.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" 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:496d77b037d0552dd779110e0d7093275ebb8376a63c7a364a5a4acca11a4ff5
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/14] Write swift-version-24593BA9C3E375BF.txt
[4/38] Compiling Logging Locks.swift
[5/38] Emitting module Logging
[6/38] Compiling Rainbow StringGenerator.swift
[7/38] Compiling Rainbow Style.swift
[8/38] Compiling Logging LogHandler.swift
[9/39] Compiling Logging MetadataProvider.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[10/39] 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 |         }
[11/39] Compiling Path Path.swift
[12/39] Emitting module Path
[13/40] Compiling Rainbow StyledStringBuilder.swift
[15/40] Compiling Rainbow BackgroundColor.swift
[16/40] Compiling Rainbow CodesParser.swift
[17/40] Compiling Rainbow Color.swift
[18/40] Compiling Rainbow ColorApproximation.swift
[19/40] Compiling Rainbow HSLColorConverter.swift
[20/40] Compiling Rainbow ModesExtractor.swift
[21/40] Compiling Rainbow ConditionalStyleBuilder.swift
[22/40] Compiling Rainbow ControlCode.swift
[23/40] Compiling Rainbow String+ConditionalStyling.swift
[24/40] Compiling Rainbow String+Rainbow.swift
[25/40] 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 |         }
[26/40] Compiling Rainbow Rainbow.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 |         }
[27/39] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android