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 SPX, reference trunk (64f6e0), with Swift 6.2 (beta) for Android on 23 Jun 2025 06:10:25 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/danielsincere/SPX.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/SPX
 * branch            trunk      -> FETCH_HEAD
 * [new branch]      trunk      -> origin/trunk
HEAD is now at 64f6e04 Release management (#11)
Cloned https://github.com/danielsincere/SPX.git
Revision (git rev-parse @):
64f6e04886f99b865b05dcd889490c91633d1435
SUCCESS checkout https://github.com/danielsincere/SPX.git at trunk
========================================
Build
========================================
Selected platform:         android
Swift version:             6.2
Building package at path:  $PWD
https://github.com/danielsincere/SPX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/DanielSincere/Sh.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/onevcat/Rainbow
[1/1196] Fetching rainbow
[1197/2055] Fetching rainbow, sh
[2056/6491] Fetching rainbow, sh, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
[4719/5295] Fetching sh, swift-system
[5296/20675] Fetching sh, swift-system, swift-argument-parser
Fetched https://github.com/DanielSincere/Sh.git from cache (2.06s)
Fetched https://github.com/apple/swift-system from cache (2.06s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.10s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (3.38s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.80s)
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.80s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.90s)
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
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
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[4/12] Write swift-version-8C5A4AE7A8CE2BA.txt
[7/42] Compiling SystemPackage MachPort.swift
[8/42] Compiling SystemPackage PlatformString.swift
[9/42] Compiling SystemPackage SystemString.swift
[10/45] Emitting module SystemPackage
[11/45] Compiling SystemPackage Errno.swift
[12/45] Compiling SystemPackage ErrnoWindows.swift
[13/45] Compiling SystemPackage FileDescriptor.swift
[14/45] Compiling SystemPackage FileHelpers.swift
[15/45] Compiling SystemPackage FileOperations.swift
[16/45] Compiling SystemPackage FilePath.swift
[17/45] Compiling SystemPackage FilePathComponentView.swift
[18/45] Compiling SystemPackage FilePathComponents.swift
[19/45] Emitting module ArgumentParserToolInfo
[20/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[21/46] Wrapping AST for ArgumentParserToolInfo for debugging
[23/84] Compiling ArgumentParser Name.swift
[24/84] Compiling ArgumentParser Parsed.swift
[25/84] Compiling ArgumentParser ParsedValues.swift
[26/84] Compiling ArgumentParser InputKey.swift
[27/84] Compiling ArgumentParser InputOrigin.swift
[28/84] Compiling ArgumentParser OptionGroup.swift
[29/84] Compiling ArgumentParser AsyncParsableCommand.swift
[30/84] Compiling ArgumentParser Errors.swift
[31/84] Compiling ArgumentParser Flag.swift
[32/84] Compiling ArgumentParser NameSpecification.swift
[33/84] Compiling ArgumentParser Option.swift
[34/84] Compiling ArgumentParser ArgumentDecoder.swift
[35/84] Compiling ArgumentParser ArgumentDefinition.swift
[36/84] Compiling ArgumentParser ArgumentSet.swift
[37/84] Compiling ArgumentParser CommandParser.swift
[38/84] Compiling ArgumentParser ExpressibleByArgument.swift
[39/84] Compiling ArgumentParser ParsableArguments.swift
[40/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[41/84] Compiling ArgumentParser ParsableCommand.swift
[42/85] Wrapping AST for SystemPackage for debugging
[49/90] Compiling ArgumentParser ArgumentVisibility.swift
[50/90] Compiling ArgumentParser CompletionKind.swift
[55/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[56/90] Compiling ArgumentParser CompletionsGenerator.swift
[57/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[58/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[59/90] Compiling ArgumentParser Argument.swift
[60/90] Compiling ArgumentParser ArgumentHelp.swift
[61/90] Emitting module ArgumentParser
[64/90] Compiling ArgumentParser CommandConfiguration.swift
[65/90] Compiling ArgumentParser CommandGroup.swift
[66/90] Compiling ArgumentParser EnumerableFlag.swift
[72/90] Compiling ArgumentParser CollectionExtensions.swift
[73/90] Compiling ArgumentParser Platform.swift
[74/90] Compiling ArgumentParser SequenceExtensions.swift
[75/90] Compiling ArgumentParser StringExtensions.swift
[76/90] Compiling ArgumentParser Tree.swift
[80/90] Compiling ArgumentParser ParserError.swift
[81/90] Compiling ArgumentParser SplitArguments.swift
[82/90] Compiling ArgumentParser DumpHelpGenerator.swift
[83/90] Compiling ArgumentParser HelpCommand.swift
[84/90] Compiling ArgumentParser HelpGenerator.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/91] Wrapping AST for ArgumentParser for debugging
[89/93] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 89 |           let name = filePath.lastComponent!
 90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[90/93] Compiling GenerateTemplatesTool GenerateTemplatesTool.swift
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 89 |           let name = filePath.lastComponent!
 90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[91/94] Wrapping AST for GenerateTemplatesTool for debugging
[92/94] Write Objects.LinkFileList
[93/94] Linking GenerateTemplatesTool-tool
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:40: warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
 6 |   func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
 7 |
 8 |     let templatesDir = context.package.directory.appending(subpath: "templates")
   |                                        |- warning: 'directory' is deprecated: renamed to 'directoryURL' [#DeprecatedDeclaration]
   |                                        `- note: use 'directoryURL' instead
 9 |     let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:50: warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 6 |   func createBuildCommands(context: PackagePlugin.PluginContext, target: PackagePlugin.Target) async throws -> [PackagePlugin.Command] {
 7 |
 8 |     let templatesDir = context.package.directory.appending(subpath: "templates")
   |                                                  `- warning: 'appending(subpath:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 9 |     let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
10 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:9:74: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
 7 |
 8 |     let templatesDir = context.package.directory.appending(subpath: "templates")
 9 |     let enumerator = FileManager.default.enumerator(atPath: templatesDir.string)
   |                                                                          `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
10 |
11 |     let inputFiles = paths(fromEnumerator: enumerator!).map { path in
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:12:20: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
10 |
11 |     let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 |       templatesDir.appending(path)
   |                    `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
13 |     }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
13 |     }
14 |
15 |     let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
   |                                                                                             `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
16 |
17 |     return [
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:18:8: warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
16 |
17 |     return [
18 |       .buildCommand(
   |        `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
19 |         displayName: "GenerateTemplatesPlugin",
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:20:70: warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
18 |       .buildCommand(
19 |         displayName: "GenerateTemplatesPlugin",
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
   |                                                                      |- warning: 'path' is deprecated: renamed to 'url' [#DeprecatedDeclaration]
   |                                                                      `- note: use 'url' instead
21 |         arguments: [
22 |           templatesDir.string,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:22:24: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
21 |         arguments: [
22 |           templatesDir.string,
   |                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
23 |           context.pluginWorkDirectory.string
24 |         ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
   |                   `- note: use 'pluginWorkDirectoryURL' instead
24 |         ],
25 |         inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:39: warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                                       `- warning: 'string' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
24 |         ],
25 |         inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
   |                   `- note: use 'pluginWorkDirectoryURL' instead
28 |         ] + templateDirNames.map({ templateName in
29 |           context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                                       `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
28 |         ] + templateDirNames.map({ templateName in
29 |           context.pluginWorkDirectory.appending("\(templateName)Template.swift")
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
28 |         ] + templateDirNames.map({ templateName in
29 |           context.pluginWorkDirectory.appending("\(templateName)Template.swift")
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL' [#DeprecatedDeclaration]
   |                   `- note: use 'pluginWorkDirectoryURL' instead
30 |         })
31 |       ),
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:29:39: warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
28 |         ] + templateDirNames.map({ templateName in
29 |           context.pluginWorkDirectory.appending("\(templateName)Template.swift")
   |                                       `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`. [#DeprecatedDeclaration]
30 |         })
31 |       ),
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[1/1] Compiling plugin GenerateTemplatesPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/36] Write sources
[13/36] Compiling CSystem shims.c
[15/36] Write swift-version-8C5A4AE7A8CE2BA.txt
[17/79] Emitting module ArgumentParserToolInfo
[18/80] Wrapping AST for ArgumentParserToolInfo for debugging
[20/81] Emitting module SystemPackage
[21/82] Wrapping AST for SystemPackage for debugging
[23/82] Emitting module ArgumentParser
[24/83] Wrapping AST for ArgumentParser for debugging
[26/84] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead [#DeprecatedDeclaration]
 89 |           let name = filePath.lastComponent!
 90 |
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[27/85] Wrapping AST for GenerateTemplatesTool for debugging
[28/85] Write Objects.LinkFileList
[29/85] Linking GenerateTemplatesTool-tool
Directory SPX
	name .env.sample
Directory SPX
	name Package.swift
Directory SPX
	name .gitignore
Directory SPX
	name AppIcon.svg
Directory SPX
	name README.md
Directory SPX/Sources/appicon
	name main.swift
Directory SPX/Sources/appstore
	name AppStoreScript.swift
Directory SPX/Sources/appstore
	name EnvironmentKeys.swift
Directory SPX/Sources/appstore
	name BuildNumberAction.swift
Directory SPX
	name Package.resolved
Directory SPX
	name Package.swift
Directory SPX
	name .gitignore
Directory SPX/Sources/date
	name main.swift
Directory SPX
	name Package.resolved
[30/85] GenerateTemplatesPlugin
[31/85] Write sources
[33/85] Compiling Rainbow StringGenerator.swift
[34/86] Compiling Rainbow Style.swift
[35/86] Compiling SystemPackage MachPort.swift
[36/86] Compiling SystemPackage PlatformString.swift
[37/86] Compiling SystemPackage SystemString.swift
[38/89] Emitting module SystemPackage
[39/89] Compiling Rainbow BackgroundColor.swift
[40/89] Compiling Rainbow CodesParser.swift
[41/89] Compiling Rainbow ControlCode.swift
[42/89] Compiling Rainbow ModesExtractor.swift
[43/89] Compiling Rainbow String+Rainbow.swift
[44/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/89] Emitting module ArgumentParserToolInfo
[46/90] Wrapping AST for ArgumentParserToolInfo for debugging
[48/128] Compiling ArgumentParser Name.swift
[49/128] Compiling ArgumentParser Parsed.swift
[50/128] Compiling ArgumentParser ParsedValues.swift
[51/128] Compiling ArgumentParser Flag.swift
[52/128] Compiling ArgumentParser NameSpecification.swift
[53/128] Compiling ArgumentParser Option.swift
[54/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[55/128] Compiling ArgumentParser EnumerableFlag.swift
[56/128] Compiling ArgumentParser ArgumentVisibility.swift
[57/128] Compiling ArgumentParser CompletionKind.swift
[58/128] Compiling ArgumentParser Errors.swift
[59/128] Compiling ArgumentParser CompletionsGenerator.swift
[60/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[61/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[62/128] Compiling ArgumentParser Argument.swift
[63/128] Compiling ArgumentParser ParsableCommand.swift
[64/128] Compiling ArgumentParser ArgumentDecoder.swift
[65/128] Compiling ArgumentParser ArgumentDefinition.swift
[66/128] Compiling ArgumentParser ArgumentSet.swift
[67/128] Compiling ArgumentParser ArgumentHelp.swift
[68/128] Compiling ArgumentParser ExpressibleByArgument.swift
[69/128] Compiling ArgumentParser ParsableArguments.swift
[70/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[71/129] Wrapping AST for SystemPackage for debugging
[73/129] Compiling ArgumentParser OptionGroup.swift
[74/129] Compiling ArgumentParser AsyncParsableCommand.swift
[75/129] Compiling ArgumentParser CommandConfiguration.swift
[76/129] Compiling ArgumentParser CommandGroup.swift
[78/134] Compiling Rainbow Rainbow.swift
[81/134] 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 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[82/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 |         }
BUILD FAILURE 6.2 android