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.2 for Android on 26 Sep 2025 02:21:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.2
Building package at path:  $PWD
https://github.com/finnvoor/yap.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:d70d83f328e9f1ae04a4e17e63e2d335ae10639f90ee796a5fe3bfb139eab948
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/Noora.git
[1/14155] Fetching noora
[1417/30549] Fetching noora, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (4.60s)
Fetched https://github.com/tuist/Noora.git from cache (4.71s)
Computing version for https://github.com/tuist/Noora.git
Computed https://github.com/tuist/Noora.git at 0.49.1 (5.03s)
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/tuist/path
Fetching https://github.com/apple/swift-log
[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.41s)
Fetched https://github.com/onevcat/Rainbow from cache (0.41s)
Fetched https://github.com/apple/swift-log from cache (0.41s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (0.76s)
Computing version for https://github.com/tuist/path
Computed https://github.com/tuist/path at 0.3.8 (2.78s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.4 (0.41s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (2.29s)
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/tuist/Noora.git
Working copy of https://github.com/tuist/Noora.git resolved at 0.49.1
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/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.4
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
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/21] Write sources
[9/21] Write swift-version--11D90AFD9DD3AB2.txt
[11/45] Emitting module Path
[12/45] Emitting module Logging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/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 |         }
[14/46] Compiling Rainbow StringGenerator.swift
[15/46] Compiling Rainbow Style.swift
[16/46] Compiling Rainbow String+ConditionalStyling.swift
[17/46] Compiling Rainbow String+Rainbow.swift
[18/46] Compiling Path Path.swift
[19/47] Wrapping AST for Path for debugging
[21/47] Emitting module ArgumentParserToolInfo
[22/47] Compiling ArgumentParserToolInfo ToolInfo.swift
[23/48] Wrapping AST for ArgumentParserToolInfo for debugging
[25/92] Compiling Logging MetadataProvider.swift
[26/92] Compiling ArgumentParser Argument.swift
[27/92] Compiling ArgumentParser ArgumentDiscussion.swift
[28/92] Compiling Rainbow StyledStringBuilder.swift
[29/92] 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 |         }
[30/92] 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 |         }
[31/92] Compiling Logging LogHandler.swift
[32/92] Compiling Logging Locks.swift
[33/92] Compiling Logging Logging.swift
[34/92] Compiling ArgumentParser ArgumentHelp.swift
[35/92] Compiling ArgumentParser OptionGroup.swift
[37/93] Compiling ArgumentParser FishCompletionsGenerator.swift
[38/93] Compiling ArgumentParser ZshCompletionsGenerator.swift
[39/93] Compiling ArgumentParser BashCompletionsGenerator.swift
[40/93] Compiling ArgumentParser CompletionsGenerator.swift
[40/93] Wrapping AST for Logging for debugging
BUILD FAILURE 6.2 android