Build Information
Successful build of FileSmith, reference master (c79274
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 09:43:26 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: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/kareman/FileSmith
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at c792743 Set SwiftShell version to exactly 5.0.1. (#19)
Cloned https://github.com/kareman/FileSmith.git
Revision (git rev-parse @):
c792743de87f23f84621f234fada25b49853a1ca
SUCCESS checkout https://github.com/kareman/FileSmith.git at master
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.71s)
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.0.1",
"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.04s)
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.0.1 (0.02s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 5.0.1
Creating working copy for https://github.com/kareman/FileSmith.git
Working copy of https://github.com/kareman/FileSmith.git resolved at master (c792743)
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 Array.swift
[5/13] Compiling SwiftShell Lazy-split.swift
[6/14] Compiling SwiftShell FileHandle.swift
[7/14] Compiling SwiftShell Context.swift
[8/14] Compiling SwiftShell Files.swift
[9/14] Compiling SwiftShell Process.swift
[10/14] Compiling SwiftShell Stream.swift
[11/14] Compiling SwiftShell Bash.swift
[12/14] Compiling SwiftShell Command.swift
[13/14] Emitting module SwiftShell
[14/14] Compiling SwiftShell String.swift
[15/22] Compiling FileSmith SymbolicLinks.swift
[16/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 | }()
[17/22] Compiling FileSmith General.swift
[18/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.
[19/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.
[20/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 | }()
[21/22] Compiling FileSmith Paths.swift
[22/22] Compiling FileSmith Attributes.swift
Build complete! (14.07s)
Build complete.
{
"dependencies" : [
{
"identity" : "swiftshell",
"requirement" : {
"exact" : [
"5.0.1"
]
},
"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.