The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build DependencyGraph, reference 1.2.0 (f47f6b), with Swift 6.0 for Linux on 29 Nov 2024 03:59:38 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.58.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:             6.0
Building package at path:  $PWD
https://github.com/simonbs/dependency-graph.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-1":/host -w "$PWD" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.0-latest: Pulling from finestructure/spi-images
Digest: sha256:47d26c99ca4f1ac0a332c85fd5b13ff4390e72115219984a57a68fe9d1063a05
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.0-latest
Fetching https://github.com/apple/swift-argument-parser
Fetching https://github.com/tuist/XcodeProj.git
[1/21965] Fetching xcodeproj
[7030/34360] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.09s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.11s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.39s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.11 (0.39s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[439/3513] Fetching pathkit, aexml
Fetched https://github.com/tadija/AEXML.git from cache (0.22s)
Fetched https://github.com/kylef/PathKit.git from cache (0.22s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.77s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.19s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.42s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.43s)
Creating working copy for https://github.com/apple/swift-argument-parser
Working copy of https://github.com/apple/swift-argument-parser resolved at 1.5.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/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.24.11
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/80] Write sources
[39/80] Write swift-version-24593BA9C3E375BF.txt
[41/104] Emitting module ArgumentParserToolInfo
[42/104] Compiling ArgumentParserToolInfo ToolInfo.swift
[43/105] Compiling PackageSwiftFile PackageSwiftFile.swift
[44/105] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[45/105] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[46/105] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[48/105] Emitting module PackageSwiftFile
[49/105] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[50/105] Emitting module Writer
[51/105] Compiling Writer Writer.swift
[54/113] Compiling ShellCommandRunner ShellCommandOutput.swift
[55/113] Emitting module ShellCommandRunner
[56/113] Compiling ShellCommandRunner ShellCommandRunner.swift
[57/114] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[59/114] Emitting module FileSystem
[60/114] Compiling FileSystem FileSystem.swift
[61/115] Compiling PathKit PathKit.swift
[62/115] Emitting module PathKit
[63/116] Emitting module PackageSwiftFileParserCache
[64/116] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[65/117] Emitting module ProjectRootClassifier
[66/117] Compiling ProjectRootClassifier ProjectRoot.swift
[68/118] Compiling XcodeProject XcodeProject+Target.swift
[69/118] Emitting module XcodeProject
[70/118] Compiling XcodeProject XcodeProject.swift
[71/118] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[72/118] Emitting module PackageSwiftFileParser
[73/118] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[77/122] Compiling StringIndentHelpers Indent.swift
[78/122] Emitting module StringIndentHelpers
[81/125] Emitting module StdoutWriter
[82/125] Compiling StdoutWriter StdoutWriter.swift
[85/140] Compiling DumpPackageService DumpPackageService.swift
[86/141] Emitting module DumpPackageService
[87/142] Emitting module PackageSwiftFileParserCacheLive
[88/142] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[89/142] Emitting module ShellCommandRunnerLive
[90/142] Compiling ShellCommandRunnerLive ShellCommandRunnerLive.swift
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:13:14: warning: 'launchPath' is deprecated: renamed to 'executableURL'
11 |         task.standardOutput = pipe
12 |         task.arguments = ["-c", arguments.joined(separator: " ")]
13 |         task.launchPath = "/bin/zsh"
   |              |- warning: 'launchPath' is deprecated: renamed to 'executableURL'
   |              `- note: use 'executableURL' instead
14 |         task.standardInput = nil
15 |         task.launch()
/host/spi-builder-workspace/Sources/Library/Utilities/ShellCommandRunnerLive/ShellCommandRunnerLive.swift:15:14: warning: 'launch()' is deprecated: renamed to 'run'
13 |         task.launchPath = "/bin/zsh"
14 |         task.standardInput = nil
15 |         task.launch()
   |              |- warning: 'launch()' is deprecated: renamed to 'run'
   |              `- note: use 'run' instead
