Build Information
Successful build of plfile with Swift 6.0 for Linux.
Swift 6 data race errors: 15
Build Command
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
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 /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
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: linux
Swift version: 6.0
Building package at path: $workDir
https://github.com/pelagornis/PLFile.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Fetching https://github.com/apple/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/1458] Fetching swift-docc-plugin
[60/4316] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-symbolkit from cache (0.41s)
Fetched https://github.com/apple/swift-docc-plugin.git from cache (0.41s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.3.0 (0.55s)
Computing version for https://github.com/apple/swift-docc-symbolkit
Computed https://github.com/apple/swift-docc-symbolkit at 1.0.0 (0.62s)
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
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
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Convert/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[1/1] Compiling plugin Swift-DocC
/host/spi-builder-workspace/.build/checkouts/swift-docc-plugin/Plugins/Swift-DocC Preview/Symbolic Links/SharedPackagePluginExtensions/PackageExtensions.swift:31:17: warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
29 | func addTargetDependencies(_ target: Target) {
30 | for dependency in target.dependencies {
31 | switch dependency {
| |- warning: switch covers known cases, but 'TargetDependency' may have additional unknown values; this is an error in the Swift 6 language mode
| `- note: handle unknown values using "@unknown default"
32 | case .product(let product):
33 | addTargets(product.targets)
[2/2] Compiling plugin Swift-DocC Preview
Building for debugging...
[2/4] Write sources
[3/4] Write swift-version-24593BA9C3E375BF.txt
[5/15] Compiling File FileError.swift
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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 |
/host/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("/")
[6/15] Compiling File FileSystem.swift
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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 |
/host/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("/")
[7/16] Emitting module File
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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)
/host/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("/")
/host/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 |
/host/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("/")
/host/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.
/host/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.
/host/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
[8/16] Compiling File Child.swift
[9/16] Compiling File File.swift
[10/16] Compiling File Store.swift
[11/16] Compiling File StringExt.swift
[12/16] Compiling File Folder.swift
[13/16] Compiling File DateExt.swift
[14/16] Compiling File FileHandleExt.swift
[15/16] Compiling File Path.swift
/host/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.
/host/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.
/host/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
[16/16] Compiling File Type.swift
Build complete! (29.26s)
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" : "/host/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.