The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyGraph with Swift 5.8 for Linux.

Build Command

docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-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.8
Building package at path:  spi-builder-workspace
Running build ...
docker run --rm -v "checkouts-4606859-0":/host -w "/host/spi-builder-workspace" registry.gitlab.com/finestructure/spi-images:basic-5.8-latest swift build 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/XcodeProj.git
[1/1021] Fetching spectre
[1022/20742] Fetching spectre, xcodeproj
[1417/31555] Fetching spectre, xcodeproj, swift-argument-parser
Fetching https://github.com/tadija/AEXML.git
Fetched https://github.com/kylef/Spectre.git (0.58s)
[23435/30534] Fetching xcodeproj, swift-argument-parser
[27577/32560] Fetching xcodeproj, swift-argument-parser, aexml
Fetched https://github.com/tadija/AEXML.git (0.22s)
Fetching https://github.com/kylef/PathKit.git
[27774/30534] Fetching xcodeproj, swift-argument-parser
[30535/31939] Fetching xcodeproj, swift-argument-parser, pathkit
Fetched https://github.com/kylef/PathKit.git (0.23s)
Fetched https://github.com/apple/swift-argument-parser (1.27s)
Fetched https://github.com/tuist/XcodeProj.git (1.29s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.27s)
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.85s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.30s)
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/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/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
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
[1/1] Compiling plugin Generate Manual
Building for debugging...
[2/64] Compiling Writer Writer.swift
[3/64] Emitting module Writer
[6/72] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[7/72] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[8/72] Compiling PackageSwiftFile PackageSwiftFile.swift
[9/72] Emitting module PackageSwiftFile
[10/72] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[11/72] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[14/74] Emitting module ArgumentParserToolInfo
[15/74] Compiling ArgumentParserToolInfo ToolInfo.swift
[18/80] Emitting module StdoutWriter
[19/80] Compiling StdoutWriter StdoutWriter.swift
[22/82] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[23/82] Emitting module ShellCommandRunner
[24/82] Compiling ShellCommandRunner ShellCommandOutput.swift
[25/82] Compiling ShellCommandRunner ShellCommandRunner.swift
[26/82] Compiling StringIndentHelpers Indent.swift
[27/82] Emitting module StringIndentHelpers
[28/82] Emitting module ProjectRootClassifier
[29/82] Compiling ProjectRootClassifier ProjectRoot.swift
[33/87] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[34/87] Emitting module XcodeProject
[35/88] Compiling AEXML Options.swift
[36/88] Compiling AEXML Error.swift
[38/89] Compiling AEXML Parser.swift
[39/89] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[40/89] Emitting module PackageSwiftFileParser
[42/89] Emitting module AEXML
[43/89] Compiling AEXML Document.swift
[44/89] Compiling AEXML Element.swift
[46/91] Compiling XcodeProject XcodeProject+Target.swift
[47/91] Compiling XcodeProject XcodeProject.swift
[53/100] Wrapping AST for Writer for debugging
[55/100] Compiling FileSystem FileSystem.swift
[56/100] Emitting module FileSystem
[57/101] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[58/101] Emitting module PackageSwiftFileParserCache
[59/101] Emitting module PathKit
[60/101] Compiling PathKit PathKit.swift
[63/150] 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
[64/150] Emitting module ShellCommandRunnerLive
[66/150] Compiling DumpPackageService DumpPackageService.swift
[67/150] Emitting module DumpPackageService
[69/151] Emitting module XcodeProjectParser
[70/151] Compiling XcodeProjectParser XcodeProjectParser.swift
[72/152] Compiling DirectedGraph DirectedGraph+Cluster.swift
[73/152] Emitting module DirectedGraph
[74/152] Compiling DirectedGraph DirectedGraph+Edge.swift
[75/153] Wrapping AST for XcodeProject for debugging
[83/162] Emitting module PackageSwiftFileParserCacheLive
[84/163] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[85/237] 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)
                            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[86/237] Emitting module FileSystemLive
[89/258] Emitting module ProjectRootClassifierLive
[90/258] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[91/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!
[92/262] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[95/263] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[96/263] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[96/264] Wrapping AST for XcodeProjectParser for debugging
[97/264] Wrapping AST for StringIndentHelpers for debugging
[99/265] Wrapping AST for StdoutWriter for debugging
[102/265] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[103/265] Emitting module DumpPackageServiceLive
[103/265] Wrapping AST for ShellCommandRunnerLive for debugging
[104/265] Wrapping AST for ShellCommandRunner for debugging
[105/265] Wrapping AST for ProjectRootClassifier for debugging
[106/265] Wrapping AST for ProjectRootClassifierLive for debugging
[107/265] Wrapping AST for PathKit for debugging
[109/266] Emitting module PackageSwiftFileParserLive
[109/266] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[110/266] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[111/266] Wrapping AST for PackageSwiftFileParser for debugging
[112/266] Wrapping AST for PackageSwiftFileParserCache for debugging
[115/267] Wrapping AST for PackageSwiftFile for debugging
[116/267] Wrapping AST for FileSystem for debugging
[117/267] Wrapping AST for FileSystemLive for debugging
[118/267] Wrapping AST for DumpPackageService for debugging
[119/267] Wrapping AST for ArgumentParserToolInfo for debugging
[120/267] Wrapping AST for AEXML for debugging
[122/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[123/267] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[123/267] Wrapping AST for DumpPackageServiceLive for debugging
BUILD FAILURE 5.8 linux

Build Machine: Linux 1