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 main (314962), with Swift 6.2 (beta) for Android on 24 Jun 2025 01:05:45 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/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: 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/mikeger/XcodeSelectiveTesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3149624 Update README.md
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
31496247fb467de76e862982a69c7282c48b1a67
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at main
========================================
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-2":/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/jpsim/Yams.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/onevcat/Rainbow
[1/1411] Fetching pathkit
[1412/2607] Fetching pathkit, rainbow
[2608/25948] Fetching pathkit, rainbow, xcodeproj
[7977/36884] Fetching pathkit, rainbow, xcodeproj, yams
[20113/52264] Fetching pathkit, rainbow, xcodeproj, yams, swift-argument-parser
Fetched https://github.com/kylef/PathKit.git from cache (1.30s)
Fetched https://github.com/onevcat/Rainbow from cache (1.30s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.31s)
Fetched https://github.com/jpsim/Yams.git from cache (1.35s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.54s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.76s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.26s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (3.42s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.37s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.2 (0.39s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.29s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.66s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.1 (0.69s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.40s)
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.5.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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.2
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
Building for debugging...
[2/79] Write sources
[29/79] Compiling writer.c
[30/79] Compiling reader.c
[31/79] Compiling writer.c
[32/79] Write swift-version-8C5A4AE7A8CE2BA.txt
[33/79] Compiling parser.c
[34/79] Compiling reader.c
[35/79] Compiling parser.c
[36/79] Compiling scanner.c
[37/80] Compiling api.c
[38/85] Compiling emitter.c
[40/111] Compiling scanner.c
[42/133] Emitting module ArgumentParserToolInfo
[43/133] Emitting module Rainbow
error: emit-module command failed with exit code 1 (use -v to see invocation)
[44/134] 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
[45/134] Compiling Yams Tag.swift
[46/134] Compiling Yams YamlAnchorProviding.swift
[47/136] Compiling Rainbow Style.swift
[48/136] Compiling Rainbow String+Rainbow.swift
[49/136] Compiling Rainbow StringGenerator.swift
[50/136] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/144] Compiling Yams Resolver.swift
[53/144] Compiling Yams String+Yams.swift
[54/144] Compiling Yams Emitter.swift
[55/144] Compiling Yams Encoder.swift
[56/144] Compiling Yams Mark.swift
[57/144] Compiling Yams Node.Alias.swift
[58/144] Compiling Yams Node.Mapping.swift
[59/144] Compiling Yams Node.Scalar.swift
[60/144] Compiling Yams Node.Sequence.swift
[61/144] Compiling Yams Node.swift
[62/144] Compiling Yams Parser.swift
[63/144] Compiling Yams RedundancyAliasingStrategy.swift
[64/144] Compiling Yams Representer.swift
[65/144] Compiling Yams YamlError.swift
[66/144] Compiling Yams YamlTagProviding.swift
[67/144] Compiling Yams Constructor.swift
[68/144] Compiling Yams Decoder.swift
[69/144] Compiling Yams AliasDereferencingStrategy.swift
[70/144] Compiling Yams Anchor.swift
[71/144] Compiling SelectiveTestShell String+Error.swift
[72/144] Emitting module SelectiveTestShell
[73/144] Compiling SelectiveTestShell Shell.swift
[74/145] Compiling Rainbow OutputTarget.swift
[75/145] Compiling Rainbow Rainbow.swift
[76/145] Compiling AEXML Options.swift
[77/145] Compiling AEXML Parser.swift
[78/145] Compiling AEXML Error.swift
[82/145] Emitting module Yams
[84/146] Compiling AEXML Builders.swift
[85/146] Emitting module AEXML
[86/146] Compiling AEXML Element.swift
[87/146] Compiling AEXML Document.swift
[94/148] Emitting module PathKit
[95/148] Compiling PathKit PathKit.swift
[97/149] Compiling Rainbow StringGenerator.swift
[98/150] Compiling Rainbow String+Rainbow.swift
[98/150] Wrapping AST for Rainbow for debugging
[99/158] Wrapping AST for SelectiveTestShell for debugging
[100/190] Wrapping AST for Yams for debugging
[101/259] Wrapping AST for ArgumentParserToolInfo for debugging
[102/272] Wrapping AST for PathKit for debugging
[103/282] Wrapping AST for AEXML for debugging
[103/282] Write sources
[108/282] Compiling Rainbow Style.swift
[109/284] Emitting module SelectiveTestLogger
[110/284] Compiling SelectiveTestLogger Logger.swift
[111/285] Compiling api.c
[113/312] Compiling AEXML Builders.swift
[114/312] Emitting module AEXML
[115/312] Compiling Yams Decoder.swift
[116/312] Compiling Yams Emitter.swift
[117/312] Compiling Yams Encoder.swift
[118/312] Compiling Yams Node.Scalar.swift
[119/312] Compiling Yams Node.Sequence.swift
[120/317] Emitting module ArgumentParserToolInfo
[121/317] Compiling ArgumentParserToolInfo ToolInfo.swift
[123/321] Emitting module Git
[124/321] Compiling Git Git+Changeset.swift
[125/321] Compiling Git Git.swift
[127/322] Emitting module ArgumentParser
[128/360] Compiling ArgumentParser BashCompletionsGenerator.swift
[129/360] Compiling ArgumentParser CompletionsGenerator.swift
[130/360] Compiling ArgumentParser FishCompletionsGenerator.swift
[131/360] Compiling ArgumentParser ZshCompletionsGenerator.swift
[132/360] Compiling ArgumentParser Argument.swift
[133/360] Compiling ArgumentParser ArgumentHelp.swift
[134/360] Compiling ArgumentParser CollectionExtensions.swift
[135/360] Compiling ArgumentParser Platform.swift
[136/360] Compiling ArgumentParser SequenceExtensions.swift
[137/360] Compiling ArgumentParser StringExtensions.swift
[138/360] Compiling ArgumentParser Tree.swift
[139/360] Compiling ArgumentParser DumpHelpGenerator.swift
[140/360] Compiling ArgumentParser HelpCommand.swift
[141/360] Compiling ArgumentParser HelpGenerator.swift
[142/360] Compiling ArgumentParser MessageInfo.swift
[143/360] Compiling ArgumentParser UsageGenerator.swift
[144/360] Compiling ArgumentParser Name.swift
[145/360] Compiling ArgumentParser Parsed.swift
[146/360] Compiling ArgumentParser ParsedValues.swift
[147/360] Compiling ArgumentParser ParserError.swift
[148/360] Compiling ArgumentParser SplitArguments.swift
[149/360] Compiling ArgumentParser Option.swift
[150/360] Compiling ArgumentParser OptionGroup.swift
[151/360] Compiling ArgumentParser AsyncParsableCommand.swift
[152/360] Compiling ArgumentParser CommandConfiguration.swift
[153/360] Compiling ArgumentParser CommandGroup.swift
[154/360] Compiling ArgumentParser EnumerableFlag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[157/360] 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 |         }
[163/365] Compiling ArgumentParser ExpressibleByArgument.swift
[164/365] Compiling ArgumentParser ParsableArguments.swift
[165/365] Compiling ArgumentParser ParsableArgumentsValidation.swift
[166/365] Compiling ArgumentParser ParsableCommand.swift
[167/365] Compiling ArgumentParser ArgumentDecoder.swift
[168/365] Compiling ArgumentParser ArgumentDefinition.swift
[169/365] Compiling ArgumentParser ArgumentSet.swift
[170/365] Compiling ArgumentParser CommandParser.swift
[171/365] Compiling ArgumentParser InputKey.swift
[172/365] Compiling ArgumentParser InputOrigin.swift
[177/366] Wrapping AST for SelectiveTestLogger for debugging
[179/366] 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
[179/366] Wrapping AST for Git for debugging
[180/366] Emitting module SelectiveTestShell
[181/366] 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 |         }
BUILD FAILURE 6.2 android