The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build swift-backtrace, reference 1.0.0 (c3d60f), with Swift 6.2 (beta) for Wasm on 19 Jun 2025 21:57:41 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/natinusala/swift-backtrace.git
Reference: 1.0.0
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/natinusala/swift-backtrace
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at c3d60fe Surround the function name in red
Cloned https://github.com/natinusala/swift-backtrace.git
Revision (git rev-parse @):
c3d60fe020e980902994397d87f54c34b8937787
SUCCESS checkout https://github.com/natinusala/swift-backtrace.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/natinusala/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
Building for debugging...
[0/19] Compiling CBacktrace elf.c
[0/19] Write sources
[2/19] Compiling CBacktrace dwarf.c
[3/19] Compiling CBacktrace posix.c
[4/19] Compiling CBacktrace fileline.c
[5/19] Compiling CBacktrace mmap.c
[6/19] Compiling CBacktrace atomic.c
[7/19] Write sources
[8/19] Compiling CBacktrace state.c
[9/19] Compiling CBacktrace sort.c
[10/19] Compiling CBacktrace simple.c
[11/19] Compiling CBacktrace print.c
[12/19] Compiling CBacktrace mmapio.c
[13/19] Compiling CBacktrace backtrace.c
[13/19] Write swift-version-24593BA9C3E375BF.txt
[16/22] Compiling Backtrace Demangle.swift
[17/22] Emitting module Backtrace
[18/22] Compiling Backtrace Backtrace.swift
[19/23] Wrapping AST for Backtrace for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[21/25] Emitting module Sample
/host/spi-builder-workspace/Sources/Sample/main.swift:31:17: error: cannot find 'SIGILL' in scope
29 | switch reason.uppercased() {
30 | case "SIGILL":
31 |     raiseSignal(SIGILL)
   |                 `- error: cannot find 'SIGILL' in scope
32 | case "SIGSEGV":
33 |     raiseSignal(SIGSEGV)
/host/spi-builder-workspace/Sources/Sample/main.swift:33:17: error: cannot find 'SIGSEGV' in scope
31 |     raiseSignal(SIGILL)
32 | case "SIGSEGV":
33 |     raiseSignal(SIGSEGV)
   |                 `- error: cannot find 'SIGSEGV' in scope
34 | case "SIGBUS":
35 |     raiseSignal(SIGBUS)
/host/spi-builder-workspace/Sources/Sample/main.swift:35:17: error: cannot find 'SIGBUS' in scope
33 |     raiseSignal(SIGSEGV)
34 | case "SIGBUS":
35 |     raiseSignal(SIGBUS)
   |                 `- error: cannot find 'SIGBUS' in scope
36 | case "SIGFPE":
37 |     raiseSignal(SIGFPE)
/host/spi-builder-workspace/Sources/Sample/main.swift:37:17: error: cannot find 'SIGFPE' in scope
35 |     raiseSignal(SIGBUS)
36 | case "SIGFPE":
37 |     raiseSignal(SIGFPE)
   |                 `- error: cannot find 'SIGFPE' in scope
38 | default:
39 |     fatalError(reason)
[22/25] Compiling Sample main.swift
/host/spi-builder-workspace/Sources/Sample/main.swift:31:17: error: cannot find 'SIGILL' in scope
29 | switch reason.uppercased() {
30 | case "SIGILL":
31 |     raiseSignal(SIGILL)
   |                 `- error: cannot find 'SIGILL' in scope
32 | case "SIGSEGV":
33 |     raiseSignal(SIGSEGV)
/host/spi-builder-workspace/Sources/Sample/main.swift:33:17: error: cannot find 'SIGSEGV' in scope
31 |     raiseSignal(SIGILL)
32 | case "SIGSEGV":
33 |     raiseSignal(SIGSEGV)
   |                 `- error: cannot find 'SIGSEGV' in scope
34 | case "SIGBUS":
35 |     raiseSignal(SIGBUS)
/host/spi-builder-workspace/Sources/Sample/main.swift:35:17: error: cannot find 'SIGBUS' in scope
33 |     raiseSignal(SIGSEGV)
34 | case "SIGBUS":
35 |     raiseSignal(SIGBUS)
   |                 `- error: cannot find 'SIGBUS' in scope
36 | case "SIGFPE":
37 |     raiseSignal(SIGFPE)
/host/spi-builder-workspace/Sources/Sample/main.swift:37:17: error: cannot find 'SIGFPE' in scope
35 |     raiseSignal(SIGBUS)
36 | case "SIGFPE":
37 |     raiseSignal(SIGFPE)
   |                 `- error: cannot find 'SIGFPE' in scope
38 | default:
39 |     fatalError(reason)
/host/spi-builder-workspace/Sources/Sample/main.swift:25:5: error: cannot find 'raise' in scope
23 |
24 | func raiseSignal(_ signal: Int32) {
25 |     raise(signal)
   |     `- error: cannot find 'raise' in scope
26 | }
27 |
BUILD FAILURE 6.2 wasm