The Swift Package Index logo.Swift Package Index

Build Information

Successful build of swift-dead-code, reference main (7e088e), with Swift 6.4 for Linux on 5 Nov 2026 05:14:32 UTC.

Swift 6 data race errors: 0

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/ivan-magda/swift-dead-code.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/ivan-magda/swift-dead-code
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 7e088e2 Release 0.1.3
Cloned https://github.com/ivan-magda/swift-dead-code.git
Revision (git rev-parse @):
7e088e2ec6a6b6b6022f208f04d8daf7d3a39a77
SUCCESS checkout https://github.com/ivan-magda/swift-dead-code.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.4
Building package at path:  $PWD
https://github.com/ivan-magda/swift-dead-code.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-54344849-0":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/swiftlang/swift-syntax.git
Fetching https://github.com/apple/swift-argument-parser.git
Fetching https://github.com/jpsim/Yams.git
[1/11878] Fetching yams
[2/37137] Fetching yams, xcodeproj
[15704/56471] Fetching yams, xcodeproj, swift-argument-parser
[56472/138098] Fetching yams, xcodeproj, swift-argument-parser, swift-syntax
Fetched https://github.com/apple/swift-argument-parser.git (3.46s)
Fetched https://github.com/tuist/XcodeProj.git (3.47s)
Fetched https://github.com/jpsim/Yams.git (3.47s)
Fetched https://github.com/swiftlang/swift-syntax.git (3.48s)
Computing version for https://github.com/swiftlang/swift-syntax.git
Computed https://github.com/swiftlang/swift-syntax.git at 604.0.0 (4.44s)
Computing version for https://github.com/jpsim/Yams.git
Computed https://github.com/jpsim/Yams.git at 6.2.2 (0.12s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.8.2 (0.14s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 9.17.8 (0.12s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/xcode-project-format.git
[1/1460] Fetching pathkit
[1345/1897] Fetching pathkit, xcode-project-format
[1354/4166] Fetching pathkit, xcode-project-format, aexml
Fetched https://github.com/apple/xcode-project-format.git (0.40s)
Fetched https://github.com/kylef/PathKit.git (0.40s)
Fetched https://github.com/tadija/AEXML.git (0.43s)
Computing version for https://github.com/apple/xcode-project-format.git
Computed https://github.com/apple/xcode-project-format.git at 0.1.0 (0.56s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.85s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git (0.39s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.3 (0.52s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.15s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.8.2
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.3
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/swiftlang/swift-syntax.git
Working copy of https://github.com/swiftlang/swift-syntax.git resolved at 604.0.0
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 9.17.8
Creating working copy for https://github.com/jpsim/Yams.git
Working copy of https://github.com/jpsim/Yams.git resolved at 6.2.2
Creating working copy for https://github.com/apple/xcode-project-format.git
Working copy of https://github.com/apple/xcode-project-format.git resolved at 0.1.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Downloading package prebuilt https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz
Downloaded https://download.swift.org/prebuilts/swift-syntax/604.0.0/swift-6.4.0-RELEASE-ubuntu_noble_x86_64-MacroSupport.tar.gz (0.16s)
Building for debugging...
[Computing dependencies]
[Pre-planning 1 / 627]
[Planning deferred tasks]
[6 / 255]
[142 / 286] PathKit
[179 / 299] PathKit
[190 / 299] Yams
[202 / 299] Yams-product
[203 / 300] Yams-product
[204 / 300] Yams-product
[205 / 300] Yams
[210 / 300] XcodeProjectFormat-product
[216 / 301] SwiftSyntax602
[222 / 303] SwiftSyntax601
[235 / 307] SwiftSyntax602
[241 / 309] SwiftSyntax509
[244 / 311] AEXML
[250 / 318] ArgumentParserToolInfo
[257 / 318] PathKit
[262 / 319] CYaml
[265 / 319] PathKit
[273 / 321] ArgumentParserToolInfo
[276 / 331] SwiftSyntax
[284 / 331] AEXML
[287 / 331] SwiftSyntax
[288 / 332] SwiftSyntax
[288 / 332] PathKit
[292 / 333] ArgumentParser
[295 / 342] ArgumentParser
[297 / 342] ArgumentParser
[300 / 342] ArgumentParser
[304 / 342] ArgumentParser
[305 / 342] ArgumentParser-product
[306 / 342] ArgumentParser-product
[307 / 343] PathKit-product
[308 / 352] ArgumentParser
[310 / 352] XcodeProj
[311 / 353] XcodeProj
[313 / 353] SwiftSyntax
[323 / 353] XcodeProj-product
[324 / 353] XcodeProj-product
[325 / 353] XcodeProj-product
[326 / 353] XcodeProj
[329 / 353]
[331 / 354] SwiftParser
[333 / 363] SwiftParser
[334 / 363] SwiftParser
[335 / 363] SwiftParser
[336 / 363] SwiftSyntax
[342 / 363] SwiftParser-product
[344 / 364] XcodeProj
[347 / 364] SwiftParser
[348 / 364] Yams
[349 / 365] DeadCodeKit
[352 / 374] DeadCodeKit
[353 / 374] DeadCodeKit
[356 / 375] DeadCodeKit
[362 / 375] DeadCodeKit
[364 / 375] swift-dead-code-product
[366 / 376] swift-dead-code-product
/host/spi-builder-workspace/Sources/DeadCodeKit/Support/Shell.swift:74:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 72 |     let outputURL = scratch.appendingPathComponent("stdout")
 73 |     let errorURL = scratch.appendingPathComponent("stderr")
 74 |     FileManager.default.createFile(atPath: outputURL.path, contents: nil)
    |                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 75 |     FileManager.default.createFile(atPath: errorURL.path, contents: nil)
 76 |     let output = try FileHandle(forWritingTo: outputURL)
