The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyGraph with Swift 5.9 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.19.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/simonbs/dependency-graph.git
Reference: main
Cloned https://github.com/simonbs/dependency-graph.git into spi-builder-workspace
SUCCESS checkout https://github.com/simonbs/dependency-graph.git at main
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-1":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.9-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
[165/2426] Fetching spectre, pathkit
[2427/22147] Fetching spectre, pathkit, xcodeproj
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/kylef/Spectre.git (1.12s)
Fetched https://github.com/kylef/PathKit.git (1.12s)
Fetched https://github.com/tuist/XcodeProj.git (1.15s)
[1/2026] Fetching aexml
[2027/12839] Fetching aexml, swift-argument-parser
Fetched https://github.com/tadija/AEXML.git (0.55s)
Fetched https://github.com/apple/swift-argument-parser (0.56s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.35s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.32s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (0.96s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.27s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.27s)
Creating working copy for https://github.com/tadija/AEXML.git
Working copy of https://github.com/tadija/AEXML.git resolved at 4.6.1
Creating working copy for https://github.com/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.8.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.2.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
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin Generate Manual
Building for debugging...
[2/64] Emitting module ShellCommandRunner
[3/64] Emitting module XcodeProject
[4/64] Compiling Writer Writer.swift
[5/64] Emitting module Writer
[8/72] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[9/72] Compiling PackageSwiftFile PackageSwiftFile.swift
[10/72] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[11/72] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[12/72] Emitting module PackageSwiftFile
[13/72] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[16/76] Compiling StdoutWriter StdoutWriter.swift
[17/76] Emitting module StdoutWriter
[19/77] Emitting module ArgumentParserToolInfo
[20/77] Compiling ArgumentParserToolInfo ToolInfo.swift
[24/84] Emitting module PackageSwiftFileParser
[25/84] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[26/84] Emitting module StringIndentHelpers
[27/84] Compiling StringIndentHelpers Indent.swift
[28/84] Compiling XcodeProject XcodeProject.swift
[29/84] Compiling XcodeProject XcodeProject+Target.swift
[30/84] Emitting module ProjectRootClassifier
[31/84] Compiling ProjectRootClassifier ProjectRoot.swift
[32/84] Emitting module PackageSwiftFileParserCache
[33/84] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[34/86] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[37/87] Compiling ShellCommandRunner ShellCommandOutput.swift
[38/89] Compiling ShellCommandRunner ShellCommandRunner.swift
[42/90] Compiling AEXML Document.swift
[43/90] Emitting module AEXML
[47/93] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[49/93] Compiling AEXML Options.swift
[50/93] Compiling AEXML Parser.swift
[51/94] Compiling AEXML Error.swift
[52/94] Compiling AEXML Element.swift
[57/102] Emitting module PathKit
[58/102] Compiling PathKit PathKit.swift
[60/109] Compiling DumpPackageService DumpPackageService.swift
[61/113] Emitting module FileSystem
[62/113] Compiling FileSystem FileSystem.swift
[63/114] Compiling XcodeProjectParser XcodeProjectParser.swift
[64/114] Emitting module DumpPackageService
[65/114] Emitting module XcodeProjectParser
[66/114] Emitting module PackageSwiftFileParserCacheLive
[67/114] Emitting module DirectedGraph
[75/120] Emitting module ShellCommandRunnerLive
[76/120] Compiling ShellCommandRunnerLive ShellCommandRunnerLive.swift
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:13:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
        task.launchPath = "/bin/zsh"
             ^
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:13:14: note: use 'executableURL' instead
        task.launchPath = "/bin/zsh"
             ^~~~~~~~~~
             executableURL
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:15:14: warning: 'launch()' is deprecated: renamed to 'run'
        task.launch()
             ^
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:15:14: note: use 'run' instead
        task.launch()
             ^~~~~~
             run
[77/120] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[79/160] Wrapping AST for XcodeProject for debugging
[83/187] Wrapping AST for XcodeProjectParser for debugging
[84/219] Wrapping AST for Writer for debugging
[85/261] Wrapping AST for StringIndentHelpers for debugging
[87/261] Emitting module FileSystemLive
[88/261] 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
        FileManager.default.fileExists(atPath: itemURL.path, isDirectory: &isDirectory)
                            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[88/261] Wrapping AST for StdoutWriter for debugging
[90/261] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[90/261] Wrapping AST for ShellCommandRunnerLive for debugging
[92/261] 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:')
            let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
                                        ^~~~~~~~~
                                         withPathComponents
/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]'
            let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
                                                              ^
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:69: error: 'URL?' is not convertible to 'NSURL'
            let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
                                                                    ^
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:69: note: did you mean to use 'as!' to force downcast?
            let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
                           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^~
                                                                    as!
[93/261] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[94/262] Emitting module ProjectRootClassifierLive
[95/262] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[95/262] Wrapping AST for ShellCommandRunner for debugging
[98/263] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[99/263] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[100/263] Emitting module DumpPackageServiceLive
[101/263] Wrapping AST for ProjectRootClassifier for debugging
[102/264] Wrapping AST for PathKit for debugging
[105/266] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[108/267] Wrapping AST for PackageSwiftFileParserCache for debugging
[109/267] Wrapping AST for PackageSwiftFileParser for debugging
[111/267] Emitting module PackageSwiftFileParserLive
[111/267] Wrapping AST for PackageSwiftFile for debugging
[112/267] Wrapping AST for FileSystem for debugging
[113/267] Wrapping AST for DumpPackageService for debugging
[114/267] Wrapping AST for ArgumentParserToolInfo for debugging
[116/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[117/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[118/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[118/267] Wrapping AST for AEXML for debugging
[119/267] Wrapping AST for FileSystemLive for debugging
[121/267] Compiling DirectedGraph DirectedGraph+Edge.swift
[122/267] Compiling DirectedGraph DirectedGraph+Cluster.swift
[123/267] Compiling DirectedGraph DirectedGraph+Node.swift
[124/267] Compiling DirectedGraph DirectedGraph.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 1