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.1 for Android on 30 May 2025 11:55:55 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.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/danielsincere/SPX.git
https://github.com/danielsincere/SPX.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "sh",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.3.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/DanielSincere/Sh.git"
    },
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.2.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-system",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-system"
    }
  ],
  "manifest_display_name" : "SPX",
  "name" : "SPX",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "spx",
      "targets" : [
        "spx"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "GenerateTemplatesTool",
      "targets" : [
        "GenerateTemplatesTool"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "spx",
      "module_type" : "SwiftTarget",
      "name" : "spx",
      "path" : "Sources/spx",
      "product_memberships" : [
        "spx"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "SPXLib"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SPXTests",
      "module_type" : "SwiftTarget",
      "name" : "SPXTests",
      "path" : "Tests/SPXTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SPXTests/Fixtures",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "AddCommandTests.swift",
        "BuildCommandTests.swift",
        "ExecCommandTests.swift",
        "ListCommandTests.swift",
        "support/FakeRunner.swift",
        "support/Fixtures.swift",
        "support/ParsingFakeRunner.swift"
      ],
      "target_dependencies" : [
        "SPXLib"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SPXLib",
      "module_type" : "SwiftTarget",
      "name" : "SPXLib",
      "path" : "Sources/SPXLib",
      "product_dependencies" : [
        "Sh",
        "Rainbow"
      ],
      "product_memberships" : [
        "spx"
      ],
      "sources" : [
        "Announcer/Announcer.swift",
        "Announcer/LocalizedErrors/AddCommand.Errors.swift",
        "Announcer/LocalizedErrors/BuildCommand.Errors.swift",
        "Announcer/LocalizedErrors/ExecCommand.Errors.swift",
        "Announcer/LocalizedErrors/InitCommand.Errors.swift",
        "Announcer/LocalizedErrors/SwiftPackageDescription.Errors.swift",
        "Commands/AddCommand.swift",
        "Commands/BuildCommand.swift",
        "Commands/ExecCommand.swift",
        "Commands/HelpCommand.swift",
        "Commands/InitCommand.swift",
        "Commands/ListCommand.swift",
        "Commands/models/ScaffoldFile.swift",
        "Commands/models/SwiftPackageDescription.swift",
        "Runner/Runner.swift",
        "Runner/Running.swift",
        "SPX.swift",
        "version.swift"
      ],
      "target_dependencies" : [
        "GenerateTemplatesPlugin"
      ],
      "type" : "library"
    },
    {
      "c99name" : "GenerateTemplatesTool",
      "module_type" : "SwiftTarget",
      "name" : "GenerateTemplatesTool",
      "path" : "Sources/GenerateTemplatesTool",
      "product_dependencies" : [
        "ArgumentParser",
        "SystemPackage"
      ],
      "product_memberships" : [
        "spx",
        "GenerateTemplatesTool"
      ],
      "sources" : [
        "GenerateTemplatesTool.swift"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "GenerateTemplatesPlugin",
      "module_type" : "PluginTarget",
      "name" : "GenerateTemplatesPlugin",
      "path" : "Plugins/GenerateTemplatesPlugin",
      "plugin_capability" : {
        "type" : "buildTool"
      },
      "product_memberships" : [
        "spx"
      ],
      "sources" : [
        "GenerateTemplatesPlugin.swift"
      ],
      "target_dependencies" : [
        "GenerateTemplatesTool"
      ],
      "type" : "plugin"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/DanielSincere/Sh.git
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-system
Fetching https://github.com/apple/swift-argument-parser.git
[1/1196] Fetching rainbow
[1197/2055] Fetching rainbow, sh
[2048/6446] Fetching rainbow, sh, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (0.38s)
[3003/5250] Fetching sh, swift-system
[5243/20636] Fetching sh, swift-system, swift-argument-parser
Fetched https://github.com/DanielSincere/Sh.git from cache (1.20s)
Fetched https://github.com/apple/swift-system from cache (1.20s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.21s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (1.83s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (3.01s)
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.56s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.73s)
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/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.0
Creating working copy for https://github.com/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module SystemPackage
[8/45] Compiling SystemPackage Util+StringArray.swift
[9/45] Compiling SystemPackage Util.swift
[10/45] Compiling SystemPackage UtilConsumers.swift
[11/45] Compiling SystemPackage MachPort.swift
[12/45] Compiling SystemPackage PlatformString.swift
[13/45] Compiling SystemPackage SystemString.swift
[14/45] Emitting module ArgumentParserToolInfo
[15/45] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/45] Compiling SystemPackage FilePathTempPosix.swift
[17/45] Compiling SystemPackage FilePathTempWindows.swift
[18/45] Compiling SystemPackage FilePathWindows.swift
[19/45] Compiling SystemPackage FilePermissions.swift
[20/46] Compiling SystemPackage FileOperations.swift
[21/46] Compiling SystemPackage FilePath.swift
[22/46] Compiling SystemPackage FilePathComponentView.swift
[23/46] Compiling SystemPackage FilePathComponents.swift
[24/46] Compiling SystemPackage Errno.swift
[25/46] Compiling SystemPackage ErrnoWindows.swift
[26/46] Compiling SystemPackage FileDescriptor.swift
[27/46] Compiling SystemPackage FileHelpers.swift
[28/46] Compiling SystemPackage FilePathParsing.swift
[29/46] Compiling SystemPackage FilePathString.swift
[30/46] Compiling SystemPackage FilePathSyntax.swift
[31/46] Compiling SystemPackage FilePathTemp.swift
[32/46] Wrapping AST for ArgumentParserToolInfo for debugging
[34/84] Compiling ArgumentParser ParsableCommand.swift
[35/84] Compiling ArgumentParser ArgumentDecoder.swift
[36/84] Compiling ArgumentParser ArgumentDefinition.swift
[37/84] Compiling ArgumentParser ArgumentSet.swift
[38/84] Compiling ArgumentParser ArgumentHelp.swift
[39/84] Compiling ArgumentParser ExpressibleByArgument.swift
[40/84] Compiling ArgumentParser ParsableArguments.swift
[41/84] Compiling ArgumentParser ParsableArgumentsValidation.swift
[42/85] Wrapping AST for SystemPackage for debugging
[44/85] Compiling ArgumentParser ArgumentVisibility.swift
[45/85] Compiling ArgumentParser CompletionKind.swift
[46/85] Compiling ArgumentParser Errors.swift
[47/85] Compiling ArgumentParser Flag.swift
[48/85] Compiling ArgumentParser NameSpecification.swift
[49/85] Compiling ArgumentParser Option.swift
[50/90] Emitting module ArgumentParser
[51/90] Compiling ArgumentParser OptionGroup.swift
[52/90] Compiling ArgumentParser AsyncParsableCommand.swift
[53/90] Compiling ArgumentParser CommandConfiguration.swift
[54/90] Compiling ArgumentParser CommandGroup.swift
[55/90] Compiling ArgumentParser EnumerableFlag.swift
[61/90] Compiling ArgumentParser BashCompletionsGenerator.swift
[62/90] Compiling ArgumentParser CompletionsGenerator.swift
[63/90] Compiling ArgumentParser FishCompletionsGenerator.swift
[64/90] Compiling ArgumentParser ZshCompletionsGenerator.swift
[65/90] Compiling ArgumentParser Argument.swift
[67/90] Compiling ArgumentParser CollectionExtensions.swift
[68/90] Compiling ArgumentParser Platform.swift
[69/90] Compiling ArgumentParser SequenceExtensions.swift
[70/90] Compiling ArgumentParser StringExtensions.swift
[71/90] Compiling ArgumentParser Tree.swift
[74/90] Compiling ArgumentParser CommandParser.swift
[75/90] Compiling ArgumentParser InputKey.swift
[76/90] Compiling ArgumentParser InputOrigin.swift
[77/90] Compiling ArgumentParser Name.swift
[78/90] Compiling ArgumentParser Parsed.swift
[79/90] Compiling ArgumentParser ParsedValues.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
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 89 |           let name = filePath.lastComponent!
 90 |
[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
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 89 |           let name = filePath.lastComponent!
 90 |
[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'
 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'
   |                                        `- 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`.
 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`.
 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`.
 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`.
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`.
10 |
11 |     let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 |       templatesDir.appending(path)
   |                    `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 |     }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
13 |     }
14 |
15 |     let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
   |                                                                                             `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
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`.
16 |
17 |     return [
18 |       .buildCommand(
   |        `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
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'
18 |       .buildCommand(
19 |         displayName: "GenerateTemplatesPlugin",
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
   |                                                                      |- warning: 'path' is deprecated: renamed to 'url'
   |                                                                      `- 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`.
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
21 |         arguments: [
22 |           templatesDir.string,
   |                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
23 |           context.pluginWorkDirectory.string
24 |         ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
   |                   `- 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`.
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                                       `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 |         ],
25 |         inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
   |                   `- 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`.
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                                       `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
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'
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'
   |                   `- 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`.
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`.
30 |         })
31 |       ),
[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-24593BA9C3E375BF.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
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 89 |           let name = filePath.lastComponent!
 90 |
[27/85] Wrapping AST for GenerateTemplatesTool for debugging
[28/85] Write Objects.LinkFileList
[30/85] Compiling SystemPackage MachPort.swift
[31/85] Compiling SystemPackage PlatformString.swift
[32/85] Compiling SystemPackage SystemString.swift
[33/85] Emitting module SystemPackage
[34/88] Emitting module ArgumentParserToolInfo
[35/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[36/89] Compiling SystemPackage FilePathParsing.swift
[37/89] Compiling SystemPackage FilePathString.swift
[38/89] Compiling SystemPackage FilePathSyntax.swift
[39/89] Compiling SystemPackage FilePathTemp.swift
[41/89] Compiling SystemPackage Errno.swift
[42/89] Compiling SystemPackage ErrnoWindows.swift
[43/89] Compiling SystemPackage FileDescriptor.swift
[44/89] Compiling SystemPackage FileHelpers.swift
[45/89] Compiling SystemPackage FileOperations.swift
[46/89] Compiling SystemPackage FilePath.swift
[47/89] Compiling SystemPackage FilePathComponentView.swift
[48/89] Compiling SystemPackage FilePathComponents.swift
[48/89] Wrapping AST for ArgumentParserToolInfo for debugging
[49/90] Linking GenerateTemplatesTool-tool
[51/127] Compiling ArgumentParser Name.swift
[52/127] Compiling ArgumentParser Parsed.swift
[53/127] Compiling ArgumentParser ParsedValues.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[54/127] 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 |         }
[55/128] Compiling Rainbow StringGenerator.swift
[56/128] Compiling ArgumentParser BashCompletionsGenerator.swift
[57/128] Compiling ArgumentParser CompletionsGenerator.swift
[58/128] Compiling Rainbow Style.swift
[59/128] Compiling ArgumentParser Argument.swift
[60/128] Compiling ArgumentParser ArgumentHelp.swift
[61/128] Compiling Rainbow String+Rainbow.swift
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
[61/128] GenerateTemplatesPlugin
[62/128] Write sources
[64/128] Compiling ArgumentParser EnumerableFlag.swift
[65/128] Compiling ArgumentParser ExpressibleByArgument.swift
[66/128] Compiling ArgumentParser ParsableArguments.swift
[67/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[68/128] Compiling ArgumentParser OptionGroup.swift
[69/128] Compiling ArgumentParser AsyncParsableCommand.swift
[70/128] Compiling ArgumentParser CommandConfiguration.swift
[71/128] Compiling ArgumentParser CommandGroup.swift
[72/128] Compiling ArgumentParser HelpCommand.swift
[73/128] Compiling ArgumentParser HelpGenerator.swift
[74/128] Compiling ArgumentParser MessageInfo.swift
[75/128] Compiling ArgumentParser UsageGenerator.swift
[76/129] Wrapping AST for SystemPackage for debugging
[78/129] Compiling ArgumentParser FishCompletionsGenerator.swift
[79/129] Compiling ArgumentParser ZshCompletionsGenerator.swift
[80/129] Compiling Rainbow Rainbow.swift
[81/129] 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 |         }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/8] Compiling CSystem shims.c
[1/8] Write swift-version-24593BA9C3E375BF.txt
[3/38] Emitting module ArgumentParserToolInfo
[4/38] Compiling ArgumentParserToolInfo ToolInfo.swift
[5/39] Emitting module SystemPackage
[6/42] Compiling SystemPackage Errno.swift
[7/42] Compiling SystemPackage ErrnoWindows.swift
[8/42] Compiling SystemPackage FileDescriptor.swift
[9/42] Compiling SystemPackage FileHelpers.swift
[10/42] Compiling SystemPackage Mocking.swift
[11/42] Compiling SystemPackage RawBuffer.swift
[12/42] Compiling SystemPackage Syscalls.swift
[13/42] Compiling SystemPackage WindowsSyscallAdapters.swift
[14/42] Compiling SystemPackage MachPort.swift
[15/42] Compiling SystemPackage PlatformString.swift
[16/42] Compiling SystemPackage SystemString.swift
[17/42] Wrapping AST for ArgumentParserToolInfo for debugging
[19/42] Compiling SystemPackage Backcompat.swift
[20/42] Compiling SystemPackage CInterop.swift
[21/42] Compiling SystemPackage Constants.swift
[22/42] Compiling SystemPackage Exports.swift
[23/42] Compiling SystemPackage FilePathTempPosix.swift
[24/42] Compiling SystemPackage FilePathTempWindows.swift
[25/42] Compiling SystemPackage FilePathWindows.swift
[26/42] Compiling SystemPackage FilePermissions.swift
[27/42] Compiling SystemPackage FilePathParsing.swift
[28/42] Compiling SystemPackage FilePathString.swift
[29/42] Compiling SystemPackage FilePathSyntax.swift
[30/42] Compiling SystemPackage FilePathTemp.swift
[31/80] Compiling ArgumentParser ArgumentDefinition.swift
[32/80] Compiling ArgumentParser ArgumentSet.swift
[33/80] Compiling ArgumentParser CommandParser.swift
[34/80] Compiling ArgumentParser Argument.swift
[35/80] Compiling ArgumentParser ArgumentHelp.swift
[36/80] Compiling ArgumentParser ArgumentVisibility.swift
[37/80] Compiling ArgumentParser CompletionKind.swift
[38/81] Wrapping AST for SystemPackage for debugging
[40/81] Compiling ArgumentParser BashCompletionsGenerator.swift
[41/81] Compiling ArgumentParser CompletionsGenerator.swift
[42/81] Compiling ArgumentParser FishCompletionsGenerator.swift
[43/81] Compiling ArgumentParser ZshCompletionsGenerator.swift
[46/81] Emitting module ArgumentParser
[49/86] Compiling ArgumentParser Errors.swift
[50/86] Compiling ArgumentParser Flag.swift
[51/86] Compiling ArgumentParser NameSpecification.swift
[52/86] Compiling ArgumentParser Option.swift
[53/86] Compiling ArgumentParser OptionGroup.swift
[54/86] Compiling ArgumentParser AsyncParsableCommand.swift
[55/86] Compiling ArgumentParser CommandConfiguration.swift
[56/86] Compiling ArgumentParser CommandGroup.swift
[57/86] Compiling ArgumentParser EnumerableFlag.swift
[58/86] Compiling ArgumentParser ExpressibleByArgument.swift
[59/86] Compiling ArgumentParser ParsableArguments.swift
[60/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[61/86] Compiling ArgumentParser ParsableCommand.swift
[62/86] Compiling ArgumentParser ArgumentDecoder.swift
[63/86] Compiling ArgumentParser DumpHelpGenerator.swift
[64/86] Compiling ArgumentParser HelpCommand.swift
[65/86] Compiling ArgumentParser HelpGenerator.swift
[66/86] Compiling ArgumentParser MessageInfo.swift
[67/86] Compiling ArgumentParser UsageGenerator.swift
[71/86] Compiling ArgumentParser InputKey.swift
[72/86] Compiling ArgumentParser InputOrigin.swift
[73/86] Compiling ArgumentParser Name.swift
[74/86] Compiling ArgumentParser Parsed.swift
[75/86] Compiling ArgumentParser ParsedValues.swift
[76/86] Compiling ArgumentParser ParserError.swift
[77/86] Compiling ArgumentParser SplitArguments.swift
[78/86] Compiling ArgumentParser CollectionExtensions.swift
[79/86] Compiling ArgumentParser Platform.swift
[80/86] Compiling ArgumentParser SequenceExtensions.swift
[81/86] Compiling ArgumentParser StringExtensions.swift
[82/86] Compiling ArgumentParser Tree.swift
[83/87] Wrapping AST for ArgumentParser for debugging
[85/89] Compiling GenerateTemplatesTool GenerateTemplatesTool.swift
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 89 |           let name = filePath.lastComponent!
 90 |
[86/89] Emitting module GenerateTemplatesTool
/host/spi-builder-workspace/Sources/GenerateTemplatesTool/GenerateTemplatesTool.swift:88:30: warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 86 |         }
 87 |         do {
 88 |           let contents = try String(contentsOfFile: filePath.string)
    |                              `- warning: 'init(contentsOfFile:)' is deprecated: Use `init(contentsOfFile:encoding:)` instead
 89 |           let name = filePath.lastComponent!
 90 |
[87/90] Wrapping AST for GenerateTemplatesTool for debugging
[88/90] Write Objects.LinkFileList
[89/90] Linking GenerateTemplatesTool-tool
[0/1] Planning build
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:8:40: warning: 'directory' is deprecated: renamed to 'directoryURL'
 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'
   |                                        `- 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`.
 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`.
 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`.
 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`.
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`.
10 |
11 |     let inputFiles = paths(fromEnumerator: enumerator!).map { path in
12 |       templatesDir.appending(path)
   |                    `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
13 |     }
14 |
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:15:93: warning: 'string' is deprecated: Use `URL` type instead of `Path`.
13 |     }
14 |
15 |     let templateDirNames = try FileManager.default.contentsOfDirectory(atPath: templatesDir.string)
   |                                                                                             `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
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`.
16 |
17 |     return [
18 |       .buildCommand(
   |        `- warning: 'buildCommand(displayName:executable:arguments:environment:inputFiles:outputFiles:)' is deprecated: Use `URL` type instead of `Path`.
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'
18 |       .buildCommand(
19 |         displayName: "GenerateTemplatesPlugin",
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
   |                                                                      |- warning: 'path' is deprecated: renamed to 'url'
   |                                                                      `- 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`.
20 |         executable: try context.tool(named: "GenerateTemplatesTool").path,
21 |         arguments: [
22 |           templatesDir.string,
   |                        `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
23 |           context.pluginWorkDirectory.string
24 |         ],
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:23:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
   |                   `- 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`.
21 |         arguments: [
22 |           templatesDir.string,
23 |           context.pluginWorkDirectory.string
   |                                       `- warning: 'string' is deprecated: Use `URL` type instead of `Path`.
24 |         ],
25 |         inputFiles: inputFiles,
/host/spi-builder-workspace/Plugins/GenerateTemplatesPlugin/GenerateTemplatesPlugin.swift:27:19: warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                   |- warning: 'pluginWorkDirectory' is deprecated: renamed to 'pluginWorkDirectoryURL'
   |                   `- 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`.
25 |         inputFiles: inputFiles,
26 |         outputFiles: [
27 |           context.pluginWorkDirectory.appending("Templates.swift"),
   |                                       `- warning: 'appending' is deprecated: Use `URL` type instead of `Path`.
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'
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'
   |                   `- 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`.
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`.
30 |         })
31 |       ),
[1/1] Compiling plugin GenerateTemplatesPlugin
[2/2] Compiling plugin GenerateManual
Building for debugging...
[2/24] Compiling CSystem shims.c
[3/24] Write swift-version-24593BA9C3E375BF.txt
[5/67] Emitting module ArgumentParserToolInfo
[6/68] Compiling Rainbow StringGenerator.swift
[7/69] Compiling Rainbow String+Rainbow.swift
[9/69] 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 |         }
[10/69] Compiling Rainbow Rainbow.swift
[11/69] Compiling Rainbow Style.swift
[12/69] Compiling SystemPackage FilePathWindows.swift
[13/69] Compiling SystemPackage FilePermissions.swift
[14/69] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/69] Emitting module ArgumentParserToolInfo
[16/69] Compiling SystemPackage FileOperations.swift
[17/69] Compiling SystemPackage FilePath.swift
[18/70] Compiling SystemPackage FilePathTempPosix.swift
[19/70] Compiling SystemPackage FilePathTempWindows.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[20/70] 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 |         }
[20/70] Wrapping AST for ArgumentParserToolInfo for debugging
BUILD FAILURE 6.1 android