Build Information
Failed to build ModelGen, reference master (d2e7c2), with Swift 6.4 for Android on 16 Sep 2026 16:26:50 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344847-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.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/hebertialmeida/modelgen.git
Reference: master
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/hebertialmeida/modelgen
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at d2e7c28 Sort imports
Cloned https://github.com/hebertialmeida/modelgen.git
Revision (git rev-parse @):
d2e7c28897fd4cd449995c98f0c4f16f8e3d3d28
SUCCESS checkout https://github.com/hebertialmeida/modelgen.git at master
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/hebertialmeida/modelgen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344847-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:abadcff584c273feba50641b454858d377ba30b35ea7287a94f45ebd8afd0ea0
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/kylef/Stencil.git
Fetching https://github.com/kylef/Commander.git
Fetching https://github.com/SwiftGen/StencilSwiftKit.git
Fetching https://github.com/kylef/PathKit.git
[1/1460] Fetching pathkit
[1461/5468] Fetching pathkit, stencilswiftkit
[2063/10752] Fetching pathkit, stencilswiftkit, stencil
[2064/22613] Fetching pathkit, stencilswiftkit, stencil, yams
[16687/24201] Fetching pathkit, stencilswiftkit, stencil, yams, commander
Fetched https://github.com/kylef/Commander.git (0.98s)
[19928/22613] Fetching pathkit, stencilswiftkit, stencil, yams
Fetched https://github.com/kylef/Stencil.git (1.15s)
[16808/17329] Fetching pathkit, stencilswiftkit, yams
Fetched https://github.com/jpsim/Yams.git (1.16s)
Fetched https://github.com/kylef/PathKit.git (1.45s)
Fetched https://github.com/SwiftGen/StencilSwiftKit.git (1.46s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (1.67s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.84s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (1.93s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.19s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.19s)
Computing version for https://github.com/SwiftGen/StencilSwiftKit.git
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.10.1 (0.19s)
Fetching https://github.com/shibapm/Komondor.git
[1/509] Fetching komondor
Fetched https://github.com/shibapm/Komondor.git (0.49s)
Computing version for https://github.com/shibapm/Komondor.git
Computed https://github.com/shibapm/Komondor.git at 1.1.3 (0.69s)
Fetching https://github.com/JohnSundell/ShellOut.git
Fetching https://github.com/shibapm/PackageConfig.git
[1/580] Fetching packageconfig
Fetched https://github.com/shibapm/PackageConfig.git (0.53s)
[1/980] Fetching shellout
Fetched https://github.com/JohnSundell/ShellOut.git (1.48s)
Computing version for https://github.com/kylef/Stencil.git
Computed https://github.com/jpsim/Yams.git at 1.0.2 (0.00s)
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.00s)
Computed https://github.com/kylef/Stencil.git at 0.13.1 (0.21s)
Computed https://github.com/kylef/Commander.git at 0.9.1 (0.00s)
Computed https://github.com/SwiftGen/StencilSwiftKit.git at 2.7.2 (0.20s)
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Stencil.git
Working copy of https://github.com/kylef/Stencil.git resolved at 0.13.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 1.0.2
Creating working copy for https://github.com/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/SwiftGen/StencilSwiftKit.git
Working copy of https://github.com/SwiftGen/StencilSwiftKit.git resolved at 2.7.2
warning: 'stencilswiftkit': Conflicting identity for stencil: dependency 'github.com/stencilproject/stencil' and dependency 'github.com/kylef/stencil' both point to the same package identity 'stencil'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftgen/stencilswiftkit->github.com/stencilproject/stencil (B) /host/spi-builder-workspace->github.com/kylef/stencil. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
warning: 'stencilswiftkit': Conflicting identity for stencil: dependency 'github.com/stencilproject/stencil' and dependency 'github.com/kylef/stencil' both point to the same package identity 'stencil'. The dependencies are introduced through the following chains: (A) /host/spi-builder-workspace->github.com/swiftgen/stencilswiftkit->github.com/stencilproject/stencil (B) /host/spi-builder-workspace->github.com/kylef/stencil. If there are multiple chains that lead to the same dependency, only the first chain is shown here. To see all chains use debug output option. To resolve the conflict, coordinate with the maintainer of the package that introduces the conflicting dependency. This will be escalated to an error in future versions of SwiftPM.
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 275]
[Planning deferred tasks]
[Starting]
[64 / 112]
[71 / 123] Commander
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
[74 / 123] Commander
/host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift:4:10: [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m2 |[0;0m import Glibc
[0;36m3 |[0;0m #else
[0;36m4 |[0;0m import Darwin
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m5 |[0;0m #endif
[0;36m6 |[0;0m
Failed frontend command:
/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/ArgumentConvertible.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/ArgumentDescription.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/ArgumentParser.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Command.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandRunner.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/CommandType.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Commands.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Error.swift /host/spi-builder-workspace/.build/checkouts/Commander/Sources/Commander/Group.swift -target aarch64-unknown-linux-android28 -Xllvm -aarch64-use-tbi -disable-objc-interop -sdk /android-ndk/android-ndk-r27d/toolchains/llvm/prebuilt/linux-x86_64/sysroot -sysroot /android-ndk/android-ndk-r27d/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 4 -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.x-snapshot-2026-09-04/usr/lib/swift/host/plugins/testing\#/root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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-r27d/toolchains/llvm/prebuilt/linux-x86_64/lib/clang/18 -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/Commander.build/Debug-android-aarch64/Commander-t.build/DerivedSources-normal/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/DerivedSources/aarch64 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Commander -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Commander_const_extract_protocols.json -in-process-plugin-server-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/lib/swift/host/plugins -plugin-path /root/.local/share/swiftly/toolchains/6.4.x-snapshot-2026-09-04/usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Modules/Commander.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Modules/Commander.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Commander-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Commander-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Commander-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Commander.build/Debug-android-aarch64/Commander-t.build/Objects-normal/aarch64/Modules/Commander.swiftmodule
error: Build failed
BUILD FAILURE 6.4 android