Build Information
Failed to build phase with Swift 6.0 for macOS (SPM).
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/igormuzyka/phase.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/igormuzyka/phase
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 98849c4 Update README.md
Cloned https://github.com/igormuzyka/phase.git
Revision (git rev-parse @):
98849c40b6fb62b49e01e2f973c2b4d8ddd7b8e4
SUCCESS checkout https://github.com/igormuzyka/phase.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/igormuzyka/phase.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/16] Write sources
[7/16] Write phase-entitlement.plist
[8/16] Write sources
[10/16] Write swift-version-6F35C1178C84523A.txt
[12/53] Compiling Commander CommandType.swift
[13/53] Compiling Commander Group.swift
[14/53] Emitting module Commander
[15/53] Compiling Commander ArgumentDescription.swift
[16/53] Compiling Commander ArgumentConvertible.swift
[17/53] Compiling Commander ArgumentParser.swift
[18/53] Compiling Commander Command.swift
[19/53] Compiling Commander CommandRunner.swift
[20/53] Compiling Commander Error.swift
[21/53] Compiling Commander Commands.swift
[22/53] Compiling PackageConfig Error.swift
[23/53] Emitting module Logger
[24/53] Compiling PackageConfig PackageConfig.swift
[25/53] Compiling PackageConfig Writer.swift
[26/53] Compiling Logger Logger.swift
[27/53] Compiling SwiftShell Stream.swift
[28/53] Compiling SwiftShell Lazy-split.swift
[29/54] Compiling SwiftShell FileHandle.swift
[30/54] Compiling SwiftShell Files.swift
[31/54] Compiling SwiftShell Process.swift
[32/54] Compiling SwiftShell Array.swift
[33/54] Compiling AEXML Options.swift
[34/54] Compiling AEXML Parser.swift
[35/54] Emitting module PathKit
[36/54] Compiling PathKit PathKit.swift
[37/54] Compiling PackageConfig Loader.swift
[38/54] Compiling PackageConfig Package.swift
[39/54] Compiling SwiftShell Context.swift
[40/54] Compiling PackageConfig DynamicLibraries.swift
[41/54] Emitting module PackageConfig
[42/54] Emitting module SwiftShell
[43/54] Compiling SwiftShell Bash.swift
[44/54] Compiling SwiftShell Command.swift
[45/57] Compiling AEXML Error.swift
[46/57] Compiling AEXML Element.swift
[47/57] Compiling AEXML Document.swift
[48/57] Emitting module AEXML
[49/64] Compiling SwiftShell String.swift
[50/137] Emitting module PhaseConfig
[51/137] Compiling PhaseConfig Phase.swift
[52/137] Compiling PhaseConfig PhaseConfig.swift
[52/137] Write Objects.LinkFileList
[54/137] Compiling xcodeproj XcodeProj.swift
[55/137] Compiling xcodeproj Writable.swift
[56/137] Compiling xcodeproj XCScheme+AditionalOption.swift
[57/137] Compiling xcodeproj XCScheme+AnalyzeAction.swift
[58/137] Compiling xcodeproj XCScheme+ArchiveAction.swift
[59/137] Compiling xcodeproj XCScheme+BuildAction.swift
[60/137] Compiling xcodeproj XCScheme+BuildableProductRunnable.swift
[61/137] Compiling xcodeproj XCScheme+BuildableReference.swift
[62/137] Compiling xcodeproj XCScheme+CommandLineArguments.swift
[63/145] Compiling xcodeproj Errors.swift
[64/145] Compiling xcodeproj AEXML+XcodeFormat.swift
[65/145] Compiling xcodeproj Bool+Extras.swift
[66/145] Compiling xcodeproj Dictionary+Enumerate.swift
[67/145] Compiling xcodeproj Dictionary+Extras.swift
[68/145] Compiling xcodeproj KeyedDecodingContainer+Additions.swift
[69/145] Compiling xcodeproj NSRecursiveLock+Sync.swift
[70/145] Compiling xcodeproj OSLog+Extras.swift
[71/145] Compiling xcodeproj Path+Extras.swift
[71/145] Linking libPhaseConfig.dylib
[73/145] Compiling xcodeproj PBXFileElement.swift
[74/145] Compiling xcodeproj PBXFileReference.swift
[75/145] Compiling xcodeproj PBXGroup.swift
[76/145] Compiling xcodeproj PBXSourceTree.swift
[77/145] Compiling xcodeproj PBXVariantGroup.swift
[78/145] Compiling xcodeproj XCVersionGroup.swift
[79/145] Compiling xcodeproj PBXObject.swift
[80/145] Compiling xcodeproj PBXObjectParser.swift
[81/145] Compiling xcodeproj PBXObjectReference.swift
[82/145] Compiling xcodeproj String+Utils.swift
[83/145] Compiling xcodeproj String+md5.swift
[84/145] Compiling xcodeproj BuildPhase.swift
[85/145] Compiling xcodeproj PBXBuildFile.swift
[86/145] Compiling xcodeproj PBXBuildPhase.swift
[87/145] Compiling xcodeproj PBXBuildRule.swift
[88/145] Compiling xcodeproj PBXCopyFilesBuildPhase.swift
[89/145] Compiling xcodeproj PBXFrameworksBuildPhase.swift
[90/145] Compiling xcodeproj PBXHeadersBuildPhase.swift
[91/145] Compiling xcodeproj ReferenceGenerator.swift
[92/145] Compiling xcodeproj XCConfig.swift
[93/145] Compiling xcodeproj XCWorkspace.swift
[94/145] Compiling xcodeproj XCWorkspaceData.swift
[95/145] Compiling xcodeproj XCWorkspaceDataElement.swift
[96/145] Compiling xcodeproj XCWorkspaceDataElementLocationType.swift
[97/145] Compiling xcodeproj XCWorkspaceDataFileRef.swift
[98/145] Compiling xcodeproj XCWorkspaceDataGroup.swift
[99/145] Compiling xcodeproj XCScheme+TestableReference.swift
[100/145] Compiling xcodeproj XCScheme.swift
[101/145] Compiling xcodeproj BuildSettingsProvider.swift
[102/145] Compiling xcodeproj CommentedString.swift
[103/145] Compiling xcodeproj Decoders.swift
[104/145] Compiling xcodeproj JSONDecoding.swift
[105/145] Compiling xcodeproj OSLogger.swift
[106/145] Compiling xcodeproj PlistValue.swift
[107/145] Compiling xcodeproj PBXResourcesBuildPhase.swift
[108/145] Compiling xcodeproj PBXRezBuildPhase.swift
[109/145] Compiling xcodeproj PBXShellScriptBuildPhase.swift
[110/145] Compiling xcodeproj PBXSourcesBuildPhase.swift
[111/145] Compiling xcodeproj BuildSettings.swift
[112/145] Compiling xcodeproj XCBuildConfiguration.swift
[113/145] Compiling xcodeproj XCConfigurationList.swift
[114/145] Compiling xcodeproj PBXContainerItem.swift
[115/145] Compiling xcodeproj PBXContainerItemProxy.swift
[116/145] Compiling xcodeproj XCScheme+EnvironmentVariable.swift
[117/145] Compiling xcodeproj XCScheme+ExecutionAction.swift
[118/145] Compiling xcodeproj XCScheme+LaunchAction.swift
[119/145] Compiling xcodeproj XCScheme+LocationScenarioReference.swift
[120/145] Compiling xcodeproj XCScheme+ProfileAction.swift
[121/145] Compiling xcodeproj XCScheme+SerialAction.swift
[122/145] Compiling xcodeproj XCScheme+SkippedTests.swift
[123/145] Compiling xcodeproj XCScheme+TestAction.swift
[124/145] Compiling xcodeproj PBXNativeTarget.swift
[125/145] Compiling xcodeproj PBXProductType.swift
[126/145] Compiling xcodeproj PBXReferenceProxy.swift
[127/145] Compiling xcodeproj PBXTarget.swift
[128/145] Compiling xcodeproj PBXTargetDependency.swift
[129/145] Compiling xcodeproj WorkspaceSettings.swift
[130/145] Compiling xcodeproj XCBreakpointList.swift
[131/145] Compiling xcodeproj XCSharedData.swift
[132/145] Compiling xcodeproj Xcode.swift
[133/145] Emitting module xcodeproj
[134/145] Compiling xcodeproj PBXObjects.swift
[135/145] Compiling xcodeproj PBXOutputSettings.swift
[136/145] Compiling xcodeproj PBXProj.swift
[137/145] Compiling xcodeproj PBXProjEncoder.swift
[138/145] Compiling xcodeproj PBXProject.swift
[139/145] Compiling xcodeproj Equality.generated.swift
[140/145] Compiling xcodeproj Sourcery.swift
[141/145] Compiling xcodeproj PBXAggregateTarget.swift
[142/145] Compiling xcodeproj PBXLegacyTarget.swift
[143/155] Compiling Phase main.swift
[144/155] Compiling Phase WriteProject.swift
[145/155] Compiling Phase ReadProject.swift
[146/155] Compiling Phase ReadConfiguration.swift
/Users/admin/builder/spi-builder-workspace/Sources/Phase/Procedures/ReadConfiguration.swift:23:13: warning: static property 'failedToLoadConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | extension Error {
22 |
23 | static var failedToLoadConfiguration: Error = "Failed to load configuration from Package.swift"
| |- warning: static property 'failedToLoadConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedToLoadConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'failedToLoadConfiguration' 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
24 | }
25 |
[147/155] Compiling Phase Main.swift
[148/155] Emitting module Phase
/Users/admin/builder/spi-builder-workspace/Sources/Phase/Procedures/ReadConfiguration.swift:23:13: warning: static property 'failedToLoadConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
21 | extension Error {
22 |
23 | static var failedToLoadConfiguration: Error = "Failed to load configuration from Package.swift"
| |- warning: static property 'failedToLoadConfiguration' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'failedToLoadConfiguration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'failedToLoadConfiguration' 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
24 | }
25 |
[149/155] Compiling Phase Install.swift
[150/155] Compiling Phase Sequence+Unique.swift
[151/155] Compiling Phase Procedure.swift
[152/155] Compiling Phase Error.swift
[152/155] Write Objects.LinkFileList
error: link command failed with exit code 1 (use -v to see invocation)
Undefined symbols for architecture arm64:
"_main", referenced from:
<initial-undefines>
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
[153/155] Linking phase
Fetching https://github.com/tadija/AEXML
Fetching https://github.com/kylef/Commander
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit
Fetching https://github.com/tuist/xcodeproj.git
Fetching https://github.com/kareman/SwiftShell
Fetching https://github.com/orta/PackageConfig.git
[1/1588] Fetching commander
[33/2609] Fetching commander, spectre
[197/4020] Fetching commander, spectre, pathkit
[427/4600] Fetching commander, spectre, pathkit, packageconfig
[610/6695] Fetching commander, spectre, pathkit, packageconfig, aexml
[997/11558] Fetching commander, spectre, pathkit, packageconfig, aexml, swiftshell
[7362/32032] Fetching commander, spectre, pathkit, packageconfig, aexml, swiftshell, xcodeproj
Fetched https://github.com/kylef/PathKit from cache (1.39s)
Fetching https://github.com/f-meloni/Logger
[14038/30621] Fetching commander, spectre, packageconfig, aexml, swiftshell, xcodeproj
Fetched https://github.com/kylef/Spectre.git from cache (1.39s)
Fetched https://github.com/kareman/SwiftShell from cache (1.39s)
[8358/24737] Fetching commander, packageconfig, aexml, xcodeproj
Fetched https://github.com/kylef/Commander from cache (2.18s)
Fetched https://github.com/tuist/xcodeproj.git from cache (2.18s)
Fetched https://github.com/orta/PackageConfig.git from cache (2.18s)
Fetched https://github.com/tadija/AEXML from cache (2.18s)
[1/116] Fetching logger
Fetched https://github.com/f-meloni/Logger from cache (1.10s)
Computing version for https://github.com/kylef/PathKit
Computed https://github.com/kylef/PathKit at 0.9.2 (0.70s)
Computing version for https://github.com/tuist/xcodeproj.git
Computed https://github.com/tuist/xcodeproj.git at 6.6.0 (0.67s)
Computing version for https://github.com/f-meloni/Logger
Computed https://github.com/f-meloni/Logger at 0.2.2 (0.66s)
Computing version for https://github.com/kareman/SwiftShell
Computed https://github.com/kareman/SwiftShell at 4.1.2 (2.37s)
Computing version for https://github.com/kylef/Commander
Computed https://github.com/kylef/Commander at 0.9.0 (0.67s)
Computing version for https://github.com/orta/PackageConfig.git
Computed https://github.com/orta/PackageConfig.git at 0.9.0 (0.67s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.68s)
Computing version for https://github.com/tadija/AEXML
Computed https://github.com/tadija/AEXML at 4.3.3 (0.65s)
Creating working copy for https://github.com/f-meloni/Logger
Working copy of https://github.com/f-meloni/Logger resolved at 0.2.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/kareman/SwiftShell
Working copy of https://github.com/kareman/SwiftShell resolved at 4.1.2
Creating working copy for https://github.com/tadija/AEXML
Working copy of https://github.com/tadija/AEXML resolved at 4.3.3
Creating working copy for https://github.com/kylef/Commander
Working copy of https://github.com/kylef/Commander resolved at 0.9.0
Creating working copy for https://github.com/kylef/PathKit
Working copy of https://github.com/kylef/PathKit resolved at 0.9.2
Creating working copy for https://github.com/orta/PackageConfig.git
Working copy of https://github.com/orta/PackageConfig.git resolved at 0.9.0
Creating working copy for https://github.com/tuist/xcodeproj.git
Working copy of https://github.com/tuist/xcodeproj.git resolved at 6.6.0
warning: 'spi-builder-workspace': the target name Phase has different case on the filesystem and the Package.swift manifest file
BUILD FAILURE 6.0 macosSpm