Build Information
Failed to build Wasmtime, reference 51.0.0 (20f1ac), with Swift 6.4 for Wasm on 23 Nov 2026 03:09:23 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: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/OpenCow42/swift-wasmtime.git
Reference: 51.0.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/OpenCow42/swift-wasmtime
* tag 51.0.0 -> FETCH_HEAD
HEAD is now at 20f1ac5 Merge pull request #27 from OpenCow42/automation/wasmtime-51.0.0
Updating files: 98% (715/724)
Updating files: 99% (717/724)
Updating files: 99% (721/724)
Updating files: 100% (724/724)
Updating files: 100% (724/724), done.
Cloned https://github.com/OpenCow42/swift-wasmtime.git
Revision (git rev-parse @):
20f1ac531eee41268408b7384a7e22b9d88c78a9
SUCCESS checkout https://github.com/OpenCow42/swift-wasmtime.git at 51.0.0
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.4
Building package at path: $PWD
https://github.com/OpenCow42/swift-wasmtime.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: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:d7b72fae8894fba3c2632fd7068ea480e9b111160d8dd7b4d9df5fbcfe7a40ee
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Planning deferred tasks]
[29 / 38] CWasmtime
[31 / 38] Wasmtime
<unknown>:0: [1;31merror: [1;39mfatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)[0;0m
<unknown>:0: [1;39mnote: [1;39mFunctions with 'no-prototype' attribute must take varargs: wasi_config_new[0;0m
Please submit a bug report (https://swift.org/contributing/#reporting-bugs) and include the crash backtrace.
Stack dump:
0. Program arguments: /usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Wasmtime/Configuration.swift /host/spi-builder-workspace/Sources/Wasmtime/Diagnostics.swift /host/spi-builder-workspace/Sources/Wasmtime/ExternMetadata.swift /host/spi-builder-workspace/Sources/Wasmtime/Functions.swift /host/spi-builder-workspace/Sources/Wasmtime/GlobalsTables.swift /host/spi-builder-workspace/Sources/Wasmtime/Instances.swift /host/spi-builder-workspace/Sources/Wasmtime/Linker.swift /host/spi-builder-workspace/Sources/Wasmtime/Memory.swift /host/spi-builder-workspace/Sources/Wasmtime/ModulesComponents.swift /host/spi-builder-workspace/Sources/Wasmtime/Runtime.swift /host/spi-builder-workspace/Sources/Wasmtime/RuntimeLibrary.swift /host/spi-builder-workspace/Sources/Wasmtime/Store.swift /host/spi-builder-workspace/Sources/Wasmtime/Support.swift /host/spi-builder-workspace/Sources/Wasmtime/Values.swift -primary-file /host/spi-builder-workspace/Sources/Wasmtime/Wasi.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.dia -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 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -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 -fmodule-map-file=/host/spi-builder-workspace/Sources/CWasmtime/include/module.modulemap -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/Sources/CWasmtime/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name Wasmtime -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasmtime_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.o -index-unit-output-path /Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
1. Swift version 6.4 (swift-6.4-RELEASE)
2. Compiling with the current language version
3. Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.o'.
#0 0x000061ae931f9758 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x7484758)
#1 0x000061ae931f7235 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x7482235)
#2 0x000061ae931fa4c1 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007a1a337f4330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
#4 0x00007a1a3384dc0c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9ec0c)
#5 0x00007a1a337f427e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
#6 0x00007a1a337d78ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
#7 0x000061ae8c9f6ebb (/usr/bin/swift-frontend+0xc81ebb)
#8 0x000061ae93153bd6 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/swift-frontend+0x73debd6)
#9 0x000061ae8f1c826c (anonymous namespace)::WebAssemblyAddMissingPrototypes::runOnModule(llvm::Module&) WebAssemblyAddMissingPrototypes.cpp:0:0
#10 0x000061ae92edaf4b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/swift-frontend+0x7165f4b)
#11 0x000061ae8cb5b609 swift::compileAndWriteLLVM(llvm::Module*, llvm::TargetMachine*, swift::IRGenOptions const&, swift::UnifiedStatsReporter*, swift::DiagnosticEngine&, llvm::raw_pwrite_stream&, llvm::sys::SmartMutex<false>*, llvm::raw_pwrite_stream*) (/usr/bin/swift-frontend+0xde6609)
#12 0x000061ae8cb5ae32 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) (/usr/bin/swift-frontend+0xde5e32)
#13 0x000061ae8c70eceb generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) FrontendTool.cpp:0:0
#14 0x000061ae8c70799c performCompileStepsPostSILGen(swift::CompilerInstance&, std::unique_ptr<swift::SILModule, std::default_delete<swift::SILModule>>, llvm::PointerUnion<swift::ModuleDecl*, swift::SourceFile*>, swift::PrimarySpecificPaths const&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>, llvm::ArrayRef<swift::PrimarySpecificPaths>) FrontendTool.cpp:0:0
#15 0x000061ae8c705d73 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0x990d73)
#16 0x000061ae8c70b089 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#17 0x000061ae8c70862f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0x99362f)
#18 0x000061ae8c461568 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x6ec568)
#19 0x00007a1a337d91ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#20 0x00007a1a337d928b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#21 0x000061ae8c460665 _start (/usr/bin/swift-frontend+0x6eb665)
*** Signal 6: Backtracing from 0x7a1a338d652d... done ***
*** Program crashed: Aborted at 0x00007a1a338d652d ***
Platform: x86_64 Linux (Ubuntu 24.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007a1a338d652d <unknown> in libc.so.6
Registers:
rax 0x0000000000000000 0
rdx 0x0000000000000006 6
rcx 0x00007a1a338d652d 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d bb c8 0d 00 H=·ðÿÿs·ÃH··»È··
rbx 0x0000000000000006 6
rsi 0x0000000000000079 121
rdi 0x0000000000000079 121
rbp 0x0000000000000079 121
rsp 0x000061aec83574e8 eb a4 1f 93 ae 61 00 00 70 77 35 c8 ae 61 00 00 뤷·®a··pw5È®a··
r8 0x000061aec8357770 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r9 0x000061aec8357770 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r10 0x000061aec8357770 06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00 ········úÿÿÿ····
r11 0x0000000000000246 582
r12 0x0000000000000000 0
r13 0x0000000000000000 0
r14 0x0000000000000000 0
r15 0x000061aec83574f8 01 03 01 00 00 00 00 00 6b c4 9d 00 00 00 00 00 ········kÄ······
rip 0x00007a1a338d652d 48 3d 01 f0 ff ff 73 01 c3 48 8b 0d bb c8 0d 00 H=·ðÿÿs·ÃH··»È··
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (27 omitted):
0x00007a1a337af000–0x00007a1a3395f039 a4a7992a8e66555c8141ab2a08a8465ff6e0ea65 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
Failed frontend command:
/usr/bin/swift-frontend -frontend -c /host/spi-builder-workspace/Sources/Wasmtime/Configuration.swift /host/spi-builder-workspace/Sources/Wasmtime/Diagnostics.swift /host/spi-builder-workspace/Sources/Wasmtime/ExternMetadata.swift /host/spi-builder-workspace/Sources/Wasmtime/Functions.swift /host/spi-builder-workspace/Sources/Wasmtime/GlobalsTables.swift /host/spi-builder-workspace/Sources/Wasmtime/Instances.swift /host/spi-builder-workspace/Sources/Wasmtime/Linker.swift /host/spi-builder-workspace/Sources/Wasmtime/Memory.swift /host/spi-builder-workspace/Sources/Wasmtime/ModulesComponents.swift /host/spi-builder-workspace/Sources/Wasmtime/Runtime.swift /host/spi-builder-workspace/Sources/Wasmtime/RuntimeLibrary.swift /host/spi-builder-workspace/Sources/Wasmtime/Store.swift /host/spi-builder-workspace/Sources/Wasmtime/Support.swift /host/spi-builder-workspace/Sources/Wasmtime/Values.swift -primary-file /host/spi-builder-workspace/Sources/Wasmtime/Wasi.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.dia -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 -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -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 -fmodule-map-file\=/host/spi-builder-workspace/Sources/CWasmtime/include/module.modulemap -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/Sources/CWasmtime/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Wasmtime -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasmtime_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 -parse-as-library -o /host/spi-builder-workspace/.build/out/Intermediates.noindex/Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.o -index-unit-output-path /Wasmtime.build/Debug-webassembly-wasm32/Wasmtime-t.build/Objects-normal/wasm32/Wasi.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm