Build Information
Failed to build SwiftBacktrace, reference 1.0.1 (1b4bbe
), with Swift 6.1 for Wasm on 27 May 2025 09:25:55 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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: 1.0.1
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
* tag 1.0.1 -> FETCH_HEAD
HEAD is now at 1b4bbe8 Merge pull request #19 from norio-nomura/revert-#18
Cloned https://github.com/norio-nomura/swiftbacktrace.git
Revision (git rev-parse @):
1b4bbe87c19d5e2e04786d8140ab36fec4b7881b
SUCCESS checkout https://github.com/norio-nomura/swiftbacktrace.git at 1.0.1
========================================
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-0":/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.65s)
Computing version for https://github.com/apple/swift-nio.git
Computed https://github.com/apple/swift-nio.git at 2.83.0 (9.18s)
Fetching https://github.com/apple/swift-atomics.git
Fetching https://github.com/apple/swift-system.git
Fetching https://github.com/apple/swift-collections.git
[1/4391] Fetching swift-system
[2724/6101] Fetching swift-system, swift-atomics
Fetched https://github.com/apple/swift-system.git from cache (0.37s)
[1/16591] Fetching swift-collections
Fetched https://github.com/apple/swift-atomics.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.34s)
Computing version for https://github.com/apple/swift-system.git
Computed https://github.com/apple/swift-system.git at 1.4.2 (1.31s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.0 (0.82s)
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
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-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
Building for debugging...
[0/7] Write sources
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.
[2/7] Compiling CSwiftBacktrace CSwiftBacktrace.cpp
[2/7] Compiling c-atomics.c
[2/7] Compiling c-nioatomics.c
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] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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/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] Compiling c-atomics.c
[0/5] Compiling c-nioatomics.c
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] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.1 wasm