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 IndexStore, reference develop (7c68a6), with Swift 6.0 for Linux on 3 Apr 2025 18:33:58 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CheekyGhost-Labs/IndexStore.git
Reference: develop
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/CheekyGhost-Labs/IndexStore
 * branch            develop    -> FETCH_HEAD
 * [new branch]      develop    -> origin/develop
HEAD is now at 7c68a63 Updating Changelog for 3.2.0 release
Cloned https://github.com/CheekyGhost-Labs/IndexStore.git
Revision (git rev-parse @):
7c68a63869cdfc744470574f9f66d9669b9dc619
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CheekyGhost-Labs/IndexStore.git at develop
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CheekyGhost-Labs/IndexStore.git
https://github.com/CheekyGhost-Labs/IndexStore.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
{
  "dependencies" : [
    {
      "identity" : "indexstore-db",
      "requirement" : {
        "revision" : [
          "swift-6.1-RELEASE"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/indexstore-db.git"
    },
    {
      "identity" : "swift-tools-support-core",
      "requirement" : {
        "exact" : [
          "0.7.1"
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-tools-support-core.git"
    },
    {
      "identity" : "spimanifest",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.12.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/SwiftPackageIndex/SPIManifest.git"
    }
  ],
  "manifest_display_name" : "IndexStore",
  "name" : "IndexStore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "11.0"
    }
  ],
  "products" : [
    {
      "name" : "IndexStore",
      "targets" : [
        "IndexStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "IndexStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "IndexStoreTests",
      "path" : "Tests/IndexStoreTests",
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Tests/IndexStoreTests/Configurations",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "IndexStore/IndexStoreTests.swift",
        "IndexStore/SourceRoleTests.swift",
        "IndexStoreQuery/IndexStoreQueryTests.swift",
        "ProcessInfoExtensionTests.swift",
        "Samples/Classes.swift",
        "Samples/Colors.swift",
        "Samples/EmptySource.swift",
        "Samples/Enums.swift",
        "Samples/Extensions.swift",
        "Samples/Functions.swift",
        "Samples/Inheritance.swift",
        "Samples/InvocationTestCase.swift",
        "Samples/Properties.swift",
        "Samples/Protocols.swift",
        "Samples/Relations.swift",
        "Samples/RelationsRestricted.swift",
        "Samples/SourceContents.swift",
        "Samples/Structs.swift",
        "Samples/Typealias.swift",
        "SourceKindTests.swift",
        "SourceLocationTests.swift",
        "SourceResolvingErrorTests.swift",
        "SourceSymbolCollectionTests.swift",
        "SourceSymbolTests.swift",
        "Utilities/AnyError.swift",
        "Utilities/Logger+Tests.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IndexStore",
      "module_type" : "SwiftTarget",
      "name" : "IndexStore",
      "path" : "Sources/IndexStore",
      "product_dependencies" : [
        "SwiftToolsSupport-auto",
        "IndexStoreDB"
      ],
      "product_memberships" : [
        "IndexStore"
      ],
      "resources" : [
        {
          "path" : "/host/spi-builder-workspace/Sources/IndexStore/Resources/PrivacyInfo.xcprivacy",
          "rule" : {
            "copy" : {
            }
          }
        }
      ],
      "sources" : [
        "IndexStore.swift",
        "Internal/Extensions/IndexStoreDB+Hashable.swift",
        "Internal/Utilities/Logger+Defaults.swift",
        "Internal/Utilities/ProcessInfo+Environment.swift",
        "Internal/Utilities/Shell.swift",
        "Public/Convenience/IndexStore+ClassConvenience.swift",
        "Public/Convenience/IndexStore+ExtensionConvenience.swift",
        "Public/Convenience/IndexStore+InvocationConvenience.swift",
        "Public/Convenience/IndexStore+ProtocolConvenience.swift",
        "Public/Convenience/IndexStore+References.swift",
        "Public/Errors/SourceResolvingError.swift",
        "Public/IndexStore+Configuration.swift",
        "Public/IndexStoreQuery/IndexStoreQuery+Declarations.swift",
        "Public/IndexStoreQuery/IndexStoreQuery+Extensions.swift",
        "Public/IndexStoreQuery/IndexStoreQuery+Functions.swift",
        "Public/IndexStoreQuery/IndexStoreQuery+Properties.swift",
        "Public/IndexStoreQuery/IndexStoreQuery.swift",
        "Public/SourceSymbol/SourceDetailsCollection.swift",
        "Public/SourceSymbol/SourceKind.swift",
        "Public/SourceSymbol/SourceLocation.swift",
        "Public/SourceSymbol/SourceRole.swift",
        "Public/SourceSymbol/SourceSymbol.swift",
        "Public/Workspace/Workspace.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/swiftlang/indexstore-db.git
[1/5144] Fetching indexstore-db
Fetched https://github.com/swiftlang/indexstore-db.git from cache (0.49s)
Fetching https://github.com/SwiftPackageIndex/SPIManifest.git
Fetching https://github.com/apple/swift-tools-support-core.git
[1/807] Fetching spimanifest
[808/7513] Fetching spimanifest, swift-tools-support-core
Fetched https://github.com/SwiftPackageIndex/SPIManifest.git from cache (0.68s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.73s)
Computing version for https://github.com/apple/swift-tools-support-core.git
Computed https://github.com/apple/swift-tools-support-core.git at 0.7.1 (1.05s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.79s)
Fetching https://github.com/jpsim/Yams.git
[1/10287] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.22s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (1.52s)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
Creating working copy for https://github.com/apple/swift-tools-support-core.git
Working copy of https://github.com/apple/swift-tools-support-core.git resolved at 0.7.1
Creating working copy for https://github.com/SwiftPackageIndex/SPIManifest.git
Working copy of https://github.com/SwiftPackageIndex/SPIManifest.git resolved at 0.19.0
Creating working copy for https://github.com/swiftlang/indexstore-db.git
Working copy of https://github.com/swiftlang/indexstore-db.git resolved at swift-6.1-RELEASE (54212fc)
[1/1] Compiling plugin ValidatorPlugin
Building for debugging...
[1/11] Write sources
[3/11] Copying PrivacyInfo.xcprivacy
[5/11] Write sources
[7/11] Compiling TSCclibc process.c
[8/11] Compiling TSCclibc libc.c
[9/11] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/CIndexStoreDB/CIndexStoreDB.cpp:22:10: fatal error: 'Block.h' file not found
   22 | #include <Block.h>
      |          ^~~~~~~~~
1 error generated.
[10/13] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[11/13] Emitting module TSCLibc
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:081dcf4fb829aea9d08447f4790431afbdfbcc335bfeed728ca69c6f181ae2aa
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
[0/1] Planning build
[1/1] Compiling plugin ValidatorPlugin
Building for debugging...
[1/3] Write swift-version-24593BA9C3E375BF.txt
/host/spi-builder-workspace/.build/checkouts/indexstore-db/lib/CIndexStoreDB/CIndexStoreDB.cpp:22:10: fatal error: 'Block.h' file not found
   22 | #include <Block.h>
      |          ^~~~~~~~~
1 error generated.
[2/5] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[3/5] Emitting module TSCLibc
BUILD FAILURE 6.0 linux