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 FileSmith, reference 0.3.0 (476472), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 09:43:46 UTC.

Swift 6 data race errors: 11

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/kareman/FileSmith.git
Reference: 0.3.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kareman/FileSmith
 * tag               0.3.0      -> FETCH_HEAD
HEAD is now at 4764727 Release version 0.3.0.
Cloned https://github.com/kareman/FileSmith.git
Revision (git rev-parse @):
476472740a38c64634b388f2b311ec518bfa3265
SUCCESS checkout https://github.com/kareman/FileSmith.git at 0.3.0
Fetching https://github.com/kareman/SwiftShell.git
[1/4863] Fetching swiftshell
Fetched https://github.com/kareman/SwiftShell.git from cache (1.27s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.0.1 (0.67s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.0.1
========================================
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": "filesmith",
      "name": "FileSmith",
      "url": "https://github.com/kareman/FileSmith.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FileSmith",
      "dependencies": [
        {
          "identity": "swiftshell",
          "name": "SwiftShell",
          "url": "https://github.com/kareman/SwiftShell.git",
          "version": "5.1.0",
          "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
          "dependencies": [
          ]
        }
      ]
    }
  ]
}
Fetching https://github.com/kareman/FileSmith.git
[1/1686] Fetching filesmith
Fetched https://github.com/kareman/FileSmith.git from cache (1.10s)
Fetching https://github.com/kareman/SwiftShell.git from cache
Fetched https://github.com/kareman/SwiftShell.git from cache (0.48s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 5.1.0 (0.03s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.1.0
Creating working copy for https://github.com/kareman/FileSmith.git
Working copy of https://github.com/kareman/FileSmith.git resolved at 0.3.0 (4764727)
warning: '.resolve-product-dependencies': dependency 'filesmith' is not used by any target
Found 1 product dependencies
  - SwiftShell
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $PWD
https://github.com/kareman/FileSmith.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/3] Write sources
[2/3] Write swift-version--7754E27361AE5C74.txt
[4/13] Compiling SwiftShell Lazy-split.swift
[5/13] Compiling SwiftShell Process.swift
[6/13] Compiling SwiftShell Array.swift
[7/13] Compiling SwiftShell Files.swift
[8/13] Compiling SwiftShell FileHandle.swift
[9/13] Emitting module SwiftShell
[10/13] Compiling SwiftShell Bash.swift
[11/13] Compiling SwiftShell Command.swift
[12/13] Compiling SwiftShell Context.swift
[13/13] Compiling SwiftShell Stream.swift
[14/14] Compiling SwiftShell String.swift
[15/22] Compiling FileSmith Attributes.swift
[16/22] Compiling FileSmith SymbolicLinks.swift
[17/22] Compiling FileSmith Errors.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:10:7: warning: associated value 'alreadyExists(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum FileSystemError: Error, Equatable {
10 | 	case alreadyExists(path: Path)
   |       `- warning: associated value 'alreadyExists(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:11:7: warning: associated value 'notFound(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
 9 | public enum FileSystemError: Error, Equatable {
10 | 	case alreadyExists(path: Path)
11 | 	case notFound(path: Path)
   |       `- warning: associated value 'notFound(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:12:7: warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
