The Swift Package Index logo.Swift Package Index

Build Information

Failed to build MathLex, reference v0.4.1 (d5d0f2), with Swift 6.1 for Wasm on 2 May 2026 20:56:13 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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.1
Building package at path:  $PWD
https://github.com/ChrisGVE/mathlex.git
https://github.com/ChrisGVE/mathlex.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/4] Write sources
[2/4] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling MathLexBridge bridge.c
[5/7] Emitting module 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)
error: compile command failed due to signal 6 (use -v to see invocation)
[6/7] Compiling MathLexRust mathlex.swift
/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()
<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/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -stats-output-dir .stats -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -strict-concurrency=complete -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/MathLexBridge/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/MathLexBridge/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name MathLexRust -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-wasi/debug/MathLexRust.build/SwiftBridgeCore.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1.3 (swift-6.1.3-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x00005636918ddc08
1  swift-frontend 0x00005636918db9ee
2  swift-frontend 0x00005636918de2a8
3  libc.so.6      0x00007fcedd994520
4  libc.so.6      0x00007fcedd9e89fc pthread_kill + 300
5  libc.so.6      0x00007fcedd994476 raise + 22
6  libc.so.6      0x00007fcedd97a7f3 abort + 211
7  swift-frontend 0x000056368b93c45e
8  swift-frontend 0x000056369183d549
9  swift-frontend 0x000056368de3f30c
10 swift-frontend 0x00005636916fff45
11 swift-frontend 0x000056368ba7b296
12 swift-frontend 0x000056368ba7aad4
13 swift-frontend 0x000056368b6a5142
14 swift-frontend 0x000056368b6a0c88
15 swift-frontend 0x000056368b69f997
16 swift-frontend 0x000056368b6a22ba
17 swift-frontend 0x000056368b6a1713
18 swift-frontend 0x000056368b47e86a
19 libc.so.6      0x00007fcedd97bd90
20 libc.so.6      0x00007fcedd97be40 __libc_start_main + 128
21 swift-frontend 0x000056368b47dcc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-1":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:276d66a16377d3ee059b2e3429cbc1154d9f01e42871e5d702fd5d8b9044d93d
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-24593BA9C3E375BF.txt
[2/4] Compiling MathLexRust mathlex.swift
error: compile command failed due to signal 6 (use -v to see invocation)
[3/4] Emitting module 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)
/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()
<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/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.swiftdeps -target wasm32-unknown-wasi -disable-objc-interop -sdk /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -I /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Modules -enable-testing -g -debug-info-format=dwarf -dwarf-version=4 -module-cache-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/ModuleCache -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -empty-abi-descriptor -resource-dir /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/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/MathLexBridge/include/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/Sources/MathLexBridge/include -Xcc --sysroot -Xcc /root/.swiftpm/swift-sdks/swift-wasm-6.1-RELEASE-wasm32-unknown-wasi.artifactbundle/6.1-RELEASE-wasm32-unknown-wasi/wasm32-unknown-wasi/WASI.sdk -Xcc -g -module-name MathLexRust -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-wasi/debug/MathLexRust.build/SwiftBridgeCore.swift.o -index-store-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/index/store -index-system-modules
1.	Swift version 6.1.3 (swift-6.1.3-RELEASE)
2.	Compiling with effective version 5.10
3.	Running pass 'Add prototypes to prototypes-less functions' on module '/host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/MathLexRust.build/SwiftBridgeCore.swift.o'.
Stack dump without symbol names (ensure you have llvm-symbolizer in your PATH or set the environment var `LLVM_SYMBOLIZER_PATH` to point to it):
0  swift-frontend 0x0000563456aadc08
1  swift-frontend 0x0000563456aab9ee
2  swift-frontend 0x0000563456aae2a8
3  libc.so.6      0x00007f733e833520
4  libc.so.6      0x00007f733e8879fc pthread_kill + 300
5  libc.so.6      0x00007f733e833476 raise + 22
6  libc.so.6      0x00007f733e8197f3 abort + 211
7  swift-frontend 0x0000563450b0c45e
8  swift-frontend 0x0000563456a0d549
9  swift-frontend 0x000056345300f30c
10 swift-frontend 0x00005634568cff45
11 swift-frontend 0x0000563450c4b296
12 swift-frontend 0x0000563450c4aad4
13 swift-frontend 0x0000563450875142
14 swift-frontend 0x0000563450870c88
15 swift-frontend 0x000056345086f997
16 swift-frontend 0x00005634508722ba
17 swift-frontend 0x0000563450871713
18 swift-frontend 0x000056345064e86a
19 libc.so.6      0x00007f733e81ad90
20 libc.so.6      0x00007f733e81ae40 __libc_start_main + 128
21 swift-frontend 0x000056345064dcc5
BUILD FAILURE 6.1 wasm