Build Information
Successful build of plfile with Swift 6.0 for macOS (SPM).
Swift 6 data race errors: 15
Build Command
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/PLFile.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pelagornis/PLFile
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at a710f8d Update config.yml
Cloned https://github.com/pelagornis/PLFile.git
Revision (git rev-parse @):
a710f8d5e5f4b2c4964b5c218b92ddcb5d02816d
SUCCESS checkout https://github.com/pelagornis/PLFile.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $workDir
https://github.com/pelagornis/PLFile.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
[1/1] Compiling plugin Swift-DocC
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-6F35C1178C84523A.txt
[5/15] Compiling File DateExt.swift
[6/15] Compiling File FileHandleExt.swift
[7/15] Compiling File Store.swift
[8/15] Compiling File Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' 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
7 |
8 | /// Home path.
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:9:23: warning: static property 'home' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Home path.
9 | public static var home = Path("~")
| |- warning: static property 'home' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'home' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'home' 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
10 |
11 | /// Documents path.
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:27:23: warning: static property 'temporary' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// System Temporary path.
27 | public static var temporary = Path(NSTemporaryDirectory())
| |- warning: static property 'temporary' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporary' 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
28 |
29 | /// Standardized path
[9/15] Compiling File StringExt.swift
[10/15] Compiling File Folder.swift
[11/16] Compiling File Type.swift
[12/16] Compiling File Child.swift
[13/16] Compiling File File.swift
[14/16] Emitting module File
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:6:10: warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
4 | public enum FileError: Error {
5 | /// File Create Error
6 | case fileCreateError(path: Path)
| `- warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:8:10: warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 | case fileCreateError(path: Path)
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
| `- warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:10:10: warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | case filePathEmpty(path: Path)
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
| `- warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:12:10: warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | case folderCreateError(path: Path, error: Error)
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
| `- warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:14:10: warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case emptyPath(path: Path)
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
| `- warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:16:10: warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case writeFailed(path: Path, error: Error)
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
| `- warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:18:10: warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case writeStringEncodingFailed(path: Path)
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
| `- warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:20:10: warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
18 | case readFailed(path: Path, error: Error)
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
| `- warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:22:10: warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
20 | case cannotRename(path: Path)
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
| `- warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:24:10: warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
22 | case moveError(path: Path, error: Error)
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
| `- warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:26:10: warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
24 | case copyError(path: Path, error: Error)
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
| `- warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
27 | /// Missing Error
28 | case missing(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:28:10: warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
26 | case deleteError(path: Path, error: Error)
27 | /// Missing Error
28 | case missing(path: Path)
| `- warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:23: warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' may have shared mutable state; this is an error in the Swift 6 language mode
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
| |- warning: static property 'root' is not concurrency-safe because non-'Sendable' type 'Path' 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
7 |
8 | /// Home path.
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:9:23: warning: static property 'home' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
7 |
8 | /// Home path.
9 | public static var home = Path("~")
| |- warning: static property 'home' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'home' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'home' 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
10 |
11 | /// Documents path.
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:27:23: warning: static property 'temporary' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
25 |
26 | /// System Temporary path.
27 | public static var temporary = Path(NSTemporaryDirectory())
| |- warning: static property 'temporary' is not concurrency-safe because it is non-isolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'temporary' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'temporary' 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
28 |
29 | /// Standardized path
[15/16] Compiling File FileSystem.swift
[16/16] Compiling File FileError.swift
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:6:10: warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
4 | public enum FileError: Error {
5 | /// File Create Error
6 | case fileCreateError(path: Path)
| `- warning: associated value 'fileCreateError(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:8:10: warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
6 | case fileCreateError(path: Path)
7 | /// Verify that file path is empty.
8 | case filePathEmpty(path: Path)
| `- warning: associated value 'filePathEmpty(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:10:10: warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
8 | case filePathEmpty(path: Path)
9 | /// Folder Create Error
10 | case folderCreateError(path: Path, error: Error)
| `- warning: associated value 'folderCreateError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:12:10: warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
10 | case folderCreateError(path: Path, error: Error)
11 | /// Verify that path is empty.
12 | case emptyPath(path: Path)
| `- warning: associated value 'emptyPath(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:14:10: warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
12 | case emptyPath(path: Path)
13 | /// Write Failed Error.
14 | case writeFailed(path: Path, error: Error)
| `- warning: associated value 'writeFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:16:10: warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
14 | case writeFailed(path: Path, error: Error)
15 | /// Write String Encoding Error.
16 | case writeStringEncodingFailed(path: Path)
| `- warning: associated value 'writeStringEncodingFailed(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:18:10: warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
16 | case writeStringEncodingFailed(path: Path)
17 | /// Read Failed Error.
18 | case readFailed(path: Path, error: Error)
| `- warning: associated value 'readFailed(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:20:10: warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
18 | case readFailed(path: Path, error: Error)
19 | /// Can Not Renamed Error.
20 | case cannotRename(path: Path)
| `- warning: associated value 'cannotRename(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:22:10: warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
20 | case cannotRename(path: Path)
21 | /// Move Failed Error
22 | case moveError(path: Path, error: Error)
| `- warning: associated value 'moveError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:24:10: warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
22 | case moveError(path: Path, error: Error)
23 | /// Copy Failed Error
24 | case copyError(path: Path, error: Error)
| `- warning: associated value 'copyError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:26:10: warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
24 | case copyError(path: Path, error: Error)
25 | /// Delete Failed Error
26 | case deleteError(path: Path, error: Error)
| `- warning: associated value 'deleteError(path:error:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
27 | /// Missing Error
28 | case missing(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:28:10: warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
26 | case deleteError(path: Path, error: Error)
27 | /// Missing Error
28 | case missing(path: Path)
| `- warning: associated value 'missing(path:)' of 'Sendable'-conforming enum 'FileError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
29 | }
30 |
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:4:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
2 |
3 | /// Manage the path of the PLFile.
4 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
5 | /// Root path.
6 | public static let root = Path("/")
Build complete! (45.92s)
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/1465] Fetching swift-docc-plugin
[573/4326] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (1.31s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.31s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.70s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.76s)
Creating working copy for https://github.com/apple/swift-docc-plugin.git
Working copy of https://github.com/apple/swift-docc-plugin.git resolved at 1.3.0
Creating working copy for https://github.com/apple/swift-docc-symbolkit
Working copy of https://github.com/apple/swift-docc-symbolkit resolved at 1.0.0
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.3.0",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "plfile",
"name" : "plfile",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "13.0"
},
{
"name" : "macos",
"version" : "10.15"
},
{
"name" : "tvos",
"version" : "13.0"
},
{
"name" : "watchos",
"version" : "6.0"
}
],
"products" : [
{
"name" : "File",
"targets" : [
"File"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileTests",
"module_type" : "SwiftTarget",
"name" : "FileTests",
"path" : "Tests/FileTests",
"sources" : [
"FileTests.swift"
],
"target_dependencies" : [
"File"
],
"type" : "test"
},
{
"c99name" : "File",
"module_type" : "SwiftTarget",
"name" : "File",
"path" : "Sources/File",
"product_memberships" : [
"File"
],
"sources" : [
"Child.swift",
"File.swift",
"FileError.swift",
"FileSystem.swift",
"Folder.swift",
"Internal/DateExt.swift",
"Internal/FileHandleExt.swift",
"Internal/StringExt.swift",
"Path.swift",
"Store.swift",
"Type.swift"
],
"type" : "library"
}
],
"tools_version" : "5.7"
}
Done.