Build Information
Failed to build IndexStore, reference main (7edb9a), with Swift 6.1 for Wasm on 2 Apr 2026 07:18:40 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/swift-index-store.git
Reference: main
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/MobileNativeFoundation/swift-index-store
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 7edb9a6 Expose symbol language in the Swift API (#83)
Cloned https://github.com/MobileNativeFoundation/swift-index-store.git
Revision (git rev-parse @):
7edb9a64e084ed64f83b84fb9269d3d1a20c0687
SUCCESS checkout https://github.com/MobileNativeFoundation/swift-index-store.git at main
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/MobileNativeFoundation/swift-index-store.git
https://github.com/MobileNativeFoundation/swift-index-store.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "IndexStore",
"name" : "IndexStore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "13.0"
}
],
"products" : [
{
"name" : "IndexStore",
"targets" : [
"IndexStore"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "CSwiftDemangle",
"targets" : [
"CSwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "SwiftDemangle",
"targets" : [
"SwiftDemangle"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "indexutil-export",
"targets" : [
"indexutil-export"
],
"type" : {
"executable" : null
}
},
{
"name" : "unnecessary-testable",
"targets" : [
"unnecessary-testable"
],
"type" : {
"executable" : null
}
},
{
"name" : "unused-imports",
"targets" : [
"unused-imports"
],
"type" : {
"executable" : null
}
},
{
"name" : "indexutil-annotate",
"targets" : [
"indexutil-annotate"
],
"type" : {
"executable" : null
}
},
{
"name" : "tycat",
"targets" : [
"tycat"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "unused_imports",
"module_type" : "SwiftTarget",
"name" : "unused-imports",
"path" : "Sources/unused-imports",
"product_memberships" : [
"unused-imports"
],
"sources" : [
"Reporters/JSONReporter.swift",
"Reporters/SedCommandReporter.swift",
"Reporters/UnusedImportReporter.swift",
"SourceFileWithUnusedImports.swift",
"UnusedImportStatement.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "unnecessary_testable",
"module_type" : "SwiftTarget",
"name" : "unnecessary-testable",
"path" : "Sources/unnecessary-testable",
"product_memberships" : [
"unnecessary-testable"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "tycat",
"module_type" : "SwiftTarget",
"name" : "tycat",
"path" : "Sources/tycat",
"product_memberships" : [
"tycat"
],
"sources" : [
"TypeGraph.swift",
"Xcode.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_export",
"module_type" : "SwiftTarget",
"name" : "indexutil-export",
"path" : "Sources/indexutil-export",
"product_memberships" : [
"indexutil-export"
],
"sources" : [
"TSVWriter.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "indexutil_annotate",
"module_type" : "SwiftTarget",
"name" : "indexutil-annotate",
"path" : "Sources/indexutil-annotate",
"product_memberships" : [
"indexutil-annotate"
],
"sources" : [
"Annotation.swift",
"main.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "executable"
},
{
"c99name" : "SwiftDemangleTests",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangleTests",
"path" : "Tests/SwiftDemangleTests",
"sources" : [
"SwiftDemangleTests.swift"
],
"target_dependencies" : [
"SwiftDemangle"
],
"type" : "test"
},
{
"c99name" : "SwiftDemangle",
"module_type" : "SwiftTarget",
"name" : "SwiftDemangle",
"path" : "Sources/SwiftDemangle",
"product_memberships" : [
"SwiftDemangle"
],
"sources" : [
"DemangledNode.swift",
"Demangler.swift"
],
"target_dependencies" : [
"CSwiftDemangle"
],
"type" : "library"
},
{
"c99name" : "IndexStoreTests",
"module_type" : "SwiftTarget",
"name" : "IndexStoreTests",
"path" : "Tests/IndexStoreTests",
"sources" : [
"DetermineIndexStorePath.swift",
"IndexStoreTests.swift",
"dummy.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "test"
},
{
"c99name" : "IndexStore",
"module_type" : "SwiftTarget",
"name" : "IndexStore",
"path" : "Sources/IndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"Constants.swift",
"IndexStore.swift",
"IndexStoreError.swift",
"StandardStream.swift",
"String+IndexStore.swift"
],
"target_dependencies" : [
"CIndexStore"
],
"type" : "library"
},
{
"c99name" : "CSwiftDemangle",
"module_type" : "ClangTarget",
"name" : "CSwiftDemangle",
"path" : "Sources/CSwiftDemangle",
"product_memberships" : [
"CSwiftDemangle",
"SwiftDemangle"
],
"sources" : [
"CSwiftDemangle.cpp"
],
"type" : "library"
},
{
"c99name" : "CIndexStore",
"module_type" : "ClangTarget",
"name" : "CIndexStore",
"path" : "Sources/CIndexStore",
"product_memberships" : [
"IndexStore",
"indexutil-export",
"unnecessary-testable",
"unused-imports",
"indexutil-annotate",
"tycat"
],
"sources" : [
"dummy.c"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/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 swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
Building for debugging...
[0/26] Write sources
[7/26] Compiling CIndexStore dummy.c
In file included from /host/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:12:
/host/spi-builder-workspace/Sources/CSwiftDemangle/include/CSwiftDemangle.h:5:10: fatal error: 'sys/cdefs.h' file not found
5 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[8/26] Compiling CSwiftDemangle CSwiftDemangle.cpp
[8/26] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:c3bd0c8eb125dea46564a1eb8b09ee779ba7ae350b1ee58b5e9d6ff6c39cef37
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.1-latest
[0/1] Planning build
Building for debugging...
[0/18] Write swift-version-24593BA9C3E375BF.txt
In file included from /host/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:12:
/host/spi-builder-workspace/Sources/CSwiftDemangle/include/CSwiftDemangle.h:5:10: fatal error: 'sys/cdefs.h' file not found
5 | #include <sys/cdefs.h>
| ^~~~~~~~~~~~~
1 error generated.
[1/24] Compiling CSwiftDemangle CSwiftDemangle.cpp
BUILD FAILURE 6.1 wasm