The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IndexStoreDB with Swift 5.9 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.35.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/apple/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/apple/indexstore-db
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 96db57f Merge pull request #192 from ahoppen/nanoseconds
Cloned https://github.com/apple/indexstore-db.git
Revision (git rev-parse @):
96db57f90cdc92456e7431a60e38f57381826f5e
SUCCESS checkout https://github.com/apple/indexstore-db.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  $workDir
https://github.com/apple/indexstore-db.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/89] Compiling IndexStoreDB_Support PatternMatching.cpp
[1/89] Compiling IndexStoreDB_Database DatabaseError.cpp
In file included from /host/spi-builder-workspace/lib/Database/Database.cpp:13:
/host/spi-builder-workspace/lib/Database/DatabaseImpl.h:18:10: fatal error: 'dispatch/dispatch.h' file not found
#include <dispatch/dispatch.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/98] Compiling IndexStoreDB_Database Database.cpp
[2/98] Compiling IndexStoreDB_Database ImportTransaction.cpp
[2/98] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[2/98] Compiling IndexStoreDB_Support Logging.cpp
[2/98] Compiling IndexStoreDB_Index StoreSymbolRecord.cpp
[2/98] Compiling IndexStoreDB_Support Path.cpp
[2/98] Compiling IndexStoreDB_Core Symbol.cpp
[0/1] Planning build
Building for debugging...
[0/87] Compiling IndexStoreDB_Support Logging-Mac.mm
[1/87] Compiling IndexStoreDB_Support Logging-NonMac.cpp
/host/spi-builder-workspace/lib/Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
#include <dispatch/dispatch.h>
         ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[2/87] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[2/87] Compiling raw_ostream.cpp
[2/87] Compiling IndexStoreDB_Support Path.cpp
[2/87] Compiling YAMLParser.cpp
[2/87] Compiling circular_raw_ostream.cpp
[2/87] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[2/87] Compiling IndexStoreDB_Support Logging.cpp
[2/87] Compiling YAMLTraits.cpp
BUILD FAILURE 5.9 linux

Build Machine: Linux 2