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 XcodeTargetGraphGen, reference v1.0.0 (a73c78), with Swift 6.0 for Linux on 3 Nov 2024 06:30:27 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Reference: v1.0.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/CuriositySoftware/XcodeTargetGraphGen
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at a73c786 Merge pull request #8 from CuriositySoftware/logo
Cloned https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Revision (git rev-parse @):
a73c786c997828817e9daed77e745527e83beba8
SUCCESS checkout https://github.com/CuriositySoftware/XcodeTargetGraphGen.git at v1.0.0
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $PWD
https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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 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/21849] Fetching xcodeproj
[3497/34202] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (0.77s)
[16606/21849] Fetching xcodeproj
Fetched https://github.com/tuist/XcodeProj.git from cache (1.37s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.46s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.8 (0.46s)
Fetching https://github.com/kylef/PathKit.git
Fetching https://github.com/tadija/AEXML.git
[1/2102] Fetching aexml
[1599/3513] Fetching aexml, pathkit
Fetched https://github.com/tadija/AEXML.git from cache (0.25s)
Fetched https://github.com/kylef/PathKit.git from cache (0.25s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 1.0.1 (2.07s)
Fetching https://github.com/kylef/Spectre.git
[1/1021] Fetching spectre
Fetched https://github.com/kylef/Spectre.git from cache (0.20s)
Computing version for https://github.com/tadija/AEXML.git
Computed https://github.com/tadija/AEXML.git at 4.6.1 (0.50s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.51s)
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/tuist/XcodeProj.git
Working copy of https://github.com/tuist/XcodeProj.git resolved at 8.24.8
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/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.10.1
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/42] Emitting module ArgumentParserToolInfo
[15/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[16/43] Wrapping AST for ArgumentParserToolInfo for debugging
[18/81] Compiling Client FileOutputClient.swift
/host/spi-builder-workspace/Sources/Client/FileOutputClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileOutputClient {
   |               `- note: consider making struct 'FileOutputClient' conform to the 'Sendable' protocol
 4 |     public var write: (_ text: String, _ url: URL) throws -> Void
 5 | }
 6 |
 7 | public extension FileOutputClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text, url in
10 |             try text.write(to: url, atomically: true, encoding: .utf8)
[19/81] Compiling Client FileListReaderClient.swift
/host/spi-builder-workspace/Sources/Client/FileListReaderClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileListReaderClient {
   |               `- note: consider making struct 'FileListReaderClient' conform to the 'Sendable' protocol
 4 |     public var read: (_ fileURL: URL) throws -> [String]
 5 | }
 6 |
 7 | public extension FileListReaderClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { url in
10 |             let content = try String(contentsOf: url, encoding: .utf8)
[20/81] Emitting module PathKit
[21/81] Compiling PathKit PathKit.swift
[22/82] Emitting module Value
[23/82] Compiling Value Project.swift
[25/83] Compiling AEXML Options.swift
[26/83] Compiling AEXML Parser.swift
[27/83] Wrapping AST for PathKit for debugging
[29/83] Compiling AEXML Document.swift
[30/83] Compiling AEXML Element.swift
[31/83] Emitting module AEXML
[32/83] Compiling AEXML Error.swift
[32/84] Wrapping AST for Value for debugging
[35/87] Emitting module Client
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct ConsoleClient {
   |               `- note: consider making struct 'ConsoleClient' conform to the 'Sendable' protocol
 4 |     public var log: (_ text: String) -> Void
 5 | }
 6 |
 7 | public extension ConsoleClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text in
10 |             print(text)
/host/spi-builder-workspace/Sources/Client/FileListReaderClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileListReaderClient {
   |               `- note: consider making struct 'FileListReaderClient' conform to the 'Sendable' protocol
 4 |     public var read: (_ fileURL: URL) throws -> [String]
 5 | }
 6 |
 7 | public extension FileListReaderClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileListReaderClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { url in
10 |             let content = try String(contentsOf: url, encoding: .utf8)
/host/spi-builder-workspace/Sources/Client/FileOutputClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct FileOutputClient {
   |               `- note: consider making struct 'FileOutputClient' conform to the 'Sendable' protocol
 4 |     public var write: (_ text: String, _ url: URL) throws -> Void
 5 | }
 6 |
 7 | public extension FileOutputClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'FileOutputClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text, url in
10 |             try text.write(to: url, atomically: true, encoding: .utf8)
[36/87] Compiling Client ConsoleClient.swift
/host/spi-builder-workspace/Sources/Client/ConsoleClient.swift:8:16: warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
 1 | import Foundation
 2 |
 3 | public struct ConsoleClient {
   |               `- note: consider making struct 'ConsoleClient' conform to the 'Sendable' protocol
 4 |     public var log: (_ text: String) -> Void
 5 | }
 6 |
 7 | public extension ConsoleClient {
 8 |     static let live: Self = {
   |                |- warning: static property 'live' is not concurrency-safe because non-'Sendable' type 'ConsoleClient' may have shared mutable state; this is an error in the Swift 6 language mode
   |                |- note: annotate 'live' with '@MainActor' if property should only be accessed from the main actor
   |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 9 |         .init { text in
10 |             print(text)
[36/88] Wrapping AST for AEXML for debugging
[38/88] Compiling ArgumentParser ArgumentVisibility.swift
[39/88] Compiling ArgumentParser CompletionKind.swift
[40/88] Compiling ArgumentParser Errors.swift
[41/88] Compiling ArgumentParser Flag.swift
[42/88] Compiling ArgumentParser NameSpecification.swift
[43/88] Compiling ArgumentParser Option.swift
[45/93] Compiling Converter ProjectConverter.swift
[46/93] Emitting module Converter
[47/93] Compiling Converter FormatterRepresentation.swift
[48/183] Wrapping AST for Client for debugging
[50/183] Emitting module ArgumentParser
[51/183] Compiling XcodeProj Errors.swift
[52/183] Compiling XcodeProj AEXML+XcodeFormat.swift
[53/183] Compiling XcodeProj Array+Extras.swift
[54/183] Compiling XcodeProj Bool+Extras.swift
[55/183] Compiling XcodeProj Dictionary+Enumerate.swift
[56/183] Compiling XcodeProj Dictionary+Extras.swift
[56/183] Wrapping AST for Converter for debugging
[58/188] Compiling XcodeProj BuildSettings.swift
[59/188] Compiling XcodeProj XCBuildConfiguration.swift
[60/188] Compiling XcodeProj XCConfigurationList.swift
[61/188] Compiling XcodeProj PBXContainerItem.swift
[62/188] Compiling XcodeProj PBXContainerItemProxy.swift
[63/188] Compiling XcodeProj PBXBuildFile.swift
[64/188] Compiling XcodeProj PBXBuildPhase.swift
[65/188] Compiling XcodeProj PBXBuildRule.swift
[66/188] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[67/188] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[68/188] Compiling XcodeProj PBXHeadersBuildPhase.swift
[69/188] Compiling XcodeProj PBXResourcesBuildPhase.swift
[70/188] Compiling XcodeProj PBXRezBuildPhase.swift
[71/188] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[72/188] Compiling XcodeProj PBXSourcesBuildPhase.swift
[73/188] Emitting module Mermaid
[74/188] Compiling XcodeProj PBXFileElement.swift
[75/188] Compiling XcodeProj PBXFileReference.swift
[76/188] Compiling XcodeProj PBXFileSystemSynchronizedBuildFileExceptionSet.swift
[77/188] Compiling XcodeProj PBXFileSystemSynchronizedRootGroup.swift
[78/188] Compiling XcodeProj PBXGroup.swift
[79/188] Compiling XcodeProj PBXSourceTree.swift
[80/188] Compiling XcodeProj PBXVariantGroup.swift
[81/188] Compiling XcodeProj XCVersionGroup.swift
[82/188] Compiling XcodeProj PBXObject.swift
[83/188] Compiling XcodeProj PBXObjectParser.swift
[84/188] Compiling Mermaid NodeEdgeFormatter.swift
[85/188] Compiling Mermaid SubgraphFormatter.swift
[86/188] Compiling Mermaid SyntaxType.swift
[87/188] Compiling Mermaid MermaidFormatter.swift
[88/189] Wrapping AST for Mermaid for debugging
[90/189] Compiling XcodeProj PBXObjectReference.swift
[91/189] Compiling XcodeProj PBXObjects.swift
[92/189] Compiling XcodeProj PBXOutputSettings.swift
[93/189] Compiling XcodeProj PBXProj.swift
[94/189] Compiling XcodeProj PBXProjEncoder.swift
[95/190] Wrapping AST for ArgumentParser for debugging
[97/190] Emitting module XcodeProj
[98/202] Compiling XcodeProj PBXReferenceProxy.swift
[99/202] Compiling XcodeProj PBXTarget.swift
[100/202] Compiling XcodeProj PBXTargetDependency.swift
[101/202] Compiling XcodeProj WorkspaceSettings.swift
[102/202] Compiling XcodeProj XCBreakpointList.swift
[103/202] Compiling XcodeProj XCDebugger.swift
[104/202] Compiling XcodeProj XCSharedData.swift
[105/202] Compiling XcodeProj XCUserData.swift
[106/202] Compiling XcodeProj Xcode.swift
[107/202] Compiling XcodeProj XcodeProj.swift
[108/202] Compiling XcodeProj Writable.swift
[109/202] Compiling XcodeProj XCScheme+AditionalOption.swift
[110/202] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[111/202] Compiling XcodeProj XCScheme+Runnable.swift
[112/202] Compiling XcodeProj XCScheme+SerialAction.swift
[113/202] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[114/202] Compiling XcodeProj XCScheme+TestAction.swift
[115/202] Compiling XcodeProj XCScheme+TestItem.swift
[116/202] Compiling XcodeProj XCScheme+TestPlanReference.swift
[117/202] Compiling XcodeProj XCScheme+TestableReference.swift
[118/202] Compiling XcodeProj XCScheme.swift
[119/202] Compiling XcodeProj XCSchemeManagement.swift
[120/202] Compiling XcodeProj BuildSettingsProvider.swift
[121/202] Compiling XcodeProj CommentedString.swift
[122/202] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[123/202] Compiling XcodeProj XCScheme+ArchiveAction.swift
[124/202] Compiling XcodeProj XCScheme+BuildAction.swift
[125/202] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[126/202] Compiling XcodeProj XCScheme+BuildableReference.swift
[127/202] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[128/202] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[129/202] Compiling XcodeProj XCScheme+ExecutionAction.swift
[130/202] Compiling XcodeProj XCScheme+LaunchAction.swift
[131/202] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[132/202] Compiling XcodeProj XCScheme+PathRunnable.swift
[133/202] Compiling XcodeProj XCScheme+ProfileAction.swift
[137/202] Compiling XcodeProj PBXProject.swift
[138/202] Compiling XcodeProj Equality.generated.swift
[139/202] Compiling XcodeProj Sourcery.swift
[140/202] Compiling XcodeProj XCLocalSwiftPackageReference.swift
[141/202] Compiling XcodeProj XCRemoteSwiftPackageReference.swift
[142/202] Compiling XcodeProj XCSwiftPackageProductDependency.swift
[143/202] Compiling XcodeProj PBXAggregateTarget.swift
[144/202] Compiling XcodeProj PBXLegacyTarget.swift
[145/202] Compiling XcodeProj PBXNativeTarget.swift
[146/202] Compiling XcodeProj PBXProductType.swift
[153/202] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[154/202] Compiling XcodeProj NSRecursiveLock+Sync.swift
[155/202] Compiling XcodeProj Path+Extras.swift
[156/202] Compiling XcodeProj String+Utils.swift
[157/202] Compiling XcodeProj String+md5.swift
[158/202] Compiling XcodeProj BuildPhase.swift
[186/202] Compiling XcodeProj Decoders.swift
[187/202] Compiling XcodeProj JSONDecoding.swift
[188/202] Compiling XcodeProj PBXBatchUpdater.swift
[189/202] Compiling XcodeProj PlistValue.swift
[190/202] Compiling XcodeProj ReferenceGenerator.swift
[191/202] Compiling XcodeProj XCConfig.swift
[192/202] Compiling XcodeProj XCWorkspace.swift
[193/202] Compiling XcodeProj XCWorkspaceData.swift
[194/202] Compiling XcodeProj XCWorkspaceDataElement.swift
[195/202] Compiling XcodeProj XCWorkspaceDataElementLocationType.swift
[196/202] Compiling XcodeProj XCWorkspaceDataFileRef.swift
[197/202] Compiling XcodeProj XCWorkspaceDataGroup.swift
[198/203] Wrapping AST for XcodeProj for debugging
[200/206] Compiling Generator Generator.swift
[201/206] Emitting module Generator
[202/206] Compiling Generator ProjectMaker.swift
/host/spi-builder-workspace/Sources/Generator/ProjectMaker.swift:15:9: error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 13 |
 14 |     func makeProject(from xcodeProject: XcodeProj) -> Project {
 15 |         .init(
    |         `- error: the compiler is unable to type-check this expression in reasonable time; try breaking up the expression into distinct sub-expressions
 16 |             name: xcodeProject.pbxproj.rootObject?.name ?? "",
 17 |             nativeTargets: xcodeProject.pbxproj.nativeTargets.compactMap {
BUILD FAILURE 6.0 linux