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.2 (beta) for Android on 22 Jul 2025 09:59:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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.2
Building package at path:  $PWD
https://github.com/yonaskolb/XcodeGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetching https://github.com/mxcl/Version
Fetching https://github.com/tuist/XcodeProj.git
[1/182] Fetching artifactbundlegen
[183/475] Fetching artifactbundlegen, version
[304/5549] Fetching artifactbundlegen, version, swiftcli
[5550/6863] Fetching artifactbundlegen, version, swiftcli, rainbow
[6864/30264] Fetching artifactbundlegen, version, swiftcli, rainbow, xcodeproj
[17161/31285] Fetching artifactbundlegen, version, swiftcli, rainbow, xcodeproj, spectre
Fetched https://github.com/jakeheis/SwiftCLI.git from cache (1.22s)
Fetching https://github.com/yonaskolb/JSONUtilities.git
[14979/26211] Fetching artifactbundlegen, version, rainbow, xcodeproj, spectre
Fetched https://github.com/onevcat/Rainbow.git from cache (1.47s)
Fetched https://github.com/kylef/Spectre.git from cache (1.47s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/jpsim/Yams.git
[23175/25229] Fetching artifactbundlegen, version, xcodeproj, jsonutilities
Fetched https://github.com/yonaskolb/JSONUtilities.git from cache (0.47s)
[1/1430] Fetching pathkit
[1431/12417] Fetching pathkit, yams
Fetched https://github.com/kylef/PathKit.git from cache (0.39s)
[110/10987] Fetching yams
Fetched https://github.com/freddi-kit/ArtifactBundleGen from cache (2.06s)
Fetched https://github.com/mxcl/Version from cache (2.06s)
Fetched https://github.com/tuist/XcodeProj.git from cache (2.10s)
Fetched https://github.com/jpsim/Yams.git from cache (1.46s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.6 (6.66s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.48s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.41s)
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.30s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.2.0 (3.16s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.46s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.45s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.1.0 (2.99s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.0 (0.78s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.48s)
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.2.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/jakeheis/SwiftCLI.git
Working copy of https://github.com/jakeheis/SwiftCLI.git resolved at 6.0.3
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.27.7
/host/spi-builder-workspace/.build/checkouts/ArtifactBundleGen/Plugins/ArtifactBundleGenPluginCommand/Symbolic Links/ArtifactBundleGen/Utils/LipoRunnner.swift:11:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 9 |         task.standardError = pipe
10 |         task.arguments = ["-c", "lipo -archs \(targetPath)"]
11 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- note: use 'executableURL' instead
12 |         task.standardInput = nil
13 |         do {
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
/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 [#no-usage]
 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 [#no-usage]
 8 |                     continuation.resume(returning: ())
 9 |                 }
[1/1] Compiling plugin ArtifactBundleGenPluginCommand
Building for debugging...
[1/39] Write sources
[16/39] Copying SettingPresets
[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-8C5A4AE7A8CE2BA.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[25/125] 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 |
[26/126] Compiling SwiftCLI Parser.swift
[27/126] Compiling SwiftCLI Path.swift
[28/128] Compiling JSONUtilities DecodingError.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/128] Compiling JSONUtilities Dictionary+JSONKey.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 |
[32/129] Emitting module AEXML
[33/129] Compiling Rainbow StringGenerator.swift
[34/129] 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 |
[35/129] 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 |
/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 |
[37/131] Emitting module Version
[38/131] Compiling Version Version+Codable.swift
[39/131] Compiling Rainbow String+Rainbow.swift
[40/131] Compiling Version Version+Range.swift
[41/131] Compiling Version Version.swift
[42/131] Compiling Rainbow Style.swift
[43/131] 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 |
[44/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 |
error: emit-module command failed with exit code 1 (use -v to see invocation)
[45/131] 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
[46/131] 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
[47/131] Compiling Version Version+Comparable.swift
[48/131] 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 |
BUILD FAILURE 6.2 android