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

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/danielsincere/SPX.git
Reference: 1.3.0
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
 * tag               1.3.0      -> FETCH_HEAD
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 1.3.0
========================================
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-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/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/DanielSincere/Sh.git
Fetching https://github.com/onevcat/Rainbow
[1/859] Fetching sh
[860/2055] Fetching sh, rainbow
[2056/6491] Fetching sh, rainbow, swift-system
Fetched https://github.com/DanielSincere/Sh.git from cache (0.57s)
[2527/5632] Fetching rainbow, swift-system
[5633/21012] Fetching rainbow, swift-system, swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (0.92s)
[4119/16576] Fetching rainbow, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (1.77s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.78s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (2.97s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (4.61s)
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.88s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.77s)
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/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
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
[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 ArgumentParserToolInfo
[11/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[12/46] Wrapping AST for ArgumentParserToolInfo for debugging
[14/84] Compiling ArgumentParser ArgumentDefinition.swift
[15/84] Compiling ArgumentParser ArgumentSet.swift
[16/84] Compiling ArgumentParser CommandParser.swift
[17/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[18/84] Compiling ArgumentParser CompletionsGenerator.swift
[19/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[20/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[21/84] Compiling ArgumentParser EnumerableFlag.swift
[22/84] Compiling ArgumentParser ExpressibleByArgument.swift
[23/84] Compiling ArgumentParser ParsableArguments.swift
[24/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/84] Compiling ArgumentParser OptionGroup.swift
[26/84] Compiling ArgumentParser AsyncParsableCommand.swift
[27/84] Compiling ArgumentParser CommandConfiguration.swift
[28/84] Compiling ArgumentParser CommandGroup.swift
[29/84] Compiling ArgumentParser Errors.swift
[30/84] Compiling ArgumentParser Flag.swift
[31/84] Compiling ArgumentParser NameSpecification.swift
[32/84] Compiling ArgumentParser Option.swift
[33/84] Compiling ArgumentParser Argument.swift
[34/84] Compiling ArgumentParser ArgumentHelp.swift
[35/84] Compiling ArgumentParser ArgumentVisibility.swift
[36/84] Compiling ArgumentParser CompletionKind.swift
[37/84] Compiling ArgumentParser ParsableCommand.swift
[38/84] Compiling ArgumentParser ArgumentDecoder.swift
[39/84] Compiling ArgumentParser Name.swift
[40/84] Compiling ArgumentParser Parsed.swift
[41/84] Emitting module SystemPackage
[42/85] Wrapping AST for SystemPackage for debugging
[55/90] Emitting module ArgumentParser
[62/90] Compiling ArgumentParser CollectionExtensions.swift
[63/90] Compiling ArgumentParser Platform.swift
[64/90] Compiling ArgumentParser SequenceExtensions.swift
[65/90] Compiling ArgumentParser StringExtensions.swift
[66/90] Compiling ArgumentParser Tree.swift
[74/90] Compiling ArgumentParser ParsedValues.swift
[75/90] Compiling ArgumentParser ParserError.swift
[76/90] Compiling ArgumentParser SplitArguments.swift
[80/90] Compiling ArgumentParser InputKey.swift
[81/90] Compiling ArgumentParser InputOrigin.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
[19/80] Emitting module SystemPackage
[20/81] Wrapping AST for ArgumentParserToolInfo for debugging
[21/81] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[33/85] 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 |         }
[34/85] Compiling SystemPackage Errno.swift
[35/85] Compiling SystemPackage ErrnoWindows.swift
[36/86] Compiling Rainbow StringGenerator.swift
[37/86] Compiling SystemPackage MachPort.swift
[38/86] Compiling SystemPackage PlatformString.swift
[39/86] Compiling SystemPackage SystemString.swift
[40/89] Compiling SystemPackage FileOperations.swift
[41/89] Compiling SystemPackage FilePath.swift
[42/89] Compiling SystemPackage FilePathComponentView.swift
[43/89] Compiling SystemPackage FilePathComponents.swift
[44/89] Compiling SystemPackage FilePathParsing.swift
[45/89] Compiling SystemPackage FilePathString.swift
[46/89] Compiling SystemPackage FilePathSyntax.swift
[47/89] Compiling SystemPackage FilePathTemp.swift
[48/89] Emitting module SystemPackage
[51/89] Compiling SystemPackage FileDescriptor.swift
[52/89] Compiling SystemPackage FileHelpers.swift
[53/89] Compiling Rainbow String+Rainbow.swift
[54/89] Compiling Rainbow Style.swift
[55/89] Emitting module ArgumentParserToolInfo
[56/89] Compiling ArgumentParserToolInfo ToolInfo.swift
[57/90] Wrapping AST for ArgumentParserToolInfo for debugging
[59/128] Compiling ArgumentParser DumpHelpGenerator.swift
[60/128] Compiling ArgumentParser HelpCommand.swift
[61/128] Compiling ArgumentParser HelpGenerator.swift
[62/128] Compiling ArgumentParser InputKey.swift
[63/128] Compiling ArgumentParser InputOrigin.swift
[64/128] Compiling ArgumentParser ExpressibleByArgument.swift
[65/128] Compiling ArgumentParser ParsableArguments.swift
[66/128] Compiling ArgumentParser CompletionKind.swift
[67/128] Compiling ArgumentParser Errors.swift
[68/128] Compiling ArgumentParser Flag.swift
[69/128] Compiling ArgumentParser NameSpecification.swift
[70/128] Compiling ArgumentParser Option.swift
[71/128] Compiling ArgumentParser ArgumentDefinition.swift
[72/128] Compiling ArgumentParser ArgumentSet.swift
[73/128] Compiling ArgumentParser CommandParser.swift
[74/129] Wrapping AST for SystemPackage for debugging
[76/129] Compiling ArgumentParser OptionGroup.swift
[77/129] Compiling ArgumentParser AsyncParsableCommand.swift
[78/129] Compiling ArgumentParser CommandConfiguration.swift
[79/129] Compiling ArgumentParser CommandGroup.swift
[80/129] Compiling ArgumentParser EnumerableFlag.swift
[81/134] Compiling Rainbow Rainbow.swift
[82/134] Compiling ArgumentParser Argument.swift
[83/134] Compiling ArgumentParser ArgumentHelp.swift
[84/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 |         }
[85/134] Compiling ArgumentParser FishCompletionsGenerator.swift
[86/134] Compiling ArgumentParser ZshCompletionsGenerator.swift
BUILD FAILURE 6.2 android