The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IndexStoreDB with Swift 5.7 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  $workDir
https://github.com/apple/indexstore-db.git
Running build ...
bash -c docker run --rm -v "checkouts-4606859-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
/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.
[0/89] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[0/89] Compiling IndexStoreDB_Database DatabaseError.cpp
[0/89] Compiling IndexStoreDB_Database ImportTransaction.cpp
[0/89] Compiling IndexStoreDB_Core Symbol.cpp
[0/89] Compiling IndexStoreDB_Database Database.cpp
[0/89] Compiling Twine.cpp
[0/89] Compiling IndexStoreDB_Database ReadTransaction.cpp
[0/89] Compiling IndexStoreDB_Support PatternMatching.cpp
[1/98] Emitting module ISDBTibs
[2/99] Compiling ISDBTibs TibsManifest.swift
[3/99] Compiling ISDBTibs TibsResolvedTarget.swift
[4/99] Compiling ISDBTibs Data.swift
[5/99] Compiling ISDBTibs JSONCompilationDatabase.swift
[6/99] Compiling ISDBTibs Process.swift
[7/99] Compiling ISDBTibs OutputFileMap.swift
[8/99] Compiling ISDBTibs Makefile.swift
[9/99] Compiling ISDBTibs TibsBuilder.swift
[10/99] Compiling ISDBTibs TibsToolchain.swift
[0/1] Planning build
Building for debugging...
[0/89] Compiling IndexStoreDB_Support Logging-Mac.mm
[1/89] 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/89] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[2/89] Compiling raw_ostream.cpp
[2/89] Compiling YAMLTraits.cpp
[2/89] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[2/89] Compiling circular_raw_ostream.cpp
[2/89] Compiling IndexStoreDB_Support Logging.cpp
[2/89] Compiling IndexStoreDB_Support Path.cpp
[2/89] Compiling IndexStoreDB_Support PatternMatching.cpp
BUILD FAILURE 5.7 linux

Build Machine: Linux 1