Build Information
Failed to build Sourcery, reference 2.4.1 (17e8b6), with Swift 6.4 for Android on 30 Oct 2026 18:11:12 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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/krzysztofzablocki/sourcery.git
Reference: 2.4.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/krzysztofzablocki/sourcery
* tag 2.4.1 -> FETCH_HEAD
HEAD is now at 17e8b64 Make Docker build resilient to Linux-only pins missing from Package.resolved
Cloned https://github.com/krzysztofzablocki/sourcery.git
Revision (git rev-parse @):
17e8b64afdde81227354d151eec967a36bbbcfc5
SUCCESS checkout https://github.com/krzysztofzablocki/sourcery.git at 2.4.1
========================================
Build
========================================
Selected platform: android
Swift version: 6.4
Building package at path: $PWD
https://github.com/krzysztofzablocki/sourcery.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-53886768-1":/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:1ec638249ee9496bfd8413990a8663326bfd4883adb2b1d6b616fd753c8ff99b
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:android-6.4-latest
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/art-divin/StencilSwiftKit.git
Fetching https://github.com/apple/swift-crypto.git
[1/3122] Fetching stencilswiftkit
[626/18047] Fetching stencilswiftkit, quick
[2865/36916] Fetching stencilswiftkit, quick, swift-crypto
Fetched https://github.com/Quick/Quick.git (0.97s)
Fetching https://github.com/kylef/Commander.git
[2824/21991] Fetching stencilswiftkit, swift-crypto
[6562/103360] Fetching stencilswiftkit, swift-crypto, swift-syntax
[8945/104948] Fetching stencilswiftkit, swift-crypto, swift-syntax, commander
Fetched https://github.com/kylef/Commander.git (0.48s)
Fetching https://github.com/tuist/XcodeProj.git
[13337/103360] Fetching stencilswiftkit, swift-crypto, swift-syntax
[34198/128574] Fetching stencilswiftkit, swift-crypto, swift-syntax, xcodeproj
Fetched https://github.com/apple/swift-crypto.git (2.98s)
[65320/109705] Fetching stencilswiftkit, swift-syntax, xcodeproj
Fetching https://github.com/jpsim/Yams.git
Fetching https://github.com/Quick/Nimble.git
[96687/121583] Fetching stencilswiftkit, swift-syntax, xcodeproj, yams
Fetched https://github.com/tuist/XcodeProj.git (2.44s)
[87058/96369] Fetching stencilswiftkit, swift-syntax, yams
[89618/116371] Fetching stencilswiftkit, swift-syntax, yams, nimble
Fetched https://github.com/jpsim/Yams.git (2.30s)
Fetched https://github.com/Quick/Nimble.git (2.57s)
Fetched https://github.com/art-divin/StencilSwiftKit.git (5.77s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/swiftlang/swift-syntax.git (8.50s)
[1/1460] Fetching pathkit
Fetched https://github.com/kylef/PathKit.git (0.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (9.22s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.6 (0.13s)
Fetching https://github.com/tadija/AEXML.git
[1/2256] Fetching aexml
Fetched https://github.com/tadija/AEXML.git (0.48s)
Computing version for https://github.com/art-divin/StencilSwiftKit.git
Computed https://github.com/art-divin/StencilSwiftKit.git at 2.10.4 (0.61s)
Fetching https://github.com/art-divin/Stencil.git
[1/3424] Fetching stencil
Fetched https://github.com/art-divin/Stencil.git (0.47s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.89s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (1.93s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (3.88s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.22s)
Computing version for https://github.com/art-divin/Stencil.git
Computed https://github.com/art-divin/Stencil.git at 0.15.3 (0.17s)
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/Quick/Nimble.git
Computed https://github.com/Quick/Nimble.git at 9.2.1 (0.17s)
Fetching https://github.com/mattgallagher/CwlPreconditionTesting.git
[1/1257] Fetching cwlpreconditiontesting
Fetched https://github.com/mattgallagher/CwlPreconditionTesting.git (0.45s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.63s)
Computing version for https://github.com/mattgallagher/CwlPreconditionTesting.git
Computed https://github.com/mattgallagher/CwlPreconditionTesting.git at 2.2.2 (0.17s)
Fetching https://github.com/mattgallagher/CwlCatchException.git
[1/460] Fetching cwlcatchexception
Fetched https://github.com/mattgallagher/CwlCatchException.git (0.46s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.63s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (0.17s)
Computing version for https://github.com/apple/swift-crypto.git
Computed https://github.com/apple/swift-crypto.git at 3.15.1 (0.23s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.42s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.36s)
Creating working copy for https://github.com/art-divin/StencilSwiftKit.git
Working copy of https://github.com/art-divin/StencilSwiftKit.git resolved at 2.10.4
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/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.10.1
Creating working copy for https://github.com/art-divin/Stencil.git
Working copy of https://github.com/art-divin/Stencil.git resolved at 0.15.3
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 602.0.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.6
Creating working copy for https://github.com/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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/apple/swift-crypto.git
Working copy of https://github.com/apple/swift-crypto.git resolved at 3.15.1
Creating working copy for https://github.com/Quick/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
Creating working copy for https://github.com/mattgallagher/CwlPreconditionTesting.git
Working copy of https://github.com/mattgallagher/CwlPreconditionTesting.git resolved at 2.2.2
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
warning: 'spi-builder-workspace': found 8 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Templates/Tests/Context/AutoCases.swift
/host/spi-builder-workspace/Templates/Tests/Context/AutoCodable.swift
/host/spi-builder-workspace/Templates/Tests/Context/AutoEquatable.swift
/host/spi-builder-workspace/Templates/Tests/Context/AutoHashable.swift
/host/spi-builder-workspace/Templates/Tests/Context/AutoLenses.swift
/host/spi-builder-workspace/Templates/Tests/Context/AutoMockable.swift
/host/spi-builder-workspace/Templates/Tests/Context/LinuxMain.swift
/host/spi-builder-workspace/Templates/artifactbundle.info.json.template
warning: 'spi-builder-workspace': found 1 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Tests/SourceryLibTests/Stub/Source/TestProject/TestProject/Info.plist
warning: 'spi-builder-workspace': found 6 file(s) which are unhandled; explicitly declare them as resources or exclude from the target
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoCases.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoEquatable.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoHashable.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoLenses.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/AutoMockable.swift
/host/spi-builder-workspace/Templates/Tests/Context_Linux/LinuxMain.swift
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 1124]
[Planning 772 / 1124]
[Planning deferred tasks]
[Constructing 391 / 2724]
[Starting]
[115 / 756] SourceryRuntime-product
[193 / 764] Sourcery_TemplatesTests
[203 / 781] SwiftSyntax601
[231 / 781] SwiftSyntax601
[233 / 782] Yams
[234 / 783] Yams
[234 / 783] SwiftSyntax602
[235 / 783] SwiftSyntax601
[237 / 784] SwiftSyntax601
[238 / 784] SwiftSyntax602
[240 / 784] SwiftSyntax510
[242 / 785] SwiftSyntax600
[244 / 786] Yams
[260 / 786] Sourcery_SourceryLibTests
[265 / 786] SwiftSyntax600
[271 / 789] Sourcery_SourceryJS
[272 / 789]
[274 / 793] CryptoBoringWrapper
[279 / 822] CryptoBoringWrapper
[280 / 822] Commander
[281 / 822] CodableContext
[282 / 822] SwiftSyntax
[283 / 822] CodableContext
error: SwiftCompile normal aarch64 failed with a nonzero exit code. Command line: cd /host
/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.0/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-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 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.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/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.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/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