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.43.0 (7193eb), with Swift 6.1 for Android on 30 May 2025 19:48:35 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/yonaskolb/XcodeGen.git
Reference: 2.43.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/yonaskolb/XcodeGen
 * tag               2.43.0     -> FETCH_HEAD
HEAD is now at 7193eb4 Update to 2.43.0
Cloned https://github.com/yonaskolb/XcodeGen.git
Revision (git rev-parse @):
7193eb447a6f60061f069e07bc1efd32d73c0e19
SUCCESS checkout https://github.com/yonaskolb/XcodeGen.git at 2.43.0
========================================
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.24.3"
        ]
      },
      "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",
        "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",
        "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-0":/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:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
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/mxcl/Version
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/onevcat/Rainbow.git
[1/1196] Fetching rainbow
[731/6270] Fetching rainbow, swiftcli
[1538/6558] Fetching rainbow, swiftcli, version
Fetched https://github.com/onevcat/Rainbow.git from cache (0.42s)
[1/23290] Fetching xcodeproj
Fetching https://github.com/yonaskolb/JSONUtilities.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (0.61s)
Fetching https://github.com/jpsim/Yams.git
[5591/24643] Fetching xcodeproj, jsonutilities
[9506/25664] Fetching xcodeproj, jsonutilities, spectre
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.56s)
[8745/24311] Fetching xcodeproj, spectre
Fetching https://github.com/kylef/PathKit.git
[9640/24493] Fetching xcodeproj, spectre, artifactbundlegen
[11219/35150] Fetching xcodeproj, spectre, artifactbundlegen, yams
Fetched https://github.com/freddi-kit/ArtifactBundleGen from cache (0.56s)
Fetched https://github.com/kylef/Spectre.git from cache (0.56s)
[11394/33947] Fetching xcodeproj, yams
[21313/35358] Fetching xcodeproj, yams, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.60s)
[22165/33947] Fetching xcodeproj, yams
Fetched https://github.com/mxcl/Version from cache (2.79s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.83s)
Fetched https://github.com/jpsim/Yams.git from cache (2.50s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.6 (6.35s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.60s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.3 (0.53s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.33s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (3.52s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.71s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.77s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.76s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.1.0 (0.71s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (3.36s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (1.10s)
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 8.24.3
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/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.6.1
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.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.1.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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.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
[1/39] Copying SettingPresets
[1/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] Compiling scanner.c
[22/39] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/124] 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
[26/124] Emitting module Version
[27/124] Emitting module AEXML
error: emit-module command failed with exit code 1 (use -v to see invocation)
[28/124] 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 |
[29/126] Emitting module Yams
[30/128] Compiling Rainbow StringGenerator.swift
[31/129] 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 |
[32/129] 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 |
[33/129] Compiling Version Version.swift
[34/129] Compiling Version Version+Range.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[35/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 |         }
[36/129] Compiling JSONUtilities DecodingError.swift
[37/129] Compiling JSONUtilities Dictionary+JSONKey.swift
[38/129] Compiling Yams Tag.swift
[39/129] Compiling Yams YamlAnchorProviding.swift
[40/129] Compiling Rainbow Color.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 |
[41/129] Compiling Rainbow ColorApproximation.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 |
/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 |
[44/130] Compiling Version Version+Codable.swift
[45/130] Compiling Rainbow String+Rainbow.swift
[46/130] Compiling Rainbow Style.swift
[47/130] Compiling AEXML Parser.swift
[48/130] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[49/130] 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 |
[50/130] Compiling Rainbow ControlCode.swift
[51/130] Compiling Rainbow ModesExtractor.swift
[52/130] 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 |         }
[53/130] Compiling Rainbow Rainbow.swift
[54/130] Compiling Yams String+Yams.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 |
[55/130] Compiling Yams YamlError.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 |
[58/130] 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 |
[59/130] Compiling Version Version+Comparable.swift
[60/130] Compiling Version Version+Foundation.swift
[61/131] Emitting module JSONUtilities
/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/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
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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/102] 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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/103] 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
[5/103] 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 |
[6/103] 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 |
[7/103] Compiling Rainbow Color.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 |
[8/103] Compiling Rainbow ColorApproximation.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 |
[9/103] Emitting module AEXML
[10/103] Emitting module Version
[11/103] Compiling Rainbow BackgroundColor.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 |
[12/103] Compiling Rainbow CodesParser.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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[13/103] 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 |
[14/103] 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/103] Compiling JSONUtilities Dictionary+KeyPath.swift
[16/103] Compiling JSONUtilities InvalidItemBehaviour.swift
[17/104] 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 |
[18/104] Compiling SwiftCLI Path.swift
[19/104] Compiling SwiftCLI Stream.swift
[20/106] Compiling SwiftCLI Term.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 |
[21/106] Compiling SwiftCLI Validation.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 |
[22/108] 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 |
[23/108] Compiling Rainbow ControlCode.swift
[24/108] Compiling Rainbow ModesExtractor.swift
[25/108] Compiling Rainbow StringGenerator.swift
[26/108] Compiling Rainbow String+Rainbow.swift
[27/109] Compiling JSONUtilities JSONPrimitiveConvertible.swift
[28/109] Compiling JSONUtilities JSONFileLoading.swift
[29/109] Compiling JSONUtilities JSONObjectConvertible.swift
[30/109] Compiling JSONUtilities KeyPath.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 |
/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 |
[34/109] Compiling Version Version+Codable.swift
[35/109] Compiling Version Version+Comparable.swift
[36/109] Compiling AEXML Parser.swift
[37/109] Compiling AEXML Options.swift
[38/109] Compiling AEXML Error.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 |
/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 |
[42/109] Compiling SwiftCLI Command.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/109] Compiling SwiftCLI Compatibility.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/109] Compiling SwiftCLI CompletionGenerator.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/109] 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 |
[46/109] Compiling JSONUtilities URL+JSONPrimitiveConvertible.swift
[47/109] Compiling Rainbow Rainbow.swift
[48/109] 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 |         }
[49/109] Compiling Version Version.swift
[50/109] Compiling Version Version+Foundation.swift
[51/109] Compiling Version Version+Range.swift
[52/110] Compiling SwiftCLI Input.swift
[53/110] Compiling SwiftCLI Option.swift
[54/110] Compiling SwiftCLI ValueBox.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 |
[55/110] 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 |
[56/110] Compiling AEXML Document.swift
[57/110] Compiling AEXML Element.swift
[58/110] Compiling Rainbow Style.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 |
[61/111] Compiling SwiftCLI OptionGroup.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/111] Compiling SwiftCLI OptionRegistry.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/111] Compiling SwiftCLI Parameter.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 |
[64/111] Compiling SwiftCLI Parser.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 |
/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 |
[67/111] Compiling Yams YamlError.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 |
[70/111] 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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[75/111] 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/111] Emitting module JSONUtilities
BUILD FAILURE 6.1 android