Build Information
Failed to build swift-backtrace, reference main (f01e34
), with Swift 6.2 (beta) for Wasm on 21 Jun 2025 16:53:13 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swift-server/swift-backtrace.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/swift-server/swift-backtrace
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at f01e340 Update README.md for archiving
Cloned https://github.com/swift-server/swift-backtrace.git
Revision (git rev-parse @):
f01e3400ae083e9c28be5c86f53d7b7b0b0478da
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-backtrace.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.2
Building package at path: $PWD
https://github.com/swift-server/swift-backtrace.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:44384f43f933eaa0f42803e9ef7c3d8388c5841ccc831a15a5edf63d8c273423
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.2-latest
Fetching https://github.com/apple/swift-docc-plugin
[1/2082] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.4 (1.18s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3414] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.49s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.09s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.4
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Write sources
[3/21] Compiling CBacktrace mmapio.c
[4/21] Compiling CBacktrace mmap.c
[5/21] Compiling CBacktrace state.c
[6/21] Compiling CBacktrace simple.c
[6/21] Compiling CBacktrace sort.c
[8/21] Compiling CBacktrace print.c
[9/21] Write sources
[10/21] Compiling CBacktrace posix.c
[11/21] Compiling CBacktrace elf.c
[12/21] Compiling CBacktrace dwarf.c
[13/21] Compiling CBacktrace atomic.c
[14/21] Compiling CBacktrace backtrace.c
[15/21] Compiling CBacktrace fileline.c
[15/21] Write swift-version-24593BA9C3E375BF.txt
[18/24] Emitting module Backtrace
[19/24] Compiling Backtrace Backtrace.swift
[20/24] Compiling Backtrace Demangle.swift
[21/25] Wrapping AST for Backtrace for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[23/27] Emitting module Sample
/host/spi-builder-workspace/Sources/Sample/main.swift:35:17: error: cannot find 'SIGILL' in scope
33 | switch reason.uppercased() {
34 | case "SIGILL":
35 | raiseSignal(SIGILL)
| `- error: cannot find 'SIGILL' in scope
36 | case "SIGSEGV":
37 | raiseSignal(SIGSEGV)
/host/spi-builder-workspace/Sources/Sample/main.swift:37:17: error: cannot find 'SIGSEGV' in scope
35 | raiseSignal(SIGILL)
36 | case "SIGSEGV":
37 | raiseSignal(SIGSEGV)
| `- error: cannot find 'SIGSEGV' in scope
38 | case "SIGBUS":
39 | raiseSignal(SIGBUS)
/host/spi-builder-workspace/Sources/Sample/main.swift:39:17: error: cannot find 'SIGBUS' in scope
37 | raiseSignal(SIGSEGV)
38 | case "SIGBUS":
39 | raiseSignal(SIGBUS)
| `- error: cannot find 'SIGBUS' in scope
40 | case "SIGFPE":
41 | raiseSignal(SIGFPE)
/host/spi-builder-workspace/Sources/Sample/main.swift:41:17: error: cannot find 'SIGFPE' in scope
39 | raiseSignal(SIGBUS)
40 | case "SIGFPE":
41 | raiseSignal(SIGFPE)
| `- error: cannot find 'SIGFPE' in scope
42 | default:
43 | fatalError(reason)
[24/27] Compiling Sample main.swift
/host/spi-builder-workspace/Sources/Sample/main.swift:35:17: error: cannot find 'SIGILL' in scope
33 | switch reason.uppercased() {
34 | case "SIGILL":
35 | raiseSignal(SIGILL)
| `- error: cannot find 'SIGILL' in scope
36 | case "SIGSEGV":
37 | raiseSignal(SIGSEGV)
/host/spi-builder-workspace/Sources/Sample/main.swift:37:17: error: cannot find 'SIGSEGV' in scope
35 | raiseSignal(SIGILL)
36 | case "SIGSEGV":
37 | raiseSignal(SIGSEGV)
| `- error: cannot find 'SIGSEGV' in scope
38 | case "SIGBUS":
39 | raiseSignal(SIGBUS)
/host/spi-builder-workspace/Sources/Sample/main.swift:39:17: error: cannot find 'SIGBUS' in scope
37 | raiseSignal(SIGSEGV)
38 | case "SIGBUS":
39 | raiseSignal(SIGBUS)
| `- error: cannot find 'SIGBUS' in scope
40 | case "SIGFPE":
41 | raiseSignal(SIGFPE)
/host/spi-builder-workspace/Sources/Sample/main.swift:41:17: error: cannot find 'SIGFPE' in scope
39 | raiseSignal(SIGBUS)
40 | case "SIGFPE":
41 | raiseSignal(SIGFPE)
| `- error: cannot find 'SIGFPE' in scope
42 | default:
43 | fatalError(reason)
/host/spi-builder-workspace/Sources/Sample/main.swift:29:5: error: cannot find 'raise' in scope
27 |
28 | func raiseSignal(_ signal: Int32) {
29 | raise(signal)
| `- error: cannot find 'raise' in scope
30 | }
31 |
BUILD FAILURE 6.2 wasm