Build Information
Successful build of swift-file, reference 1.2.3 (c19370
), with Swift 6.1 for macOS (SPM) on 22 Jul 2025 01:40:49 UTC.
Swift 6 data race errors: 13
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.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.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/pelagornis/swift-file.git
Reference: 1.2.3
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/pelagornis/swift-file
* tag 1.2.3 -> FETCH_HEAD
HEAD is now at c193707 Update Store
Cloned https://github.com/pelagornis/swift-file.git
Revision (git rev-parse @):
c193707fff23617c82c0f04ea2f1ec570a93fe34
SUCCESS checkout https://github.com/pelagornis/swift-file.git at 1.2.3
Fetching https://github.com/swiftlang/swift-docc-symbolkit from cache
Fetching https://github.com/apple/swift-docc-plugin.git
Fetching https://github.com/apple/swift-log from cache
[1/2094] Fetching swift-docc-plugin
Fetched https://github.com/apple/swift-docc-plugin.git from cache (1.19s)
Fetched https://github.com/apple/swift-log from cache (1.23s)
Computing version for https://github.com/apple/swift-log
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (1.24s)
Computed https://github.com/apple/swift-log at 1.6.3 (1.75s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.3 (0.62s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (0.67s)
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
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-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.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": [
{
"identity": "swift-log",
"name": "swift-log",
"url": "https://github.com/apple/swift-log",
"version": "1.6.3",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-log",
"dependencies": [
]
}
]
}
]
}
Fetching https://github.com/pelagornis/swift-file.git
[12/1151] Fetching swift-file
Fetched https://github.com/pelagornis/swift-file.git from cache (0.92s)
Fetching https://github.com/apple/swift-log from cache
Fetched https://github.com/apple/swift-log from cache (0.53s)
Computing version for https://github.com/apple/swift-log
Computed https://github.com/apple/swift-log at 1.6.3 (0.59s)
Creating working copy for https://github.com/pelagornis/swift-file.git
Working copy of https://github.com/pelagornis/swift-file.git resolved at 1.2.3 (c193707)
Creating working copy for https://github.com/apple/swift-log
Working copy of https://github.com/apple/swift-log resolved at 1.6.3
warning: '.resolve-product-dependencies': dependency 'swift-file' is not used by any target
Found 1 product dependencies
- swift-log
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"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_dependencies" : [
"Logging"
],
"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.3.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 Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/5] Write sources
[4/5] Write swift-version-2F0A5646E1D333AE.txt
[6/10] Compiling Logging MetadataProvider.swift
[7/10] Compiling Logging Logging.swift
[8/10] Emitting module Logging
[9/10] Compiling Logging LogHandler.swift
[10/10] Compiling Logging Locks.swift
[11/21] Compiling File FileError.swift
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:9: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
7 | public enum FileError: Error {
8 | /// File Create Error
9 | 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
10 | /// Verify that file path is empty.
11 | case filePathEmpty(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:11: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
9 | case fileCreateError(path: Path)
10 | /// Verify that file path is empty.
11 | 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
12 | /// Folder Create Error
13 | case folderCreateError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:13: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
11 | case filePathEmpty(path: Path)
12 | /// Folder Create Error
13 | 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
14 | /// Verify that path is empty.
15 | case emptyPath(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:15: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
13 | case folderCreateError(path: Path, error: Error)
14 | /// Verify that path is empty.
15 | 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
16 | /// Write Failed Error.
17 | case writeFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:17: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
15 | case emptyPath(path: Path)
16 | /// Write Failed Error.
17 | 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
18 | /// Write String Encoding Error.
19 | case writeStringEncodingFailed(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:19: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
17 | case writeFailed(path: Path, error: Error)
18 | /// Write String Encoding Error.
19 | 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
20 | /// Read Failed Error.
21 | case readFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:21: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
19 | case writeStringEncodingFailed(path: Path)
20 | /// Read Failed Error.
21 | 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
22 | /// Can Not Renamed Error.
23 | case cannotRename(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:23: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
21 | case readFailed(path: Path, error: Error)
22 | /// Can Not Renamed Error.
23 | 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
24 | /// Move Failed Error
25 | case moveError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:25: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
23 | case cannotRename(path: Path)
24 | /// Move Failed Error
25 | 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
26 | /// Copy Failed Error
27 | case copyError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:27: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
25 | case moveError(path: Path, error: Error)
26 | /// Copy Failed Error
27 | 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
28 | /// Delete Failed Error
29 | case deleteError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:29: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
27 | case copyError(path: Path, error: Error)
28 | /// Delete Failed Error
29 | 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
30 | /// Missing Error
31 | case missing(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:31: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
29 | case deleteError(path: Path, error: Error)
30 | /// Missing Error
31 | 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
[12/22] Compiling File DateExt.swift
[13/22] Compiling File Store.swift
[14/22] Compiling File FileSystem.swift
[15/22] Compiling File StringExt.swift
[16/22] Compiling File FileHandleExt.swift
[17/22] Compiling File Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:8: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
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Home path.
[18/22] Compiling File Folder.swift
[19/22] Compiling File Type.swift
[20/22] Compiling File Child.swift
[21/22] Compiling File File.swift
[22/22] Emitting module File
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:9: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
7 | public enum FileError: Error {
8 | /// File Create Error
9 | 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
10 | /// Verify that file path is empty.
11 | case filePathEmpty(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:11: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
9 | case fileCreateError(path: Path)
10 | /// Verify that file path is empty.
11 | 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
12 | /// Folder Create Error
13 | case folderCreateError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:13: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
11 | case filePathEmpty(path: Path)
12 | /// Folder Create Error
13 | 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
14 | /// Verify that path is empty.
15 | case emptyPath(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:15: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
13 | case folderCreateError(path: Path, error: Error)
14 | /// Verify that path is empty.
15 | 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
16 | /// Write Failed Error.
17 | case writeFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:17: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
15 | case emptyPath(path: Path)
16 | /// Write Failed Error.
17 | 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
18 | /// Write String Encoding Error.
19 | case writeStringEncodingFailed(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:19: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
17 | case writeFailed(path: Path, error: Error)
18 | /// Write String Encoding Error.
19 | 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
20 | /// Read Failed Error.
21 | case readFailed(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:21: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
19 | case writeStringEncodingFailed(path: Path)
20 | /// Read Failed Error.
21 | 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
22 | /// Can Not Renamed Error.
23 | case cannotRename(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:23: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
21 | case readFailed(path: Path, error: Error)
22 | /// Can Not Renamed Error.
23 | 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
24 | /// Move Failed Error
25 | case moveError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:25: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
23 | case cannotRename(path: Path)
24 | /// Move Failed Error
25 | 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
26 | /// Copy Failed Error
27 | case copyError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:27: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
25 | case moveError(path: Path, error: Error)
26 | /// Copy Failed Error
27 | 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
28 | /// Delete Failed Error
29 | case deleteError(path: Path, error: Error)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:29: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
27 | case copyError(path: Path, error: Error)
28 | /// Delete Failed Error
29 | 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
30 | /// Missing Error
31 | case missing(path: Path)
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/FileError.swift:31: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
29 | case deleteError(path: Path, error: Error)
30 | /// Missing Error
31 | 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
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:6:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | public static let root = Path("/")
/Users/admin/builder/spi-builder-workspace/Sources/File/Path.swift:8: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
4 |
5 | /// Manage the path of the PLFile.
6 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
7 | /// Root path.
8 | 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: add '@MainActor' to make static property 'root' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
9 |
10 | /// Home path.
Build complete! (18.24s)
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"
},
{
"identity" : "swift-log",
"requirement" : {
"range" : [
{
"lower_bound" : "1.6.3",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/apple/swift-log"
}
],
"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_dependencies" : [
"Logging"
],
"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.