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 (9be975), with Swift 6.1 for Linux on 19 Jun 2025 10:39:01 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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.64.0
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 9be9752 Merge pull request #252 from Wilfred/fix_spelling
Cloned https://github.com/swiftlang/indexstore-db.git
Revision (git rev-parse @):
9be9752864fa10d2a1eab9f2248adc900233fe9b
SUCCESS checkout https://github.com/swiftlang/indexstore-db.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.1
Building package at path:  $PWD
https://github.com/swiftlang/indexstore-db.git
https://github.com/swiftlang/indexstore-db.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
    {
      "identity" : "swift-lmdb",
      "requirement" : {
        "branch" : [
          "main"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-lmdb.git"
    }
  ],
  "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" : "Sources/IndexStoreDB_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" : "Sources/IndexStoreDB_LLVMSupport",
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "AArch64TargetParser.cpp",
        "APFloat.cpp",
        "APInt.cpp",
        "APSInt.cpp",
        "ARMTargetParser.cpp",
        "Allocator.cpp",
        "Atomic.cpp",
        "Chrono.cpp",
        "CommandLine.cpp",
        "ConvertUTF.cpp",
        "ConvertUTFWrapper.cpp",
        "DJB.cpp",
        "Debug.cpp",
        "Errno.cpp",
        "Error.cpp",
        "ErrorHandling.cpp",
        "FileUtilities.cpp",
        "FoldingSet.cpp",
        "FormatVariadic.cpp",
        "Hashing.cpp",
        "Host.cpp",
        "JSON.cpp",
        "LineIterator.cpp",
        "Locale.cpp",
        "MD5.cpp",
        "ManagedStatic.cpp",
        "MathExtras.cpp",
        "Memory.cpp",
        "MemoryBuffer.cpp",
        "Mutex.cpp",
        "NativeFormatting.cpp",
        "Optional.cpp",
        "Options.cpp",
        "Path.cpp",
        "PrettyStackTrace.cpp",
        "Process.cpp",
        "Program.cpp",
        "Signals.cpp",
        "Signposts.cpp",
        "SmallPtrSet.cpp",
        "SmallVector.cpp",
        "SourceMgr.cpp",
        "Statistic.cpp",
        "StringExtras.cpp",
        "StringMap.cpp",
        "StringRef.cpp",
        "StringSaver.cpp",
        "TargetParser.cpp",
        "Threading.cpp",
        "Timer.cpp",
        "ToolOutputFile.cpp",
        "Triple.cpp",
        "Twine.cpp",
        "Unicode.cpp",
        "UnicodeCaseFold.cpp",
        "Valgrind.cpp",
        "VersionTuple.cpp",
        "Watchdog.cpp",
        "WithColor.cpp",
        "YAMLParser.cpp",
        "YAMLTraits.cpp",
        "circular_raw_ostream.cpp",
        "raw_ostream.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_Index",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Index",
      "path" : "Sources/IndexStoreDB_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" : "Sources/IndexStoreDB_Database",
      "product_dependencies" : [
        "CLMDB"
      ],
      "product_memberships" : [
        "IndexStoreDB",
        "IndexStoreDB_CXX",
        "ISDBTestSupport"
      ],
      "sources" : [
        "Database.cpp",
        "DatabaseError.cpp",
        "ImportTransaction.cpp",
        "ReadTransaction.cpp"
      ],
      "target_dependencies" : [
        "IndexStoreDB_Core"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreDB_Core",
      "module_type" : "ClangTarget",
      "name" : "IndexStoreDB_Core",
      "path" : "Sources/IndexStoreDB_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" : "Sources/IndexStoreDB_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.6"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/swiftlang/swift-lmdb.git
[1/10218] Fetching swift-lmdb
Fetched https://github.com/swiftlang/swift-lmdb.git from cache (2.18s)
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...
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>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[0/93] Compiling IndexStoreDB_Database ImportTransaction.cpp
[0/93] Compiling IndexStoreDB_Database ReadTransaction.cpp
[0/93] Compiling IndexStoreDB_Database DatabaseError.cpp
[0/93] Compiling IndexStoreDB_Index IndexStoreLibraryProvider.cpp
[0/93] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[0/93] Compiling IndexStoreDB_Core Symbol.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>
      |          ^~~~~~~~~~~~~~~~~~~~~
[0/93] Compiling IndexStoreDB_Database Database.cpp
[0/93] Compiling IndexStoreDB_Index IndexDatastore.cpp
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/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:2e2b3aca8600f890617c2faa770b70e33c1dfd303d6f92b308423b89ef6bde64
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/93] Write sources
[4/93] Compiling IndexStoreDB_Support Logging-Mac.mm
[5/93] Compiling IndexStoreDB_Support Logging-NonMac.cpp
[6/93] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/Sources/IndexStoreDB_Support/Concurrency-Mac.cpp:18:10: fatal error: 'dispatch/dispatch.h' file not found
   18 | #include <dispatch/dispatch.h>
      |          ^~~~~~~~~~~~~~~~~~~~~
1 error generated.
[7/93] Compiling IndexStoreDB_Support Concurrency-Mac.cpp
[7/93] Compiling IndexStoreDB_LLVMSupport circular_raw_ostream.cpp
[7/93] Compiling IndexStoreDB_Support FilePathWatcher.cpp
[7/93] Compiling IndexStoreDB_Support PatternMatching.cpp
[7/93] Compiling IndexStoreDB_Support Logging.cpp
[7/93] Compiling IndexStoreDB_LLVMSupport raw_ostream.cpp
[7/93] Compiling IndexStoreDB_Support Path.cpp
[7/93] Compiling IndexStoreDB_LLVMSupport YAMLTraits.cpp
BUILD FAILURE 6.1 linux