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-4609320-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: 1.2.0
Cloned https://github.com/simonbs/dependency-graph.git into spi-builder-workspace
SUCCESS checkout https://github.com/simonbs/dependency-graph.git at 1.2.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             5.9
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-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/tuist/XcodeProj.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tadija/AEXML.git
[1/1021] Fetching spectre
[726/3047] Fetching spectre, aexml
[3048/22435] Fetching spectre, aexml, xcodeproj
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/kylef/Spectre.git (0.30s)
[3578/21414] Fetching aexml, xcodeproj
Fetched https://github.com/tadija/AEXML.git (0.30s)
Fetching https://github.com/kylef/PathKit.git
[1745/19388] Fetching xcodeproj
[12410/20793] Fetching xcodeproj, pathkit
Fetched https://github.com/kylef/PathKit.git (0.33s)
[16868/19388] Fetching xcodeproj
[16869/30173] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.76s)
Fetched https://github.com/tuist/XcodeProj.git (1.32s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.30s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.34s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.11s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.36s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (1.25s)
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/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/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.6.1
[1/1] Compiling plugin Generate Manual
Building for debugging...
[2/64] Emitting module AEXML
[3/64] Emitting module Writer
[4/64] Compiling Writer Writer.swift
[7/72] Emitting module ShellCommandRunner
[8/72] Emitting module PackageSwiftFile
[9/72] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[10/72] Compiling PackageSwiftFile PackageSwiftFile.swift
[11/72] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[12/72] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[13/72] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[16/74] Emitting module ArgumentParserToolInfo
[17/74] Compiling ArgumentParserToolInfo ToolInfo.swift
[20/78] Emitting module StdoutWriter
[21/78] Compiling StdoutWriter StdoutWriter.swift
[23/82] Emitting module PackageSwiftFileParserCache
[25/84] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[26/84] Compiling ShellCommandRunner ShellCommandRunner.swift
[27/84] Compiling ShellCommandRunner ShellCommandOutput.swift
[28/84] Emitting module ProjectRootClassifier
[29/84] Compiling ProjectRootClassifier ProjectRoot.swift
[30/84] Compiling XcodeProject XcodeProject.swift
[31/84] Compiling XcodeProject XcodeProject+Target.swift
[32/84] Emitting module StringIndentHelpers
[33/84] Compiling StringIndentHelpers Indent.swift
[37/89] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[39/89] Emitting module XcodeProject
[40/89] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[43/91] Compiling AEXML Parser.swift
[44/91] Compiling AEXML Error.swift
[45/91] Compiling AEXML Options.swift
[49/94] Compiling AEXML Document.swift
[50/94] Compiling AEXML Element.swift
[52/99] Emitting module PackageSwiftFileParser
[53/99] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[56/102] Emitting module PathKit
[57/102] Compiling PathKit PathKit.swift
[58/108] Emitting module FileSystem
[59/108] Compiling FileSystem FileSystem.swift
[61/113] Compiling DumpPackageService DumpPackageService.swift
[64/113] Emitting module DumpPackageService
[66/114] Emitting module ShellCommandRunnerLive
[67/114] 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
[69/115] Emitting module XcodeProjectParser
[70/115] Compiling XcodeProjectParser XcodeProjectParser.swift
[72/118] Wrapping AST for XcodeProject for debugging
[75/121] Compiling DirectedGraph DirectedGraph+Edge.swift
[76/121] Compiling DirectedGraph DirectedGraph+Node.swift
[78/122] Emitting module DirectedGraph
[79/122] Compiling DirectedGraph DirectedGraph+Cluster.swift
[80/139] Emitting module PackageSwiftFileParserCacheLive
[82/149] Wrapping AST for Writer for debugging
[84/160] Wrapping AST for StringIndentHelpers for debugging
[86/236] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[87/257] Emitting module FileSystemLive
[90/261] Emitting module DumpPackageServiceLive
[90/261] Wrapping AST for XcodeProjectParser for debugging
[91/261] Wrapping AST for StdoutWriter for debugging
[93/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)
                            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[93/261] Wrapping AST for ShellCommandRunnerLive for debugging
[95/261] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[96/261] Emitting module ProjectRootClassifierLive
[96/261] Wrapping AST for ShellCommandRunner for debugging
[98/262] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[99/262] 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!
[100/262] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[101/262] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[101/262] Wrapping AST for ProjectRootClassifier for debugging
[103/264] Wrapping AST for PathKit for debugging
[107/266] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[107/266] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[110/267] Wrapping AST for PackageSwiftFileParser for debugging
[111/267] Wrapping AST for PackageSwiftFileParserCache for debugging
[113/267] Wrapping AST for ProjectRootClassifierLive for debugging
[114/267] Wrapping AST for PackageSwiftFile for debugging
[115/267] Wrapping AST for FileSystem for debugging
[116/267] Wrapping AST for FileSystemLive for debugging
[117/267] Wrapping AST for DumpPackageService for debugging
[118/267] Wrapping AST for ArgumentParserToolInfo for debugging
[119/267] Wrapping AST for AEXML for debugging
[120/267] Wrapping AST for DumpPackageServiceLive for debugging
[122/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[123/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[124/267] Emitting module PackageSwiftFileParserLive
[125/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
error: fatalError
BUILD FAILURE 5.9 linux

Build Machine: Linux 2