16 |         let data = pipe.fileHandleForReading.readDataToEndOfFile()
17 |         task.waitUntilExit()
[91/143] Emitting module FileSystemLive
[92/143] 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
11 |     public func isDirectory(at itemURL: URL) -> Bool {
12 |         var isDirectory: ObjCBool = false
13 |         FileManager.default.fileExists(atPath: itemURL.path, isDirectory: &isDirectory)
   |                             `- warning: result of call to 'fileExists(atPath:isDirectory:)' is unused
14 |         return isDirectory.boolValue
15 |     }
[93/145] Emitting module ProjectRootClassifierLive
[94/158] Compiling XcodeProjectParser XcodeProjectParser.swift
[96/178] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[98/184] Emitting module XcodeProjectParser
[102/187] Wrapping AST for XcodeProject for debugging
[103/191] Wrapping AST for StringIndentHelpers for debugging
[104/191] Wrapping AST for Writer for debugging
[105/191] Wrapping AST for XcodeProjectParser for debugging
[106/193] Wrapping AST for StdoutWriter for debugging
[107/201] Wrapping AST for ShellCommandRunnerLive for debugging
[108/201] Wrapping AST for ShellCommandRunner for debugging
[110/201] Compiling AEXML Error.swift
[110/201] Wrapping AST for ProjectRootClassifierLive for debugging
[112/201] Emitting module AEXML
[112/201] Wrapping AST for PathKit for debugging
[113/201] Wrapping AST for ProjectRootClassifier for debugging
[114/201] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[116/201] Compiling AEXML Options.swift
[117/201] Compiling AEXML Parser.swift
[117/201] Wrapping AST for PackageSwiftFile for debugging
[118/201] Wrapping AST for PackageSwiftFileParserCache for debugging
[120/201] Compiling AEXML Document.swift
[121/201] Compiling AEXML Element.swift
[121/202] Wrapping AST for PackageSwiftFileParser for debugging
[122/202] Wrapping AST for FileSystem for debugging
[123/202] Wrapping AST for FileSystemLive for debugging
[125/202] Emitting module DumpPackageServiceLive
[126/202] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[127/203] 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:')
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                         `- error: incorrect argument label in call (have 'withPath:', expected 'withPathComponents:')
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
/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]'
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                                               `- error: cannot convert value of type 'String' to expected argument type '[String]'
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
/host/spi-builder-workspace/Sources/Library/Parsing/PackageSwiftFileParserLive/Internal/PackageSwiftFileMapper.swift:44:69: error: 'URL?' is not convertible to 'NSURL'
42 |             return .sourceControl(identity: parameters.identity)
43 |         case .fileSystem(let parameters):
44 |             let fileURL = (NSURL.fileURL(withPath: parameters.path) as NSURL).appendingPathComponent("Package.swift")!
   |                                                                     |- error: 'URL?' is not convertible to 'NSURL'
   |                                                                     `- note: did you mean to use 'as!' to force downcast?
45 |             let packageSwiftFile = try packageSwiftFileParser.parseFile(at: fileURL)
46 |             return .fileSystem(identity: parameters.identity, path: parameters.path, packageSwiftFile: packageSwiftFile)
[128/203] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[129/203] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[130/203] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[131/203] Emitting module PackageSwiftFileParserLive
[131/203] Wrapping AST for DumpPackageService for debugging
[134/203] Compiling DirectedGraph DirectedGraph+Node.swift
[134/203] Wrapping AST for ArgumentParserToolInfo for debugging
[136/203] Compiling DirectedGraph DirectedGraph+Edge.swift
[137/203] Compiling DirectedGraph DirectedGraph+Cluster.swift
[138/203] Emitting module DirectedGraph
[139/203] Compiling DirectedGraph DirectedGraph.swift
[140/204] Wrapping AST for DumpPackageServiceLive for debugging
[142/204] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[143/204] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[145/204] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[145/204] Wrapping AST for AEXML for debugging
[146/206] Wrapping AST for DirectedGraph for debugging
BUILD FAILURE 6.0 linux