The Swift Package Index logo.Swift Package Index

Build Information

Failed to build SPX, reference 1.3.0 (64f6e0), with Swift 6.3 for Android on 15 Apr 2026 20:05:10 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path:  $PWD
https://github.com/danielsincere/SPX.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:9008270ea37a55e78725e6225015adb5eff8582da520c5232bf0499f32c36dc4
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:android-6.3-latest
Fetching https://github.com/apple/swift-system
Fetching https://github.com/onevcat/Rainbow
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/DanielSincere/Sh.git
[1/859] Fetching sh
[860/2301] Fetching sh, rainbow
Fetched https://github.com/DanielSincere/Sh.git from cache (0.52s)
[1226/1442] Fetching rainbow
[1443/18965] Fetching rainbow, swift-argument-parser
[1619/24566] Fetching rainbow, swift-argument-parser, swift-system
Fetched https://github.com/onevcat/Rainbow from cache (1.77s)
Fetched https://github.com/apple/swift-system from cache (1.78s)
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.49s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.1 (3.55s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.7.1 (0.62s)
Computing version for https://github.com/apple/swift-system
Computed https://github.com/apple/swift-system at 1.6.4 (0.88s)
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.1
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.7.1
Creating working copy for https://github.com/DanielSincere/Sh.git
Working copy of https://github.com/DanielSincere/Sh.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-system
Working copy of https://github.com/apple/swift-system resolved at 1.6.4
[0/12] Write sources
[4/12] Compiling CSystem shims.c
[5/12] Write swift-version--4F562202D5529B1.txt
[7/45] Emitting module SystemPackage
[8/49] Compiling SystemPackage FilePathSyntax.swift
[9/49] Compiling SystemPackage FilePathTemp.swift
[10/49] Compiling SystemPackage FilePathTempPosix.swift
[11/49] Compiling SystemPackage FilePathTempWindows.swift
[12/49] Compiling SystemPackage Errno.swift
[13/49] Compiling SystemPackage ErrnoWindows.swift
[14/49] Compiling SystemPackage FileDescriptor.swift
[15/49] Compiling SystemPackage FileHelpers.swift
[16/49] Compiling SystemPackage FileOperations.swift
[17/49] Compiling SystemPackage FilePath.swift
[18/49] Compiling SystemPackage FilePathComponentView.swift
[19/49] Compiling SystemPackage FilePathComponents.swift
[20/49] Compiling SystemPackage FilePathParsing.swift
[21/49] Compiling SystemPackage FilePathString.swift
[22/49] Compiling SystemPackage SystemString.swift
[23/49] Compiling SystemPackage Util+StringArray.swift
[24/49] Compiling SystemPackage Util.swift
[25/49] Compiling SystemPackage UtilConsumers.swift
[26/49] Compiling ArgumentParserToolInfo ToolInfo.swift
[27/49] Emitting module ArgumentParserToolInfo
[28/50] Wrapping AST for ArgumentParserToolInfo for debugging
[30/96] Compiling ArgumentParser ParsableCommand.swift
[31/96] Compiling ArgumentParser ArgumentDecoder.swift
[32/96] Compiling ArgumentParser ArgumentDefinition.swift
[33/96] Compiling ArgumentParser ArgumentSet.swift
[34/96] Compiling ArgumentParser HelpGenerator.swift
[35/96] Compiling ArgumentParser MessageInfo.swift
[36/96] Compiling ArgumentParser UsageGenerator.swift
[37/96] Compiling ArgumentParser CollectionExtensions.swift
[38/96] Emitting module ArgumentParser
[39/96] Compiling ArgumentParser ParentCommand.swift
[40/96] Compiling ArgumentParser AsyncParsableCommand.swift
[41/96] Compiling ArgumentParser CommandConfiguration.swift
[42/96] Compiling ArgumentParser CommandGroup.swift
[43/96] Compiling ArgumentParser EnumerableFlag.swift
[44/96] Compiling ArgumentParser ExpressibleByArgument.swift
[45/96] Compiling ArgumentParser ParsableArguments.swift
[46/96] Compiling ArgumentParser Foundation.swift
[47/96] Compiling ArgumentParser Mutex.swift
[48/96] Compiling ArgumentParser Platform.swift
[49/96] Compiling ArgumentParser SequenceExtensions.swift
[50/96] Compiling ArgumentParser StringExtensions.swift
[51/96] Compiling ArgumentParser SwiftExtensions.swift
[52/102] Compiling ArgumentParser InputOrigin.swift
[53/102] Compiling ArgumentParser Name.swift
[54/102] Compiling ArgumentParser Parsed.swift
[55/102] Compiling ArgumentParser ParsedValues.swift
[56/102] Compiling ArgumentParser ParserError.swift
[57/102] Compiling ArgumentParser SplitArguments.swift
[58/102] Compiling ArgumentParser ArgumentVisibility.swift
[59/102] Compiling ArgumentParser CompletionKind.swift
[60/102] Compiling ArgumentParser Errors.swift
[61/102] Compiling ArgumentParser Flag.swift
[62/102] Compiling ArgumentParser NameSpecification.swift
[63/102] Compiling ArgumentParser Option.swift
[64/102] Compiling ArgumentParser OptionGroup.swift
[71/102] Compiling ArgumentParser DumpHelpGenerator.swift
[72/102] Compiling ArgumentParser HelpCommand.swift
[73/103] Wrapping AST for SystemPackage for debugging
[81/103] Compiling ArgumentParser BashCompletionsGenerator.swift
[82/103] Compiling ArgumentParser CompletionsGenerator.swift
[83/103] Compiling ArgumentParser FishCompletionsGenerator.swift
[84/103] Compiling ArgumentParser ZshCompletionsGenerator.swift
[85/103] Compiling ArgumentParser Argument.swift
[86/103] Compiling ArgumentParser ArgumentDiscussion.swift
[87/103] Compiling ArgumentParser ArgumentHelp.swift
[88/103] Compiling ArgumentParser Tree.swift
[89/103] Compiling ArgumentParser CodingKeyValidator.swift
[90/103] Compiling ArgumentParser NonsenseFlagsValidator.swift
[91/103] Compiling ArgumentParser ParsableArgumentsValidation.swift
[92/103] Compiling ArgumentParser PositionalArgumentsValidator.swift
[93/103] Compiling ArgumentParser UniqueNamesValidator.swift
[98/103] Compiling ArgumentParser CommandParser.swift
[99/103] Compiling ArgumentParser InputKey.swift
[100/104] Wrapping AST for ArgumentParser for debugging
[102/106] 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>
[103/106] 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>
[104/107] Wrapping AST for GenerateTemplatesTool for debugging
[105/107] Write Objects.LinkFileList
[106/107] 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
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/37] Write sources
[14/37] Compiling CSystem shims.c
[16/37] Write swift-version--4F562202D5529B1.txt
[17/85] Wrapping AST for ArgumentParserToolInfo for debugging
[18/85] Wrapping AST for SystemPackage for debugging
[19/85] Wrapping AST for ArgumentParser for debugging
[20/85] Wrapping AST for GenerateTemplatesTool for debugging
[21/85] Write Objects.LinkFileList
[22/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
[23/85] GenerateTemplatesPlugin
[24/85] Write sources
[26/85] Emitting module SystemPackage
[27/89] Compiling SystemPackage FilePathSyntax.swift
[28/89] Compiling SystemPackage FilePathTemp.swift
[31/90] Compiling SystemPackage FilePathTempPosix.swift
[32/90] Compiling SystemPackage FilePathTempWindows.swift
[33/90] Compiling SystemPackage SystemString.swift
[34/90] Compiling SystemPackage Util+StringArray.swift
[35/90] Compiling SystemPackage Util.swift
[36/90] Compiling SystemPackage UtilConsumers.swift
[37/90] Compiling SystemPackage Errno.swift
[38/90] Compiling SystemPackage ErrnoWindows.swift
[39/90] Compiling SystemPackage FileDescriptor.swift
[40/90] Compiling SystemPackage FileHelpers.swift
[41/90] Compiling SystemPackage FileOperations.swift
[42/90] Compiling SystemPackage FilePath.swift
[43/90] Compiling SystemPackage FilePathComponentView.swift
[44/90] Compiling SystemPackage FilePathComponents.swift
[45/90] Compiling SystemPackage FilePathParsing.swift
[46/90] Compiling SystemPackage FilePathString.swift
[47/90] Compiling SystemPackage IORing.swift
[48/90] Compiling SystemPackage RawIORequest.swift
[49/90] Compiling SystemPackage Backcompat.swift
[50/90] Compiling SystemPackage CInterop.swift
[51/90] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/90] Emitting module ArgumentParserToolInfo
[53/91] Wrapping AST for ArgumentParserToolInfo for debugging
[55/137] Compiling ArgumentParser ParsableCommand.swift
[56/137] Compiling ArgumentParser ArgumentDecoder.swift
[57/137] Compiling ArgumentParser ArgumentDefinition.swift
[58/137] Compiling ArgumentParser ArgumentSet.swift
[59/137] Compiling ArgumentParser HelpGenerator.swift
[60/137] Compiling ArgumentParser MessageInfo.swift
[61/137] Compiling ArgumentParser UsageGenerator.swift
[62/137] Compiling ArgumentParser CollectionExtensions.swift
[63/137] Compiling ArgumentParser ParserError.swift
[64/137] Compiling ArgumentParser SplitArguments.swift
[65/137] Compiling ArgumentParser DumpHelpGenerator.swift
[66/137] Compiling ArgumentParser HelpCommand.swift
[67/138] Wrapping AST for SystemPackage for debugging
[69/138] Compiling ArgumentParser BashCompletionsGenerator.swift
[70/138] Compiling ArgumentParser CompletionsGenerator.swift
[71/138] Compiling ArgumentParser FishCompletionsGenerator.swift
[72/138] Compiling ArgumentParser ZshCompletionsGenerator.swift
[73/138] Compiling ArgumentParser AsyncParsableCommand.swift
[74/138] Compiling ArgumentParser CommandConfiguration.swift
[75/138] Compiling ArgumentParser ArgumentHelp.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 |         }
[76/138] Compiling ArgumentParser ParentCommand.swift
/host/spi-builder-workspace/.build/checkouts/Rainbow/Sources/OutputTarget.swift:49:58: error: cannot find 'isatty' in scope
47 |         // Check if we are in any term env and the output is a tty.
48 |         let termType = getEnvValue("TERM")
49 |         if let t = termType, t.lowercased() != "dumb" && isatty(fileno(stdout)) != 0 {
   |                                                          `- error: cannot find 'isatty' in scope
50 |             return .console
51 |         }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[77/138] 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 |         }
[78/138] Compiling ArgumentParser Argument.swift
[79/138] Compiling ArgumentParser ArgumentDiscussion.swift
[80/138] Compiling ArgumentParser ExpressibleByArgument.swift
[81/138] Compiling ArgumentParser ParsableArguments.swift
[82/138] Compiling Rainbow StyledStringBuilder.swift
BUILD FAILURE 6.3 android