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 DependencyGraph, reference main (6c89d4), with Swift 6.2 (beta) for Linux on 19 Jun 2025 21:52:46 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-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/simonbs/dependency-graph.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/simonbs/dependency-graph
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 6c89d4b Preliminary support for target dependency condition (#23)
Cloned https://github.com/simonbs/dependency-graph.git
Revision (git rev-parse @):
6c89d4be7c90bdaea7feecf979f9ccab947c3188
SUCCESS checkout https://github.com/simonbs/dependency-graph.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.2
Building package at path:  $PWD
https://github.com/simonbs/dependency-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-0":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.2-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.2-latest: Pulling from finestructure/spi-images
Digest: sha256:f81a7bd7aa87a0f81848d48c5bcc03f5f78deebd37fa5f9be9913077205d3687
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.2-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/XcodeProj.git
[1/23337] Fetching xcodeproj
[17038/38717] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.63s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.1 (2.10s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.43s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2127] Fetching aexml
[2128/3538] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.33s)
Fetched https://github.com/tadija/AEXML.git from cache (0.35s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (4.11s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.38s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.15s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.83s)
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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.7.0
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
[41/104] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[42/104] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[43/104] Compiling PackageSwiftFile PackageSwiftFile.swift
[44/104] Compiling Writer Writer.swift
[45/104] Emitting module Writer
[46/105] Emitting module PackageSwiftFile
[47/105] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[49/105] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[51/110] Emitting module StdoutWriter
[52/110] Compiling StdoutWriter StdoutWriter.swift
[54/113] Emitting module DumpPackageService
[55/113] Compiling DumpPackageService DumpPackageService.swift
[56/114] Emitting module ShellCommandRunner
[57/114] Compiling ShellCommandRunner ShellCommandRunner.swift
[58/114] Compiling ShellCommandRunner ShellCommandOutput.swift
[60/115] Emitting module ProjectRootClassifier
[61/115] Compiling ProjectRootClassifier ProjectRoot.swift
[62/115] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[63/115] Emitting module StringIndentHelpers
[64/115] Compiling StringIndentHelpers Indent.swift
[67/117] Emitting module FileSystem
[68/117] Compiling FileSystem FileSystem.swift
[70/118] Emitting module XcodeProject
[71/118] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[73/118] Emitting module PackageSwiftFileParserCache
[74/118] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[75/121] Compiling XcodeProject XcodeProject+Target.swift
[76/121] Compiling XcodeProject XcodeProject.swift
[79/131] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[80/131] Emitting module DumpPackageServiceLive
[81/131] Emitting module PackageSwiftFileParser
[82/131] Compiling DirectedGraph DirectedGraph+Cluster.swift
[83/135] Emitting module DirectedGraph
[84/138] Compiling DirectedGraph DirectedGraph+Edge.swift
[85/138] Compiling DirectedGraph DirectedGraph+Node.swift
[87/138] Emitting module PathKit
[88/138] Compiling PathKit PathKit.swift
[89/139] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[90/140] Emitting module XcodeProjectParser
[91/140] Compiling XcodeProjectParser XcodeProjectParser.swift
[94/143] Emitting module ShellCommandRunnerLive
[95/143] Compiling ShellCommandRunnerLive ShellCommandRunnerLive.swift
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:13:14: warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
11 |         task.standardOutput = pipe
12 |         task.arguments = ["-c", arguments.joined(separator: " ")]
13 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL' [#DeprecatedDeclaration]
   |              `- note: use 'executableURL' instead
14 |         task.standardInput = nil
15 |         task.launch()
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:15:14: warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
13 |         task.launchPath = "/bin/zsh"
14 |         task.standardInput = nil
15 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run' [#DeprecatedDeclaration]
   |              `- note: use 'run' instead
16 |         let data = pipe.fileHandleForReading.readDataToEndOfFile()
17 |         task.waitUntilExit()
[#DeprecatedDeclaration]: <https://docs.swift.org/compiler/documentation/diagnostics/deprecated-declaration>
[97/144] Emitting module ProjectRootClassifierLive
[98/144] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[101/156] Emitting module PackageSwiftFileParserCacheLive
[102/156] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[102/163] Wrapping AST for XcodeProjectParser for debugging
[103/163] Wrapping AST for XcodeProject for debugging
[105/163] Wrapping AST for Writer for debugging
[106/163] Wrapping AST for StringIndentHelpers for debugging
[107/163] Wrapping AST for StdoutWriter for debugging
[108/163] Wrapping AST for ShellCommandRunnerLive for debugging
[109/163] Wrapping AST for ShellCommandRunner for debugging
[111/163] Emitting module FileSystemLive
[112/163] Compiling FileSystemLive FileSystemLive.swift
/host/spi-builder-workspace/Sources/Library/Utilities/FileSystemLive/FileSystemLive.swift:13:29: warning: result of call to 'fileExists(atPath:isDirectory:)' is unused [#no-usage]
11 |     public func isDirectory(at itemURL: URL) -> Bool {
12 |         var isDirectory: ObjCBool = false
13 |         FileManager.default.fileExists(atPath: itemURL.path, isDirectory: &isDirectory)
   |                             `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused [#no-usage]
14 |         return isDirectory.boolValue
15 |     }
[112/164] Wrapping AST for ProjectRootClassifierLive for debugging
[113/164] Wrapping AST for ProjectRootClassifier for debugging
[114/164] Wrapping AST for PathKit for debugging
[116/164] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[117/164] Wrapping AST for PackageSwiftFileParserCache for debugging
[119/164] Compiling PackageSwiftFileParserLive PackageSwiftFileMapper.swift
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:41: error: incorrect argument label in call (have 'withPath:', expected 'withPathComponents:')
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                         `- error: incorrect argument label in call (have 'withPath:', expected 'withPathComponents:')
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:63: error: cannot convert value of type 'String' to expected argument type '[String]'
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                                               `- error: cannot convert value of type 'String' to expected argument type '[String]'
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:69: error: 'URL?' is not convertible to 'NSURL'
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                                                     |- error: 'URL?' is not convertible to 'NSURL'
   |                                                                     `- note: did you mean to use 'as!' to force downcast?
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
[120/164] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[121/164] Compiling AEXML Error.swift
[121/164] Wrapping AST for PackageSwiftFileParser for debugging
[122/164] Wrapping AST for PackageSwiftFile for debugging
[123/164] Wrapping AST for FileSystemLive for debugging
[124/164] Wrapping AST for DumpPackageServiceLive for debugging
[126/164] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[127/164] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[127/164] Wrapping AST for FileSystem for debugging
[129/164] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[130/164] Compiling AEXML Options.swift
[131/164] Compiling AEXML Parser.swift
[131/164] Wrapping AST for DumpPackageService for debugging
[133/164] Compiling AEXML Builders.swift
[134/164] Compiling AEXML Document.swift
[135/164] Compiling DirectedGraph DirectedGraph.swift
[136/165] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[137/165] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[138/165] Emitting module PackageSwiftFileParserLive
[140/165] Emitting module AEXML
[141/165] Emitting module ArgumentParserToolInfo
BUILD FAILURE 6.2 linux