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 3.2.0 (110615), with Swift 6.0 for Linux on 3 Apr 2025 18:30:49 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.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: 3.2.0
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
 * tag               3.2.0      -> FETCH_HEAD
HEAD is now at 110615e Merge branch 'develop' for 3.2.0 release
Cloned https://github.com/CheekyGhost-Labs/IndexStore.git
Revision (git rev-parse @):
110615e5e47ef723b52b9f27266886d4985857bc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/CheekyGhost-Labs/IndexStore.git at 3.2.0
========================================
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-4606859-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.51s)
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.47s)
Fetched https://github.com/apple/swift-tools-support-core.git from cache (0.47s)
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 (0.81s)
Computing version for https://github.com/SwiftPackageIndex/SPIManifest.git
Computed https://github.com/SwiftPackageIndex/SPIManifest.git at 0.19.0 (0.69s)
Fetching https://github.com/jpsim/Yams.git
[1/10287] Fetching yams
Fetched https://github.com/jpsim/Yams.git from cache (1.55s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 5.3.1 (0.63s)
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/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/swiftlang/indexstore-db.git
Working copy of https://github.com/swiftlang/indexstore-db.git resolved at swift-6.1-RELEASE (54212fc)
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 5.3.1
[1/1] Compiling plugin ValidatorPlugin
Building for debugging...
[1/11] Write sources
[2/11] Copying PrivacyInfo.xcprivacy
[2/11] Write sources
[7/11] Compiling TSCclibc process.c
[8/11] Compiling TSCclibc libc.c
/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.
[9/11] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[9/11] Write swift-version-24593BA9C3E375BF.txt
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-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...
/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.
[1/3] Compiling IndexStoreDB_CIndexStoreDB CIndexStoreDB.cpp
[1/3] Write swift-version-24593BA9C3E375BF.txt
BUILD FAILURE 6.0 linux