Build Information
Successful build of xc, reference 0.0.2 (07cac2
), with Swift 6.1 for macOS (SPM) on 27 Apr 2025 09:00:51 UTC.
Swift 6 data race errors: 6
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
Build Log
========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/s2mr/xc.git
Reference: 0.0.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/s2mr/xc
* tag 0.0.2 -> FETCH_HEAD
HEAD is now at 07cac2a Format
Cloned https://github.com/s2mr/xc.git
Revision (git rev-parse @):
07cac2a60ddcd736b0793eba9fc91c16637bbebd
SUCCESS checkout https://github.com/s2mr/xc.git at 0.0.2
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.63s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.0 (1.35s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.2.0
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "xc",
"name": "xc",
"url": "https://github.com/s2mr/xc.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/xc",
"dependencies": [
{
"identity": "swift-argument-parser",
"name": "swift-argument-parser",
"url": "https://github.com/apple/swift-argument-parser.git",
"version": "1.5.0",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-argument-parser",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/s2mr/xc.git
[1/182] Fetching xc
Fetched https://github.com/s2mr/xc.git from cache (0.59s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.51s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (1.04s)
Creating working copy for https://github.com/apple/swift-argument-parser.git
Working copy of https://github.com/apple/swift-argument-parser.git resolved at 1.5.0
Creating working copy for https://github.com/s2mr/xc.git
Working copy of https://github.com/s2mr/xc.git resolved at 0.0.2 (07cac2a)
Found 1 product dependencies
- swift-argument-parser
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/s2mr/xc.git
https://github.com/s2mr/xc.git
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "xc",
"name" : "xc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "xc",
"targets" : [
"Command"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CommandTests",
"module_type" : "SwiftTarget",
"name" : "CommandTests",
"path" : "Tests/CommandTests",
"sources" : [
"xcTests.swift"
],
"target_dependencies" : [
"Command"
],
"type" : "test"
},
{
"c99name" : "Command",
"module_type" : "SwiftTarget",
"name" : "Command",
"path" : "Sources/Command",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"xc"
],
"sources" : [
"Config.swift",
"CustomError.swift",
"Extensions/Collection+Utility.swift",
"Extensions/FileHandle+Utility.swift",
"Extensions/Optional+Utility.swift",
"Extensions/String+Utility.swift",
"Extensions/Version+Utility.swift",
"Main.swift",
"Subcommand/ConfigCommand.swift",
"Subcommand/EnvCommand.swift",
"Subcommand/ListCommand.swift",
"Subcommand/OpenCommand.swift",
"Utilities/Bash.swift",
"Utilities/CurrentDirectory.swift",
"Utilities/Xcode.swift",
"Version.swift",
"XcodePlist.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -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
[1/1] Compiling plugin Generate Manual
Building for debugging...
[1/9] Write sources
[2/9] Write xc-entitlement.plist
[5/9] Write swift-version-2F0A5646E1D333AE.txt
[7/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[8/11] Emitting module ArgumentParserToolInfo
[9/49] Compiling ArgumentParser InputOrigin.swift
[10/49] Compiling ArgumentParser Name.swift
[11/49] Compiling ArgumentParser Parsed.swift
[12/49] Compiling ArgumentParser ParsedValues.swift
[13/53] Emitting module ArgumentParser
[14/53] Compiling ArgumentParser Flag.swift
[15/53] Compiling ArgumentParser NameSpecification.swift
[16/53] Compiling ArgumentParser Option.swift
[17/53] Compiling ArgumentParser OptionGroup.swift
[18/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[19/53] Compiling ArgumentParser CompletionsGenerator.swift
[20/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[21/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[22/53] Compiling ArgumentParser Argument.swift
[23/53] Compiling ArgumentParser AsyncParsableCommand.swift
[24/53] Compiling ArgumentParser CommandConfiguration.swift
[25/53] Compiling ArgumentParser EnumerableFlag.swift
[26/53] Compiling ArgumentParser ExpressibleByArgument.swift
[27/53] Compiling ArgumentParser ArgumentDefinition.swift
[28/53] Compiling ArgumentParser ArgumentSet.swift
[29/53] Compiling ArgumentParser CommandParser.swift
[30/53] Compiling ArgumentParser InputKey.swift
[31/53] Compiling ArgumentParser Platform.swift
[32/53] Compiling ArgumentParser SequenceExtensions.swift
[33/53] Compiling ArgumentParser StringExtensions.swift
[34/53] Compiling ArgumentParser Tree.swift
[35/53] Compiling ArgumentParser ParserError.swift
[36/53] Compiling ArgumentParser SplitArguments.swift
[37/53] Compiling ArgumentParser DumpHelpGenerator.swift
[38/53] Compiling ArgumentParser HelpCommand.swift
[39/53] Compiling ArgumentParser ArgumentHelp.swift
[40/53] Compiling ArgumentParser ArgumentVisibility.swift
[41/53] Compiling ArgumentParser CompletionKind.swift
[42/53] Compiling ArgumentParser Errors.swift
[43/53] Compiling ArgumentParser ParsableArguments.swift
[44/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[45/53] Compiling ArgumentParser ParsableCommand.swift
[46/53] Compiling ArgumentParser ArgumentDecoder.swift
[47/53] Compiling ArgumentParser HelpGenerator.swift
[48/53] Compiling ArgumentParser MessageInfo.swift
[49/53] Compiling ArgumentParser UsageGenerator.swift
[50/53] Compiling ArgumentParser CollectionExtensions.swift
[51/70] Compiling Command Version.swift
[52/71] Compiling Command XcodePlist.swift
[53/71] Compiling Command Xcode.swift
[54/71] Compiling Command Bash.swift
[55/71] Compiling Command CurrentDirectory.swift
[56/71] Compiling Command Version+Utility.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @main
4 | struct MainTool: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | commandName: "xc",
7 | abstract: "This tool launches the Xcode application and opens the given documents.",
[57/71] Compiling Command Main.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @main
4 | struct MainTool: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | commandName: "xc",
7 | abstract: "This tool launches the Xcode application and opens the given documents.",
[58/71] Compiling Command ConfigCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:51:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
:
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:5:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | abstract: "Current environment"
7 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | abstract: "Current environment"
7 | )
[59/71] Compiling Command EnvCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:51:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
:
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:5:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | abstract: "Current environment"
7 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | abstract: "Current environment"
7 | )
[60/71] Compiling Command Collection+Utility.swift
[61/71] Compiling Command FileHandle+Utility.swift
[62/71] Compiling Command Config.swift
[63/71] Compiling Command CustomError.swift
[64/71] Compiling Command Optional+Utility.swift
[65/71] Compiling Command String+Utility.swift
[66/71] Emitting module Command
/Users/admin/builder/spi-builder-workspace/Sources/Command/Main.swift:5:16: warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
3 | @main
4 | struct MainTool: ParsableCommand {
5 | static var configuration = CommandConfiguration(
| |- warning: static property 'configuration' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'configuration' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | commandName: "xc",
7 | abstract: "This tool launches the Xcode application and opens the given documents.",
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:51:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ConfigCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
:
49 | }
50 |
51 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
52 | commandName: "config",
53 | abstract: "Read and write xc command config. Config json is stored at `~/.config/xc/config.json`",
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:5:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
6 | abstract: "Current environment"
7 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/EnvCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 |
3 | extension MainTool {
4 | struct Env: ParsableCommand {
5 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
6 | abstract: "Current environment"
7 | )
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import AppKit
3 |
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:5:10: warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
3 |
4 | private enum OpenError: Error, CustomStringConvertible {
5 | case xcodeURLNotFound(version: Version?)
| `- warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
6 | case sudoPasswordEmpty
7 | case internalError
/Users/admin/builder/spi-builder-workspace/Sources/Command/Version.swift:28:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
26 | /// a backward-compatible bug fix. This allows clients to benefit from bugfixes
27 | /// to your package without incurring any maintenance burden.
28 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
29 |
30 | /// The major version according to the semantic versioning standard.
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:28:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
29 | abstract: "Shows available versions of Xcode"
30 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
:
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | abstract: "Shows available versions of Xcode"
30 | )
[67/71] Compiling Command ListCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import AppKit
3 |
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:5:10: warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
3 |
4 | private enum OpenError: Error, CustomStringConvertible {
5 | case xcodeURLNotFound(version: Version?)
| `- warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
6 | case sudoPasswordEmpty
7 | case internalError
/Users/admin/builder/spi-builder-workspace/Sources/Command/Version.swift:28:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
26 | /// a backward-compatible bug fix. This allows clients to benefit from bugfixes
27 | /// to your package without incurring any maintenance burden.
28 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
29 |
30 | /// The major version according to the semantic versioning standard.
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:28:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
29 | abstract: "Shows available versions of Xcode"
30 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
:
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | abstract: "Shows available versions of Xcode"
30 | )
[68/71] Compiling Command OpenCommand.swift
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:6:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/ListCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import AppKit
3 |
4 | extension MainTool {
5 | struct List: ParsableCommand {
6 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
7 | abstract: "Available Xcodes list"
8 | )
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:5:10: warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
3 |
4 | private enum OpenError: Error, CustomStringConvertible {
5 | case xcodeURLNotFound(version: Version?)
| `- warning: associated value 'xcodeURLNotFound(version:)' of 'Sendable'-conforming enum 'OpenError' has non-sendable type 'Version'; this is an error in the Swift 6 language mode
6 | case sudoPasswordEmpty
7 | case internalError
/Users/admin/builder/spi-builder-workspace/Sources/Command/Version.swift:28:15: note: consider making struct 'Version' conform to the 'Sendable' protocol
26 | /// a backward-compatible bug fix. This allows clients to benefit from bugfixes
27 | /// to your package without incurring any maintenance burden.
28 | public struct Version {
| `- note: consider making struct 'Version' conform to the 'Sendable' protocol
29 |
30 | /// The major version according to the semantic versioning standard.
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:28:20: warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| `- warning: static property 'configuration' is not concurrency-safe because non-'Sendable' type 'CommandConfiguration' may have shared mutable state; this is an error in the Swift 6 language mode
29 | abstract: "Shows available versions of Xcode"
30 | )
/Users/admin/builder/spi-builder-workspace/.build/checkouts/swift-argument-parser/Sources/ArgumentParser/Parsable Types/CommandConfiguration.swift:13:15: note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
11 |
12 | /// The configuration for a command.
13 | public struct CommandConfiguration {
| `- note: struct 'CommandConfiguration' does not conform to the 'Sendable' protocol
14 | /// The name of the command to use on the command line.
15 | ///
/Users/admin/builder/spi-builder-workspace/Sources/Command/Subcommand/OpenCommand.swift:1:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
1 | import ArgumentParser
| `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'ArgumentParser'
2 | import Foundation
3 |
:
26 | extension MainTool {
27 | struct Open: ParsableCommand {
28 | static let configuration = CommandConfiguration(
| |- note: add '@MainActor' to make static property 'configuration' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
29 | abstract: "Shows available versions of Xcode"
30 | )
[68/71] Write Objects.LinkFileList
[69/71] Linking xc
[70/71] Applying xc
Build complete! (14.45s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-argument-parser",
"requirement" : {
"range" : [
{
"lower_bound" : "1.2.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-argument-parser.git"
}
],
"manifest_display_name" : "xc",
"name" : "xc",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "12.0"
}
],
"products" : [
{
"name" : "xc",
"targets" : [
"Command"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "CommandTests",
"module_type" : "SwiftTarget",
"name" : "CommandTests",
"path" : "Tests/CommandTests",
"sources" : [
"xcTests.swift"
],
"target_dependencies" : [
"Command"
],
"type" : "test"
},
{
"c99name" : "Command",
"module_type" : "SwiftTarget",
"name" : "Command",
"path" : "Sources/Command",
"product_dependencies" : [
"ArgumentParser"
],
"product_memberships" : [
"xc"
],
"sources" : [
"Config.swift",
"CustomError.swift",
"Extensions/Collection+Utility.swift",
"Extensions/FileHandle+Utility.swift",
"Extensions/Optional+Utility.swift",
"Extensions/String+Utility.swift",
"Extensions/Version+Utility.swift",
"Main.swift",
"Subcommand/ConfigCommand.swift",
"Subcommand/EnvCommand.swift",
"Subcommand/ListCommand.swift",
"Subcommand/OpenCommand.swift",
"Utilities/Bash.swift",
"Utilities/CurrentDirectory.swift",
"Utilities/Xcode.swift",
"Version.swift",
"XcodePlist.swift"
],
"type" : "executable"
}
],
"tools_version" : "5.7"
}
Done.