Build Information
Failed to build Thales, reference main (77952d), with Swift 6.1 for Wasm on 9 Apr 2026 21:24:26 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ChrisGVE/thales.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/ChrisGVE/thales
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 77952dd Merge branch 'dev'
Cloned https://github.com/ChrisGVE/thales.git
Revision (git rev-parse @):
77952ddd4adb104a91e2f2e7d94a9c23a6f6c122
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/ChrisGVE/thales.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/ChrisGVE/thales.git
https://github.com/ChrisGVE/thales.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
],
"manifest_display_name" : "Thales",
"name" : "Thales",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
},
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "Thales",
"targets" : [
"Thales"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "ThalesBridge",
"module_type" : "ClangTarget",
"name" : "ThalesBridge",
"path" : "swift/Sources/ThalesBridge",
"product_memberships" : [
"Thales"
],
"sources" : [
"shim.c"
],
"type" : "library"
},
{
"c99name" : "Thales",
"module_type" : "SwiftTarget",
"name" : "Thales",
"path" : "swift/Sources/Thales",
"product_memberships" : [
"Thales"
],
"sources" : [
"SwiftBridgeCore.swift",
"ThalesWrapper.swift",
"thales.swift"
],
"target_dependencies" : [
"ThalesBridge"
],
"type" : "library"
}
],
"tools_version" : "5.9"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/3] Write sources
[1/3] Compiling ThalesBridge shim.c
[2/3] Write swift-version-24593BA9C3E375BF.txt
[4/7] Compiling Thales thales.swift
[5/7] Compiling Thales ThalesWrapper.swift
[6/7] Emitting module Thales
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: __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/swift/Sources/Thales/SwiftBridgeCore.swift /host/spi-builder-workspace/swift/Sources/Thales/ThalesWrapper.swift /host/spi-builder-workspace/swift/Sources/Thales/thales.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Thales.build/SwiftBridgeCore.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Thales.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/.build/wasm32-unknown-wasi/debug/ThalesBridge.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/swift/Sources/ThalesBridge/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 Thales -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/Thales.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/Thales.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 0x0000556cced47c08
1 swift-frontend 0x0000556cced459ee
2 swift-frontend 0x0000556cced482a8
3 libc.so.6 0x00007f5ca794a520
4 libc.so.6 0x00007f5ca799e9fc pthread_kill + 300
5 libc.so.6 0x00007f5ca794a476 raise + 22
6 libc.so.6 0x00007f5ca79307f3 abort + 211
7 swift-frontend 0x0000556cc8da645e
8 swift-frontend 0x0000556cceca7549
9 swift-frontend 0x0000556ccb2a930c
10 swift-frontend 0x0000556cceb69f45
11 swift-frontend 0x0000556cc8ee5296
12 swift-frontend 0x0000556cc8ee4ad4
13 swift-frontend 0x0000556cc8b0f142
14 swift-frontend 0x0000556cc8b0ac88
15 swift-frontend 0x0000556cc8b09997
16 swift-frontend 0x0000556cc8b0c2ba
17 swift-frontend 0x0000556cc8b0b713
18 swift-frontend 0x0000556cc88e886a
19 libc.so.6 0x00007f5ca7931d90
20 libc.so.6 0x00007f5ca7931e40 __libc_start_main + 128
21 swift-frontend 0x0000556cc88e7cc5
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-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/5] Compiling Thales ThalesWrapper.swift
[3/5] Emitting module Thales
error: compile command failed due to signal 6 (use -v to see invocation)
[4/5] Compiling Thales thales.swift
<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/swift/Sources/Thales/SwiftBridgeCore.swift /host/spi-builder-workspace/swift/Sources/Thales/ThalesWrapper.swift /host/spi-builder-workspace/swift/Sources/Thales/thales.swift -emit-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Thales.build/SwiftBridgeCore.d -emit-reference-dependencies-path /host/spi-builder-workspace/.build/wasm32-unknown-wasi/debug/Thales.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/.build/wasm32-unknown-wasi/debug/ThalesBridge.build/module.modulemap -Xcc -I -Xcc /host/spi-builder-workspace/swift/Sources/ThalesBridge/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 Thales -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/Thales.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/Thales.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 0x0000561bd8291c08
1 swift-frontend 0x0000561bd828f9ee
2 swift-frontend 0x0000561bd82922a8
3 libc.so.6 0x00007f74f6cb0520
4 libc.so.6 0x00007f74f6d049fc pthread_kill + 300
5 libc.so.6 0x00007f74f6cb0476 raise + 22
6 libc.so.6 0x00007f74f6c967f3 abort + 211
7 swift-frontend 0x0000561bd22f045e
8 swift-frontend 0x0000561bd81f1549
9 swift-frontend 0x0000561bd47f330c
10 swift-frontend 0x0000561bd80b3f45
11 swift-frontend 0x0000561bd242f296
12 swift-frontend 0x0000561bd242ead4
13 swift-frontend 0x0000561bd2059142
14 swift-frontend 0x0000561bd2054c88
15 swift-frontend 0x0000561bd2053997
16 swift-frontend 0x0000561bd20562ba
17 swift-frontend 0x0000561bd2055713
18 swift-frontend 0x0000561bd1e3286a
19 libc.so.6 0x00007f74f6c97d90
20 libc.so.6 0x00007f74f6c97e40 __libc_start_main + 128
21 swift-frontend 0x0000561bd1e31cc5
BUILD FAILURE 6.1 wasm