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 pretty-print (c3d60f), with Swift 6.1 for Android on 28 May 2025 11:38:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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.1
Building package at path:  $PWD
https://github.com/natinusala/swift-backtrace.git
https://github.com/natinusala/swift-backtrace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swift-backtrace",
  "name" : "swift-backtrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "Backtrace",
      "targets" : [
        "Backtrace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "Sample",
      "targets" : [
        "Sample"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "Sample",
      "module_type" : "SwiftTarget",
      "name" : "Sample",
      "path" : "Sources/Sample",
      "product_memberships" : [
        "Sample"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "Backtrace"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "CBacktrace",
      "module_type" : "ClangTarget",
      "name" : "CBacktrace",
      "path" : "Sources/CBacktrace",
      "product_memberships" : [
        "Backtrace",
        "Sample"
      ],
      "sources" : [
        "atomic.c",
        "backtrace.c",
        "dwarf.c",
        "elf.c",
        "fileline.c",
        "mmap.c",
        "mmapio.c",
        "posix.c",
        "print.c",
        "simple.c",
        "sort.c",
        "state.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "BacktraceTests",
      "module_type" : "SwiftTarget",
      "name" : "BacktraceTests",
      "path" : "Tests/BacktraceTests",
      "sources" : [
        "BacktraceTests+XCTest.swift",
        "BacktraceTests.swift"
      ],
      "target_dependencies" : [
        "Backtrace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "Backtrace",
      "module_type" : "SwiftTarget",
      "name" : "Backtrace",
      "path" : "Sources/Backtrace",
      "product_memberships" : [
        "Backtrace",
        "Sample"
      ],
      "sources" : [
        "Backtrace.swift",
        "Demangle.swift"
      ],
      "target_dependencies" : [
        "CBacktrace"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 -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
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
Building for debugging...
[0/19] Write sources
[1/19] Compiling CBacktrace sort.c
[2/19] Compiling CBacktrace atomic.c
[2/19] Compiling CBacktrace state.c
[4/19] Compiling CBacktrace simple.c
[5/19] Compiling CBacktrace mmap.c
[6/19] Compiling CBacktrace mmapio.c
[7/19] Write sources
[8/19] Compiling CBacktrace print.c
[9/19] Compiling CBacktrace fileline.c
[10/19] Compiling CBacktrace posix.c
[11/19] Compiling CBacktrace dwarf.c
[12/19] Compiling CBacktrace elf.c
[13/19] Compiling CBacktrace backtrace.c
[14/19] Write swift-version-24593BA9C3E375BF.txt
[16/22] Emitting module Backtrace
[17/22] Compiling Backtrace Backtrace.swift
[18/22] Compiling Backtrace Demangle.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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:android-6.1-latest swift build --swift-sdk aarch64-unknown-linux-android24 2>&1
android-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:fe1962677657b2408c217cb5cceb3c09bc1d91486e360cebbc6eee461a5945d8
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:android-6.1-latest
[0/1] Planning build
Building for debugging...
[0/5] Write swift-version-24593BA9C3E375BF.txt
[2/8] Compiling Backtrace Demangle.swift
[3/8] Compiling Backtrace Backtrace.swift
[4/8] Emitting module Backtrace
error: emit-module command failed with exit code 1 (use -v to see invocation)
[6/10] 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)
[7/10] 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.1 android