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.3.5 (7277ee), with Swift 6.1 for Android on 29 May 2025 11:39:12 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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/swift-server/swift-backtrace.git
Reference: 1.3.5
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
 * tag               1.3.5      -> FETCH_HEAD
HEAD is now at 7277ee0 Merge pull request #73 from euanh/do-not-build-demangle-after-5.9
Cloned https://github.com/swift-server/swift-backtrace.git
Revision (git rev-parse @):
7277ee0e0378d27465b304c668d8e914192d986f
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/swift-server/swift-backtrace.git at 1.3.5
========================================
Build
========================================
Selected platform:         android
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swift-server/swift-backtrace.git
https://github.com/swift-server/swift-backtrace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "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.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
Fetching https://github.com/apple/swift-docc-plugin
[1/2049] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin from cache (0.57s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (1.25s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3391] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.44s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.14s)
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
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.3
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/21] Compiling CBacktrace atomic.c
[3/21] Write sources
[4/21] Compiling CBacktrace simple.c
[5/21] Compiling CBacktrace print.c
[6/21] Compiling CBacktrace state.c
[7/21] Compiling CBacktrace sort.c
[8/21] Compiling CBacktrace posix.c
[9/21] Write sources
[10/21] Compiling CBacktrace fileline.c
[11/21] Compiling CBacktrace mmapio.c
[12/21] Compiling CBacktrace mmap.c
[13/21] Compiling CBacktrace dwarf.c
[14/21] Compiling CBacktrace elf.c
[15/21] Compiling CBacktrace backtrace.c
[16/21] Write swift-version-24593BA9C3E375BF.txt
[18/24] Compiling Backtrace Demangle.swift
[19/24] Emitting module Backtrace
[20/24] Compiling Backtrace Backtrace.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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/7] Write swift-version-24593BA9C3E375BF.txt
[4/10] Emitting module Backtrace
[5/10] Compiling Backtrace Backtrace.swift
[6/10] Compiling Backtrace Demangle.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[8/12] 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)
[9/12] 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.1 android