Build Information
Failed to build XcodeGen, reference 2.49.0 (45ad52), with Swift 6.4 for Android on 26 Nov 2026 10:17:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1Build Log
========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/yonaskolb/XcodeGen.git
Reference: 2.49.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.49.0 -> FETCH_HEAD
HEAD is now at 45ad520 Update to 2.49.0
Cloned https://github.com/yonaskolb/XcodeGen.git
Revision (git rev-parse @):
45ad520d50c26f42b0f4e823e8dd5e18e3ae27c9
SUCCESS checkout https://github.com/yonaskolb/XcodeGen.git at 2.49.0
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/yonaskolb/XcodeGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-58779149-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:android-6.4-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:28d216030c45a8918b90b6d0fb052a1ddabafa4476db29a21e1a46b90687a2a9
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/onevcat/Rainbow.git
Fetching https://github.com/freddi-kit/ArtifactBundleGen
Fetching https://github.com/jakeheis/SwiftCLI.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/mxcl/Version
[1/5080] Fetching swiftcli
[52/6101] Fetching swiftcli, spectre
[775/6305] Fetching swiftcli, spectre, artifactbundlegen
[3411/6616] Fetching swiftcli, spectre, artifactbundlegen, version
Fetched https://github.com/mxcl/Version (0.39s)
[5340/6305] Fetching swiftcli, spectre, artifactbundlegen
Fetching https://github.com/yonaskolb/JSONUtilities.git
[6256/7823] Fetching swiftcli, spectre, artifactbundlegen, rainbow
[7506/33129] Fetching swiftcli, spectre, artifactbundlegen, rainbow, xcodeproj
Fetched https://github.com/freddi-kit/ArtifactBundleGen (0.45s)
Fetched https://github.com/kylef/Spectre.git (0.45s)
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/PathKit.git
[7105/31904] Fetching swiftcli, rainbow, xcodeproj
Fetched https://github.com/onevcat/Rainbow.git (0.47s)
[6346/30386] Fetching swiftcli, xcodeproj
[29122/31822] Fetching swiftcli, xcodeproj, jsonutilities
Fetched https://github.com/yonaskolb/JSONUtilities.git (0.38s)
[29374/30386] Fetching swiftcli, xcodeproj
[30387/31846] Fetching swiftcli, xcodeproj, pathkit
[31847/43756] Fetching swiftcli, xcodeproj, pathkit, yams
Fetched https://github.com/jakeheis/SwiftCLI.git (1.02s)
[32721/38676] Fetching xcodeproj, pathkit, yams
Fetched https://github.com/tuist/XcodeProj.git (1.03s)
[7535/13370] Fetching pathkit, yams
Fetched https://github.com/kylef/PathKit.git (0.89s)
Fetched https://github.com/jpsim/Yams.git (0.90s)
Computing version for https://github.com/freddi-kit/ArtifactBundleGen
Computed https://github.com/freddi-kit/ArtifactBundleGen at 0.0.8 (2.23s)
Computing version for https://github.com/jakeheis/SwiftCLI.git
Computed https://github.com/jakeheis/SwiftCLI.git at 6.0.3 (0.16s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.17.8 (0.15s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/apple/xcode-project-format.git
[1/464] Fetching xcode-project-format
[159/2906] Fetching xcode-project-format, aexml
Fetched https://github.com/apple/xcode-project-format.git (0.38s)
[977/2442] Fetching aexml
Fetched https://github.com/tadija/AEXML.git (0.43s)
Computing version for https://github.com/yonaskolb/JSONUtilities.git
Computed https://github.com/yonaskolb/JSONUtilities.git at 4.3.0 (0.57s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.88s)
Computing version for https://github.com/apple/xcode-project-format.git
Computed https://github.com/apple/xcode-project-format.git at 0.1.0 (0.14s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.17s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.4 (0.13s)
Computing version for https://github.com/mxcl/Version
Computed https://github.com/mxcl/Version at 2.2.1 (0.16s)
Computing version for https://github.com/onevcat/Rainbow.git
Computed https://github.com/onevcat/Rainbow.git at 4.2.2 (0.87s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.16s)
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/mxcl/Version
Working copy of https://github.com/mxcl/Version resolved at 2.2.1
Creating working copy for https://github.com/onevcat/Rainbow.git
Working copy of https://github.com/onevcat/Rainbow.git resolved at 4.2.2
Creating working copy for https://github.com/freddi-kit/ArtifactBundleGen
Working copy of https://github.com/freddi-kit/ArtifactBundleGen resolved at 0.0.8
Creating working copy for https://github.com/apple/xcode-project-format.git
Working copy of https://github.com/apple/xcode-project-format.git resolved at 0.1.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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.17.8
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/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.4
Creating working copy for https://github.com/yonaskolb/JSONUtilities.git
Working copy of https://github.com/yonaskolb/JSONUtilities.git resolved at 4.3.0
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 599]
[Planning deferred tasks]
[11 / 233] Yams
[125 / 249] Version
[133 / 303] SwiftCLI
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift:6:8: [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m4 |[0;0m import CRT
[0;36m5 |[0;0m #else
[0;36m6 |[0;0m import Darwin
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m7 |[0;0m #endif
[0;36m8 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Case.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Context.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Expectation.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Failure.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Global.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/GlobalContext.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Path.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Reporter.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/Reporters.swift /host/spi-builder-workspace/.build/checkouts/Spectre/Sources/Spectre/XCTest.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/sysroot -I /host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64 -module-cache-path /host/spi-builder-workspace/.build/out/ModuleCache.noindex -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -suppress-warnings -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -external-plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.0/usr/bin/swift-plugin-server -validate-clang-modules-once -clang-build-session-file /host/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /host -resource-dir /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_android.artifactbundle/swift-android/swift-resources/usr/lib/swift-aarch64 -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /android-ndk/android-ndk-r30/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/21 -Xcc -fno-omit-frame-pointer -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-android-aarch64/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Spectre -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Spectre_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.0/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Modules/Spectre.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Modules/Spectre.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Spectre-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Spectre-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Spectre-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Spectre.build/Debug-android-aarch64/Spectre-t.build/Objects-normal/aarch64/Modules/Spectre.swiftmodule
[134 / 303] CYaml
error: Build failed
BUILD FAILURE 6.4 android