Build Information
Successful build of swift-file, reference 1.1.0 (7ee381
), with Swift 6.0 for macOS (SPM) on 23 Mar 2025 07:10:04 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Build Log
========================================
RunAll
========================================
Builder version: 4.60.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-file.git
Reference: 1.1.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pelagornis/swift-file
* tag 1.1.0 -> FETCH_HEAD
HEAD is now at 7ee381e update github action name plfile -> swift file
Cloned https://github.com/pelagornis/swift-file.git
Revision (git rev-parse @):
7ee381e6799235583f24df235dd14f55ebb48ca9
SUCCESS checkout https://github.com/pelagornis/swift-file.git at 1.1.0
Fetching https://github.com/swiftlang/swift-docc-symbolkit
Fetching https://github.com/apple/swift-docc-plugin.git
[1/2050] Fetching swift-docc-plugin
[227/5393] Fetching swift-docc-plugin, swift-docc-symbolkit
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.25s)
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.25s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.80s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.61s)
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/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.4.3
========================================
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": "swift-file",
"name": "swift-file",
"url": "https://github.com/pelagornis/swift-file.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-file",
"dependencies": [
]
}
]
}
Fetching https://github.com/pelagornis/swift-file.git
[1/1059] Fetching swift-file
Fetched https://github.com/pelagornis/swift-file.git from cache (0.87s)
Creating working copy for https://github.com/pelagornis/swift-file.git
Working copy of https://github.com/pelagornis/swift-file.git resolved at 1.1.0 (7ee381e)
warning: '.resolve-product-dependencies': dependency 'swift-file' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/pelagornis/swift-file.git
https://github.com/pelagornis/swift-file.git
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-file",
"name" : "swift-file",
"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"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.2.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
[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-5BDAB9E9C0126B9D.txt
[5/15] Compiling File FileHandleExt.swift
[6/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.
[7/15] Compiling File StringExt.swift
[8/15] Compiling File DateExt.swift
[9/15] Compiling File Store.swift
[10/16] Compiling File Folder.swift
[11/16] Compiling File Type.swift
[12/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("/")
[13/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.
[14/16] Compiling File Child.swift
[15/16] Compiling File File.swift
[16/16] Compiling File FileSystem.swift
Build complete! (27.98s)
Build complete.
{
"dependencies" : [
{
"identity" : "swift-docc-plugin",
"requirement" : {
"range" : [
{
"lower_bound" : "1.4.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-docc-plugin"
}
],
"manifest_display_name" : "swift-file",
"name" : "swift-file",
"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.