Build Information
Failed to build IndexStore, reference develop (7c68a6
), with Swift 6.1 for Wasm on 30 May 2025 17:15:29 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/CheekyGhost-Labs/IndexStore.git
Reference: develop
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/CheekyGhost-Labs/IndexStore
* branch develop -> FETCH_HEAD
* [new branch] develop -> origin/develop
HEAD is now at 7c68a63 Updating Changelog for 3.2.0 release
Cloned https://github.com/CheekyGhost-Labs/IndexStore.git
Revision (git rev-parse @):
7c68a63869cdfc744470574f9f66d9669b9dc619
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CheekyGhost-Labs/IndexStore.git at develop
========================================
Build
========================================
Selected platform: wasm
Swift version: 6.1
Building package at path: $PWD
https://github.com/CheekyGhost-Labs/IndexStore.git
https://github.com/CheekyGhost-Labs/IndexStore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"dependencies" : [
{
"identity" : "indexstore-db",
"requirement" : {
"revision" : [
"swift-6.1-RELEASE"
]
},
"type" : "sourceControl",
"url" : "https://github.com/swiftlang/indexstore-db.git"
},
{
"identity" : "swift-tools-support-core",
"requirement" : {
"exact" : [
"0.7.1"
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-tools-support-core.git"
},
{
"identity" : "spimanifest",
"requirement" : {
"range" : [
{
"lower_bound" : "0.12.0",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/SwiftPackageIndex/SPIManifest.git"
}
],
"manifest_display_name" : "IndexStore",
"name" : "IndexStore",
"path" : "/host/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "11.0"
}
],
"products" : [
{
"name" : "IndexStore",
"targets" : [
"IndexStore"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "IndexStoreTests",
"module_type" : "SwiftTarget",
"name" : "IndexStoreTests",
"path" : "Tests/IndexStoreTests",
"resources" : [
{
"path" : "/host/spi-builder-workspace/Tests/IndexStoreTests/Configurations",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"IndexStore/IndexStoreTests.swift",
"IndexStore/SourceRoleTests.swift",
"IndexStoreQuery/IndexStoreQueryTests.swift",
"ProcessInfoExtensionTests.swift",
"Samples/Classes.swift",
"Samples/Colors.swift",
"Samples/EmptySource.swift",
"Samples/Enums.swift",
"Samples/Extensions.swift",
"Samples/Functions.swift",
"Samples/Inheritance.swift",
"Samples/InvocationTestCase.swift",
"Samples/Properties.swift",
"Samples/Protocols.swift",
"Samples/Relations.swift",
"Samples/RelationsRestricted.swift",
"Samples/SourceContents.swift",
"Samples/Structs.swift",
"Samples/Typealias.swift",
"SourceKindTests.swift",
"SourceLocationTests.swift",
"SourceResolvingErrorTests.swift",
"SourceSymbolCollectionTests.swift",
"SourceSymbolTests.swift",
"Utilities/AnyError.swift",
"Utilities/Logger+Tests.swift"
],
"target_dependencies" : [
"IndexStore"
],
"type" : "test"
},
{
"c99name" : "IndexStore",
"module_type" : "SwiftTarget",
"name" : "IndexStore",
"path" : "Sources/IndexStore",
"product_dependencies" : [
"SwiftToolsSupport-auto",
"IndexStoreDB"
],
"product_memberships" : [
"IndexStore"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/IndexStore/Resources/PrivacyInfo.xcprivacy",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"IndexStore.swift",
"Internal/Extensions/IndexStoreDB+Hashable.swift",
"Internal/Utilities/Logger+Defaults.swift",
"Internal/Utilities/ProcessInfo+Environment.swift",
"Internal/Utilities/Shell.swift",
"Public/Convenience/IndexStore+ClassConvenience.swift",
"Public/Convenience/IndexStore+ExtensionConvenience.swift",
"Public/Convenience/IndexStore+InvocationConvenience.swift",
"Public/Convenience/IndexStore+ProtocolConvenience.swift",
"Public/Convenience/IndexStore+References.swift",
"Public/Errors/SourceResolvingError.swift",
"Public/IndexStore+Configuration.swift",
"Public/IndexStoreQuery/IndexStoreQuery+Declarations.swift",
"Public/IndexStoreQuery/IndexStoreQuery+Extensions.swift",
"Public/IndexStoreQuery/IndexStoreQuery+Functions.swift",
"Public/IndexStoreQuery/IndexStoreQuery+Properties.swift",
"Public/IndexStoreQuery/IndexStoreQuery.swift",
"Public/SourceSymbol/SourceDetailsCollection.swift",
"Public/SourceSymbol/SourceKind.swift",
"Public/SourceSymbol/SourceLocation.swift",
"Public/SourceSymbol/SourceRole.swift",
"Public/SourceSymbol/SourceSymbol.swift",
"Public/Workspace/Workspace.swift"
],
"type" : "library"
}
],
"tools_version" : "6.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 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/swiftlang/indexstore-db.git
[1/5227] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.85s)
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/876] Fetching spimanifest
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.33s)
[1/6765] Fetching swift-tools-support-core
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.78s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.1 (2.06s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.85s)
Fetching https://github.com/jpsim/Yams.git
[1/10657] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.62s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.4.0 (2.98s)
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 0.19.0
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.1
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.4.0
Creating working copy for https://github.com/swiftlang/indexstore-db.git
Working copy of https://github.com/swiftlang/indexstore-db.git resolved at swift-6.1-RELEASE (54212fc)
[1/1] Compiling plugin ValidatorPlugin
Building for debugging...
[1/11] Write sources
[1/11] Copying PrivacyInfo.xcprivacy
[1/11] Write sources
[7/11] Compiling TSCclibc process.c
[8/11] Compiling TSCclibc libc.c
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/CIndexStoreDB/CIndexStoreDB.cpp:22:10: fatal error: 'Block.h' file not found
22 | #include <Block.h>
| ^~~~~~~~~
1 error generated.
[9/11] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[9/11] 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:7e37457820e5f17452a98118754f345f2619722c485f2db0d8b666940a83afd2
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin ValidatorPlugin
Building for debugging...
[1/3] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/CIndexStoreDB/CIndexStoreDB.cpp:22:10: fatal error: 'Block.h' file not found
22 | #include <Block.h>
| ^~~~~~~~~
1 error generated.
[2/5] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/5] Emitting module TSCLibc
/host/spi-builder-workspace/.build/checkouts/swift-tools-support-core/Sources/TSCLibc/libc.swift:21:19: error: no such module 'Darwin.C'
19 | @_exported import Android
20 | #else
21 | @_exported import Darwin.C
| `- error: no such module 'Darwin.C'
22 | #endif
23 |
BUILD FAILURE 6.1 wasm