The Swift Package Index logo.Swift Package Index

Build Information

Failed to build Wasmtime, reference 48.0.5 (323a74), with Swift 6.3 for Wasm on 15 Oct 2026 20:19:37 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.3
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/OpenCow42/swift-wasmtime.git
Reference: 48.0.5
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               48.0.5     -> FETCH_HEAD
HEAD is now at 323a748 Merge pull request #22 from OpenCow42/automation/wasmtime-48.0.5
Updating files:  67% (488/724)
Updating files:  68% (493/724)
Updating files:  69% (500/724)
Updating files:  70% (507/724)
Updating files:  71% (515/724)
Updating files:  72% (522/724)
Updating files:  73% (529/724)
Updating files:  74% (536/724)
Updating files:  75% (543/724)
Updating files:  76% (551/724)
Updating files:  77% (558/724)
Updating files:  78% (565/724)
Updating files:  79% (572/724)
Updating files:  80% (580/724)
Updating files:  81% (587/724)
Updating files:  82% (594/724)
Updating files:  83% (601/724)
Updating files:  84% (609/724)
Updating files:  85% (616/724)
Updating files:  86% (623/724)
Updating files:  87% (630/724)
Updating files:  88% (638/724)
Updating files:  89% (645/724)
Updating files:  90% (652/724)
Updating files:  91% (659/724)
Updating files:  92% (667/724)
Updating files:  93% (674/724)
Updating files:  94% (681/724)
Updating files:  95% (688/724)
Updating files:  96% (696/724)
Updating files:  97% (703/724)
Updating files:  98% (710/724)
Updating files:  99% (717/724)
Updating files: 100% (724/724)
Updating files: 100% (724/724), done.
Cloned https://github.com/OpenCow42/swift-wasmtime.git
Revision (git rev-parse @):
323a7481f0509161ff19e9d202bf848c6f187794
SUCCESS checkout https://github.com/OpenCow42/swift-wasmtime.git at 48.0.5
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/OpenCow42/swift-wasmtime.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344845-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:wasm-6.3-latest swift build --swift-sdk swift-6.3.2-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from saguaro1/spi-images
Digest: sha256:11aa8e4a9dbcd813ae44128d01e945c51d260b4dfda77b6bb7d997d0cc236164
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.3-latest
Building for debugging...
[0/3] Write sources
[1/3] Compiling shim.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/18] Compiling Wasmtime RuntimeLibrary.swift
[5/18] Compiling Wasmtime Store.swift
[6/18] Compiling Wasmtime ExternMetadata.swift
[7/18] Compiling Wasmtime Functions.swift
[8/18] Compiling Wasmtime ModulesComponents.swift
[9/18] Compiling Wasmtime Runtime.swift
[10/18] Compiling Wasmtime Linker.swift
[11/18] Compiling Wasmtime Memory.swift
[12/18] Compiling Wasmtime Configuration.swift
[13/18] Compiling Wasmtime Diagnostics.swift
[14/18] Emitting module Wasmtime
[15/18] Compiling Wasmtime GlobalsTables.swift
[16/18] Compiling Wasmtime Instances.swift
[17/19] Compiling Wasmtime Support.swift
[18/19] Compiling Wasmtime Values.swift
error: compile command failed due to signal 6 (use -v to see invocation)
<unknown>:0: error: fatal error encountered during compilation; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
<unknown>:0: note: Functions with 'no-prototype' attribute must take varargs: wasi_config_new
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/wasm32-unknown-wasip1/debug/Wasmtime.build/Wasi.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Wasmtime.build/Wasi.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Wasmtime.build/Wasi.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/ModuleCache -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -enable-experimental-feature StrictConcurrency -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc -fmodule-map-file=/host/spi-builder-workspace/Sources/CWasmtime/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/CWasmtime/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.3.2-RELEASE_wasm.artifactbundle/swift-6.3.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xcc -g -no-auto-bridging-header-chaining -module-name Wasmtime -package-name spi_builder_workspace -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/wasm32-unknown-wasip1/debug/Wasmtime.build/Wasi.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/index/store -index-system-modules
1.	Swift version 6.3.2 (swift-6.3.2-RELEASE)
2.	Compiling with the current language version
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Wasmtime.build/Wasi.swift.o'.
 #0 0x000056c747cdcce8 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x730ece8)
 #1 0x000056c747cda7c5 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x730c7c5)
 #2 0x000056c747cdda51 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x000075b8d775b330 (/lib/x86_64-linux-gnu/libc.so.6+0x45330)
 #4 0x000075b8d77b4b2c pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9eb2c)
 #5 0x000075b8d775b27e raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527e)
 #6 0x000075b8d773e8ff abort (/lib/x86_64-linux-gnu/libc.so.6+0x288ff)
 #7 0x000056c7416017af (/usr/bin/swift-frontend+0xc337af)
 #8 0x000056c747c37056 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/swift-frontend+0x7269056)
 #9 0x000056c743d1222c (anonymous namespace)::WebAssemblyAddMissingPrototypes::runOnModule(llvm::Module&) WebAssemblyAddMissingPrototypes.cpp:0:0
#10 0x000056c7479c274b llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/swift-frontend+0x6ff474b)
#11 0x000056c74175b659 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+0xd8d659)
#12 0x000056c74175aee6 swift::performLLVM(swift::IRGenOptions const&, swift::DiagnosticEngine&, llvm::sys::SmartMutex<false>*, llvm::GlobalVariable*, llvm::Module*, llvm::TargetMachine*, llvm::StringRef, llvm::vfs::OutputBackend&, swift::UnifiedStatsReporter*) (/usr/bin/swift-frontend+0xd8cee6)
#13 0x000056c74132651d generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) FrontendTool.cpp:0:0
#14 0x000056c74131f8f4 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*>) FrontendTool.cpp:0:0
#15 0x000056c74131e116 swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0x950116)
#16 0x000056c741322f87 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#17 0x000056c74132057f swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0x95257f)
#18 0x000056c7410a59aa swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x6d79aa)
#19 0x000075b8d77401ca (/lib/x86_64-linux-gnu/libc.so.6+0x2a1ca)
#20 0x000075b8d774028b __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28b)
#21 0x000056c7410a4115 _start (/usr/bin/swift-frontend+0x6d6115)
*** Signal 6: Backtracing from 0x75b8d783d28d... done ***
*** Program crashed: Aborted at 0x0000000000000091 ***
Platform: x86_64 Linux (Ubuntu 24.04.4 LTS)
Thread 0 "swift-frontend" crashed:
  0  0x000075b8d783d28d <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x000075b8d783d28d  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 5b bb 0d 00  H=·ðÿÿs·ÃH··[»··
rbx 0x0000000000000006  6
rsi 0x0000000000000091  145
rdi 0x0000000000000091  145
rbp 0x0000000000000091  145
rsp 0x000056c751c83068  7b da cd 47 c7 56 00 00 f0 32 c8 51 c7 56 00 00  {ÚÍGÇV··ð2ÈQÇV··
 r8 0x000056c751c832f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x000056c751c832f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x000056c751c832f0  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 0x000056c751c83078  01 03 01 00 00 00 00 00 40 36 f0 00 00 00 00 00  ········@6ð·····
rip 0x000075b8d783d28d  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 5b bb 0d 00  H=·ðÿÿs·ÃH··[»··
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (26 omitted):
0x000075b8d7716000–0x000075b8d78c5d39 8e9fd827446c24067541ac5390e6f527fb5947bb libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
BUILD FAILURE 6.3 wasm