The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MathLex, reference v0.4.1 (d5d0f2), with Swift 6.4 for Wasm on 25 Sep 2026 08:46:46 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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/mathlex.git
Reference: v0.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/ChrisGVE/mathlex
 * tag               v0.4.1     -> FETCH_HEAD
HEAD is now at d5d0f28 chore: bump version to 0.4.1
Cloned https://github.com/ChrisGVE/mathlex.git
Revision (git rev-parse @):
d5d0f282340d06e787bc0c7a5460cbdd74df65b8
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisGVE/mathlex.git at v0.4.1
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ChrisGVE/mathlex.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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm 2>&1
wasm-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:4328fdb43c680d205c1d6761b1e3267aa38277eefdda9ddfb17b6a0f1a77857a
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:wasm-6.4-latest
Building for debugging...
[Pre-planning 1 / 125]
[25 / 41] MathLexRust
[29 / 44] MathLexRust
/host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift:24:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
  22 |   }
  23 | }
  24 | extension RustStr: Identifiable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  25 |   public var id: String {
  26 |     self.toString()
/host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift:29:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
  27 |   }
  28 | }
  29 | extension RustStr: Equatable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  30 |   public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
  31 |     return __swift_bridge__$RustStr$partial_eq(lhs, rhs)
[42 / 47] MathLexRust
[42 / 47] MathLex
/host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift:24:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
  22 |   }
  23 | }
  24 | extension RustStr: Identifiable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Identifiable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  25 |   public var id: String {
  26 |     self.toString()
/host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift:29:1: warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
  27 |   }
  28 | }
  29 | extension RustStr: Equatable {
     | |- warning: extension declares a conformance of imported type 'RustStr' to imported protocol 'Equatable'; this will not behave correctly if the owners of 'MathLexBridge' introduce this conformance in the future
     | `- note: add '@retroactive' to silence this warning
  30 |   public static func == (lhs: RustStr, rhs: RustStr) -> Bool {
  31 |     return __swift_bridge__$RustStr$partial_eq(lhs, rhs)
<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: __swift_bridge__$Vec_u8$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 -primary-file /host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift /host/spi-builder-workspace/Sources/MathLexRust/mathlex.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 5 -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file=/host/spi-builder-workspace/Sources/MathLexBridge/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/MathLexBridge/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG=1 -no-auto-bridging-header-chaining -module-name MathLexRust -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/MathLexRust_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/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.o -index-unit-output-path /MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
1.	Swift version 6.4.2-dev (LLVM 15622a86b1749a9, Swift d2e983b81b18217)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.o'.
 #0 0x00006174cbcb3d98 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x8bb1d98)
 #1 0x00006174cbcb1585 llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x8baf585)
 #2 0x00006174cbcb4b41 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
 #3 0x0000773828484520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
 #4 0x00007738284d89bc pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x969bc)
 #5 0x0000773828484476 gsignal (/lib/x86_64-linux-gnu/libc.so.6+0x42476)
 #6 0x000077382846a7f3 abort (/lib/x86_64-linux-gnu/libc.so.6+0x287f3)
 #7 0x00006174c3eb91ab swift::DiagnosticHelper::Implementation::diagnoseFatalError(char const*, bool) crtstuff.c:0:0
 #8 0x00006174cbc00466 llvm::report_fatal_error(llvm::Twine const&, bool) (/usr/bin/swift-frontend+0x8afe466)
 #9 0x00006174c6e689ac (/usr/bin/swift-frontend+0x3d669ac)
#10 0x00006174cb9313cc llvm::legacy::PassManagerImpl::run(llvm::Module&) (/usr/bin/swift-frontend+0x882f3cc)
#11 0x00006174c40141d1 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+0xf121d1)
#12 0x00006174c401340b 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+0xf1140b)
#13 0x00006174c3b2276d generateCode(swift::CompilerInstance&, llvm::StringRef, llvm::Module*, llvm::GlobalVariable*) FrontendTool.cpp:0:0
#14 0x00006174c3b1a961 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 0x00006174c3b18c4f swift::performCompileStepsPostSema(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) (/usr/bin/swift-frontend+0xa16c4f)
#16 0x00006174c3b30fda withSemanticAnalysis(swift::CompilerInstance&, swift::FrontendObserver*, llvm::function_ref<bool (swift::CompilerInstance&)>, bool) FrontendTool.cpp:0:0
#17 0x00006174c3b1eaa9 performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*, llvm::ArrayRef<char const*>) FrontendTool.cpp:0:0
#18 0x00006174c3b1b6ee swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xa196ee)
#19 0x00006174c3833ba8 swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x731ba8)
#20 0x000077382846bd90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#21 0x000077382846be40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#22 0x00006174c3832a65 _start (/usr/bin/swift-frontend+0x730a65)
*** Signal 6: Backtracing from 0x7738285609dd... done ***
*** Program crashed: Aborted at 0x00007738285609dd ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0  0x00007738285609dd <unknown> in libc.so.6
Registers:
rax 0x0000000000000000  0
rdx 0x0000000000000006  6
rcx 0x00007738285609dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rbx 0x0000000000000006  6
rsi 0x0000000000000063  99
rdi 0x0000000000000063  99
rbp 0x0000000000000063  99
rsp 0x000061750f426068  6b 4b cb cb 74 61 00 00 f0 62 42 0f 75 61 00 00  kKËËta··ðbB·ua··
 r8 0x000061750f4262f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
 r9 0x000061750f4262f0  06 00 00 00 00 00 00 00 fa ff ff ff 00 00 00 00  ········úÿÿÿ····
r10 0x000061750f4262f0  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 0x000061750f426078  01 03 01 00 00 00 00 00 6d 43 ec 00 00 00 00 00  ········mCì·····
rip 0x00007738285609dd  48 3d 01 f0 ff ff 73 01 c3 48 8b 0d 23 b4 0f 00  H=·ðÿÿs·ÃH··#´··
rflags 0x0000000000000246  ZF PF
cs 0x0033  fs 0x0000  gs 0x0000
Images (27 omitted):
0x0000773828442000–0x00007738285fe401 6a6cb5a80fd5e5bb5bf3aeaa111add98e88843a5 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 -primary-file /host/spi-builder-workspace/Sources/MathLexRust/SwiftBridgeCore.swift /host/spi-builder-workspace/Sources/MathLexRust/mathlex.swift -emit-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.d -emit-const-values-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.swiftconstvalues -emit-reference-dependencies-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.swiftdeps -serialize-diagnostics-path /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.dia -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/WASI.sdk -sysroot /root/.swiftpm/swift-sdks/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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 5 -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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_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.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm.artifactbundle/swift-6.4.x-DEVELOPMENT-SNAPSHOT-2026-09-04-a_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift_static/clang -Xcc -fmodule-map-file\=/host/spi-builder-workspace/Sources/MathLexBridge/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/MathLexBridge/include -Xcc -I/host/spi-builder-workspace/.build/out/Products/Debug-webassembly-wasm32/include -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources-normal/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources/wasm32 -Xcc -I/host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name MathLexRust -package-name spi_builder_workspace -const-gather-protocols-file /host/spi-builder-workspace/.build/out/Intermediates.noindex/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/MathLexRust_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/MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.o -index-unit-output-path /MathLex.build/Debug-webassembly-wasm32/MathLexRust-t.build/Objects-normal/wasm32/SwiftBridgeCore.o -index-store-path /host/spi-builder-workspace/.build/out -index-system-modules
error: Build failed
BUILD FAILURE 6.4 wasm