/host/spi-builder-workspace/Sources/DeadCodeKit/Support/Shell.swift:75:25: warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 73 |     let errorURL = scratch.appendingPathComponent("stderr")
 74 |     FileManager.default.createFile(atPath: outputURL.path, contents: nil)
 75 |     FileManager.default.createFile(atPath: errorURL.path, contents: nil)
    |                         `- warning: result of call to 'createFile(atPath:contents:attributes:)' is unused [#]8;;https://docs.swift.org/compiler/documentation/diagnostics/no-usage\NoUsage]8;;\]
 76 |     let output = try FileHandle(forWritingTo: outputURL)
 77 |     let error = try FileHandle(forWritingTo: errorURL)
[#NoUsage]: <https://docs.swift.org/compiler/documentation/diagnostics/no-usage>
[370 / 385] swift-dead-code-product
[372 / 385] swift-dead-code-product
[373 / 385] swift-dead-code-product
[376 / 385] AllExcludingTests
[376 / 385] swift-dead-code-product
[379 / 386] DeadCodeKit
[381 / 387] SwiftSyntax
[384 / 388] SwiftSyntax
[388 / 388] DeadCodeKit-product
[388 / 388] swift-dead-code-product
Build complete! (29.75 secs)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swift-argument-parser",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.8.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-argument-parser.git"
    },
    {
      "identity" : "swift-syntax",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "604.0.0",
            "upper_bound" : "605.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/swiftlang/swift-syntax.git"
    },
    {
      "identity" : "xcodeproj",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "9.17.0",
            "upper_bound" : "10.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/tuist/XcodeProj.git"
    },
    {
      "identity" : "yams",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "6.2.0",
            "upper_bound" : "7.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/jpsim/Yams.git"
    }
  ],
  "manifest_display_name" : "swift-dead-code",
  "name" : "swift-dead-code",
  "path" : "/host/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "14.0"
    }
  ],
  "products" : [
    {
      "name" : "swift-dead-code",
      "targets" : [
        "swift-dead-code"
      ],
      "type" : {
        "executable" : null
      }
    },
    {
      "name" : "DeadCodeKit",
      "targets" : [
        "DeadCodeKit"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "swift_dead_code",
      "module_type" : "SwiftTarget",
      "name" : "swift-dead-code",
      "path" : "Sources/swift-dead-code",
      "product_dependencies" : [
        "ArgumentParser"
      ],
      "product_memberships" : [
        "swift-dead-code"
      ],
      "sources" : [
        "BaselineCommand.swift",
        "Check.swift",
        "Describe.swift",
        "Init.swift",
        "PruneImports.swift",
        "Scan.swift",
        "SwiftDeadCode.swift",
        "Triage.swift"
      ],
      "target_dependencies" : [
        "DeadCodeKit"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "DeadCodeKitTests",
      "module_type" : "SwiftTarget",
      "name" : "DeadCodeKitTests",
      "path" : "Tests/DeadCodeKitTests",
      "sources" : [
        "BaselineTests.swift",
        "BuildConfirmationTests.swift",
        "ConfigurationLoaderTests.swift",
        "GateTests.swift",
        "IntegrationTests.swift",
        "PruneSelectionTests.swift",
        "ScanSetupTests.swift",
        "Support/FixtureProject.swift",
        "SyntaxTests.swift",
        "TriageTests.swift"
      ],
      "target_dependencies" : [
        "DeadCodeKit"
      ],
      "type" : "test"
    },
    {
      "c99name" : "DeadCodeKit",
      "module_type" : "SwiftTarget",
      "name" : "DeadCodeKit",
      "path" : "Sources/DeadCodeKit",
      "product_dependencies" : [
        "SwiftParser",
        "SwiftSyntax",
        "XcodeProj",
        "Yams"
      ],
      "product_memberships" : [
        "swift-dead-code",
        "DeadCodeKit"
      ],
      "sources" : [
        "Configuration/Configuration.swift",
        "Configuration/ConfigurationLoader.swift",
        "Configuration/Defaults.swift",
        "Configuration/StarterConfiguration.swift",
        "Gate/DependencyCheck.swift",
        "Gate/Gate.swift",
        "Gate/GateFinding.swift",
        "Gate/MultiPatternSearch.swift",
        "Gate/ReferenceCheck.swift",
        "Periphery/Baseline.swift",
        "Periphery/BuildConfirmation.swift",
        "Periphery/PeripheryFinding.swift",
        "Periphery/PeripheryScanner.swift",
        "Periphery/ProjectBuilder.swift",
        "Periphery/ScanRunner.swift",
        "Project/BuildSettingsResolver.swift",
        "Project/ProjectDescription.swift",
        "Project/ProjectLoader.swift",
        "Project/ProjectModel.swift",
        "Project/SourceLanguages.swift",
        "Project/SwiftPackageAdapter.swift",
        "Project/XcodeProjectAdapter.swift",
        "Prune/ImportPruner.swift",
        "Prune/PruneWorkspace.swift",
        "Prune/UnifiedDiff.swift",
        "Support/DeadCodeError.swift",
        "Support/FileLock.swift",
        "Support/Git.swift",
        "Support/Glob.swift",
        "Support/Shell.swift",
        "Support/TextFiles.swift",
        "Support/WorkingCopy.swift",
        "Syntax/DeclarationLocator.swift",
        "Syntax/ImportScanner.swift",
        "Syntax/StringMentions.swift",
        "Triage/TriageNotes.swift",
        "Triage/TriageReport.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.2"
}
linux-6.4-latest: Pulling from saguaro1/spi-images
Digest: sha256:b44244c3c3fc9f2af9eceb487c9bff83319ab045277845df83db1e4f60420d2c
Status: Image is up to date for registry.gitlab.com/saguaro1/spi-images:linux-6.4-latest
Done.