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 XcodeSelectiveTesting, reference 0.12.7 (a65d2e), with Swift 6.2 (beta) for Android on 11 Jul 2025 10:50:56 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikeger/XcodeSelectiveTesting.git
Reference: 0.12.7
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/mikeger/XcodeSelectiveTesting
 * tag               0.12.7     -> FETCH_HEAD
HEAD is now at a65d2e9 Fix path calculation for packages
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
a65d2e9f5aa201d3e922d701d507c43009ba6cef
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at 0.12.7
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/mikeger/XcodeSelectiveTesting.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" 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:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/apple/swift-argument-parser.git
[1/1238] Fetching rainbow
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/onevcat/Rainbow from cache (0.27s)
[1/10980] Fetching yams
[1209/12391] Fetching yams, pathkit
[2735/27915] Fetching yams, pathkit, swift-argument-parser
[6267/51308] Fetching yams, pathkit, swift-argument-parser, xcodeproj
Fetched https://github.com/kylef/PathKit.git from cache (0.27s)
[10651/49897] Fetching yams, swift-argument-parser, xcodeproj
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.93s)
[30058/34373] Fetching yams, xcodeproj
Fetched https://github.com/jpsim/Yams.git from cache (1.42s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.39s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (5.14s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.24s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.02s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.65s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.3 (0.43s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.27s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.59s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.53s)
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.67s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
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/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.1.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.3
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/80] Write sources
[30/80] Compiling writer.c
[32/80] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/80] Compiling reader.c
[34/80] Compiling api.c
[35/80] Compiling reader.c
[36/83] Compiling parser.c
[38/108] Compiling emitter.c
[39/112] Compiling scanner.c
[42/134] Emitting module SelectiveTestShell
error: emit-module command failed with exit code 1 (use -v to see invocation)
[43/134] 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 |         }
[44/135] Emitting module Yams
[45/137] Emitting module SelectiveTestShell
[46/137] Compiling Rainbow StringGenerator.swift
[47/138] Compiling Rainbow Style.swift
[48/138] Emitting module Rainbow
[49/138] Compiling Yams Decoder.swift
[50/138] Compiling Yams Emitter.swift
[51/138] Compiling Yams Tag.swift
[52/138] Compiling Yams YamlAnchorProviding.swift
[53/138] Compiling Rainbow String+Rainbow.swift
[54/138] Emitting module ArgumentParserToolInfo
[55/138] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/139] Compiling Yams Encoder.swift
[58/139] Compiling Yams Mark.swift
[59/139] Compiling Yams Resolver.swift
[60/139] Compiling Yams String+Yams.swift
[61/139] Compiling Yams YamlError.swift
[62/139] Compiling Yams YamlTagProviding.swift
[64/139] Compiling Yams Node.Alias.swift
[65/139] Compiling Yams Node.Mapping.swift
[66/139] Compiling Yams Node.Scalar.swift
[67/139] Compiling Yams Node.Sequence.swift
[68/139] Compiling Yams Node.swift
[69/139] Compiling Yams AliasDereferencingStrategy.swift
[70/139] Compiling Yams Anchor.swift
[71/139] Compiling Yams Constructor.swift
[75/139] Compiling Rainbow OutputTarget.swift
[76/139] Compiling Rainbow Rainbow.swift
[79/140] Compiling Yams Parser.swift
[80/140] Compiling Yams RedundancyAliasingStrategy.swift
[81/140] Compiling Yams Representer.swift
[82/140] Compiling SelectiveTestShell Shell.swift
[83/140] Compiling SelectiveTestShell String+Error.swift
[89/142] Emitting module PathKit
[90/142] Compiling PathKit PathKit.swift
[92/143] Compiling Rainbow StringGenerator.swift
[93/143] Compiling Rainbow String+Rainbow.swift
[94/143] Compiling Rainbow Style.swift
[94/150] Wrapping AST for SelectiveTestShell for debugging
[95/152] Wrapping AST for Yams for debugging
[96/152] Compiling emitter.c
[97/153] Wrapping AST for PathKit for debugging
[98/170] Wrapping AST for Rainbow for debugging
[99/196] Wrapping AST for ArgumentParserToolInfo for debugging
[100/196] Write sources
[102/196] Compiling SelectiveTestLogger Logger.swift
[103/196] Emitting module SelectiveTestLogger
[104/199] Write sources
[106/202] Compiling api.c
[108/202] Compiling AEXML Options.swift
[109/202] Compiling AEXML Error.swift
[110/202] Compiling AEXML Parser.swift
[111/209] Emitting module AEXML
[112/209] Compiling AEXML Document.swift
[113/209] Compiling AEXML Builders.swift
[114/209] Compiling AEXML Element.swift
[115/210] Compiling Git Git.swift
[117/210] Compiling AEXML Error.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[118/210] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[119/210] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[120/230] Emitting module ArgumentParserToolInfo
[121/230] Emitting module Git
[122/230] Compiling SelectiveTestShell Shell.swift
[123/230] 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 |         }
[124/230] Compiling Yams Emitter.swift
[125/230] Compiling Yams Encoder.swift
BUILD FAILURE 6.2 android