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 XcodeSelectiveTesting, reference main (63e4a6), with Swift 6.1 for Android on 3 Aug 2025 22:26:22 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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.65.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/mikeger/XcodeSelectiveTesting.git
Reference: main
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/mikeger/XcodeSelectiveTesting
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 63e4a61 Update README.md
Cloned https://github.com/mikeger/XcodeSelectiveTesting.git
Revision (git rev-parse @):
63e4a613350cb9ead345b51fccf9443f8e0201de
SUCCESS checkout https://github.com/mikeger/XcodeSelectiveTesting.git at main
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/mikeger/XcodeSelectiveTesting.git
https://github.com/mikeger/XcodeSelectiveTesting.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.0.2",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.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" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "1.1.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.5",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "XcodeSelectiveTesting",
  "name" : "XcodeSelectiveTesting",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "12.0"
    }
  ],
  "products" : [
    {
      "name" : "xcode-selective-test",
      "targets" : [
        "xcode-selective-test"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeSelectiveTest",
      "targets" : [
        "SelectiveTestingPlugin"
      ],
      "type" : {
        "plugin" : null
      }
    },
    {
      "name" : "XcodeSelectiveTestCore",
      "targets" : [
        "SelectiveTestingCore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "xcode_selective_test",
      "module_type" : "SwiftTarget",
      "name" : "xcode-selective-test",
      "path" : "Sources/xcode-selective-test",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTesting.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestingCore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "Workspace",
      "module_type" : "SwiftTarget",
      "name" : "Workspace",
      "path" : "Sources/Workspace",
      "product_dependencies" : [
        "XcodeProj"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "DependencyGraph.swift",
        "Sequence+Extensions.swift",
        "Target.swift",
        "WorkspaceInfo.swift",
        "XCWorkspace+Projects.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestConfigurator",
      "module_type" : "SwiftTarget",
      "name" : "TestConfigurator",
      "path" : "Sources/TestConfigurator",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "TestConfigurator.swift",
        "xctestplanner/Core/Entity/TestPlanModel.swift",
        "xctestplanner/Core/Extensions/Array+Extensions.swift",
        "xctestplanner/Core/Helper/TestPlanHelper.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestingTests",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingTests",
      "path" : "Tests/SelectiveTestingTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/SelectiveTestingTests/ExampleProject",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "IntegrationTestTool.swift",
        "SelectiveTestingConfigTests.swift",
        "SelectiveTestingPackagesTests.swift",
        "SelectiveTestingPerformanceTests.swift",
        "SelectiveTestingProjectTests.swift",
        "SelectiveTestingWorkspaceTests.swift",
        "TestPlanCodableTests.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SelectiveTestingPlugin",
      "module_type" : "PluginTarget",
      "name" : "SelectiveTestingPlugin",
      "path" : "Plugins/SelectiveTestingPlugin",
      "plugin_capability" : {
        "intent" : {
          "description" : "Configure test plan for current changeset",
          "type" : "custom",
          "verb" : "xcode-selective-test"
        },
        "permissions" : [
          {
            "network_scope" : {
              "none" : {
              }
            },
            "reason" : "Update test plan file",
            "type" : "writeToPackageDirectory"
          }
        ],
        "type" : "command"
      },
      "product_memberships" : [
        "XcodeSelectiveTest"
      ],
      "sources" : [
        "SelectiveTestingPlugin.swift"
      ],
      "target_dependencies" : [
        "xcode-selective-test"
      ],
      "type" : "plugin"
    },
    {
      "c99name" : "SelectiveTestingCore",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestingCore",
      "path" : "Sources/SelectiveTestingCore",
      "product_dependencies" : [
        "PathKit",
        "Rainbow",
        "Yams"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Config.swift",
        "DependencyGraph+Visualization.swift",
        "SelectiveTestingTool.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "TestConfigurator",
        "Git"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestShell",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestShell",
      "path" : "Sources/SelectiveTestShell",
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Shell.swift",
        "String+Error.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SelectiveTestLogger",
      "module_type" : "SwiftTarget",
      "name" : "SelectiveTestLogger",
      "path" : "Sources/SelectiveTestLogger",
      "product_dependencies" : [
        "Rainbow"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Logger.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Git",
      "module_type" : "SwiftTarget",
      "name" : "Git",
      "path" : "Sources/Git",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "Git+Changeset.swift",
        "Git.swift"
      ],
      "target_dependencies" : [
        "SelectiveTestShell",
        "SelectiveTestLogger"
      ],
      "type" : "library"
    },
    {
      "c99name" : "DependencyCalculatorTests",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculatorTests",
      "path" : "Tests/DependencyCalculatorTests",
      "product_dependencies" : [
        "PathKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/DependencyCalculatorTests/ExamplePackages",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "DependencyCalculatorTests.swift",
        "PackageMetadataTests.swift"
      ],
      "target_dependencies" : [
        "DependencyCalculator",
        "Workspace",
        "SelectiveTestingCore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DependencyCalculator",
      "module_type" : "SwiftTarget",
      "name" : "DependencyCalculator",
      "path" : "Sources/DependencyCalculator",
      "product_dependencies" : [
        "PathKit"
      ],
      "product_memberships" : [
        "xcode-selective-test",
        "XcodeSelectiveTest",
        "XcodeSelectiveTestCore"
      ],
      "sources" : [
        "ConcurrentMap.swift",
        "DependencyCalculator.swift",
        "DependencyGraph.swift",
        "PackageMetadata.swift"
      ],
      "target_dependencies" : [
        "Workspace",
        "SelectiveTestLogger",
        "Git"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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 -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Fetching https://github.com/jpsim/Yams.git
[1/10997] Fetching yams
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/onevcat/Rainbow
Fetched https://github.com/jpsim/Yams.git from cache (2.05s)
[1/1335] Fetching rainbow
[1336/2773] Fetching rainbow, pathkit
[2616/26235] Fetching rainbow, pathkit, xcodeproj
[5121/41843] Fetching rainbow, pathkit, xcodeproj, swift-argument-parser
Fetched https://github.com/onevcat/Rainbow from cache (2.77s)
Fetched https://github.com/apple/swift-argument-parser.git from cache (2.79s)
Fetched https://github.com/kylef/PathKit.git from cache (2.80s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.85s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (7.96s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.36s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.47s)
Computing version for https://github.com/onevcat/Rainbow
Computed https://github.com/onevcat/Rainbow at 4.2.0 (3.68s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.4.3 (0.97s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.44s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.31s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.98s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.6.1 (1.05s)
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/onevcat/Rainbow
Working copy of https://github.com/onevcat/Rainbow resolved at 4.2.0
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.4.3
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.6.1
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/80] Write sources
[30/80] Compiling writer.c
[31/80] Compiling reader.c
[32/80] Compiling writer.c
[33/80] Compiling api.c
[34/80] Compiling parser.c
[35/80] Compiling reader.c
[35/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
[40/80] Compiling emitter.c
[41/80] Compiling parser.c
[42/80] Compiling api.c
[43/80] Compiling scanner.c
[44/83] Compiling emitter.c
[45/97] Compiling scanner.c
[47/142] Emitting module PathKit
[48/142] Emitting module Rainbow
[49/143] Emitting module ArgumentParserToolInfo
[50/143] Compiling ArgumentParserToolInfo ToolInfo.swift
[52/144] Compiling Yams Tag.swift
[53/144] Compiling Yams YamlAnchorProviding.swift
[54/146] Compiling Yams Node.Alias.swift
[55/146] Compiling Yams Node.Mapping.swift
[58/166] Compiling Yams Encoder.swift
[59/166] Compiling Yams AliasDereferencingStrategy.swift
[60/166] Compiling Yams Node.Mapping.swift
[61/166] Compiling Yams Parser.swift
[62/166] Compiling Yams Mark.swift
[63/166] Compiling Yams Node.Alias.swift
[64/166] Emitting module SelectiveTestShell
[65/166] Compiling SelectiveTestShell Shell.swift
[66/166] Compiling Rainbow StyledStringBuilder.swift
[67/166] Compiling Yams RedundancyAliasingStrategy.swift
[68/166] Compiling Yams Representer.swift
[69/166] Compiling Yams Decoder.swift
[70/166] Compiling Yams Emitter.swift
[71/166] Compiling Yams Anchor.swift
[72/166] Compiling Yams Constructor.swift
[73/166] Compiling SelectiveTestShell String+Error.swift
[77/169] Compiling Yams Tag.swift
[78/169] Compiling Yams YamlAnchorProviding.swift
[85/169] Compiling Yams Node.swift
[86/169] Compiling Yams Resolver.swift
[87/169] Compiling Yams String+Yams.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[88/169] 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 |         }
[89/169] Compiling PathKit PathKit.swift
[91/170] Emitting module Yams
[96/170] Compiling Yams Node.Scalar.swift
[97/170] Compiling Yams Node.Sequence.swift
[100/170] Compiling Yams YamlError.swift
[101/170] Compiling Yams YamlTagProviding.swift
[104/175] Emitting module SelectiveTestLogger
/host/spi-builder-workspace/Sources/SelectiveTestLogger/Logger.swift:12:12: warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public var errStream = StandardErrorOutputStream()
   |            |- warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'errStream' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'errStream' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Logger {
[105/175] Compiling SelectiveTestLogger Logger.swift
/host/spi-builder-workspace/Sources/SelectiveTestLogger/Logger.swift:12:12: warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
12 | public var errStream = StandardErrorOutputStream()
   |            |- warning: var 'errStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
   |            |- note: convert 'errStream' to a 'let' constant to make 'Sendable' shared state immutable
   |            |- note: add '@MainActor' to make var 'errStream' part of global actor 'MainActor'
   |            `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
13 |
14 | public enum Logger {
/host/spi-builder-workspace/Sources/SelectiveTestLogger/Logger.swift:9:66: warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 7 |
 8 | public struct StandardErrorOutputStream: TextOutputStream {
 9 |     public mutating func write(_ string: String) { fputs(string, stderr) }
   |                                                                  `- warning: reference to var 'stderr' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
10 | }
11 |
/usr/include/stdio.h:145:14: note: var declared here
143 | extern FILE *stdin;		/* Standard input stream.  */
144 | extern FILE *stdout;		/* Standard output stream.  */
145 | extern FILE *stderr;		/* Standard error output stream.  */
    |              `- note: var declared here
146 | /* C89/C99 say they're macros.  Make them happy.  */
147 | #define stdin stdin
[107/234] Compiling AEXML Error.swift
[108/234] Compiling AEXML Options.swift
[109/234] Compiling AEXML Builders.swift
[110/234] Emitting module AEXML
[111/234] Compiling AEXML Parser.swift
[112/234] Emitting module AEXML
[113/234] Compiling AEXML Document.swift
[114/234] Compiling AEXML Element.swift
[116/235] Emitting module ArgumentParserToolInfo
[117/235] Compiling ArgumentParserToolInfo ToolInfo.swift
[119/236] Compiling ArgumentParser CollectionExtensions.swift
[120/236] Compiling ArgumentParser Mutex.swift
[121/236] Compiling ArgumentParser Platform.swift
[122/236] Compiling ArgumentParser SequenceExtensions.swift
[123/236] Compiling ArgumentParser StringExtensions.swift
[124/236] Compiling ArgumentParser SwiftExtensions.swift
[125/337] Emitting module Git
[126/337] Compiling Git Git.swift
[127/337] Compiling Git Git+Changeset.swift
[129/338] Compiling XcodeProj PBXProject.swift
[130/338] Compiling XcodeProj ProjectAttribute.swift
[131/338] Compiling XcodeProj Equality.generated.swift
[132/338] Compiling XcodeProj Sourcery.swift
[133/338] Compiling XcodeProj XCLocalSwiftPackageReference.swift
[134/338] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[135/338] Compiling XcodeProj String+Utils.swift
[136/338] Compiling XcodeProj String+md5.swift
[137/338] Compiling XcodeProj BuildFileSetting.swift
[138/338] Compiling XcodeProj BuildPhase.swift
[139/338] Compiling XcodeProj PBXBuildFile.swift
[140/338] Compiling XcodeProj PBXBuildPhase.swift
[141/382] Compiling ArgumentParser EnumerableFlag.swift
[142/382] Compiling ArgumentParser ExpressibleByArgument.swift
[143/384] Emitting module ArgumentParser
[144/384] Compiling ArgumentParser BashCompletionsGenerator.swift
[145/384] Compiling ArgumentParser CompletionsGenerator.swift
[146/384] Compiling ArgumentParser FishCompletionsGenerator.swift
[147/384] Compiling ArgumentParser ZshCompletionsGenerator.swift
[148/384] Compiling ArgumentParser Argument.swift
[149/384] Compiling ArgumentParser ArgumentDiscussion.swift
[150/384] Compiling ArgumentParser ArgumentHelp.swift
[155/384] Compiling ArgumentParser CompletionKind.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 |         }
[156/384] Compiling ArgumentParser Errors.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 |         }
[158/384] Compiling ArgumentParser ArgumentVisibility.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[159/384] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[160/384] Compiling PathKit PathKit.swift
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[161/384] Compiling SelectiveTestShell Shell.swift
[162/384] Compiling SelectiveTestShell String+Error.swift
[163/384] Emitting module SelectiveTestShell
[164/385] Compiling ArgumentParser OptionGroup.swift
[165/385] Compiling ArgumentParser AsyncParsableCommand.swift
[166/385] Compiling ArgumentParser CommandConfiguration.swift
[167/385] Compiling ArgumentParser CommandGroup.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[170/385] Compiling AEXML Builders.swift
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/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:873b43b7be6289c04a5a3fd4b2c372c2a5abf90643451079297d3dc6dc0b7d36
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
/host/spi-builder-workspace/Plugins/SelectiveTestingPlugin/SelectiveTestingPlugin.swift:27:23: warning: result of call to 'changeCurrentDirectoryPath' is unused
25 |
26 |     func performCommand(context: PluginContext, arguments: [String]) async throws {
27 |         FileManager().changeCurrentDirectoryPath(context.package.directory.string)
   |                       `- warning: result of call to 'changeCurrentDirectoryPath' is unused
28 |         let tool = try context.tool(named: "xcode-selective-test")
29 |
[1/1] Compiling plugin SelectiveTestingPlugin
[2/2] Compiling plugin GenerateManual
[3/3] Compiling plugin GenerateDoccReference
Building for debugging...
[3/38] Write swift-version-24593BA9C3E375BF.txt
[5/118] Emitting module SelectiveTestShell
[6/118] Compiling SelectiveTestShell Shell.swift
[7/118] Compiling SelectiveTestShell String+Error.swift
[9/119] Emitting module SelectiveTestShell
[10/119] Compiling SelectiveTestShell Shell.swift
[11/120] Emitting module Rainbow
[12/120] Compiling Yams Mark.swift
[13/120] Compiling Yams Node.Alias.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[15/120] 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 |         }
[16/122] Compiling Yams RedundancyAliasingStrategy.swift
[17/122] Compiling Yams Representer.swift
[19/122] Compiling Yams Anchor.swift
[20/122] Compiling Yams Constructor.swift
[23/124] Compiling Yams Tag.swift
[24/124] Compiling Yams YamlAnchorProviding.swift
[25/128] Compiling Yams Decoder.swift
[26/128] Compiling Yams Emitter.swift
[27/128] Compiling Rainbow StyledStringBuilder.swift
[28/129] Emitting module PathKit
[29/129] Compiling PathKit PathKit.swift
[30/131] Compiling Rainbow StyledStringBuilder.swift
[31/131] Compiling Yams Resolver.swift
[32/131] Compiling Yams String+Yams.swift
[33/131] Compiling Yams Node.Mapping.swift
[34/131] Compiling Yams Node.Scalar.swift
[38/131] Compiling Yams AliasDereferencingStrategy.swift
[40/131] Compiling Yams Node.Sequence.swift
[41/131] Compiling Yams Node.swift
[44/131] Compiling Yams Encoder.swift
[45/131] Compiling Yams Parser.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 |         }
/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)
[54/132] Emitting module PathKit
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: error: no such module 'Darwin'
  6 | let system_glob = Glibc.glob
  7 | #else
  8 | import Darwin
    |        `- error: no such module 'Darwin'
  9 |
 10 | let system_glob = Darwin.glob
[55/132] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.1 android