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 main (6c89d4), with Swift 6.0 for Linux on 29 Nov 2024 03:59:34 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-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: 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:             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-4606859-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/tuist/XcodeProj.git
Fetching https://github.com/apple/swift-argument-parser
[1/21965] Fetching xcodeproj
[6811/34360] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.20s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.22s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.43s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.11 (0.41s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[58/3513] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.23s)
Fetched https://github.com/tadija/AEXML.git from cache (0.23s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (1.93s)
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.45s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.44s)
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/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.5.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.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 StringIndentHelpers
[42/104] Emitting module Writer
[43/104] Compiling Writer Writer.swift
[45/105] Emitting module ShellCommandRunner
[46/105] Compiling ShellCommandRunner ShellCommandOutput.swift
[47/111] Emitting module ArgumentParserToolInfo
[48/111] Compiling ArgumentParserToolInfo ToolInfo.swift
[50/112] Emitting module PackageSwiftFile
[51/112] Compiling PackageSwiftFile PackageSwiftFile.swift
[52/112] Compiling PackageSwiftFile PackageSwiftFile+Target.swift
[53/112] Compiling PackageSwiftFile PackageSwiftFile+Product.swift
[54/112] Compiling PackageSwiftFile PackageSwiftFile+Target+Dependency.swift
[55/112] Compiling PackageSwiftFile PackageSwiftFile+Dependency.swift
[57/115] Emitting module StdoutWriter
[58/115] Compiling StdoutWriter StdoutWriter.swift
[60/120] Emitting module ProjectRootClassifier
[61/120] Compiling StringIndentHelpers Indent.swift
[62/120] Compiling XcodeProject XcodeProject.swift
[63/121] Compiling ShellCommandRunner ShellCommandRunner.swift
[64/122] Compiling AEXML Parser.swift
[65/122] Compiling AEXML Options.swift
[67/122] Compiling XcodeProject XcodeProject+Target.swift
[68/122] Emitting module XcodeProject
[69/122] Compiling XcodeProject XcodeProject+SwiftPackage.swift
[70/122] Emitting module PathKit
[71/122] Compiling PathKit PathKit.swift
[73/124] Emitting module FileSystem
[74/124] Compiling FileSystem FileSystem.swift
[75/125] Compiling ProjectRootClassifier ProjectRootClassifier.swift
[76/125] Compiling ProjectRootClassifier ProjectRoot.swift
[78/126] Compiling AEXML Element.swift
[79/126] Emitting module AEXML
[80/126] Compiling AEXML Error.swift
[81/126] Compiling AEXML Document.swift
[86/136] Emitting module PackageSwiftFileParserCache
[87/136] Compiling PackageSwiftFileParserCache PackageSwiftFileParserCache.swift
[88/140] Emitting module PackageSwiftFileParser
[89/140] Compiling PackageSwiftFileParser PackageSwiftFileParser.swift
[90/181] Compiling XcodeProjectParser XcodeProjectParser.swift
[91/181] Emitting module XcodeProjectParser
[92/182] Emitting module ShellCommandRunnerLive
[93/182] 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()
[94/182] Compiling DumpPackageService DumpPackageService.swift
[95/182] Emitting module DumpPackageService
[98/185] Emitting module ProjectRootClassifierLive
[100/185] Emitting module DirectedGraph
[103/185] Compiling DirectedGraph DirectedGraph+Edge.swift
[104/185] Compiling DirectedGraph DirectedGraph+Cluster.swift
[105/278] Compiling ProjectRootClassifierLive ProjectRootClassifierLive.swift
[106/289] Emitting module PackageSwiftFileParserCacheLive
[108/289] Emitting module FileSystemLive
[109/289] Compiling PackageSwiftFileParserCacheLive PackageSwiftFileParserCacheLive.swift
[110/290] 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 |     }
[110/291] Wrapping AST for XcodeProjectParser for debugging
[113/291] Emitting module DumpPackageServiceLive
[114/291] Compiling DumpPackageServiceLive DumpPackageServiceLive.swift
[116/291] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target.swift
[117/292] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Product.swift
[118/292] Compiling PackageSwiftFileParserLive PackageSwiftParserLive.swift
[119/292] 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)
[120/292] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile.swift
[120/292] Wrapping AST for XcodeProject for debugging
[121/292] Wrapping AST for Writer for debugging
[123/292] Wrapping AST for StringIndentHelpers for debugging
[124/292] Wrapping AST for StdoutWriter for debugging
[126/292] Emitting module PackageSwiftFileParserLive
[127/292] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Dependency.swift
[127/292] Wrapping AST for ShellCommandRunnerLive for debugging
[128/292] Wrapping AST for ProjectRootClassifier for debugging
[129/292] Wrapping AST for ShellCommandRunner for debugging
[130/292] Wrapping AST for ProjectRootClassifierLive for debugging
[131/292] Wrapping AST for PackageSwiftFileParserCacheLive for debugging
[133/292] Compiling PackageSwiftFileParserLive IntermediatePackageSwiftFile+Target+Dependency.swift
[133/292] Wrapping AST for PathKit for debugging
[133/292] Wrapping AST for PackageSwiftFile for debugging
[134/292] Compiling DirectedGraph DirectedGraph+Node.swift
[134/292] Wrapping AST for PackageSwiftFileParserCache for debugging
[134/292] Wrapping AST for PackageSwiftFileParser for debugging
BUILD FAILURE 6.0 linux