Build Information
Failed to build swift-backtrace, reference pretty-print (c3d60f
), with Swift 6.2 (beta) for Android on 19 Jun 2025 21:57:36 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 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: pretty-print
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
* branch pretty-print -> FETCH_HEAD
* [new branch] pretty-print -> origin/pretty-print
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 pretty-print
========================================
Build
========================================
Selected platform: android
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-4609320-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.2-latest swift build --swift-sdk aarch64-unknown-linux-android28 2>&1
android-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:b7c4a6b4153ff40ef9277e2157e708f835b8eb011095d53bd8db4594eb2b7798
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.2-latest
Building for debugging...
[0/19] Compiling CBacktrace print.c
[1/19] Compiling CBacktrace mmap.c
[1/19] Write sources
[3/19] Compiling CBacktrace posix.c
[4/19] Compiling CBacktrace mmapio.c
[5/19] Compiling CBacktrace fileline.c
[6/19] Compiling CBacktrace backtrace.c
[6/19] Write sources
[8/19] Compiling CBacktrace sort.c
[9/19] Compiling CBacktrace state.c
[9/19] Compiling CBacktrace atomic.c
[11/19] Compiling CBacktrace simple.c
[12/19] Write swift-version-8C5A4AE7A8CE2BA.txt
[13/19] Compiling CBacktrace elf.c
[14/19] Compiling CBacktrace dwarf.c
[16/22] Compiling Backtrace Backtrace.swift
[17/22] Emitting module Backtrace
[18/22] Compiling Backtrace Demangle.swift
[19/25] 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 android