The Swift Package Index logo.Swift Package Index

Build Information

Failed to build DependencyGraph with Swift 5.10 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4609320-0":/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: 1.2.0
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
 * tag               1.2.0      -> FETCH_HEAD
HEAD is now at f47f6b4 Bumps version to 1.2.0 (#18)
Cloned https://github.com/simonbs/dependency-graph.git
Revision (git rev-parse @):
f47f6b4bd407e0c34ac9c7beaa37e944b7d0fef5
SUCCESS checkout https://github.com/simonbs/dependency-graph.git at 1.2.0
========================================
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-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-5.10-latest swift build 2>&1
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/tuist/XcodeProj.git
[21/2095] Fetching aexml
[504/3116] Fetching aexml, spectre
[3117/4520] Fetching aexml, spectre, pathkit
[4521/24893] Fetching aexml, spectre, pathkit, xcodeproj
[11448/36328] Fetching aexml, spectre, pathkit, xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.75s)
[22245/24893] Fetching aexml, spectre, pathkit, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (1.39s)
Fetched https://github.com/kylef/PathKit.git from cache (1.39s)
Fetched https://github.com/tadija/AEXML.git from cache (1.39s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.41s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.8.0 (0.50s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.2.0 (0.49s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.37s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.47s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.47s)
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/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/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 1.0.1
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
[41/104] Emitting module Writer
[42/104] Compiling Writer Writer.swift
[44/111] Compiling ArgumentParserToolInfo ToolInfo.swift
[45/111] Emitting module ArgumentParserToolInfo
[46/112] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[47/112] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[48/112] Compiling PackageSwiftFile PackageSwiftFile.swift
[50/112] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[51/112] Emitting module PackageSwiftFile
[52/112] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[54/117] Compiling StdoutWriter StdoutWriter.swift
[55/117] Emitting module StdoutWriter
[57/120] Compiling XcodeProject XcodeProject.swift
[58/120] Emitting module ShellCommandRunner
[59/120] Compiling ShellCommandRunner ShellCommandOutput.swift
[60/120] Compiling ShellCommandRunner ShellCommandRunner.swift
[61/120] Emitting module ProjectRootClassifier
[62/120] Compiling StringIndentHelpers Indent.swift
[63/120] Emitting module StringIndentHelpers
[64/120] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[65/120] Compiling ProjectRootClassifier ProjectRoot.swift
[66/120] Emitting module XcodeProject
[67/120] Compiling XcodeProject XcodeProject+Target.swift
[68/120] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[69/120] Emitting module AEXML
[70/122] Compiling AEXML Error.swift
[71/124] Emitting module FileSystem
[72/124] Compiling FileSystem FileSystem.swift
[73/124] Compiling AEXML Parser.swift
[74/124] Compiling AEXML Options.swift
[79/125] Compiling AEXML Element.swift
[80/125] Compiling AEXML Document.swift
[83/128] Emitting module PathKit
[84/128] Compiling PathKit PathKit.swift
[86/137] Compiling DumpPackageService DumpPackageService.swift
[87/137] Emitting module PackageSwiftFileParser
[88/137] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[89/137] Emitting module DumpPackageService
[90/137] Emitting module XcodeProjectParser
[91/137] Compiling XcodeProjectParser XcodeProjectParser.swift
[92/138] Emitting module ShellCommandRunnerLive
[93/139] 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
[94/140] Emitting module PackageSwiftFileParserCache
[95/140] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[97/142] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[98/144] Emitting module ProjectRootClassifierLive
[100/148] Emitting module FileSystemLive
[101/148] 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)
                            ^         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[105/151] Wrapping AST for XcodeProjectParser for debugging
[108/168] Compiling DirectedGraph DirectedGraph+Node.swift
[109/171] Emitting module DirectedGraph
[110/185] Compiling DirectedGraph DirectedGraph+Edge.swift
[110/210] Wrapping AST for XcodeProject for debugging
[111/212] Wrapping AST for Writer for debugging
[113/241] Emitting module DumpPackageServiceLive
[113/268] Wrapping AST for StdoutWriter for debugging
[114/276] Wrapping AST for StringIndentHelpers for debugging
[115/285] Wrapping AST for ShellCommandRunnerLive for debugging
[117/285] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[117/285] Wrapping AST for ShellCommandRunner for debugging
[119/285] Emitting module PackageSwiftFileParserCacheLive
[120/285] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[121/285] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[122/285] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[122/286] Wrapping AST for ProjectRootClassifierLive for debugging
[123/287] Wrapping AST for ProjectRootClassifier for debugging
[125/287] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[126/287] 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!
[127/287] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[129/287] Wrapping AST for PathKit for debugging
[130/287] Wrapping AST for PackageSwiftFileParserCache for debugging
[131/287] Wrapping AST for PackageSwiftFileParser for debugging
[132/287] Wrapping AST for PackageSwiftFile for debugging
[133/287] Wrapping AST for FileSystem for debugging
[134/287] Wrapping AST for FileSystemLive for debugging
[136/287] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[137/287] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[138/287] Emitting module PackageSwiftFileParserLive
[138/287] Wrapping AST for DumpPackageService for debugging
[139/287] Wrapping AST for ArgumentParserToolInfo for debugging
[140/287] Wrapping AST for AEXML for debugging
error: fatalError
[141/287] Wrapping AST for DumpPackageServiceLive for debugging
[142/287] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[0/1] Planning build
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/42] Write swift-version-24593BA9C3E375BF.txt
[2/23] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[4/150] Emitting module DirectedGraph
[5/150] 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!
[6/150] Emitting module PackageSwiftFileParserLive
error: fatalError
BUILD FAILURE 5.10 linux

Build Machine: Linux 2