Build Information
Failed to build DependencyGraph, reference main (6c89d4), with Swift 6.3 for Linux on 13 Apr 2026 11:11:30 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.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.3
Building package at path: $PWD
https://github.com/simonbs/dependency-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/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.3-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:5a7d791d2ead8a924b1292cb31bf3288eabcfe8880e0b005b00b45b71a5bc36a
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:basic-6.3-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/XcodeProj.git
[1/17523] Fetching swift-argument-parser
[527/41956] Fetching swift-argument-parser, xcodeproj
Fetched https://github.com/apple/swift-argument-parser from cache (1.51s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.53s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.7.1 (1.97s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.27.7 (0.35s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2155] Fetching aexml
[1359/3607] Fetching aexml, pathkit
Fetched https://github.com/kylef/PathKit.git from cache (0.39s)
Fetched https://github.com/tadija/AEXML.git from cache (0.39s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (3.53s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.75s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.7.0 (1.51s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.49s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.7.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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.27.7
[1/1] Compiling plugin GenerateManual
[2/2] Compiling plugin GenerateDoccReference
Building for debugging...
[2/81] Write sources
[40/81] Write swift-version-24593BA9C3E375BF.txt
[42/106] Emitting module ArgumentParserToolInfo
[43/106] Compiling Writer Writer.swift
[44/106] Emitting module Writer
[46/113] Compiling ArgumentParserToolInfo ToolInfo.swift
[47/114] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[48/114] Compiling PackageSwiftFile PackageSwiftFile.swift
[49/114] Emitting module PackageSwiftFile
[50/114] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[51/114] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[52/114] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[55/117] Emitting module StdoutWriter
[56/117] Compiling StdoutWriter StdoutWriter.swift
[58/122] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[59/122] Emitting module AEXML
[60/122] Compiling AEXML Builders.swift
[61/122] Compiling AEXML Document.swift
[62/122] Emitting module StringIndentHelpers
[63/122] Compiling StringIndentHelpers Indent.swift
[64/122] Compiling XcodeProject XcodeProject.swift
[65/123] Emitting module ProjectRootClassifier
[66/123] Compiling ProjectRootClassifier ProjectRoot.swift
[67/123] Compiling ShellCommandRunner ShellCommandOutput.swift
[68/123] Compiling ShellCommandRunner ShellCommandRunner.swift
[69/123] Emitting module ShellCommandRunner
[72/125] Compiling XcodeProject XcodeProject+Target.swift
[74/125] Compiling FileSystem FileSystem.swift
[75/125] Emitting module FileSystem
[76/126] Emitting module XcodeProject
[77/126] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[79/127] Emitting module PackageSwiftFileParserCache
[80/127] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[82/128] Compiling AEXML Options.swift
[83/128] Compiling AEXML Error.swift
[84/128] Compiling AEXML Element.swift
[85/128] Compiling AEXML Parser.swift
[88/142] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[89/142] Emitting module ShellCommandRunnerLive
[90/144] Emitting module PathKit
[91/144] Compiling PathKit PathKit.swift
[92/144] Emitting module PackageSwiftFileParser
[93/148] Emitting module DumpPackageService
[94/148] Compiling DumpPackageService DumpPackageService.swift
[96/149] Compiling XcodeProjectParser XcodeProjectParser.swift
[97/149] Emitting module XcodeProjectParser
[99/150] Emitting module PackageSwiftFileParserCacheLive
[101/152] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[103/153] Emitting module ProjectRootClassifierLive
[104/153] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[106/154] Emitting module DirectedGraph
[108/155] 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>
[109/155] Compiling DirectedGraph DirectedGraph+Cluster.swift
[110/155] Compiling DirectedGraph DirectedGraph+Edge.swift
[111/164] Compiling DirectedGraph DirectedGraph+Node.swift
[112/164] Compiling DirectedGraph DirectedGraph.swift
[113/166] Emitting module FileSystemLive
[115/166] 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 | }
[118/167] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[119/167] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[120/167] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[121/167] 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)
[122/167] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[123/167] Emitting module PackageSwiftFileParserLive
[124/167] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[125/167] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[125/169] Wrapping AST for XcodeProjectParser for debugging
[126/169] Wrapping AST for StringIndentHelpers for debugging
[127/169] Wrapping AST for Writer for debugging
error: cancelled
error: cancelled
error: cancelled
[128/181] Wrapping AST for XcodeProject for debugging
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
error: cancelled
BUILD FAILURE 6.3 linux