The Swift Package Index logo.Swift Package Index

Build Information

Successful build of IndexStore, reference main (7edb9a), with Swift 6.2 for Linux on 2 Apr 2026 07:22:24 UTC.

Swift 6 data race errors: 0

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.69.2
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/MobileNativeFoundation/swift-index-store.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/MobileNativeFoundation/swift-index-store
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7edb9a6 Expose symbol language in the Swift API (#83)
Cloned https://github.com/MobileNativeFoundation/swift-index-store.git
Revision (git rev-parse @):
7edb9a64e084ed64f83b84fb9269d3d1a20c0687
SUCCESS checkout https://github.com/MobileNativeFoundation/swift-index-store.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/MobileNativeFoundation/swift-index-store.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:b1b7512e70c869f4e6dfc045c9cfbcecd5568d004e044b9c2b5f35ddaecd218b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Building for debugging...
[0/26] Write sources
[7/26] Compiling CIndexStore dummy.c
/host/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:29:22: warning: variable length arrays in C++ are a Clang extension [-Wvla-cxx-extension]
   29 |     char true_symbol[strlen(symbol) + 1];
      |                      ^~~~~~~~~~~~~~~~~~
/host/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:29:29: note: function parameter 'symbol' with unknown value cannot be used in a constant expression
   29 |     char true_symbol[strlen(symbol) + 1];
      |                             ^
/host/spi-builder-workspace/Sources/CSwiftDemangle/CSwiftDemangle.cpp:26:75: note: declared here
   26 | demangle_node_t demangle_symbolAsNode(demangle_context_t ctx, const char *symbol) {
      |                                                                           ^
1 warning generated.
[8/26] Write swift-version-24593BA9C3E375BF.txt
[9/26] Compiling CSwiftDemangle CSwiftDemangle.cpp
[11/35] Compiling IndexStore IndexStoreError.swift
[12/35] Compiling IndexStore String+IndexStore.swift
[13/35] Compiling IndexStore StandardStream.swift
[14/35] Compiling SwiftDemangle Demangler.swift
[15/35] Emitting module SwiftDemangle
[16/35] Compiling SwiftDemangle DemangledNode.swift
[18/36] Compiling IndexStore IndexStore.swift
[19/36] Compiling IndexStore Constants.swift
[20/36] Emitting module IndexStore
[21/37] Wrapping AST for IndexStore for debugging
[23/56] Compiling unused_imports SourceFileWithUnusedImports.swift
[24/56] Compiling unused_imports UnusedImportStatement.swift
[25/56] Compiling tycat Xcode.swift
/host/spi-builder-workspace/Sources/tycat/Xcode.swift:5:13: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
 3 | func XcodeIndexStorePath() throws -> String? {
 4 |     let process = Process()
 5 |     process.launchPath = "/usr/bin/xcodebuild"
   |             |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |             `- note: use 'executableURL' instead
 6 |     process.arguments = ["-showBuildSettings"]
 7 |     let pipe = Pipe()
/host/spi-builder-workspace/Sources/tycat/Xcode.swift:9:13: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
 7 |     let pipe = Pipe()
 8 |     process.standardOutput = pipe
 9 |     process.launch()
   |             |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |             `- note: use 'run' instead
10 |     let data = pipe.fileHandleForReading.readDataToEndOfFile()
11 |     let output = String(decoding: data, as: UTF8.self)
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[26/56] Compiling tycat main.swift
[27/56] Compiling unused_imports UnusedImportReporter.swift
[28/56] Compiling unused_imports JSONReporter.swift
[29/56] Compiling unused_imports SedCommandReporter.swift
[30/56] Compiling tycat TypeGraph.swift
[31/56] Emitting module tycat
[32/57] Emitting module unused_imports
/host/spi-builder-workspace/Sources/unused-imports/main.swift:192:29: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
190 | {
191 |     if let directory = ProcessInfo.processInfo.environment["BUILD_WORKSPACE_DIRECTORY"] {
192 |         FileManager.default.changeCurrentDirectoryPath(directory)
    |                             `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
193 |     }
194 |
[34/57] Compiling indexutil_export TSVWriter.swift
/host/spi-builder-workspace/Sources/indexutil-export/TSVWriter.swift:21:21: warning: result of call to 'write(_:maxLength:)' is unused [#no-usage]
19 |         let strings = fields.map { $0.description }
20 |         let tsv = strings.joined(separator: "\t")
21 |         self.output.write(tsv, maxLength: tsv.utf8.count)
   |                     `- warning: result of call to 'write(_:maxLength:)' is unused [#no-usage]
22 |         self.output.write("\n", maxLength: 1)
23 |     }
/host/spi-builder-workspace/Sources/indexutil-export/TSVWriter.swift:22:21: warning: result of call to 'write(_:maxLength:)' is unused [#no-usage]
20 |         let tsv = strings.joined(separator: "\t")
21 |         self.output.write(tsv, maxLength: tsv.utf8.count)
22 |         self.output.write("\n", maxLength: 1)
   |                     `- warning: result of call to 'write(_:maxLength:)' is unused [#no-usage]
23 |     }
24 | }
[35/57] Emitting module indexutil_export
[36/57] Compiling indexutil_export main.swift
[38/58] Compiling indexutil_annotate Annotation.swift
[39/58] Emitting module indexutil_annotate
[40/58] Compiling indexutil_annotate main.swift
[41/59] Emitting module unnecessary_testable
[42/59] Compiling unnecessary_testable main.swift
/host/spi-builder-workspace/Sources/unnecessary-testable/main.swift:174:29: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
172 | func main(indexStorePath: String) {
173 |     if let directory = ProcessInfo.processInfo.environment["BUILD_WORKSPACE_DIRECTORY"] {
174 |         FileManager.default.changeCurrentDirectoryPath(directory)
    |                             `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
175 |     }
176 |
[45/60] Compiling unused_imports main.swift
/host/spi-builder-workspace/Sources/unused-imports/main.swift:192:29: warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
190 | {
191 |     if let directory = ProcessInfo.processInfo.environment["BUILD_WORKSPACE_DIRECTORY"] {
192 |         FileManager.default.changeCurrentDirectoryPath(directory)
    |                             `- warning: result of call to 'changeCurrentDirectoryPath' is unused [#no-usage]
193 |     }
194 |
[46/61] Wrapping AST for tycat for debugging
[47/61] Write Objects.LinkFileList
[48/61] Wrapping AST for indexutil-annotate for debugging
[49/61] Wrapping AST for unnecessary-testable for debugging
[50/61] Write Objects.LinkFileList
[52/61] Wrapping AST for unused-imports for debugging
[53/61] Wrapping AST for indexutil-export for debugging
[54/61] Write Objects.LinkFileList
[56/61] Linking indexutil-annotate
[57/61] Linking unused-imports
[58/61] Linking tycat
[59/61] Linking unnecessary-testable
[60/61] Linking indexutil-export
Build complete! (20.41s)
Build complete.
{
  "cxx_language_standard" : "c++17",
  "dependencies" : [
  ],
  "manifest_display_name" : "IndexStore",
  "name" : "IndexStore",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "IndexStore",
      "targets" : [
        "IndexStore"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "CSwiftDemangle",
      "targets" : [
        "CSwiftDemangle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "SwiftDemangle",
      "targets" : [
        "SwiftDemangle"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "indexutil-export",
      "targets" : [
        "indexutil-export"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "unnecessary-testable",
      "targets" : [
        "unnecessary-testable"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "unused-imports",
      "targets" : [
        "unused-imports"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "indexutil-annotate",
      "targets" : [
        "indexutil-annotate"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "tycat",
      "targets" : [
        "tycat"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "unused_imports",
      "module_type" : "SwiftTarget",
      "name" : "unused-imports",
      "path" : "Sources/unused-imports",
      "product_memberships" : [
        "unused-imports"
      ],
      "sources" : [
        "Reporters/JSONReporter.swift",
        "Reporters/SedCommandReporter.swift",
        "Reporters/UnusedImportReporter.swift",
        "SourceFileWithUnusedImports.swift",
        "UnusedImportStatement.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "unnecessary_testable",
      "module_type" : "SwiftTarget",
      "name" : "unnecessary-testable",
      "path" : "Sources/unnecessary-testable",
      "product_memberships" : [
        "unnecessary-testable"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "tycat",
      "module_type" : "SwiftTarget",
      "name" : "tycat",
      "path" : "Sources/tycat",
      "product_memberships" : [
        "tycat"
      ],
      "sources" : [
        "TypeGraph.swift",
        "Xcode.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "indexutil_export",
      "module_type" : "SwiftTarget",
      "name" : "indexutil-export",
      "path" : "Sources/indexutil-export",
      "product_memberships" : [
        "indexutil-export"
      ],
      "sources" : [
        "TSVWriter.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "indexutil_annotate",
      "module_type" : "SwiftTarget",
      "name" : "indexutil-annotate",
      "path" : "Sources/indexutil-annotate",
      "product_memberships" : [
        "indexutil-annotate"
      ],
      "sources" : [
        "Annotation.swift",
        "main.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "SwiftDemangleTests",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDemangleTests",
      "path" : "Tests/SwiftDemangleTests",
      "sources" : [
        "SwiftDemangleTests.swift"
      ],
      "target_dependencies" : [
        "SwiftDemangle"
      ],
      "type" : "test"
    },
    {
      "c99name" : "SwiftDemangle",
      "module_type" : "SwiftTarget",
      "name" : "SwiftDemangle",
      "path" : "Sources/SwiftDemangle",
      "product_memberships" : [
        "SwiftDemangle"
      ],
      "sources" : [
        "DemangledNode.swift",
        "Demangler.swift"
      ],
      "target_dependencies" : [
        "CSwiftDemangle"
      ],
      "type" : "library"
    },
    {
      "c99name" : "IndexStoreTests",
      "module_type" : "SwiftTarget",
      "name" : "IndexStoreTests",
      "path" : "Tests/IndexStoreTests",
      "sources" : [
        "DetermineIndexStorePath.swift",
        "IndexStoreTests.swift",
        "dummy.swift"
      ],
      "target_dependencies" : [
        "IndexStore"
      ],
      "type" : "test"
    },
    {
      "c99name" : "IndexStore",
      "module_type" : "SwiftTarget",
      "name" : "IndexStore",
      "path" : "Sources/IndexStore",
      "product_memberships" : [
        "IndexStore",
        "indexutil-export",
        "unnecessary-testable",
        "unused-imports",
        "indexutil-annotate",
        "tycat"
      ],
      "sources" : [
        "Constants.swift",
        "IndexStore.swift",
        "IndexStoreError.swift",
        "StandardStream.swift",
        "String+IndexStore.swift"
      ],
      "target_dependencies" : [
        "CIndexStore"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CSwiftDemangle",
      "module_type" : "ClangTarget",
      "name" : "CSwiftDemangle",
      "path" : "Sources/CSwiftDemangle",
      "product_memberships" : [
        "CSwiftDemangle",
        "SwiftDemangle"
      ],
      "sources" : [
        "CSwiftDemangle.cpp"
      ],
      "type" : "library"
    },
    {
      "c99name" : "CIndexStore",
      "module_type" : "ClangTarget",
      "name" : "CIndexStore",
      "path" : "Sources/CIndexStore",
      "product_memberships" : [
        "IndexStore",
        "indexutil-export",
        "unnecessary-testable",
        "unused-imports",
        "indexutil-annotate",
        "tycat"
      ],
      "sources" : [
        "dummy.c"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.7"
}
basic-6.2-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:b1b7512e70c869f4e6dfc045c9cfbcecd5568d004e044b9c2b5f35ddaecd218b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.2-latest
Done.