Build Information
Failed to build swiftui-math, reference main (cf7c70), with Swift 6.2 for Wasm on 12 Jan 2026 14:02:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/gonzalezreal/swiftui-math.git
Reference: main
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/gonzalezreal/swiftui-math
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at cf7c701 Update README.md
Cloned https://github.com/gonzalezreal/swiftui-math.git
Revision (git rev-parse @):
cf7c70153b4b3f23e2340c7487d883f4abec1775
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/gonzalezreal/swiftui-math.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/gonzalezreal/swiftui-math.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasip1 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e45aebddbd3fb4404abe9276e0d450e6fc2ef4836b534e79623bcca11b80d266
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
warning: multiple Swift SDKs match target triple `wasm32-unknown-wasip1` and host triple x86_64-unknown-linux-gnu, selected one at /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/embedded-swift-sdk.json
Fetching https://github.com/pointfreeco/swift-snapshot-testing
[1/15625] Fetching swift-snapshot-testing
Fetched https://github.com/pointfreeco/swift-snapshot-testing from cache (4.58s)
Computing version for https://github.com/pointfreeco/swift-snapshot-testing
Computed https://github.com/pointfreeco/swift-snapshot-testing at 1.18.7 (5.10s)
Fetching https://github.com/swiftlang/swift-syntax
Fetching https://github.com/pointfreeco/swift-custom-dump
[1/4744] Fetching swift-custom-dump
[4745/78270] Fetching swift-custom-dump, swift-syntax
Fetched https://github.com/pointfreeco/swift-custom-dump from cache (6.92s)
Fetched https://github.com/swiftlang/swift-syntax from cache (6.99s)
Computing version for https://github.com/pointfreeco/swift-custom-dump
Computed https://github.com/pointfreeco/swift-custom-dump at 1.3.3 (7.58s)
Fetching https://github.com/pointfreeco/xctest-dynamic-overlay
[1/5607] Fetching xctest-dynamic-overlay
Fetched https://github.com/pointfreeco/xctest-dynamic-overlay from cache (1.02s)
Computing version for https://github.com/swiftlang/swift-syntax
Computed https://github.com/swiftlang/swift-syntax at 602.0.0 (4.69s)
Computing version for https://github.com/pointfreeco/xctest-dynamic-overlay
Computed https://github.com/pointfreeco/xctest-dynamic-overlay at 1.8.1 (0.44s)
Creating working copy for https://github.com/pointfreeco/xctest-dynamic-overlay
Working copy of https://github.com/pointfreeco/xctest-dynamic-overlay resolved at 1.8.1
Creating working copy for https://github.com/pointfreeco/swift-custom-dump
Working copy of https://github.com/pointfreeco/swift-custom-dump resolved at 1.3.3
Creating working copy for https://github.com/swiftlang/swift-syntax
Working copy of https://github.com/swiftlang/swift-syntax resolved at 602.0.0
Creating working copy for https://github.com/pointfreeco/swift-snapshot-testing
Working copy of https://github.com/pointfreeco/swift-snapshot-testing resolved at 1.18.7
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/602.0.0/swift-6.2-RELEASE-MacroSupport-ubuntu_jammy_x86_64.tar.gz (0.78s)
Building for debugging...
[0/3] Write sources
[1/3] Copying mathFonts.bundle
[2/3] Write swift-version-24593BA9C3E375BF.txt
error: emit-module command failed due to signal 11 (use -v to see invocation)
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 -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /host/spi-builder-workspace/Sources/SwiftUIMath/Font.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/CGContext+DisplayNode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayAccent.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayFraction.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayGlyph.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayGlyphRun.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayLargeOperator.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayLine.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayList.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayNode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayProvider.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayRadical.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayShiftedNode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/DisplayTextRun.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/GraphicsContext+DisplayNode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Display/Typesetter.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Font/FontMetrics.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Font/FontRegistry.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Font/FontTable.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Font/PlatformFont.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/CGColor+HexString.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/KeyBox.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/ReadWriteLockIsolated.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/Unicode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/AtomFactory.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/AtomList.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Accent.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Color.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/ColorBox.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Fraction.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Inner.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/LargeOperator.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Overline.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Radical.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Space.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Style.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Table.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/TextColor.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Atoms/Underline.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Syntax/Parser.swift /host/spi-builder-workspace/Sources/SwiftUIMath/Math.swift /host/spi-builder-workspace/Sources/SwiftUIMath/RenderingMode.swift /host/spi-builder-workspace/Sources/SwiftUIMath/TypesettingStyle.swift /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftUIMath.build/DerivedSources/resource_bundle_accessor.swift -target wasm32-unknown-wasip1 -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.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_AVAILABLE -mergeable-symbols -enable-experimental-feature Embedded -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/swift.xctoolchain/usr/lib/swift -use-static-resource-dir -enable-anonymous-context-mangled-names -file-compilation-dir /host/spi-builder-workspace -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-6.2-RELEASE_wasm.artifactbundle/swift-6.2-RELEASE_wasm/wasm32-unknown-wasip1/WASI.sdk -Xcc -D__EMBEDDED_SWIFT__ -Xcc -g -no-auto-bridging-header-chaining -module-name SwiftUIMath -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 -emit-module-doc-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/SwiftUIMath.swiftdoc -emit-module-source-info-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/SwiftUIMath.swiftsourceinfo -emit-objc-header-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftUIMath.build/include/SwiftUIMath-Swift.h -serialize-diagnostics-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftUIMath.build/SwiftUIMath.emit-module.dia -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/SwiftUIMath.build/SwiftUIMath.emit-module.d -parse-as-library -o /host/spi-builder-workspace/.build/wasm32-unknown-wasip1/debug/Modules/SwiftUIMath.swiftmodule
1. Swift version 6.2 (swift-6.2-RELEASE)
2. Compiling with the current language version
3. While evaluating request TypeCheckPrimaryFileRequest(source_file "/host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/ReadWriteLockIsolated.swift")
4. While evaluating request TypeCheckFunctionBodyRequest(SwiftUIMath.(file).UnsafeMutablePointer extension.sync(work:)@/host/spi-builder-workspace/Sources/SwiftUIMath/Internal/Helpers/ReadWriteLockIsolated.swift:62:20)
#0 0x000055853984bb78 llvm::sys::PrintStackTrace(llvm::raw_ostream&, int) (/usr/bin/swift-frontend+0x72ebb78)
#1 0x000055853984995e llvm::sys::RunSignalHandlers() (/usr/bin/swift-frontend+0x72e995e)
#2 0x000055853984c211 SignalHandler(int, siginfo_t*, void*) Signals.cpp:0:0
#3 0x00007fbc08659520 (/lib/x86_64-linux-gnu/libc.so.6+0x42520)
#4 0x0000558534b1edbd swift::ProtocolConformanceRef::getProtocol() const (/usr/bin/swift-frontend+0x25bedbd)
#5 0x0000558534456bc1 (anonymous namespace)::ApplyClassifier::classifyApply(swift::ApplyExpr*, llvm::DenseSet<swift::Expr const*, llvm::DenseMapInfo<swift::Expr const*, void>>*) TypeCheckEffects.cpp:0:0
#6 0x0000558534455621 (anonymous namespace)::CheckEffectsCoverage::checkApply(swift::ApplyExpr*) TypeCheckEffects.cpp:0:0
#7 0x000055853445345e (anonymous namespace)::EffectsHandlingWalker<(anonymous namespace)::CheckEffectsCoverage>::walkToExprPre(swift::Expr*) TypeCheckEffects.cpp:0:0
#8 0x00005585348c86da swift::Expr::walk(swift::ASTWalker&) (/usr/bin/swift-frontend+0x23686da)
#9 0x0000558534455213 (anonymous namespace)::CheckEffectsCoverage::checkTry(swift::TryExpr*) TypeCheckEffects.cpp:0:0
#10 0x000055853445342e (anonymous namespace)::EffectsHandlingWalker<(anonymous namespace)::CheckEffectsCoverage>::walkToExprPre(swift::Expr*) TypeCheckEffects.cpp:0:0
#11 0x00005585348cd836 (anonymous namespace)::Traversal::visit(swift::Stmt*) ASTWalker.cpp:0:0
#12 0x00005585348cd7dc (anonymous namespace)::Traversal::visit(swift::Stmt*) ASTWalker.cpp:0:0
#13 0x00005585348c8781 swift::Stmt::walk(swift::ASTWalker&) (/usr/bin/swift-frontend+0x2368781)
#14 0x0000558534450f1f swift::TypeChecker::checkFunctionEffects(swift::AbstractFunctionDecl*) (/usr/bin/swift-frontend+0x1ef0f1f)
#15 0x00005585344cdd8e swift::TypeCheckFunctionBodyRequest::evaluate(swift::Evaluator&, swift::AbstractFunctionDecl*) const (/usr/bin/swift-frontend+0x1f6dd8e)
#16 0x00005585349e5865 swift::TypeCheckFunctionBodyRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()>(swift::TypeCheckFunctionBodyRequest const&, swift::TypeCheckFunctionBodyRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckFunctionBodyRequest>(swift::Evaluator&, swift::TypeCheckFunctionBodyRequest, swift::TypeCheckFunctionBodyRequest::OutputType)::'lambda'()) crtstuff.c:0:0
#17 0x00005585349529c3 swift::AbstractFunctionDecl::getTypecheckedBody() const (/usr/bin/swift-frontend+0x23f29c3)
#18 0x0000558534a9c86c swift::SourceFile::typeCheckDelayedFunctions() (/usr/bin/swift-frontend+0x253c86c)
#19 0x000055853450f359 swift::TypeCheckPrimaryFileRequest::evaluate(swift::Evaluator&, swift::SourceFile*) const (/usr/bin/swift-frontend+0x1faf359)
#20 0x0000558534510efe swift::TypeCheckPrimaryFileRequest::OutputType swift::Evaluator::getResultUncached<swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()>(swift::TypeCheckPrimaryFileRequest const&, swift::TypeCheckPrimaryFileRequest::OutputType swift::evaluateOrDefault<swift::TypeCheckPrimaryFileRequest>(swift::Evaluator&, swift::TypeCheckPrimaryFileRequest, swift::TypeCheckPrimaryFileRequest::OutputType)::'lambda'()) crtstuff.c:0:0
#21 0x000055853450f255 swift::performTypeChecking(swift::SourceFile&) (/usr/bin/swift-frontend+0x1faf255)
#22 0x000055853339f849 bool llvm::function_ref<bool (swift::SourceFile&)>::callback_fn<swift::CompilerInstance::performSema()::$_8>(long, swift::SourceFile&) Frontend.cpp:0:0
#23 0x00005585333955de swift::CompilerInstance::forEachFileToTypeCheck(llvm::function_ref<bool (swift::SourceFile&)>) (/usr/bin/swift-frontend+0xe355de)
#24 0x0000558533395507 swift::CompilerInstance::performSema() (/usr/bin/swift-frontend+0xe35507)
#25 0x00005585330dd9ba performCompile(swift::CompilerInstance&, int&, swift::FrontendObserver*) FrontendTool.cpp:0:0
#26 0x00005585330dcefa swift::performFrontend(llvm::ArrayRef<char const*>, char const*, void*, swift::FrontendObserver*) (/usr/bin/swift-frontend+0xb7cefa)
#27 0x0000558532e836da swift::mainEntry(int, char const**) (/usr/bin/swift-frontend+0x9236da)
#28 0x00007fbc08640d90 (/lib/x86_64-linux-gnu/libc.so.6+0x29d90)
#29 0x00007fbc08640e40 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x29e40)
#30 0x0000558532e82b35 _start (/usr/bin/swift-frontend+0x922b35)
*** Signal 11: Backtracing from 0x7fbc086ad9fc... done ***
*** Program crashed: Bad pointer dereference at 0x0000000000000237 ***
Platform: x86_64 Linux (Ubuntu 22.04.5 LTS)
Thread 0 "swift-frontend" crashed:
0 0x00007fbc086ad9fc <unknown> in libc.so.6
...
Registers:
rax 0x0000000000000000 0
rdx 0x00007fbc084fbf80 80 bf 4f 08 bc 7f 00 00 80 c9 4f 08 bc 7f 00 00 ·¿O·¼····ÉO·¼···
rcx 0x00007fbc086ad9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rbx 0x000000000000000b 11
rsi 0x0000000000000237 567
rdi 0x0000000000000237 567
rbp 0x0000000000000237 567
rsp 0x000055853e6a92e0 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
r8 0x000055853f546270 76 45 1d 67 80 55 00 00 1e 68 bc 34 d9 e6 19 a6 vE·g·U···h¼4Ùæ·¦
r9 0x0000000000000000 0
r10 0x00007fbc08626108 be 01 00 00 12 00 0f 00 60 24 04 00 00 00 00 00 ¾·······`$······
r11 0x0000000000000246 582
r12 0x000000000000000b 11
r13 0x0000000000000016 22
r14 0x0000000000000000 0
r15 0x000055853e6a93b8 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ················
rip 0x00007fbc086ad9fc 41 89 c5 41 f7 dd 3d 00 f0 ff ff b8 00 00 00 00 A·ÅA÷Ý=·ðÿÿ¸····
rflags 0x0000000000000246 ZF PF
cs 0x0033 fs 0x0000 gs 0x0000
Images (25 omitted):
0x00007fbc08617000–0x00007fbc087d33c1 4f7b0c955c3d81d7cac1501a2498b69d1d82bfe7 libc.so.6 /usr/lib/x86_64-linux-gnu/libc.so.6
Backtrace took 0.00s
BUILD FAILURE 6.2 wasm