The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyGraph with Swift 5.7 for Linux.

Build Command

docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-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.7
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4609320-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.7-latest swift build 2>&1
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tadija/AEXML.git
[1/2026] Fetching aexml
[2/3431] Fetching aexml, pathkit
[3432/4452] Fetching aexml, pathkit, spectre
Fetched https://github.com/kylef/PathKit.git (0.28s)
Fetched https://github.com/kylef/Spectre.git (0.29s)
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
Fetched https://github.com/tadija/AEXML.git (0.29s)
[1/19721] Fetching xcodeproj
[4143/30534] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser (0.68s)
[16961/19721] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git (1.91s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.28s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.29s)
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.31s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.28s)
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.6.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/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
Compiling plugin Generate Manual...
Building for debugging...
[1/63] Emitting module Writer
[2/63] Compiling Writer Writer.swift
[5/71] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[6/71] Compiling PackageSwiftFile PackageSwiftFile.swift
[7/71] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[8/71] Emitting module PackageSwiftFile
[9/71] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[10/71] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[13/75] Compiling ArgumentParserToolInfo ToolInfo.swift
[14/75] Emitting module ArgumentParserToolInfo
[16/76] Emitting module StdoutWriter
[17/77] Compiling StdoutWriter StdoutWriter.swift
[21/83] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[22/83] Compiling XcodeProject XcodeProject+Target.swift
[23/83] Emitting module XcodeProject
[24/83] Compiling XcodeProject XcodeProject.swift
[25/83] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[26/83] Emitting module ProjectRootClassifier
[27/83] Compiling ProjectRootClassifier ProjectRoot.swift
[28/83] Emitting module ShellCommandRunner
[29/83] Compiling ShellCommandRunner ShellCommandRunner.swift
[30/83] Compiling ShellCommandRunner ShellCommandOutput.swift
[31/83] Emitting module StringIndentHelpers
[32/83] Compiling StringIndentHelpers Indent.swift
[33/85] Emitting module AEXML
[34/86] Compiling AEXML Document.swift
[37/88] Compiling AEXML Options.swift
[38/88] Compiling AEXML Error.swift
[39/88] Compiling AEXML Parser.swift
[44/90] Compiling AEXML Element.swift
[49/93] Emitting module PackageSwiftFileParser
[50/93] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[51/93] Emitting module PackageSwiftFileParserCache
[52/93] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[53/103] Emitting module XcodeProjectParser
[55/107] Emitting module DumpPackageService
[56/107] Compiling DumpPackageService DumpPackageService.swift
[58/109] Compiling FileSystem FileSystem.swift
[59/109] Emitting module FileSystem
[60/110] Compiling XcodeProjectParser XcodeProjectParser.swift
[62/110] Emitting module DirectedGraph
[66/113] Compiling DirectedGraph DirectedGraph+Node.swift
[67/113] Emitting module ShellCommandRunnerLive
[68/113] 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
[70/113] Compiling DirectedGraph DirectedGraph+Edge.swift
[71/115] Compiling DirectedGraph DirectedGraph+Cluster.swift
[74/116] Emitting module PathKit
[75/116] Compiling PathKit PathKit.swift
[75/116] Wrapping AST for XcodeProject for debugging
[79/119] Wrapping AST for XcodeProjectParser for debugging
[83/169] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[84/169] Emitting module PackageSwiftFileParserCacheLive
[85/171] 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!
[87/174] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[88/174] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[89/174] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[90/174] Emitting module ProjectRootClassifierLive
[92/175] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[93/175] Emitting module FileSystemLive
[94/175] 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)
                            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[95/175] Emitting module DumpPackageServiceLive
[96/175] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[97/189] Emitting module PackageSwiftFileParserLive
[98/189] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[99/203] Wrapping AST for Writer for debugging
[102/233] Wrapping AST for StringIndentHelpers for debugging
[105/266] Wrapping AST for StdoutWriter for debugging
[108/266] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[109/266] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[109/266] Wrapping AST for ShellCommandRunnerLive for debugging
[110/266] Wrapping AST for ProjectRootClassifierLive for debugging
[111/266] Wrapping AST for ProjectRootClassifier for debugging
[112/266] Wrapping AST for ShellCommandRunner for debugging
[113/266] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[113/266] Wrapping AST for PackageSwiftFileParserCache for debugging
[113/266] Wrapping AST for PathKit for debugging
BUILD FAILURE 5.7 linux

Build Machine: Linux 2