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 SPMArgumentParser, reference v0.5.0 (e3c489), with Swift 6.0 for macOS (SPM) on 4 Nov 2024 03:51:20 UTC.

Swift 6 data race errors: 10

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

Build Log

========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/nikstar/spm-argument-parser.git
Reference: v0.5.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/nikstar/spm-argument-parser
 * tag               v0.5.0     -> FETCH_HEAD
HEAD is now at e3c4895 Merge pull request #1 from nikstar/stripped
Cloned https://github.com/nikstar/spm-argument-parser.git
Revision (git rev-parse @):
e3c4895261730adf46ab012af05a3729871a15a1
SUCCESS checkout https://github.com/nikstar/spm-argument-parser.git at v0.5.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": "spm-argument-parser",
      "name": "SPMArgumentParser",
      "url": "https://github.com/nikstar/spm-argument-parser.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/spm-argument-parser",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/nikstar/spm-argument-parser.git
[1/34281] Fetching spm-argument-parser
Fetched https://github.com/nikstar/spm-argument-parser.git from cache (1.85s)
Creating working copy for https://github.com/nikstar/spm-argument-parser.git
Working copy of https://github.com/nikstar/spm-argument-parser.git resolved at v0.5.0 (e3c4895)
warning: '.resolve-product-dependencies': dependency 'spm-argument-parser' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/nikstar/spm-argument-parser.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
Building for debugging...
[0/5] Write sources
[3/5] Write swift-version--7754E27361AE5C74.txt
[4/5] Compiling clibc libc.c
[6/7] Emitting module SPMLibc
[7/7] Compiling SPMLibc libc.swift
[8/20] Compiling Basic StringConversions.swift
[9/21] Compiling Basic Tuple.swift
[10/21] Compiling Basic Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/Basic/Path.swift:208:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// not the program being invoked (e.g. when invoking `cd ~`, it is the shell
 30 | /// that evaluates the tilde; the `cd` command receives an absolute path).
 31 | public struct AbsolutePath: Hashable {
    |               `- note: consider making struct 'AbsolutePath' conform to the 'Sendable' protocol
 32 |     /// Check if the given name is a valid individual path component.
 33 |     ///
    :
206 |
207 |     /// Root directory (whose string representation is just a path separator).
208 |     public static let root = AbsolutePath("/")
    |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'root' 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
209 |
210 |     /// Normalized string representation (the normalization rules are described
[11/21] Compiling Basic OutputByteStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Basic/OutputByteStream.swift:740:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
738 |
739 | /// Public stdout stream instance.
740 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' 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
741 |     filePointer: SPMLibc.stdout,
742 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/Basic/OutputByteStream.swift:745:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
743 |
744 | /// Public stderr stream instance.
745 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' 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
746 |     filePointer: SPMLibc.stderr,
747 |     closeOnDeinit: false))
[12/21] Compiling Basic PathShims.swift
/Users/admin/builder/spi-builder-workspace/Sources/Basic/FileSystem.swift:772:12: warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
770 |
771 | /// Public access to the local FS proxy.
772 | public var localFileSystem: FileSystem = LocalFileSystem()
    |            |- warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'localFileSystem' 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
773 |
774 | extension FileSystem {
[13/21] Compiling Basic DictionaryLiteralExtensions.swift
[14/21] Compiling Basic EditDistance.swift
[15/21] Compiling Basic FileInfo.swift
[16/21] Emitting module Basic
/Users/admin/builder/spi-builder-workspace/Sources/Basic/FileSystem.swift:772:12: warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
770 |
771 | /// Public access to the local FS proxy.
772 | public var localFileSystem: FileSystem = LocalFileSystem()
    |            |- warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'localFileSystem' 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
773 |
774 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Basic/Path.swift:208:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// not the program being invoked (e.g. when invoking `cd ~`, it is the shell
 30 | /// that evaluates the tilde; the `cd` command receives an absolute path).
 31 | public struct AbsolutePath: Hashable {
    |               `- note: consider making struct 'AbsolutePath' conform to the 'Sendable' protocol
 32 |     /// Check if the given name is a valid individual path component.
 33 |     ///
    :
206 |
207 |     /// Root directory (whose string representation is just a path separator).
208 |     public static let root = AbsolutePath("/")
    |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'root' 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
209 |
210 |     /// Normalized string representation (the normalization rules are described
/Users/admin/builder/spi-builder-workspace/Sources/Basic/OutputByteStream.swift:740:12: warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
738 |
739 | /// Public stdout stream instance.
740 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            |- warning: var 'stdoutStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stdoutStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stdoutStream' 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
741 |     filePointer: SPMLibc.stdout,
742 |     closeOnDeinit: false))
/Users/admin/builder/spi-builder-workspace/Sources/Basic/OutputByteStream.swift:745:12: warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
743 |
744 | /// Public stderr stream instance.
745 | public var stderrStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            |- warning: var 'stderrStream' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'stderrStream' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'stderrStream' 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
746 |     filePointer: SPMLibc.stderr,
747 |     closeOnDeinit: false))
[17/21] Compiling Basic CollectionExtensions.swift
[18/21] Compiling Basic DictionaryExtensions.swift
[19/21] Compiling Basic ByteString.swift
[20/21] Compiling Basic CollectionAlgorithms.swift
[21/21] Compiling Basic FileSystem.swift
/Users/admin/builder/spi-builder-workspace/Sources/Basic/FileSystem.swift:772:12: warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
770 |
771 | /// Public access to the local FS proxy.
772 | public var localFileSystem: FileSystem = LocalFileSystem()
    |            |- warning: var 'localFileSystem' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |            |- note: convert 'localFileSystem' to a 'let' constant to make 'Sendable' shared state immutable
    |            |- note: annotate 'localFileSystem' 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
