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

Successful build of xc, reference 0.0.2 (07cac2), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 05:52:17 UTC.

Swift 6 data race errors: 6

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.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.58.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
[1/12395] Fetching swift-argument-parser
Fetched https://github.com/apple/swift-argument-parser.git from cache (1.62s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.2.0 (0.62s)
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/178] Fetching xc
Fetched https://github.com/s2mr/xc.git from cache (0.68s)
Fetching https://github.com/apple/swift-argument-parser.git from cache
Fetched https://github.com/apple/swift-argument-parser.git from cache (0.57s)
Computing version for https://github.com/apple/swift-argument-parser.git
Computed https://github.com/apple/swift-argument-parser.git at 1.5.0 (0.43s)
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.0
Building package at path:  $PWD
https://github.com/s2mr/xc.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.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
[4/9] Write xc-entitlement.plist
[5/9] Write swift-version--7754E27361AE5C74.txt
[7/11] Emitting module ArgumentParserToolInfo
[8/11] Compiling ArgumentParserToolInfo ToolInfo.swift
[9/49] Compiling ArgumentParser ArgumentHelp.swift
[10/49] Compiling ArgumentParser ArgumentVisibility.swift
[11/49] Compiling ArgumentParser CompletionKind.swift
[12/49] Compiling ArgumentParser Errors.swift
[13/53] Compiling ArgumentParser BashCompletionsGenerator.swift
[14/53] Compiling ArgumentParser CompletionsGenerator.swift
[15/53] Compiling ArgumentParser FishCompletionsGenerator.swift
[16/53] Compiling ArgumentParser ZshCompletionsGenerator.swift
[17/53] Compiling ArgumentParser Argument.swift
[18/53] Emitting module ArgumentParser
[19/53] Compiling ArgumentParser Platform.swift
[20/53] Compiling ArgumentParser SequenceExtensions.swift
[21/53] Compiling ArgumentParser StringExtensions.swift
[22/53] Compiling ArgumentParser Tree.swift
[23/53] Compiling ArgumentParser ParsableArguments.swift
[24/53] Compiling ArgumentParser ParsableArgumentsValidation.swift
[25/53] Compiling ArgumentParser ParsableCommand.swift
[26/53] Compiling ArgumentParser ArgumentDecoder.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 Flag.swift
[32/53] Compiling ArgumentParser NameSpecification.swift
[33/53] Compiling ArgumentParser Option.swift
[34/53] Compiling ArgumentParser OptionGroup.swift
[35/53] Compiling ArgumentParser HelpGenerator.swift
[36/53] Compiling ArgumentParser MessageInfo.swift
[37/53] Compiling ArgumentParser UsageGenerator.swift
[38/53] Compiling ArgumentParser CollectionExtensions.swift
[39/53] Compiling ArgumentParser InputOrigin.swift
[40/53] Compiling ArgumentParser Name.swift
[41/53] Compiling ArgumentParser Parsed.swift
[42/53] Compiling ArgumentParser ParsedValues.swift
[43/53] Compiling ArgumentParser AsyncParsableCommand.swift
[44/53] Compiling ArgumentParser CommandConfiguration.swift
[45/53] Compiling ArgumentParser EnumerableFlag.swift
[46/53] Compiling ArgumentParser ExpressibleByArgument.swift
[47/53] Compiling ArgumentParser ParserError.swift
[48/53] Compiling ArgumentParser SplitArguments.swift
[49/53] Compiling ArgumentParser DumpHelpGenerator.swift
[50/53] Compiling ArgumentParser HelpCommand.swift
[51/70] Compiling Command Version.swift
[52/70] Compiling Command Xcode.swift
[53/70] Compiling Command Bash.swift
[54/70] Compiling Command CurrentDirectory.swift
[55/70] 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: annotate 'configuration' 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
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: annotate 'configuration' 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
 6 |             abstract: "Current environment"
 7 |         )
[56/70] 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: annotate 'configuration' 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
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: annotate 'configuration' 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
 6 |             abstract: "Current environment"
 7 |         )
[57/70] 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: annotate 'configuration' 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
 6 |         commandName: "xc",
 7 |         abstract: "This tool launches the Xcode application and opens the given documents.",
[58/70] 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: annotate 'configuration' 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
 6 |         commandName: "xc",
 7 |         abstract: "This tool launches the Xcode application and opens the given documents.",
[59/70] Compiling Command Collection+Utility.swift
[60/70] Compiling Command FileHandle+Utility.swift
[61/70] Compiling Command Optional+Utility.swift
[62/70] Compiling Command String+Utility.swift
[63/70] 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: annotate 'configuration' 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
 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: annotate 'configuration' 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
 29 |             abstract: "Shows available versions of Xcode"
 30 |         )
[64/70] 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: annotate 'configuration' 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
 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: annotate 'configuration' 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
 29 |             abstract: "Shows available versions of Xcode"
 30 |         )
[65/70] Compiling Command Config.swift
[66/70] Compiling Command CustomError.swift
[67/70] 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: annotate 'configuration' 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
 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: annotate 'configuration' 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
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: annotate 'configuration' 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
 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: annotate 'configuration' 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
 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: annotate 'configuration' 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
 29 |             abstract: "Shows available versions of Xcode"
 30 |         )
[68/71] Compiling Command XcodePlist.swift
[68/71] Write Objects.LinkFileList
[69/71] Linking xc
[70/71] Applying xc
Build complete! (18.36s)
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.