10 | 	case alreadyExists(path: Path)
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
   |       `- warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:13:7: warning: associated value 'notDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
   |       `- warning: associated value 'notDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:14:7: warning: associated value 'invalidAccess(path:writing:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
   |       `- warning: associated value 'invalidAccess(path:writing:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
15 | 	case couldNotCreate(path: Path)
16 | 	case outsideSandbox(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:15:7: warning: associated value 'couldNotCreate(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
   |       `- warning: associated value 'couldNotCreate(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
16 | 	case outsideSandbox(path: Path)
17 |
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:16:7: warning: associated value 'outsideSandbox(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
16 | 	case outsideSandbox(path: Path)
   |       `- warning: associated value 'outsideSandbox(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
17 |
18 | 	/// Determines if two FileSystemErrors are equal.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
[18/22] Compiling FileSmith General.swift
[19/22] Compiling FileSmith File.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:88:20: warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 86 |
 87 | 	/// A ReadableStream which reads from standard input.
 88 | 	static public var stdin: ReadableStream = {
    |                    |- warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stdin' 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
 89 | 		ReadableFile(path: "/dev/stdin", filehandle: FileHandle.standardInput)
 90 | 	}()
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:212:20: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | 	/// A WritableStream which writes to standard output.
212 | 	static public var stdout: WritableStream = StdoutStream.default
    |                    |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stdout' 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
213 |
214 | 	/// A WritableStream which writes to standard error.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:215:20: warning: static property 'stderror' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 | 	/// A WritableStream which writes to standard error.
215 | 	static public var stderror: WritableStream = {
    |                    |- warning: static property 'stderror' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stderror' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stderror' 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
216 | 		WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | 	}()
[20/22] Emitting module FileSmith
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Directory.swift:89:20: warning: static property 'sandbox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 | 	/// If true, then you can only make changes to the file system in the current working directory, or any of its subdirectories.
 89 | 	public static var sandbox = true
    |                    |- warning: static property 'sandbox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'sandbox' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'sandbox' 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
 90 |
 91 | 	/// The path to this directory.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:10:7: warning: associated value 'alreadyExists(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
 8 |
 9 | public enum FileSystemError: Error, Equatable {
10 | 	case alreadyExists(path: Path)
   |       `- warning: associated value 'alreadyExists(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:11:7: warning: associated value 'notFound(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
 9 | public enum FileSystemError: Error, Equatable {
10 | 	case alreadyExists(path: Path)
11 | 	case notFound(path: Path)
   |       `- warning: associated value 'notFound(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:12:7: warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
10 | 	case alreadyExists(path: Path)
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
   |       `- warning: associated value 'isDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:13:7: warning: associated value 'notDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
11 | 	case notFound(path: Path)
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
   |       `- warning: associated value 'notDirectory(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:14:7: warning: associated value 'invalidAccess(path:writing:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
12 | 	case isDirectory(path: Path)
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
   |       `- warning: associated value 'invalidAccess(path:writing:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
15 | 	case couldNotCreate(path: Path)
16 | 	case outsideSandbox(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:15:7: warning: associated value 'couldNotCreate(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
13 | 	case notDirectory(path: Path)
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
   |       `- warning: associated value 'couldNotCreate(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
16 | 	case outsideSandbox(path: Path)
17 |
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Errors.swift:16:7: warning: associated value 'outsideSandbox(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
14 | 	case invalidAccess(path: Path, writing: Bool)
15 | 	case couldNotCreate(path: Path)
16 | 	case outsideSandbox(path: Path)
   |       `- warning: associated value 'outsideSandbox(path:)' of 'Sendable'-conforming enum 'FileSystemError' has non-sendable type 'any Path'; this is an error in the Swift 6 language mode
17 |
18 | 	/// Determines if two FileSystemErrors are equal.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Paths.swift:16:17: note: protocol 'Path' does not conform to the 'Sendable' protocol
 14 | /// The location of an item _which may or may not exist_ in the local file system.
 15 | /// It is either a DirectoryPath or a FilePath.
 16 | public protocol Path: CustomStringConvertible {
    |                 `- note: protocol 'Path' does not conform to the 'Sendable' protocol
 17 |
 18 | 	/// The individual parts of the absolute version of this path, from (but not including) the root folder.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:88:20: warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 86 |
 87 | 	/// A ReadableStream which reads from standard input.
 88 | 	static public var stdin: ReadableStream = {
    |                    |- warning: static property 'stdin' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stdin' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stdin' 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
 89 | 		ReadableFile(path: "/dev/stdin", filehandle: FileHandle.standardInput)
 90 | 	}()
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:212:20: warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
210 |
211 | 	/// A WritableStream which writes to standard output.
212 | 	static public var stdout: WritableStream = StdoutStream.default
    |                    |- warning: static property 'stdout' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stdout' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stdout' 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
213 |
214 | 	/// A WritableStream which writes to standard error.
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/File.swift:215:20: warning: static property 'stderror' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
213 |
214 | 	/// A WritableStream which writes to standard error.
215 | 	static public var stderror: WritableStream = {
    |                    |- warning: static property 'stderror' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'stderror' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'stderror' 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
216 | 		WritableFile(path: "/dev/stderr", filehandle: FileHandle.standardError)
217 | 	}()
[21/22] Compiling FileSmith Paths.swift
[22/22] Compiling FileSmith Directory.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileSmith/Directory.swift:89:20: warning: static property 'sandbox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 87 |
 88 | 	/// If true, then you can only make changes to the file system in the current working directory, or any of its subdirectories.
 89 | 	public static var sandbox = true
    |                    |- warning: static property 'sandbox' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                    |- note: convert 'sandbox' to a 'let' constant to make 'Sendable' shared state immutable
    |                    |- note: annotate 'sandbox' 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
 90 |
 91 | 	/// The path to this directory.
Build complete! (13.58s)
Build complete.
{
  "dependencies" : [
    {
      "identity" : "swiftshell",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "5.0.1",
            "upper_bound" : "6.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/kareman/SwiftShell.git"
    }
  ],
  "manifest_display_name" : "FileSmith",
  "name" : "FileSmith",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
  ],
  "products" : [
    {
      "name" : "FileSmith",
      "targets" : [
        "FileSmith"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "FileSmithTests",
      "module_type" : "SwiftTarget",
      "name" : "FileSmithTests",
      "path" : "Tests/FileSmithTests",
      "sources" : [
        "DirectoryTests.swift",
        "FileTests.swift",
        "PathTests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "FileSmith"
      ],
      "type" : "test"
    },
    {
      "c99name" : "FileSmith",
      "module_type" : "SwiftTarget",
      "name" : "FileSmith",
      "path" : "Sources/FileSmith",
      "product_dependencies" : [
        "SwiftShell"
      ],
      "product_memberships" : [
        "FileSmith"
      ],
      "sources" : [
        "Attributes.swift",
        "Directory.swift",
        "Errors.swift",
        "File.swift",
        "General.swift",
        "Paths.swift",
        "SymbolicLinks.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Done.