Build Information
Failed to build DependencyGraph with Swift 5.10 for Linux.
Build Command
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.29.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: 5.10
Building package at path: $workDir
https://github.com/simonbs/dependency-graph.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-1":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/tuist/XcodeProj.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser
[1/1021] Fetching spectre
[144/2425] Fetching spectre, pathkit
[2426/4520] Fetching spectre, pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.26s)
[1/20373] Fetching xcodeproj
[6928/31808] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/tadija/AEXML.git from cache (1.42s)
Fetched https://github.com/kylef/Spectre.git from cache (1.42s)
Fetched https://github.com/apple/swift-argument-parser from cache (1.43s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.45s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.45s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.48s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.46s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.48s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.45s)
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/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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.8.0
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
[41/104] Emitting module XcodeProject
[42/104] Emitting module PathKit
[43/104] Emitting module Writer
[44/104] Compiling Writer Writer.swift
[46/105] Emitting module ShellCommandRunner
[47/105] Emitting module ArgumentParserToolInfo
[48/105] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/112] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[51/112] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[52/112] Compiling PackageSwiftFile PackageSwiftFile.swift
[53/112] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[54/114] Emitting module PackageSwiftFile
[55/114] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[56/115] Emitting module StdoutWriter
[57/115] Compiling StdoutWriter StdoutWriter.swift
[60/120] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[61/120] Emitting module StringIndentHelpers
[62/120] Compiling StringIndentHelpers Indent.swift
[63/120] Compiling XcodeProject XcodeProject.swift
[64/120] Compiling ProjectRootClassifier ProjectRoot.swift
[65/120] Emitting module ProjectRootClassifier
[66/120] Compiling XcodeProject XcodeProject+Target.swift
[67/120] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[69/123] Compiling AEXML Parser.swift
[72/123] Compiling AEXML Error.swift
[73/123] Compiling AEXML Options.swift
[74/123] Compiling ShellCommandRunner ShellCommandRunner.swift
[75/123] Compiling ShellCommandRunner ShellCommandOutput.swift
[76/123] Emitting module AEXML
[77/123] Compiling AEXML Document.swift
[78/123] Compiling AEXML Element.swift
[79/125] Compiling FileSystem FileSystem.swift
[80/125] Emitting module FileSystem
[81/125] Compiling PathKit PathKit.swift
[86/136] Emitting module DumpPackageService
[87/136] Compiling DumpPackageService DumpPackageService.swift
[88/136] Emitting module PackageSwiftFileParser
[89/136] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[90/138] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[91/138] Emitting module PackageSwiftFileParserCache
[92/143] Compiling DirectedGraph DirectedGraph+Edge.swift
[93/144] Compiling DirectedGraph DirectedGraph+Node.swift
[95/165] Emitting module DirectedGraph
[96/165] Compiling DirectedGraph DirectedGraph+Cluster.swift
[99/168] Compiling XcodeProjectParser XcodeProjectParser.swift
[100/171] Emitting module XcodeProjectParser
[101/183] Emitting module ProjectRootClassifierLive
[103/187] 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
[104/187] Emitting module ShellCommandRunnerLive
[105/226] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[107/270] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[108/270] Emitting module PackageSwiftFileParserCacheLive
[109/282] Emitting module FileSystemLive
[110/282] 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)
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[112/286] Wrapping AST for XcodeProjectParser for debugging
[114/286] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[116/286] 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!
[117/286] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[118/286] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[118/286] Wrapping AST for XcodeProject for debugging
[119/286] Wrapping AST for Writer for debugging
[120/286] Wrapping AST for StringIndentHelpers for debugging
[121/286] Wrapping AST for ShellCommandRunnerLive for debugging
[122/286] Wrapping AST for StdoutWriter for debugging
[123/286] Wrapping AST for ShellCommandRunner for debugging
[125/286] Emitting module PackageSwiftFileParserLive
[126/286] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[127/286] Emitting module DumpPackageServiceLive
[128/286] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[128/286] Wrapping AST for PathKit for debugging
[129/286] Wrapping AST for ProjectRootClassifierLive for debugging
[130/286] Wrapping AST for ProjectRootClassifier for debugging
[131/287] Wrapping AST for PackageSwiftFileParserCache for debugging
[132/287] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[133/287] Wrapping AST for PackageSwiftFileParser for debugging
[135/287] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[136/287] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[137/287] Wrapping AST for FileSystem for debugging
[138/287] Wrapping AST for PackageSwiftFile for debugging
error: fatalError
[139/287] Wrapping AST for DumpPackageService for debugging
[139/287] Wrapping AST for FileSystemLive for debugging
[139/287] Wrapping AST for ArgumentParserToolInfo for debugging
[0/1] Planning build
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/42] Write swift-version-24593BA9C3E375BF.txt
[2/27] Wrapping AST for ArgumentParserToolInfo for debugging
[3/27] Wrapping AST for DumpPackageService for debugging
[4/27] Wrapping AST for FileSystemLive for debugging
[5/27] Wrapping AST for AEXML for debugging
[7/154] 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!
[8/154] Emitting module DumpPackageServiceLive
[9/155] Wrapping AST for DumpPackageServiceLive for debugging
[11/155] Emitting module PackageSwiftFileParserLive
error: fatalError
[12/155] Emitting module DirectedGraph
BUILD FAILURE 5.10 linux
Build Machine: Linux 2