Build Information
Failed to build Sourcery, reference 2.4.1 (17e8b6), with Swift 6.4 for Wasm on 30 Oct 2026 18:10:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 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: wasm
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-54344845-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:wasm-6.4-latest swift build --swift-sdk swift-6.4.0-RELEASE_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:0ad19d16955074ecc72bbe910025b19c4e4614184c1a48afc82660d4c7620121
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Fetching https://github.com/Quick/Nimble.git
Fetching https://github.com/art-divin/StencilSwiftKit.git
Fetching https://github.com/Quick/Quick.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-crypto.git
[1/3122] Fetching stencilswiftkit
[626/21991] Fetching stencilswiftkit, swift-crypto
[627/47205] Fetching stencilswiftkit, swift-crypto, xcodeproj
[1257/62130] Fetching stencilswiftkit, swift-crypto, xcodeproj, quick
[32848/82132] Fetching stencilswiftkit, swift-crypto, xcodeproj, quick, nimble
[80666/163501] Fetching stencilswiftkit, swift-crypto, xcodeproj, quick, nimble, swift-syntax
Fetched https://github.com/Quick/Nimble.git (2.11s)
Fetching https://github.com/kylef/PathKit.git
Fetched https://github.com/art-divin/StencilSwiftKit.git (2.11s)
[111898/140377] Fetching swift-crypto, xcodeproj, quick, swift-syntax
Fetching https://github.com/jpsim/Yams.git
[140378/141837] Fetching swift-crypto, xcodeproj, quick, swift-syntax, pathkit
[141838/153715] Fetching swift-crypto, xcodeproj, quick, swift-syntax, pathkit, yams
Fetched https://github.com/kylef/PathKit.git (0.42s)
Fetching https://github.com/kylef/Commander.git
[140496/152255] Fetching swift-crypto, xcodeproj, quick, swift-syntax, yams
[150475/153843] Fetching swift-crypto, xcodeproj, quick, swift-syntax, yams, commander
Fetched https://github.com/kylef/Commander.git (0.48s)
[150593/152255] Fetching swift-crypto, xcodeproj, quick, swift-syntax, yams
Fetched https://github.com/jpsim/Yams.git (1.24s)
Fetched https://github.com/Quick/Quick.git (4.49s)
Fetched https://github.com/tuist/XcodeProj.git (4.51s)
Fetched https://github.com/apple/swift-crypto.git (4.51s)
Fetched https://github.com/swiftlang/swift-syntax.git (4.52s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 602.0.0 (4.82s)
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.47s)
Computing version for https://github.com/art-divin/StencilSwiftKit.git
Computed https://github.com/art-divin/StencilSwiftKit.git at 2.10.4 (0.60s)
Fetching https://github.com/art-divin/Stencil.git
[1/3424] Fetching stencil
Fetched https://github.com/art-divin/Stencil.git (0.44s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.33s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.79s)
Computing version for https://github.com/kylef/Commander.git
Computed https://github.com/kylef/Commander.git at 0.9.1 (1.67s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.17s)
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.16s)
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.39s)
Computing version for https://github.com/Quick/Quick.git
Computed https://github.com/Quick/Quick.git at 3.1.2 (0.57s)
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.40s)
Computing version for https://github.com/mattgallagher/CwlCatchException.git
Computed https://github.com/mattgallagher/CwlCatchException.git at 2.2.1 (0.56s)
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.21s)
Fetching https://github.com/apple/swift-asn1.git
[1/2051] Fetching swift-asn1
Fetched https://github.com/apple/swift-asn1.git (0.39s)
Computing version for https://github.com/apple/swift-asn1.git
Computed https://github.com/apple/swift-asn1.git at 1.7.3 (1.29s)
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/kylef/Commander.git
Working copy of https://github.com/kylef/Commander.git resolved at 0.9.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/Nimble.git
Working copy of https://github.com/Quick/Nimble.git resolved at 9.2.1
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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/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/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/mattgallagher/CwlCatchException.git
Working copy of https://github.com/mattgallagher/CwlCatchException.git resolved at 2.2.1
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/Quick/Quick.git
Working copy of https://github.com/Quick/Quick.git resolved at 3.1.2
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/apple/swift-asn1.git
Working copy of https://github.com/apple/swift-asn1.git resolved at 1.7.3
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 deferred tasks]
[Starting]
[63 / 727] SwiftSyntax510
[175 / 755] Yams
error: SwiftCompile normal wasm32 failed with a nonzero exit code. Command line: cd /host
/host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift:8:8: [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m6 |[0;0m let system_glob = Glibc.glob
[0;36m7 |[0;0m #else
[0;36m8 |[0;0m import Darwin
[0;36m|[0;0m `- [1;31merror: [1;39mno such module 'Darwin'[0;0m
[0;36m9 |[0;0m
[0;36m10 |[0;0m let system_glob = Darwin.glob
Failed frontend command:
/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/.build/checkouts/PathKit/Sources/PathKit.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32 -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.2 -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 /usr/lib/swift/host/plugins/testing\#/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_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host -Xcc -resource-dir -Xcc /root/.swiftpm/swift-sdks/swift-6.4.0-RELEASE_wasm.artifactbundle/swift-6.4.0-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -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-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name PathKit -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/PathKit_const_extract_protocols.json -in-process-plugin-server-path /usr/lib/swift/host/libSwiftInProcPluginServer.so -plugin-path /usr/lib/swift/host/plugins -plugin-path /usr/local/lib/swift/host/plugins -emit-module-doc-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/Modules/PathKit.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/Modules/PathKit.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/PathKit-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/PathKit-primary-emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/PathKit-primary-emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/PathKit.build/Debug-webassembly-wasm32/PathKit-t.build/Objects-normal/wasm32/Modules/PathKit.swiftmodule
[200 / 755] PathKit
error: Build failed
BUILD FAILURE 6.4 wasm