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 (47ba8a), with Swift 6.0 for Linux on 13 Jun 2025 14:53:05 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.63.1
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 47ba8ad Merge pull request #251 from moshe-foreflight/moshe-foreflight/sendability
Cloned https://github.com/swiftlang/indexstore-db.git
Revision (git rev-parse @):
47ba8adda1af3693aebc561b925583a3da7b1665
SUCCESS checkout https://github.com/swiftlang/indexstore-db.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/swiftlang/indexstore-db.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:debc4e1350c0695074699a23098fae94108f9209fa127752a12980f1ee4f0a53
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10215] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (0.96s)
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...
[0/93] Write swift-version-24593BA9C3E375BF.txt
[1/93] Write sources
[1/93] Compiling IndexStoreDB_LLVMSupport TargetParser.cpp
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.
[3/93] Compiling IndexStoreDB_Database Database.cpp
[3/93] Compiling IndexStoreDB_Support Path.cpp
[3/93] Compiling IndexStoreDB_Support PatternMatching.cpp
[3/93] Compiling IndexStoreDB_Database DatabaseError.cpp
[3/93] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[3/93] Compiling IndexStoreDB_LLVMSupport Timer.cpp
[3/93] Compiling IndexStoreDB_Core Symbol.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>
      |          ^~~~~~~~~~~~~~~~~~~~~
[3/93] Compiling IndexStoreDB_Database ImportTransaction.cpp
BUILD FAILURE 6.0 linux