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.1 for Android on 30 May 2025 11:55:57 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.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: 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.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-2":/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/apple/swift-argument-parser.git
Fetching https://github.com/apple/swift-system
Fetching https://github.com/DanielSincere/Sh.git
Fetching https://github.com/onevcat/Rainbow
[1/859] Fetching sh
[586/2055] Fetching sh, rainbow
[1686/6446] Fetching sh, rainbow, swift-system
Fetched https://github.com/DanielSincere/Sh.git from cache (0.41s)
Fetched https://github.com/onevcat/Rainbow from cache (0.41s)
[1/15386] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-system from cache (1.22s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.22s)
Computing version for https://github.com/DanielSincere/Sh.git
Computed https://github.com/DanielSincere/Sh.git at 1.3.0 (1.88s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.1.0 (2.78s)
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.55s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.5.0 (0.66s)
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-system
Working copy of https://github.com/apple/swift-system resolved at 1.5.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
[5/12] Write swift-version-24593BA9C3E375BF.txt
[7/42] Emitting module ArgumentParserToolInfo
[8/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/43] Emitting module SystemPackage
[11/46] Compiling SystemPackage MachPort.swift
[12/46] Compiling SystemPackage PlatformString.swift
[13/46] Compiling SystemPackage SystemString.swift
[13/46] Wrapping AST for ArgumentParserToolInfo for debugging
[15/84] Compiling ArgumentParser DumpHelpGenerator.swift
[16/84] Compiling ArgumentParser HelpCommand.swift
[17/84] Compiling ArgumentParser HelpGenerator.swift
[18/84] Compiling ArgumentParser Parsed.swift
[19/84] Compiling ArgumentParser ParsedValues.swift
[20/84] Compiling ArgumentParser ParserError.swift
[21/84] Compiling ArgumentParser SplitArguments.swift
[22/84] Compiling ArgumentParser ArgumentDecoder.swift
[23/84] Compiling ArgumentParser ArgumentVisibility.swift
[24/84] Compiling ArgumentParser CompletionKind.swift
[25/84] Compiling ArgumentParser Errors.swift
[26/84] Compiling ArgumentParser Argument.swift
[27/84] Compiling ArgumentParser ArgumentHelp.swift
[28/84] Compiling ArgumentParser OptionGroup.swift
[29/84] Compiling ArgumentParser AsyncParsableCommand.swift
[30/84] Compiling ArgumentParser Flag.swift
[31/84] Compiling ArgumentParser NameSpecification.swift
[32/84] Compiling ArgumentParser Option.swift
[33/84] Compiling ArgumentParser Name.swift
[34/84] Compiling ArgumentParser CommandConfiguration.swift
[35/84] Compiling ArgumentParser CommandGroup.swift
[36/84] Compiling ArgumentParser EnumerableFlag.swift
[37/84] Compiling ArgumentParser ExpressibleByArgument.swift
[38/84] Compiling ArgumentParser BashCompletionsGenerator.swift
[39/84] Compiling ArgumentParser CompletionsGenerator.swift
[40/84] Compiling ArgumentParser FishCompletionsGenerator.swift
[41/84] Compiling ArgumentParser ZshCompletionsGenerator.swift
[42/85] Wrapping AST for SystemPackage for debugging
[61/90] Emitting module ArgumentParser
[63/90] Compiling ArgumentParser ParsableArguments.swift
[64/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[65/90] Compiling ArgumentParser ParsableCommand.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
[77/90] Compiling ArgumentParser ArgumentDefinition.swift
[78/90] Compiling ArgumentParser ArgumentSet.swift
[79/90] Compiling ArgumentParser CommandParser.swift
[80/90] Compiling ArgumentParser InputKey.swift
[81/90] Compiling ArgumentParser InputOrigin.swift
[85/90] Compiling ArgumentParser MessageInfo.swift
[86/90] Compiling ArgumentParser UsageGenerator.swift
[87/93] 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
[19/80] Wrapping AST for ArgumentParserToolInfo for debugging
[21/81] Emitting module SystemPackage
[22/82] Wrapping AST for SystemPackage for debugging
[24/82] Emitting module ArgumentParser
[25/83] Wrapping AST for ArgumentParser for debugging
[27/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 |
[28/85] Wrapping AST for GenerateTemplatesTool for debugging
[29/85] Write Objects.LinkFileList
[31/85] Emitting module SystemPackage
[31/88] Linking GenerateTemplatesTool-tool
[33/88] Compiling ArgumentParserToolInfo ToolInfo.swift
[34/89] Compiling SystemPackage FileOperations.swift
[35/89] Compiling SystemPackage FilePath.swift
[36/89] Compiling SystemPackage FilePathComponentView.swift
[37/89] Compiling SystemPackage FilePathComponents.swift
[39/89] Compiling SystemPackage MachPort.swift
[40/89] Compiling SystemPackage PlatformString.swift
[41/89] Compiling SystemPackage SystemString.swift
[42/89] Compiling SystemPackage Util+StringArray.swift
[43/89] Compiling SystemPackage Util.swift
[44/89] Compiling SystemPackage UtilConsumers.swift
[45/89] Compiling SystemPackage Errno.swift
[46/89] Compiling SystemPackage ErrnoWindows.swift
[47/89] Compiling SystemPackage FileDescriptor.swift
[48/89] Compiling SystemPackage FileHelpers.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
[48/89] GenerateTemplatesPlugin
[49/89] Write sources
[50/89] Wrapping AST for ArgumentParserToolInfo for debugging
[52/127] Compiling Rainbow String+Rainbow.swift
[53/127] Compiling Rainbow StringGenerator.swift
[54/128] Compiling Rainbow Style.swift
[55/128] Compiling ArgumentParser FishCompletionsGenerator.swift
[56/128] Compiling ArgumentParser ZshCompletionsGenerator.swift
[57/128] Compiling ArgumentParser Argument.swift
[58/128] Compiling ArgumentParser ArgumentHelp.swift
[59/128] Compiling ArgumentParser EnumerableFlag.swift
[60/128] Compiling ArgumentParser ExpressibleByArgument.swift
[61/128] Compiling ArgumentParser ParsableArguments.swift
[62/128] Compiling ArgumentParser ParsableArgumentsValidation.swift
[63/128] Compiling ArgumentParser OptionGroup.swift
[64/128] Compiling ArgumentParser AsyncParsableCommand.swift
[65/128] Compiling ArgumentParser CommandConfiguration.swift
[66/128] Compiling ArgumentParser CommandGroup.swift
[67/128] Compiling ArgumentParser ParsableCommand.swift
[68/128] Compiling ArgumentParser ArgumentDecoder.swift
[69/128] Compiling ArgumentParser ArgumentDefinition.swift
[70/128] Compiling ArgumentParser ArgumentSet.swift
[71/129] Wrapping AST for SystemPackage for debugging
[73/129] Compiling Rainbow Rainbow.swift
[74/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 |         }
[75/129] Compiling ArgumentParser NameSpecification.swift
[76/129] Compiling ArgumentParser Option.swift
[77/129] Compiling ArgumentParser Errors.swift
[78/129] Compiling ArgumentParser Flag.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[79/129] Compiling ArgumentParser ArgumentVisibility.swift
[80/129] Compiling ArgumentParser CompletionKind.swift
[81/129] 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 |         }
[82/129] Emitting module ArgumentParser
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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] Wrapping AST for ArgumentParserToolInfo for debugging
[7/39] Compiling SystemPackage Mocking.swift
[8/39] Compiling SystemPackage RawBuffer.swift
[9/39] Compiling SystemPackage Syscalls.swift
[10/39] Compiling SystemPackage WindowsSyscallAdapters.swift
[11/42] Compiling SystemPackage Backcompat.swift
[12/42] Compiling SystemPackage CInterop.swift
[13/42] Compiling SystemPackage Constants.swift
[14/42] Compiling SystemPackage Exports.swift
[15/42] Compiling SystemPackage MachPort.swift
[16/42] Compiling SystemPackage PlatformString.swift
[17/42] Compiling SystemPackage SystemString.swift
[18/42] Compiling SystemPackage FilePathTempPosix.swift
[19/42] Compiling SystemPackage FilePathTempWindows.swift
[20/42] Compiling SystemPackage FilePathWindows.swift
[21/42] Compiling SystemPackage FilePermissions.swift
[22/80] Compiling ArgumentParser BashCompletionsGenerator.swift
[23/80] Compiling ArgumentParser CompletionsGenerator.swift
[24/80] Compiling ArgumentParser FishCompletionsGenerator.swift
[25/80] Compiling ArgumentParser ZshCompletionsGenerator.swift
[26/80] Compiling ArgumentParser Argument.swift
[27/80] Compiling ArgumentParser ArgumentHelp.swift
[28/80] Compiling ArgumentParser ArgumentVisibility.swift
[29/80] Compiling ArgumentParser CompletionKind.swift
[30/80] Compiling ArgumentParser Errors.swift
[31/80] Compiling ArgumentParser Flag.swift
[32/80] Compiling ArgumentParser NameSpecification.swift
[33/80] Compiling ArgumentParser Option.swift
[34/80] Emitting module SystemPackage
[35/80] Compiling ArgumentParser Name.swift
[36/80] Compiling ArgumentParser Parsed.swift
[37/80] Compiling ArgumentParser ParsedValues.swift
[39/81] Emitting module ArgumentParser
[39/86] Wrapping AST for SystemPackage for debugging
[47/86] Compiling ArgumentParser ExpressibleByArgument.swift
[48/86] Compiling ArgumentParser ParsableArguments.swift
[49/86] Compiling ArgumentParser ParsableArgumentsValidation.swift
[50/86] Compiling ArgumentParser ParsableCommand.swift
[51/86] Compiling ArgumentParser ArgumentDecoder.swift
[58/86] Compiling ArgumentParser CollectionExtensions.swift
[59/86] Compiling ArgumentParser Platform.swift
[60/86] Compiling ArgumentParser SequenceExtensions.swift
[61/86] Compiling ArgumentParser StringExtensions.swift
[62/86] Compiling ArgumentParser Tree.swift
[66/86] Compiling ArgumentParser ParserError.swift
[67/86] Compiling ArgumentParser SplitArguments.swift
[68/86] Compiling ArgumentParser DumpHelpGenerator.swift
[69/86] Compiling ArgumentParser HelpCommand.swift
[70/86] Compiling ArgumentParser HelpGenerator.swift
[71/86] Compiling ArgumentParser MessageInfo.swift
[72/86] Compiling ArgumentParser UsageGenerator.swift
[73/86] Compiling ArgumentParser ArgumentDefinition.swift
[74/86] Compiling ArgumentParser ArgumentSet.swift
[75/86] Compiling ArgumentParser CommandParser.swift
[76/86] Compiling ArgumentParser InputKey.swift
[77/86] Compiling ArgumentParser InputOrigin.swift
[78/86] Compiling ArgumentParser OptionGroup.swift
[79/86] Compiling ArgumentParser AsyncParsableCommand.swift
[80/86] Compiling ArgumentParser CommandConfiguration.swift
[81/86] Compiling ArgumentParser CommandGroup.swift
[82/86] Compiling ArgumentParser EnumerableFlag.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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/68] Compiling Rainbow StringGenerator.swift
[8/68] 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 |         }
[9/68] Compiling SystemPackage FileOperations.swift
[10/68] Compiling SystemPackage FilePath.swift
[11/69] Compiling Rainbow String+Rainbow.swift
[12/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 |         }
[13/69] Compiling Rainbow Rainbow.swift
[14/69] Compiling SystemPackage FileDescriptor.swift
[15/69] Compiling SystemPackage FileHelpers.swift
[16/69] Compiling SystemPackage Errno.swift
[17/69] Compiling SystemPackage ErrnoWindows.swift
[18/69] Compiling Rainbow Style.swift
[18/69] Wrapping AST for ArgumentParserToolInfo for debugging
[19/69] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android