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 IndexStoreDB, reference main (7e7387), with Swift 6.2 for Linux on 15 Dec 2025 19:08:48 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.68.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/swiftlang/indexstore-db.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/swiftlang/indexstore-db
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7e73872 Merge pull request #258 from ahoppen/indexstore
Cloned https://github.com/swiftlang/indexstore-db.git
Revision (git rev-parse @):
7e7387264bac187377414d9cd4e240cdcf93984a
SUCCESS checkout https://github.com/swiftlang/indexstore-db.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/swiftlang/indexstore-db.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:e1f50347098d838026a020bb7d0f8bade3d7b84d6d497429b7cf821cdf4fc3d1
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10329] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (1.19s)
Creating working copy for https://github.com/swiftlang/swift-lmdb.git
Working copy of https://github.com/swiftlang/swift-lmdb.git resolved at main (1ad9a2d)
Building for debugging...
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/Database.cpp:13:
/host/spi-builder-workspace/Sources/IndexStoreDB_Database/DatabaseImpl.h:18:10: fatal error: 'dispatch/dispatch.h' file not found
   18 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/94] Compiling IndexStoreDB_Database Database.cpp
[0/94] Compiling IndexStoreDB_Index IndexDatastore.cpp
[0/94] Compiling IndexStoreDB_Database DatabaseError.cpp
[0/94] Compiling IndexStoreDB_Index FileVisibilityChecker.cpp
[0/94] Compiling IndexStoreDB_Core Symbol.cpp
[0/94] Compiling IndexStoreDB_Database ReadTransaction.cpp
In file included from /host/spi-builder-workspace/Sources/IndexStoreDB_Database/ImportTransaction.cpp:14:
/host/spi-builder-workspace/Sources/IndexStoreDB_Database/DatabaseImpl.h:18:10: fatal error: 'dispatch/dispatch.h' file not found
   18 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
[0/94] Compiling IndexStoreDB_Database ImportTransaction.cpp
[0/94] Compiling IndexStoreDB_Index IndexStoreLibraryProvider.cpp
BUILD FAILURE 6.2 linux