773 |
774 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/Basic/Path.swift:208:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
 29 | /// not the program being invoked (e.g. when invoking `cd ~`, it is the shell
 30 | /// that evaluates the tilde; the `cd` command receives an absolute path).
 31 | public struct AbsolutePath: Hashable {
    |               `- note: consider making struct 'AbsolutePath' conform to the 'Sendable' protocol
 32 |     /// Check if the given name is a valid individual path component.
 33 |     ///
    :
206 |
207 |     /// Root directory (whose string representation is just a path separator).
208 |     public static let root = AbsolutePath("/")
    |                       |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'AbsolutePath' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: annotate 'root' 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
209 |
210 |     /// Normalized string representation (the normalization rules are described
[22/26] Compiling SPMArgumentParser CollectionExtensions.swift
[23/26] Compiling SPMArgumentParser StringExtensions.swift
[24/26] Compiling SPMArgumentParser ArgumentParserShellCompletion.swift
[25/26] Emitting module SPMArgumentParser
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:31:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
  29 |
  30 |     /// Expected these positional arguments but not found.
  31 |     case expectedArguments(ArgumentParser, [String])
     |          `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
  32 |
  33 |     /// Expected a single argument but got multiple ones.
     :
 524 | /// Argument parser struct responsible to parse the provided array of arguments
 525 | /// and return the parsed result.
 526 | public final class ArgumentParser {
     |                    `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
 527 |
 528 |     /// A class representing result of the parsed arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:123:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 121 |     case zsh
 122 |
 123 |     public static var completion: ShellCompletion = .values([
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 124 |         (bash.rawValue, "generate completion script for Bourne-again shell"),
 125 |         (zsh.rawValue, "generate completion script for Z shell"),
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:166:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
 128 |
 129 | /// Various shell completions modes supplied by ArgumentKind.
 130 | public enum ShellCompletion {
     |             `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
 131 |     /// Offers no completions at all; e.g. for a string identifier.
 132 |     case none
     :
 164 |     }
 165 |
 166 |     public static let completion: ShellCompletion = .none
     |                       |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'completion' 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
 167 | }
 168 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:178:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
 128 |
 129 | /// Various shell completions modes supplied by ArgumentKind.
 130 | public enum ShellCompletion {
     |             `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
 131 |     /// Offers no completions at all; e.g. for a string identifier.
 132 |     case none
     :
 176 |     }
 177 |
 178 |     public static let completion: ShellCompletion = .none
     |                       |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'completion' 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
 179 | }
 180 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:193:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 191 |     }
 192 |
 193 |     public static var completion: ShellCompletion = .unspecified
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 194 | }
 195 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:229:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 227 |     }
 228 |
 229 |     public static var completion: ShellCompletion = .filename
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 230 | }
 231 |
[26/26] Compiling SPMArgumentParser ArgumentParser.swift
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:31:10: warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
  29 |
  30 |     /// Expected these positional arguments but not found.
  31 |     case expectedArguments(ArgumentParser, [String])
     |          `- warning: associated value 'expectedArguments' of 'Sendable'-conforming enum 'ArgumentParserError' has non-sendable type 'ArgumentParser'; this is an error in the Swift 6 language mode
  32 |
  33 |     /// Expected a single argument but got multiple ones.
     :
 524 | /// Argument parser struct responsible to parse the provided array of arguments
 525 | /// and return the parsed result.
 526 | public final class ArgumentParser {
     |                    `- note: class 'ArgumentParser' does not conform to the 'Sendable' protocol
 527 |
 528 |     /// A class representing result of the parsed arguments.
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:123:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 121 |     case zsh
 122 |
 123 |     public static var completion: ShellCompletion = .values([
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 124 |         (bash.rawValue, "generate completion script for Bourne-again shell"),
 125 |         (zsh.rawValue, "generate completion script for Z shell"),
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:166:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
 128 |
 129 | /// Various shell completions modes supplied by ArgumentKind.
 130 | public enum ShellCompletion {
     |             `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
 131 |     /// Offers no completions at all; e.g. for a string identifier.
 132 |     case none
     :
 164 |     }
 165 |
 166 |     public static let completion: ShellCompletion = .none
     |                       |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'completion' 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
 167 | }
 168 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:178:23: warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
 128 |
 129 | /// Various shell completions modes supplied by ArgumentKind.
 130 | public enum ShellCompletion {
     |             `- note: consider making enum 'ShellCompletion' conform to the 'Sendable' protocol
 131 |     /// Offers no completions at all; e.g. for a string identifier.
 132 |     case none
     :
 176 |     }
 177 |
 178 |     public static let completion: ShellCompletion = .none
     |                       |- warning: static property 'completion' is not concurrency-safe because non-'Sendable' type 'ShellCompletion' may have shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: annotate 'completion' 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
 179 | }
 180 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:193:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 191 |     }
 192 |
 193 |     public static var completion: ShellCompletion = .unspecified
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 194 | }
 195 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:229:23: warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 227 |     }
 228 |
 229 |     public static var completion: ShellCompletion = .filename
     |                       |- warning: static property 'completion' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
     |                       |- note: convert 'completion' to a 'let' constant to make 'Sendable' shared state immutable
     |                       |- note: annotate 'completion' 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
 230 | }
 231 |
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:222:22: warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 220 |     public init(argument: String) throws {
 221 |         // FIXME: This should check for invalid paths.
 222 |         if let cwd = localFileSystem.currentWorkingDirectory {
     |                      `- warning: reference to var 'localFileSystem' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 223 |             path = AbsolutePath(argument, relativeTo: cwd)
 224 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/Basic/FileSystem.swift:772:12: note: var declared here
770 |
771 | /// Public access to the local FS proxy.
772 | public var localFileSystem: FileSystem = LocalFileSystem()
    |            `- note: var declared here
773 |
774 | extension FileSystem {
/Users/admin/builder/spi-builder-workspace/Sources/SPMArgumentParser/ArgumentParser.swift:830:32: warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 828 |             // If argument is help then just print usage and exit.
 829 |             if argumentString == "-h" || argumentString == "-help" || argumentString == "--help" {
 830 |                 printUsage(on: stdoutStream)
     |                                `- warning: reference to var 'stdoutStream' is not concurrency-safe because it involves shared mutable state; this is an error in the Swift 6 language mode
 831 |                 exit(0)
 832 |             } else if isPositional(argument: argumentString) {
/Users/admin/builder/spi-builder-workspace/Sources/Basic/OutputByteStream.swift:740:12: note: var declared here
738 |
739 | /// Public stdout stream instance.
740 | public var stdoutStream: ThreadSafeOutputByteStream = try! ThreadSafeOutputByteStream(LocalFileOutputByteStream(
    |            `- note: var declared here
741 |     filePointer: SPMLibc.stdout,
742 |     closeOnDeinit: false))
Build complete! (8.49s)
Build complete.
{
  "dependencies" : [
  ],
  "manifest_display_name" : "SPMArgumentParser",
  "name" : "SPMArgumentParser",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "SPMArgumentParser",
      "targets" : [
        "SPMArgumentParser"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "clibc",
      "module_type" : "ClangTarget",
      "name" : "clibc",
      "path" : "Sources/clibc",
      "product_memberships" : [
        "SPMArgumentParser"
      ],
      "sources" : [
        "libc.c"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMLibc",
      "module_type" : "SwiftTarget",
      "name" : "SPMLibc",
      "path" : "Sources/SPMLibc",
      "product_memberships" : [
        "SPMArgumentParser"
      ],
      "sources" : [
        "libc.swift"
      ],
      "target_dependencies" : [
        "clibc"
      ],
      "type" : "library"
    },
    {
      "c99name" : "SPMArgumentParser",
      "module_type" : "SwiftTarget",
      "name" : "SPMArgumentParser",
      "path" : "Sources/SPMArgumentParser",
      "product_memberships" : [
        "SPMArgumentParser"
      ],
      "sources" : [
        "ArgumentParser.swift",
        "ArgumentParserShellCompletion.swift",
        "CollectionExtensions.swift",
        "StringExtensions.swift"
      ],
      "target_dependencies" : [
        "Basic"
      ],
      "type" : "library"
    },
    {
      "c99name" : "Basic",
      "module_type" : "SwiftTarget",
      "name" : "Basic",
      "path" : "Sources/Basic",
      "product_memberships" : [
        "SPMArgumentParser"
      ],
      "sources" : [
        "ByteString.swift",
        "CollectionAlgorithms.swift",
        "CollectionExtensions.swift",
        "DictionaryExtensions.swift",
        "DictionaryLiteralExtensions.swift",
        "EditDistance.swift",
        "FileInfo.swift",
        "FileSystem.swift",
        "OutputByteStream.swift",
        "Path.swift",
        "PathShims.swift",
        "StringConversions.swift",
        "Tuple.swift"
      ],
      "target_dependencies" : [
        "SPMLibc"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "4.2"
}
Done.