The Swift Package Index logo.Swift Package Index

Build Information

Failed to build IndexStoreDB with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-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.10
Building package at path:  $workDir
https://github.com/apple/indexstore-db.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Building for debugging...
[0/95] Write sources
[1/95] Compiling midl.c
[2/95] Compiling mdb.c
[3/95] Compiling IndexStoreDB_Support PatternMatching.cpp
In file included from /host/spi-builder-workspace/lib/Database/ReadTransaction.cpp:13:
In file included from /host/spi-builder-workspace/lib/Database/ReadTransactionImpl.h:17:
/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.
[4/95] Compiling IndexStoreDB_Database ReadTransaction.cpp
[4/95] Compiling IndexStoreDB_Support Logging.cpp
[4/95] Compiling IndexStoreDB_Support Path.cpp
[4/95] Compiling IndexStoreDB_Index FileVisibilityChecker.cpp
[4/95] Compiling IndexStoreDB_Index FilePathIndex.cpp
[4/95] Write swift-version-24593BA9C3E375BF.txt
[4/95] Compiling IndexStoreDB_Index IndexDatastore.cpp
[4/95] Compiling IndexStoreDB_Index IndexStoreLibraryProvider.cpp
[0/1] Planning build
Building for debugging...
[0/91] Write sources
[2/91] Compiling IndexStoreDB_Support Logging-Mac.mm
[3/91] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[4/91] Write swift-version-24593BA9C3E375BF.txt
[5/91] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[6/91] Compiling circular_raw_ostream.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.
[7/91] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[7/91] Compiling YAMLParser.cpp
[7/91] Compiling IndexStoreDB_Support Logging.cpp
[7/91] Compiling WithColor.cpp
[7/91] Compiling IndexStoreDB_Support Path.cpp
[7/91] Compiling YAMLTraits.cpp
[7/91] Compiling raw_ostream.cpp
[8/100] Compiling ISDBTibs Process.swift
[9/101] Emitting module ISDBTibs
[10/101] Compiling ISDBTibs Data.swift
[11/101] Compiling ISDBTibs JSONCompilationDatabase.swift
[12/101] Compiling ISDBTibs TibsBuilder.swift
[13/101] Compiling ISDBTibs TibsResolvedTarget.swift
[14/101] Compiling ISDBTibs TibsManifest.swift
[15/101] Compiling ISDBTibs Makefile.swift
[16/101] Compiling ISDBTibs OutputFileMap.swift
[17/101] Compiling ISDBTibs TibsToolchain.swift
BUILD FAILURE 5.10 linux

Build Machine: Linux 2