Build Information
Failed to build XcodeTargetGraphGen, reference main (011590
), with Swift 6.0 for Linux on 3 Nov 2024 06:29:46 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-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: 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/CuriositySoftware/XcodeTargetGraphGen
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 011590f Merge pull request #17 from CuriositySoftware/yimajo-patch-1
Cloned https://github.com/CuriositySoftware/XcodeTargetGraphGen.git
Revision (git rev-parse @):
011590fdc91172790caebd9c0a2a788d37f222ce
SUCCESS checkout https://github.com/CuriositySoftware/XcodeTargetGraphGen.git at main
========================================
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-4609320-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
[5464/34202] Fetching xcodeproj, swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser from cache (1.12s)
Fetched https://github.com/tuist/XcodeProj.git from cache (1.14s)
Computing version for https://github.com/apple/swift-argument-parser
Computed https://github.com/apple/swift-argument-parser at 1.5.0 (0.40s)
Computing version for https://github.com/tuist/XcodeProj.git
Computed https://github.com/tuist/XcodeProj.git at 8.24.8 (0.38s)
Fetching https://github.com/tadija/AEXML.git
Fetching https://github.com/kylef/PathKit.git
[1/1411] Fetching pathkit
[876/3513] Fetching pathkit, aexml
Fetched https://github.com/kylef/PathKit.git from cache (0.20s)
Fetched https://github.com/tadija/AEXML.git from cache (0.20s)
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.43s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.10.1 (0.42s)
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/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/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
[1/1] Compiling plugin GenerateManual
Building for debugging...
[1/26] Write sources
[12/26] Write swift-version-24593BA9C3E375BF.txt
[14/42] Compiling ArgumentParserToolInfo ToolInfo.swift
[15/42] Emitting module ArgumentParserToolInfo
[16/43] Wrapping AST for ArgumentParserToolInfo for debugging
[18/81] Emitting module ArgumentParser
[19/81] Compiling ArgumentParser Name.swift
[20/81] Compiling ArgumentParser Parsed.swift
[21/81] Compiling ArgumentParser ParsedValues.swift
[22/81] Compiling ArgumentParser ParserError.swift
[23/81] Compiling ArgumentParser SplitArguments.swift
[24/86] Compiling ArgumentParser BashCompletionsGenerator.swift
[25/86] Compiling ArgumentParser CompletionsGenerator.swift
[26/86] Compiling ArgumentParser FishCompletionsGenerator.swift
[27/86] Compiling ArgumentParser ZshCompletionsGenerator.swift
[28/86] Compiling ArgumentParser Argument.swift
[29/86] Compiling ArgumentParser ArgumentHelp.swift
[30/86] 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)
[31/86] Compiling AEXML Options.swift
[32/86] Compiling AEXML Parser.swift
[33/86] Emitting module AEXML
[34/86] Compiling AEXML Document.swift
[35/86] 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)
[36/86] Compiling AEXML Element.swift
[37/86] Compiling AEXML Error.swift
[38/87] Compiling Value Project.swift
[39/87] Emitting module Value
[40/88] Emitting module PathKit
[41/88] Compiling PathKit PathKit.swift
[42/88] 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)
[43/88] 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)
[47/90] Wrapping AST for AEXML for debugging
[48/90] Wrapping AST for PathKit for debugging
[50/90] Compiling ArgumentParser ExpressibleByArgument.swift
[51/90] Compiling ArgumentParser ParsableArguments.swift
[52/90] Compiling ArgumentParser ParsableArgumentsValidation.swift
[53/90] Compiling ArgumentParser ParsableCommand.swift
[54/90] Compiling ArgumentParser ArgumentDecoder.swift
[54/90] Wrapping AST for Client for debugging
[55/93] Wrapping AST for Value for debugging
[57/182] Compiling XcodeProj PBXRezBuildPhase.swift
[58/182] Compiling XcodeProj PBXShellScriptBuildPhase.swift
[59/182] Compiling XcodeProj PBXSourcesBuildPhase.swift
[60/182] Compiling XcodeProj BuildSettings.swift
[61/182] Compiling XcodeProj XCBuildConfiguration.swift
[62/182] Compiling XcodeProj XCConfigurationList.swift
[63/182] Compiling XcodeProj PBXContainerItem.swift
[64/182] Compiling XcodeProj PBXReferenceProxy.swift
[65/182] Compiling XcodeProj PBXTarget.swift
[66/182] Compiling XcodeProj PBXTargetDependency.swift
[67/182] Compiling Converter FormatterRepresentation.swift
[68/182] Emitting module Converter
[69/182] Compiling Converter ProjectConverter.swift
[70/183] Compiling XcodeProj PBXObjectReference.swift
[71/183] Compiling XcodeProj PBXObjects.swift
[72/183] Compiling XcodeProj Errors.swift
[73/183] Compiling XcodeProj AEXML+XcodeFormat.swift
[74/183] Compiling XcodeProj Array+Extras.swift
[75/183] Compiling XcodeProj Bool+Extras.swift
[76/183] Compiling XcodeProj Dictionary+Enumerate.swift
[77/183] Compiling XcodeProj Dictionary+Extras.swift
[78/183] Compiling XcodeProj KeyedDecodingContainer+Additions.swift
[79/183] Compiling XcodeProj NSRecursiveLock+Sync.swift
[80/183] Compiling XcodeProj Path+Extras.swift
[81/183] Compiling XcodeProj String+Utils.swift
[82/183] Compiling XcodeProj String+md5.swift
[83/183] Compiling XcodeProj BuildPhase.swift
[84/183] Compiling XcodeProj PBXBuildFile.swift
[85/183] Compiling XcodeProj PBXBuildPhase.swift
[87/184] Wrapping AST for Converter for debugging
[88/189] Wrapping AST for ArgumentParser for debugging
[90/189] Compiling Mermaid NodeEdgeFormatter.swift
[91/189] Compiling Mermaid SubgraphFormatter.swift
[92/189] Compiling Mermaid SyntaxType.swift
[93/189] Emitting module Mermaid
[94/189] Compiling Mermaid MermaidFormatter.swift
[95/190] Wrapping AST for Mermaid for debugging
[97/190] Emitting module XcodeProj
[98/202] Compiling XcodeProj XCScheme+RemoteRunnable.swift
[99/202] Compiling XcodeProj XCScheme+Runnable.swift
[100/202] Compiling XcodeProj XCScheme+SerialAction.swift
[101/202] Compiling XcodeProj XCScheme+StoreKitConfigurationFileReference.swift
[102/202] Compiling XcodeProj XCScheme+TestAction.swift
[103/202] Compiling XcodeProj XCScheme+TestItem.swift
[104/202] Compiling XcodeProj XCScheme+TestPlanReference.swift
[105/202] Compiling XcodeProj XCScheme+TestableReference.swift
[106/202] Compiling XcodeProj XCScheme.swift
[107/202] Compiling XcodeProj XCSchemeManagement.swift
[108/202] Compiling XcodeProj BuildSettingsProvider.swift
[109/202] Compiling XcodeProj CommentedString.swift
[110/202] Compiling XcodeProj XCScheme+AnalyzeAction.swift
[111/202] Compiling XcodeProj XCScheme+ArchiveAction.swift
[112/202] Compiling XcodeProj XCScheme+BuildAction.swift
[113/202] Compiling XcodeProj XCScheme+BuildableProductRunnable.swift
[114/202] Compiling XcodeProj XCScheme+BuildableReference.swift
[115/202] Compiling XcodeProj XCScheme+CommandLineArguments.swift
[116/202] Compiling XcodeProj XCScheme+EnvironmentVariable.swift
[117/202] Compiling XcodeProj XCScheme+ExecutionAction.swift
[118/202] Compiling XcodeProj XCScheme+LaunchAction.swift
[119/202] Compiling XcodeProj XCScheme+LocationScenarioReference.swift
[120/202] Compiling XcodeProj XCScheme+PathRunnable.swift
[121/202] Compiling XcodeProj XCScheme+ProfileAction.swift
[125/202] Compiling XcodeProj WorkspaceSettings.swift
[126/202] Compiling XcodeProj XCBreakpointList.swift
[127/202] Compiling XcodeProj XCDebugger.swift
[128/202] Compiling XcodeProj XCSharedData.swift
[129/202] Compiling XcodeProj XCUserData.swift
[130/202] Compiling XcodeProj Xcode.swift
[131/202] Compiling XcodeProj XcodeProj.swift
[132/202] Compiling XcodeProj Writable.swift
[133/202] Compiling XcodeProj XCScheme+AditionalOption.swift
[134/202] Compiling XcodeProj PBXOutputSettings.swift
[135/202] Compiling XcodeProj PBXProj.swift
[136/202] Compiling XcodeProj PBXProjEncoder.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
[148/202] Compiling XcodeProj PBXBuildRule.swift
[149/202] Compiling XcodeProj PBXCopyFilesBuildPhase.swift
[150/202] Compiling XcodeProj PBXFrameworksBuildPhase.swift
[151/202] Compiling XcodeProj PBXHeadersBuildPhase.swift
[152/202] Compiling XcodeProj PBXResourcesBuildPhase.swift
[160/202] Compiling XcodeProj PBXContainerItemProxy.swift
[161/202] Compiling XcodeProj PBXFileElement.swift
[162/202] Compiling XcodeProj PBXFileReference.swift
[163/202] Compiling XcodeProj PBXFileSystemSynchronizedBuildFileExceptionSet.swift
[164/202] Compiling XcodeProj PBXFileSystemSynchronizedRootGroup.swift
[165/202] Compiling XcodeProj PBXGroup.swift
[166/202] Compiling XcodeProj PBXSourceTree.swift
[167/202] Compiling XcodeProj PBXVariantGroup.swift
[168/202] Compiling XcodeProj XCVersionGroup.swift
[169/202] Compiling XcodeProj PBXObject.swift
[170/202] Compiling XcodeProj PBXObjectParser.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