Build Information
Failed to build IndexStoreDB, reference main (b429f7
), with Swift 6.1 for Linux on 28 Apr 2025 21:42:53 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/tayloraswift/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/tayloraswift/indexstore-db
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at b429f79 Merge pull request #198 from ahoppen/foreach-not-escaping
Cloned https://github.com/tayloraswift/indexstore-db.git
Revision (git rev-parse @):
b429f79ff5189dd9f9a7ee15f42df99d8843ed40
SUCCESS checkout https://github.com/tayloraswift/indexstore-db.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/tayloraswift/indexstore-db.git
https://github.com/tayloraswift/indexstore-db.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
"cxx_language_standard" : "c++17",
"dependencies" : [
],
"manifest_display_name" : "IndexStoreDB",
"name" : "IndexStoreDB",
"path" : "/host/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "IndexStoreDB",
"targets" : [
"IndexStoreDB"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "IndexStoreDB_CXX",
"targets" : [
"IndexStoreDB_Index"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "ISDBTestSupport",
"targets" : [
"ISDBTestSupport"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "tibs",
"targets" : [
"tibs"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "tibs",
"module_type" : "SwiftTarget",
"name" : "tibs",
"path" : "Sources/tibs",
"product_memberships" : [
"ISDBTestSupport",
"tibs"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"ISDBTibs"
],
"type" : "executable"
},
{
"c99name" : "IndexStoreDB_Support",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_Support",
"path" : "lib/Support",
"product_memberships" : [
"IndexStoreDB",
"IndexStoreDB_CXX",
"ISDBTestSupport"
],
"sources" : [
"Concurrency-Mac.cpp",
"FilePathWatcher.cpp",
"Logging-Mac.mm",
"Logging-NonMac.cpp",
"Logging.cpp",
"Path.cpp",
"PatternMatching.cpp"
],
"target_dependencies" : [
"IndexStoreDB_LLVMSupport"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDB_LLVMSupport",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_LLVMSupport",
"path" : "lib/LLVMSupport",
"product_memberships" : [
"IndexStoreDB",
"IndexStoreDB_CXX",
"ISDBTestSupport"
],
"sources" : [
"Support/AArch64TargetParser.cpp",
"Support/APFloat.cpp",
"Support/APInt.cpp",
"Support/APSInt.cpp",
"Support/ARMTargetParser.cpp",
"Support/Allocator.cpp",
"Support/Atomic.cpp",
"Support/Chrono.cpp",
"Support/CommandLine.cpp",
"Support/ConvertUTF.cpp",
"Support/ConvertUTFWrapper.cpp",
"Support/DJB.cpp",
"Support/Debug.cpp",
"Support/Errno.cpp",
"Support/Error.cpp",
"Support/ErrorHandling.cpp",
"Support/FileUtilities.cpp",
"Support/FoldingSet.cpp",
"Support/FormatVariadic.cpp",
"Support/Hashing.cpp",
"Support/Host.cpp",
"Support/JSON.cpp",
"Support/LineIterator.cpp",
"Support/Locale.cpp",
"Support/MD5.cpp",
"Support/ManagedStatic.cpp",
"Support/MathExtras.cpp",
"Support/Memory.cpp",
"Support/MemoryBuffer.cpp",
"Support/Mutex.cpp",
"Support/NativeFormatting.cpp",
"Support/Optional.cpp",
"Support/Options.cpp",
"Support/Path.cpp",
"Support/PrettyStackTrace.cpp",
"Support/Process.cpp",
"Support/Program.cpp",
"Support/Signals.cpp",
"Support/Signposts.cpp",
"Support/SmallPtrSet.cpp",
"Support/SmallVector.cpp",
"Support/SourceMgr.cpp",
"Support/Statistic.cpp",
"Support/StringExtras.cpp",
"Support/StringMap.cpp",
"Support/StringRef.cpp",
"Support/StringSaver.cpp",
"Support/TargetParser.cpp",
"Support/Threading.cpp",
"Support/Timer.cpp",
"Support/ToolOutputFile.cpp",
"Support/Triple.cpp",
"Support/Twine.cpp",
"Support/Unicode.cpp",
"Support/UnicodeCaseFold.cpp",
"Support/Valgrind.cpp",
"Support/VersionTuple.cpp",
"Support/Watchdog.cpp",
"Support/WithColor.cpp",
"Support/YAMLParser.cpp",
"Support/YAMLTraits.cpp",
"Support/circular_raw_ostream.cpp",
"Support/raw_ostream.cpp"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDB_Index",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_Index",
"path" : "lib/Index",
"product_memberships" : [
"IndexStoreDB",
"IndexStoreDB_CXX",
"ISDBTestSupport"
],
"sources" : [
"FilePathIndex.cpp",
"FileVisibilityChecker.cpp",
"IndexDatastore.cpp",
"IndexStoreLibraryProvider.cpp",
"IndexSystem.cpp",
"StoreSymbolRecord.cpp",
"SymbolIndex.cpp"
],
"target_dependencies" : [
"IndexStoreDB_Database"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDB_Database",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_Database",
"path" : "lib/Database",
"product_memberships" : [
"IndexStoreDB",
"IndexStoreDB_CXX",
"ISDBTestSupport"
],
"sources" : [
"Database.cpp",
"DatabaseError.cpp",
"ImportTransaction.cpp",
"ReadTransaction.cpp",
"lmdb/mdb.c",
"lmdb/midl.c"
],
"target_dependencies" : [
"IndexStoreDB_Core"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDB_Core",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_Core",
"path" : "lib/Core",
"product_memberships" : [
"IndexStoreDB",
"IndexStoreDB_CXX",
"ISDBTestSupport"
],
"sources" : [
"Symbol.cpp"
],
"target_dependencies" : [
"IndexStoreDB_Support"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDB_CIndexStoreDB",
"module_type" : "ClangTarget",
"name" : "IndexStoreDB_CIndexStoreDB",
"path" : "lib/CIndexStoreDB",
"product_memberships" : [
"IndexStoreDB",
"ISDBTestSupport"
],
"sources" : [
"CIndexStoreDB.cpp"
],
"target_dependencies" : [
"IndexStoreDB_Index"
],
"type" : "library"
},
{
"c99name" : "IndexStoreDBTests",
"module_type" : "SwiftTarget",
"name" : "IndexStoreDBTests",
"path" : "Tests/IndexStoreDBTests",
"sources" : [
"IndexStoreDBTests.swift",
"IndexTests.swift",
"LocationScannerTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"IndexStoreDB",
"ISDBTestSupport"
],
"type" : "test"
},
{
"c99name" : "IndexStoreDB",
"module_type" : "SwiftTarget",
"name" : "IndexStoreDB",
"path" : "Sources/IndexStoreDB",
"product_memberships" : [
"IndexStoreDB",
"ISDBTestSupport"
],
"sources" : [
"IndexDelegate.swift",
"IndexStoreDB.swift",
"IndexStoreDBError.swift",
"Symbol.swift",
"SymbolLocation.swift",
"SymbolOccurrence.swift",
"SymbolProperty.swift",
"SymbolRole.swift"
],
"target_dependencies" : [
"IndexStoreDB_CIndexStoreDB"
],
"type" : "library"
},
{
"c99name" : "ISDBTibsTests",
"module_type" : "SwiftTarget",
"name" : "ISDBTibsTests",
"path" : "Tests/ISDBTibsTests",
"sources" : [
"MiscTests.swift",
"OutputFileMapTests.swift",
"TibsBuildTests.swift",
"TibsCompilationDatabaseTests.swift",
"TibsManifestTests.swift",
"TibsResolutionTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"ISDBTibs",
"ISDBTestSupport"
],
"type" : "test"
},
{
"c99name" : "ISDBTibs",
"module_type" : "SwiftTarget",
"name" : "ISDBTibs",
"path" : "Sources/ISDBTibs",
"product_memberships" : [
"ISDBTestSupport",
"tibs"
],
"sources" : [
"Data.swift",
"JSONCompilationDatabase.swift",
"Makefile.swift",
"OutputFileMap.swift",
"Process.swift",
"TibsBuilder.swift",
"TibsManifest.swift",
"TibsResolvedTarget.swift",
"TibsToolchain.swift"
],
"type" : "library"
},
{
"c99name" : "ISDBTestSupport",
"module_type" : "SwiftTarget",
"name" : "ISDBTestSupport",
"path" : "Sources/ISDBTestSupport",
"product_memberships" : [
"ISDBTestSupport"
],
"resources" : [
{
"path" : "/host/spi-builder-workspace/Sources/ISDBTestSupport/INPUTS",
"rule" : {
"copy" : {
}
}
}
],
"sources" : [
"ForwardingIndexDelegate.swift",
"SourceFileCache.swift",
"TestLocation.swift",
"TestLocationScanner.swift",
"TestSources.swift",
"TibsTestWorkspace.swift",
"XCTestAssertions.swift"
],
"target_dependencies" : [
"IndexStoreDB",
"ISDBTibs",
"tibs"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Building for debugging...
[0/95] Compiling midl.c
[0/95] Write sources
[2/95] Write swift-version-24593BA9C3E375BF.txt
[3/95] Compiling IndexStoreDB_Database DatabaseError.cpp
In file included from /host/spi-builder-workspace/lib/Database/ImportTransaction.cpp:14:
/host/spi-builder-workspace/lib/Database/DatabaseImpl.h:18:10: fatal error: 'dispatch/dispatch.h' file not found
18 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[4/95] Compiling IndexStoreDB_Database ImportTransaction.cpp
[4/95] Compiling IndexStoreDB_Core Symbol.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
18 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
[4/95] Compiling IndexStoreDB_Database Database.cpp
[4/95] Compiling IndexStoreDB_Support PatternMatching.cpp
[4/95] Compiling IndexStoreDB_Support Path.cpp
[4/95] Compiling IndexStoreDB_Index StoreSymbolRecord.cpp
In file included from /host/spi-builder-workspace/lib/CIndexStoreDB/CIndexStoreDB.cpp:13:
/host/spi-builder-workspace/lib/CIndexStoreDB/include/CIndexStoreDB/CIndexStoreDB.h:85:40: error: expression is not an integral constant expression
85 | INDEXSTOREDB_SYMBOL_ROLE_CANONICAL = 1 << 63,
| ^~~~~~~
/host/spi-builder-workspace/lib/CIndexStoreDB/include/CIndexStoreDB/CIndexStoreDB.h:85:42: note: shift count 63 >= width of type 'int' (32 bits)
85 | INDEXSTOREDB_SYMBOL_ROLE_CANONICAL = 1 << 63,
| ^
[4/95] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[4/95] Compiling IndexStoreDB_Index SymbolIndex.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:3bdcac04179f4ed3e5b8e9dbd6e74bbf5ebc0f4fde48bbaad7d1e5c757e65bcb
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
Building for debugging...
[0/92] Compiling IndexStoreDB_Support Logging-Mac.mm
[1/92] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[2/92] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/lib/Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
18 | #include <dispatch/dispatch.h>
| ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[3/92] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[3/92] Compiling IndexStoreDB_Support PatternMatching.cpp
[3/92] Compiling IndexStoreDB_Support Path.cpp
[3/92] Compiling raw_ostream.cpp
[3/92] Compiling YAMLTraits.cpp
[3/92] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[3/92] Compiling IndexStoreDB_Support Logging.cpp
[3/92] Compiling circular_raw_ostream.cpp
BUILD FAILURE 6.1 linux