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 XcodeGen, reference 2.44.1 (21ac99), with Swift 6.1 for Android on 22 Jul 2025 09:57:15 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/XcodeGen.git
Reference: 2.44.1
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/yonaskolb/XcodeGen
 * tag               2.44.1     -> FETCH_HEAD
HEAD is now at 21ac994 Update to 2.44.1
Cloned https://github.com/yonaskolb/XcodeGen.git
Revision (git rev-parse @):
21ac9944b0ab546a07422dbed86f33dd2ebd76f8
SUCCESS checkout https://github.com/yonaskolb/XcodeGen.git at 2.44.1
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/yonaskolb/XcodeGen.git
https://github.com/yonaskolb/XcodeGen.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "pathkit",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.1",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/PathKit.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.0",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    },
    {
      "identity" : "jsonutilities",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.2.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/yonaskolb/JSONUtilities.git"
    },
    {
      "identity" : "spectre",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.9.2",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kylef/Spectre.git"
    },
    {
      "identity" : "rainbow",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "4.0.0",
            "upper_bound" : "5.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/onevcat/Rainbow.git"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "exact" : [
          "8.27.7"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "swiftcli",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.0.3",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jakeheis/SwiftCLI.git"
    },
    {
      "identity" : "version",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "2.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/mxcl/Version"
    },
    {
      "identity" : "artifactbundlegen",
      "requirement" : {
        "exact" : [
          "0.0.6"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/freddi-kit/ArtifactBundleGen"
    }
  ],
  "manifest_display_name" : "XcodeGen",
  "name" : "XcodeGen",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "10.13"
    }
  ],
  "products" : [
    {
      "name" : "xcodegen",
      "targets" : [
        "XcodeGen"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "XcodeGenKit",
      "targets" : [
        "XcodeGenKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "ProjectSpec",
      "targets" : [
        "ProjectSpec"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "XcodeGenKitTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKitTests",
      "path" : "Tests/XcodeGenKitTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "BreakpointGeneratorTests.swift",
        "CarthageDependencyResolverTests.swift",
        "PBXProjGeneratorTests.swift",
        "ProjectGeneratorTests.swift",
        "SchemeGeneratorTests.swift",
        "SourceGeneratorTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenKit",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenKit",
      "path" : "Sources/XcodeGenKit",
      "product_dependencies" : [
        "JSONUtilities",
        "XcodeProj",
        "PathKit"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/XcodeGenKit/SettingPresets",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "BreakpointGenerator.swift",
        "CarthageDependencyResolver.swift",
        "CarthageVersionLoader.swift",
        "FileWriter.swift",
        "InfoPlistGenerator.swift",
        "PBXProjGenerator.swift",
        "ProjectGenerator.swift",
        "SchemeGenerator.swift",
        "SettingsBuilder.swift",
        "SettingsPresetFile.swift",
        "SourceGenerator.swift",
        "StringCatalogDecoding.swift",
        "Version.swift",
        "XCProjExtensions.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCoreTests",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCoreTests",
      "path" : "Tests/XcodeGenCoreTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "ArrayExtensionsTests.swift",
        "AtomicTests.swift",
        "GlobTests.swift",
        "PathExtensionsTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "XcodeGenCore",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCore",
      "path" : "Sources/XcodeGenCore",
      "product_dependencies" : [
        "PathKit",
        "Yams"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "ArrayExtensions.swift",
        "Atomic.swift",
        "Glob.swift",
        "MD5.swift",
        "PathExtensions.swift",
        "StringDiff.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGenCLI",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGenCLI",
      "path" : "Sources/XcodeGenCLI",
      "product_dependencies" : [
        "SwiftCLI",
        "Rainbow",
        "PathKit",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "Arguments.swift",
        "Commands/CacheCommand.swift",
        "Commands/DumpCommand.swift",
        "Commands/GenerateCommand.swift",
        "Commands/ProjectCommand.swift",
        "GenerationError.swift",
        "XcodeGenCLI.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "type" : "library"
    },
    {
      "c99name" : "XcodeGen",
      "module_type" : "SwiftTarget",
      "name" : "XcodeGen",
      "path" : "Sources/XcodeGen",
      "product_dependencies" : [
        "Version"
      ],
      "product_memberships" : [
        "xcodegen"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCLI"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "TestSupport",
      "module_type" : "SwiftTarget",
      "name" : "TestSupport",
      "path" : "Sources/TestSupport",
      "product_dependencies" : [
        "XcodeProj",
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "TestHelpers.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "ProjectSpecTests",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpecTests",
      "path" : "Tests/ProjectSpecTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "Dictionary+Extension_Tests.swift",
        "InvalidConfigsFormatTests.swift",
        "ProjectSpecTests.swift",
        "SpecLoadingTests.swift"
      ],
      "target_dependencies" : [
        "ProjectSpec",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "ProjectSpec",
      "module_type" : "SwiftTarget",
      "name" : "ProjectSpec",
      "path" : "Sources/ProjectSpec",
      "product_dependencies" : [
        "JSONUtilities",
        "XcodeProj",
        "Yams",
        "Version"
      ],
      "product_memberships" : [
        "xcodegen",
        "XcodeGenKit",
        "ProjectSpec"
      ],
      "sources" : [
        "AggregateTarget.swift",
        "Array+Extension.swift",
        "Breakpoint.swift",
        "BuildPhaseSpec.swift",
        "BuildRule.swift",
        "BuildScript.swift",
        "BuildSettingsContainer.swift",
        "BuildSettingsExtractor.swift",
        "BuildToolPlugin.swift",
        "CacheFile.swift",
        "Config.swift",
        "Decoding.swift",
        "Dependency.swift",
        "DeploymentTarget.swift",
        "Dictionary+Extension.swift",
        "Encoding.swift",
        "FileType.swift",
        "GroupOrdering.swift",
        "Linkage.swift",
        "NSRegularExpressionExtensions.swift",
        "PathContainer.swift",
        "Platform.swift",
        "Plist.swift",
        "Project.swift",
        "ProjectReference.swift",
        "ProjectTarget.swift",
        "Scheme.swift",
        "Settings.swift",
        "SourceType.swift",
        "SpecFile.swift",
        "SpecLoader.swift",
        "SpecOptions.swift",
        "SpecParsingError.swift",
        "SpecValidation.swift",
        "SpecValidationError.swift",
        "SupportedDestination.swift",
        "SwiftPackage.swift",
        "Target.swift",
        "TargetReference.swift",
        "TargetScheme.swift",
        "TargetSource.swift",
        "Template.swift",
        "TestPlan.swift",
        "TestTargeReference.swift",
        "VersionExtensions.swift",
        "XCProjExtensions.swift",
        "Yaml.swift"
      ],
      "target_dependencies" : [
        "XcodeGenCore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "PerformanceTests",
      "module_type" : "SwiftTarget",
      "name" : "PerformanceTests",
      "path" : "Tests/PerformanceTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "PerformanceTests.swift",
        "TestProject.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FixtureTests",
      "module_type" : "SwiftTarget",
      "name" : "FixtureTests",
      "path" : "Tests/FixtureTests",
      "product_dependencies" : [
        "Spectre",
        "PathKit"
      ],
      "sources" : [
        "FixtureTests.swift"
      ],
      "target_dependencies" : [
        "XcodeGenKit",
        "TestSupport"
      ],
      "type" : "test"
    }
  ],
  "tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/jakeheis/SwiftCLI.git
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/mxcl/Version
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetching https://github.com/tuist/XcodeProj.git
[1/5074] Fetching swiftcli
[560/5256] Fetching swiftcli, artifactbundlegen
[1909/6570] Fetching swiftcli, artifactbundlegen, rainbow
[3320/7591] Fetching swiftcli, artifactbundlegen, rainbow, spectre
[3878/7884] Fetching swiftcli, artifactbundlegen, rainbow, spectre, version
[5856/31285] Fetching swiftcli, artifactbundlegen, rainbow, spectre, version, xcodeproj
Fetched https://github.com/mxcl/Version from cache (0.48s)
[8867/30992] Fetching swiftcli, artifactbundlegen, rainbow, spectre, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (0.49s)
[7897/29971] Fetching swiftcli, artifactbundlegen, rainbow, xcodeproj
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/jpsim/Yams.git
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.67s)
[10389/24897] Fetching artifactbundlegen, rainbow, xcodeproj
Fetching https://github.com/kylef/PathKit.git
[13432/26250] Fetching artifactbundlegen, rainbow, xcodeproj, jsonutilities
[17827/37237] Fetching artifactbundlegen, rainbow, xcodeproj, jsonutilities, yams
[18171/38667] Fetching artifactbundlegen, rainbow, xcodeproj, jsonutilities, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.41s)
[22311/37237] Fetching artifactbundlegen, rainbow, xcodeproj, jsonutilities, yams
Fetched https://github.com/freddi-kit/ArtifactBundleGen from cache (2.34s)
Fetched https://github.com/onevcat/Rainbow.git from cache (2.35s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.38s)
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (2.17s)
Fetched https://github.com/jpsim/Yams.git from cache (2.20s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.6 (5.53s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.56s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.64s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.42s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (4.30s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.08s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.95s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.02s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (4.15s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.94s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.11s)
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/freddi-kit/ArtifactBundleGen
Working copy of https://github.com/freddi-kit/ArtifactBundleGen resolved at 0.0.6
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.0
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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.0
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.0
Creating working copy for https://github.com/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/LipoRunnner.swift:11:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 9 |         task.standardError = pipe
10 |         task.arguments = ["-c", "lipo -archs \(targetPath)"]
11 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |              `- note: use 'executableURL' instead
12 |         task.standardInput = nil
13 |         do {
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/ZipComposer.swift:7:29: warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 5 |         try await withCheckedThrowingContinuation { continuation in
 6 |             do {
 7 |                 try Process.run(URL(fileURLWithPath: "/usr/bin/zip"), arguments: ["-r", "\(bundlePath.relativePath).zip", "\(bundlePath.relativePath)"]) { _ in
   |                             `- warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 8 |                     continuation.resume(returning: ())
 9 |                 }
[1/1] Compiling plugin ArtifactBundleGenPluginCommand
Building for debugging...
[1/39] Write sources
[15/39] Copying SettingPresets
[16/39] Write sources
[17/39] Compiling writer.c
[18/39] Compiling reader.c
[19/39] Compiling parser.c
[20/39] Compiling api.c
[21/39] Compiling emitter.c
[22/39] Write swift-version-24593BA9C3E375BF.txt
[23/45] Compiling scanner.c
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/125] Emitting module SwiftCLI
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[26/127] Emitting module Yams
[27/129] Compiling Version Version+Comparable.swift
[28/129] Compiling Yams Representer.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[29/129] Compiling Yams Mark.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[30/130] Compiling Rainbow StringGenerator.swift
[31/130] Compiling Rainbow String+Rainbow.swift
[32/130] Compiling Version Version+Codable.swift
[33/131] Compiling Version Version.swift
[34/131] Emitting module Version
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/131] 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 |         }
[36/131] Compiling Yams Parser.swift
[37/131] Compiling Yams RedundancyAliasingStrategy.swift
[38/131] Compiling Yams YamlTagProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[39/131] Compiling SwiftCLI VersionCommand.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[40/131] Compiling Version Version+Range.swift
[41/131] Emitting module AEXML
[42/131] Compiling Yams Anchor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[43/131] Compiling Yams Constructor.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[44/131] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/131] Emitting module Spectre
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[48/131] Compiling Rainbow Style.swift
[49/131] Compiling Yams YamlError.swift
[51/131] Compiling JSONUtilities Dictionary+KeyPath.swift
[52/132] Compiling Rainbow Rainbow.swift
[53/132] Compiling Yams Node.Alias.swift
[54/132] Compiling Yams Node.Mapping.swift
[55/132] 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 |         }
[56/132] Compiling Yams YamlAnchorProviding.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[60/132] Compiling Spectre XCTest.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[61/132] Compiling Yams Node.Scalar.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[62/132] Compiling Yams Node.Sequence.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
[63/132] Compiling Yams Node.swift
/host/spi-builder-workspace/.build/checkouts/SwiftCLI/Sources/SwiftCLI/CLI.swift:12:12: error: no such module 'Darwin'
 10 |     import Glibc
 11 | #else
 12 |     import Darwin
    |            `- error: no such module 'Darwin'
 13 | #endif
 14 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[64/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
/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
[65/132] Compiling Spectre Reporter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/LipoRunnner.swift:11:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
 9 |         task.standardError = pipe
10 |         task.arguments = ["-c", "lipo -archs \(targetPath)"]
11 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |              `- note: use 'executableURL' instead
12 |         task.standardInput = nil
13 |         do {
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/ZipComposer.swift:7:29: warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 5 |         try await withCheckedThrowingContinuation { continuation in
 6 |             do {
 7 |                 try Process.run(URL(fileURLWithPath: "/usr/bin/zip"), arguments: ["-r", "\(bundlePath.relativePath).zip", "\(bundlePath.relativePath)"]) { _ in
   |                             `- warning: result of call to 'run(_:arguments:terminationHandler:)' is unused
 8 |                     continuation.resume(returning: ())
 9 |                 }
[1/1] Compiling plugin ArtifactBundleGenPluginCommand
Building for debugging...
[1/17] Write swift-version-24593BA9C3E375BF.txt
[3/103] Compiling JSONUtilities JSONObjectConvertible.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/104] Emitting module Spectre
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/105] 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
[6/105] Compiling JSONUtilities Dictionary+KeyPath.swift
[7/105] Compiling AEXML Options.swift
[8/105] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[9/105] Compiling AEXML Error.swift
[10/105] Compiling AEXML Parser.swift
[11/105] Compiling Version Version+Codable.swift
[12/105] Emitting module Version
[13/105] Compiling Version Version+Comparable.swift
[14/105] Compiling Spectre Global.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[15/105] Compiling Yams Decoder.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[16/105] Compiling Yams Emitter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[17/105] Compiling Version Version+Range.swift
[18/105] Compiling Version Version+Foundation.swift
[19/105] Compiling Version Version.swift
[20/106] Compiling Spectre XCTest.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[21/106] Compiling JSONUtilities InvalidItemBehaviour.swift
[22/106] Compiling JSONUtilities JSONFileLoading.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/106] 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 |         }
[24/107] Compiling Spectre Reporter.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[25/107] Compiling Spectre Reporters.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[26/107] Compiling Spectre GlobalContext.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[27/107] Compiling Spectre Path.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[28/107] Compiling Yams Encoder.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[29/107] Compiling Yams AliasDereferencingStrategy.swift
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: error: no such module 'Darwin'
  4 | import CRT
  5 | #else
  6 | import Darwin
    |        `- error: no such module 'Darwin'
  7 | #endif
  8 |
[30/107] Compiling AEXML Document.swift
[31/107] Compiling AEXML Builders.swift
[32/107] Emitting module AEXML
BUILD FAILURE 6.1 android