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 SwiftBacktrace, reference master (2a865d), with Swift 6.1 for Wasm on 27 May 2025 09:25:44 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.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/norio-nomura/swiftbacktrace.git
Reference: master
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/norio-nomura/swiftbacktrace
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 2a865d3 [GitHub Actions] Update action-swiftlint to 3.0.1
Cloned https://github.com/norio-nomura/swiftbacktrace.git
Revision (git rev-parse @):
2a865d3d54cd36e637badc7a788133b8ddfc9b58
SUCCESS checkout https://github.com/norio-nomura/swiftbacktrace.git at master
========================================
Build
========================================
Selected platform:         wasm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/norio-nomura/swiftbacktrace.git
https://github.com/norio-nomura/swiftbacktrace.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "swift-nio",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "3.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-nio.git"
    }
  ],
  "manifest_display_name" : "SwiftBacktrace",
  "name" : "SwiftBacktrace",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SwiftBacktrace",
      "targets" : [
        "Clibunwind",
        "CSwiftBacktrace",
        "SwiftBacktrace"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "SwiftBacktraceTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktraceTests",
      "path" : "Tests/SwiftBacktraceTests",
      "sources" : [
        "SwiftBacktraceTests.swift",
        "XCTestManifests.swift"
      ],
      "target_dependencies" : [
        "SwiftBacktrace"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftBacktrace",
      "module_type" : "SwiftTarget",
      "name" : "SwiftBacktrace",
      "path" : "Sources/SwiftBacktrace",
      "product_dependencies" : [
        "NIOConcurrencyHelpers"
      ],
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "BacktraceFormatter.swift",
        "Demangle.swift",
        "DynamicLinkLibrary.swift",
        "String+extension.swift",
        "SwiftBacktrace.swift",
        "Unwind.swift",
        "shim.swift",
        "sigaction.swift"
      ],
      "target_dependencies" : [
        "Clibunwind",
        "CSwiftBacktrace"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Clibunwind",
      "module_type" : "ClangTarget",
      "name" : "Clibunwind",
      "path" : "Sources/Clibunwind",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "Clibunwind.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwiftBacktrace",
      "module_type" : "ClangTarget",
      "name" : "CSwiftBacktrace",
      "path" : "Sources/CSwiftBacktrace",
      "product_memberships" : [
        "SwiftBacktrace"
      ],
      "sources" : [
        "CSwiftBacktrace.cpp"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-nio.git
[1/76042] Fetching swift-nio
Fetched https://github.com/apple/swift-nio.git from cache (5.51s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (8.16s)
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-collections.git
[1/1710] Fetching swift-atomics
[36/6101] Fetching swift-atomics, swift-system
[973/22692] Fetching swift-atomics, swift-system, swift-collections
Fetched https://github.com/apple/swift-atomics.git from cache (0.57s)
[8705/20982] Fetching swift-system, swift-collections
Fetched https://github.com/apple/swift-system.git from cache (1.40s)
Fetched https://github.com/apple/swift-collections.git from cache (1.43s)
Computing version for https://github.com/apple/swift-atomics.git
Computed https://github.com/apple/swift-atomics.git at 1.2.0 (2.03s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (0.54s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (1.01s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-nio.git
Working copy of https://github.com/apple/swift-nio.git resolved at 2.83.0
Creating working copy for https://github.com/apple/swift-atomics.git
Working copy of https://github.com/apple/swift-atomics.git resolved at 1.2.0
Creating working copy for https://github.com/apple/swift-system.git
Working copy of https://github.com/apple/swift-system.git resolved at 1.4.2
Building for debugging...
[0/7] Write sources
In file included from /host/spi-builder-workspace/Sources/Clibunwind/Clibunwind.cpp:1:
/host/spi-builder-workspace/Sources/Clibunwind/include/Clibunwind.h:33:3: error: "Unsupported arch"
   33 | # error "Unsupported arch"
      |   ^
1 error generated.
[2/7] Compiling Clibunwind Clibunwind.cpp
[2/7] Compiling c-atomics.c
[2/7] Compiling CSwiftBacktrace CSwiftBacktrace.cpp
[2/7] Compiling c-nioatomics.c
[2/7] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-3":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:059e0fdbe549369b902c0d423739510ddee50a4a70258d1404125eb9394ef31c
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/Clibunwind/Clibunwind.cpp:1:
/host/spi-builder-workspace/Sources/Clibunwind/include/Clibunwind.h:33:3: error: "Unsupported arch"
   33 | # error "Unsupported arch"
      |   ^
1 error generated.
[0/5] Compiling Clibunwind Clibunwind.cpp
[0/5] Compiling c-nioatomics.c
[0/5] Compiling c-atomics.c
In file included from /host/spi-builder-workspace/Sources/CSwiftBacktrace/CSwiftBacktrace.cpp:3:
/host/spi-builder-workspace/Sources/CSwiftBacktrace/include/CSwiftBacktrace.h:3:10: fatal error: 'execinfo.h' file not found
    3 | #include <execinfo.h>
      |          ^~~~~~~~~~~~
1 error generated.
[0/5] Compiling CSwiftBacktrace CSwiftBacktrace.cpp
[0/5] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm