Build Information
Successful build of FileKit, reference 6.1.0 (9006d2
), with Swift 6.0 for macOS (SPM) on 29 Nov 2024 07:08:09 UTC.
Swift 6 data race errors: 71
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -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
184 |
185 | /// Flag for if the item is a hardlink.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:187:23: warning: static property 'ItemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | /// A set of fileystem event flags.
92 | public struct FileSystemEventFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventFlags' conform to the 'Sendable' protocol
93 |
94 | // MARK: - Options
:
185 | /// Flag for if the item is a hardlink.
186 | @available(iOS 9, OSX 10.10, *)
187 | public static let ItemIsHardlink = FileSystemEventFlags(rawValue: kFSEventStreamEventFlagItemIsHardlink)
| |- warning: static property 'ItemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsHardlink' 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
188 |
189 | /// Flag for if the item was the last hardlink.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:191:23: warning: static property 'ItemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
90 |
91 | /// A set of fileystem event flags.
92 | public struct FileSystemEventFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventFlags' conform to the 'Sendable' protocol
93 |
94 | // MARK: - Options
:
189 | /// Flag for if the item was the last hardlink.
190 | @available(iOS 9, OSX 10.10, *)
191 | public static let ItemIsLastHardlink = FileSystemEventFlags(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
| |- warning: static property 'ItemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsLastHardlink' 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
192 |
193 | // MARK: - All Flags
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:196:23: warning: static property 'allFlags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
194 |
195 | /// An array of all of the flags.
196 | public static var allFlags: [FileSystemEventFlags] = {
| |- warning: static property 'allFlags' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'allFlags' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'allFlags' 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
197 | var array: [FileSystemEventFlags] = [ // swiftlint:disable comma
198 | .None, .MustScanSubDirs, .UserDropped,
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:269:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
267 |
268 | /// The default.
269 | public static let None = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' 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
270 |
271 | /// The callback function will be invoked with CF types rather than raw C
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:273:23: warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
271 | /// The callback function will be invoked with CF types rather than raw C
272 | /// types.
273 | public static let UseCFTypes = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagUseCFTypes)
| |- warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UseCFTypes' 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
274 |
275 | /// Affects the meaning of the latency parameter.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:276:23: warning: static property 'FlagNoDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
274 |
275 | /// Affects the meaning of the latency parameter.
276 | public static let FlagNoDefer = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagNoDefer)
| |- warning: static property 'FlagNoDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'FlagNoDefer' 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
277 |
278 | /// Request notifications of changes along the path to the path(s) watched.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:279:23: warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
277 |
278 | /// Request notifications of changes along the path to the path(s) watched.
279 | public static let WatchRoot = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagWatchRoot)
| |- warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'WatchRoot' 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
280 |
281 | /// Don't send events that were triggered by the current process.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:282:23: warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
280 |
281 | /// Don't send events that were triggered by the current process.
282 | public static let IgnoreSelf = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagIgnoreSelf)
| |- warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IgnoreSelf' 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
283 |
284 | /// Request file-level notifications.
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:285:23: warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
283 |
284 | /// Request file-level notifications.
285 | public static let FileEvents = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagFileEvents)
| |- warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'FileEvents' 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
286 |
287 | /// Tag events that were triggered by the current process with the
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:289:23: warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
287 | /// Tag events that were triggered by the current process with the
288 | /// `OwnEvent` flag.
289 | public static let MarkSelf = FileSystemEventStreamCreateFlags(rawValue: kFSEventStreamCreateFlagMarkSelf)
| |- warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MarkSelf' 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
290 |
291 | // MARK: - All Flags
/Users/admin/builder/spi-builder-workspace/Sources/FileSystemEvent.swift:294:23: warning: static property 'allFlags' is not concurrency-safe because non-'Sendable' type '[FileSystemEventStreamCreateFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
262 |
263 | /// Flags for creating an event stream.
264 | public struct FileSystemEventStreamCreateFlags: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'FileSystemEventStreamCreateFlags' conform to the 'Sendable' protocol
265 |
266 | // MARK: - Options
:
292 |
293 | /// All of the event stream creation flags.
294 | public static let allFlags: [FileSystemEventStreamCreateFlags] = [.None, .UseCFTypes, .FlagNoDefer, .WatchRoot, .IgnoreSelf, .FileEvents, .MarkSelf]
| |- warning: static property 'allFlags' is not concurrency-safe because non-'Sendable' type '[FileSystemEventStreamCreateFlags]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allFlags' 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
295 |
296 | /// All of the names of the event stream creation flags.
[18/38] Compiling FileKit Array+File.swift
[19/38] Compiling FileKit ArrayFile.swift
[20/38] Compiling FileKit Bundle+FileKit.swift
[21/38] Compiling FileKit Data+FileKit.swift
[22/38] Compiling FileKit FileKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:79:14: warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
77 | enum ReasonError: Error {
78 | /// Failed to read or convert to specific type.
79 | case conversion(Any)
| `- warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
80 | /// A file stream/handle is alread closed.
81 | case closed
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:36:10: warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
34 |
35 | /// A file does not exist.
36 | case fileDoesNotExist(path: Path)
| `- warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:39:10: warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
39 | case fileAlreadyExists(path: Path)
| `- warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:51:10: warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
51 | case createFileFail(path: Path)
| `- warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:54:10: warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
54 | case createDirectoryFail(path: Path, error: Error)
| `- warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:57:10: warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
57 | case deleteFileFail(path: Path, error: Error)
| `- warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:60:10: warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
60 | case readFromFileFail(path: Path, error: Error)
| `- warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:63:10: warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
63 | case writeToFileFail(path: Path, error: Error)
| `- warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:72:10: warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
72 | case attributesChangeFail(path: Path, error: Error)
| `- warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
73 |
74 | // MARK: - Reason
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:34:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
34 | public static let read = FilePermissions(rawValue: 1)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
35 |
36 | /// The file can be written to.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:37:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
35 |
36 | /// The file can be written to.
37 | public static let write = FilePermissions(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
38 |
39 | /// The file can be executed.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:40:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
38 |
39 | /// The file can be executed.
40 | public static let execute = FilePermissions(rawValue: 4)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
41 |
42 | /// All FilePermissions
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:43:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
41 |
42 | /// All FilePermissions
43 | public static let all: [FilePermissions] = [.read, .write, .execute]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
44 |
45 | /// The raw integer value of `self`.
[23/38] Compiling FileKit FileKitError.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:79:14: warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
77 | enum ReasonError: Error {
78 | /// Failed to read or convert to specific type.
79 | case conversion(Any)
| `- warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
80 | /// A file stream/handle is alread closed.
81 | case closed
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:36:10: warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
34 |
35 | /// A file does not exist.
36 | case fileDoesNotExist(path: Path)
| `- warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:39:10: warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
39 | case fileAlreadyExists(path: Path)
| `- warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:51:10: warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
51 | case createFileFail(path: Path)
| `- warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:54:10: warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
54 | case createDirectoryFail(path: Path, error: Error)
| `- warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:57:10: warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
57 | case deleteFileFail(path: Path, error: Error)
| `- warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:60:10: warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
60 | case readFromFileFail(path: Path, error: Error)
| `- warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:63:10: warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
63 | case writeToFileFail(path: Path, error: Error)
| `- warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:72:10: warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
72 | case attributesChangeFail(path: Path, error: Error)
| `- warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
73 |
74 | // MARK: - Reason
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:34:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
34 | public static let read = FilePermissions(rawValue: 1)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
35 |
36 | /// The file can be written to.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:37:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
35 |
36 | /// The file can be written to.
37 | public static let write = FilePermissions(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
38 |
39 | /// The file can be executed.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:40:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
38 |
39 | /// The file can be executed.
40 | public static let execute = FilePermissions(rawValue: 4)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
41 |
42 | /// All FilePermissions
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:43:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
41 |
42 | /// All FilePermissions
43 | public static let all: [FilePermissions] = [.read, .write, .execute]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
44 |
45 | /// The raw integer value of `self`.
[24/38] Compiling FileKit FilePermissions.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:79:14: warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
77 | enum ReasonError: Error {
78 | /// Failed to read or convert to specific type.
79 | case conversion(Any)
| `- warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
80 | /// A file stream/handle is alread closed.
81 | case closed
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:36:10: warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
34 |
35 | /// A file does not exist.
36 | case fileDoesNotExist(path: Path)
| `- warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:39:10: warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
39 | case fileAlreadyExists(path: Path)
| `- warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:51:10: warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
51 | case createFileFail(path: Path)
| `- warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:54:10: warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
54 | case createDirectoryFail(path: Path, error: Error)
| `- warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:57:10: warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
57 | case deleteFileFail(path: Path, error: Error)
| `- warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:60:10: warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
60 | case readFromFileFail(path: Path, error: Error)
| `- warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:63:10: warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
63 | case writeToFileFail(path: Path, error: Error)
| `- warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:72:10: warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
72 | case attributesChangeFail(path: Path, error: Error)
| `- warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
73 |
74 | // MARK: - Reason
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:34:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
34 | public static let read = FilePermissions(rawValue: 1)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
35 |
36 | /// The file can be written to.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:37:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
35 |
36 | /// The file can be written to.
37 | public static let write = FilePermissions(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
38 |
39 | /// The file can be executed.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:40:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
38 |
39 | /// The file can be executed.
40 | public static let execute = FilePermissions(rawValue: 4)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
41 |
42 | /// All FilePermissions
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:43:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
41 |
42 | /// All FilePermissions
43 | public static let all: [FilePermissions] = [.read, .write, .execute]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
44 |
45 | /// The raw integer value of `self`.
[25/38] Compiling FileKit FileProtection.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:79:14: warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
77 | enum ReasonError: Error {
78 | /// Failed to read or convert to specific type.
79 | case conversion(Any)
| `- warning: associated value 'conversion' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'Any'; this is an error in the Swift 6 language mode
80 | /// A file stream/handle is alread closed.
81 | case closed
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:36:10: warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
34 |
35 | /// A file does not exist.
36 | case fileDoesNotExist(path: Path)
| `- warning: associated value 'fileDoesNotExist(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:39:10: warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
37 |
38 | /// A file already exists at operation destination.
39 | case fileAlreadyExists(path: Path)
| `- warning: associated value 'fileAlreadyExists(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:42:10: warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
40 |
41 | /// Could not change the current directory.
42 | case changeDirectoryFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'changeDirectoryFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:45:10: warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
43 |
44 | /// A symbolic link could not be created.
45 | case createSymlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createSymlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:48:10: warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
46 |
47 | /// A hard link could not be created.
48 | case createHardlinkFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'createHardlinkFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:51:10: warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
49 |
50 | /// A file could not be created.
51 | case createFileFail(path: Path)
| `- warning: associated value 'createFileFail(path:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:54:10: warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
52 |
53 | /// A directory could not be created.
54 | case createDirectoryFail(path: Path, error: Error)
| `- warning: associated value 'createDirectoryFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:57:10: warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
55 |
56 | /// A file could not be deleted.
57 | case deleteFileFail(path: Path, error: Error)
| `- warning: associated value 'deleteFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:60:10: warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
58 |
59 | /// A file could not be read from.
60 | case readFromFileFail(path: Path, error: Error)
| `- warning: associated value 'readFromFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:63:10: warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
61 |
62 | /// A file could not be written to.
63 | case writeToFileFail(path: Path, error: Error)
| `- warning: associated value 'writeToFileFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:66:10: warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
64 |
65 | /// A file could not be moved.
66 | case moveFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'moveFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:69:10: warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
67 |
68 | /// A file could not be copied.
69 | case copyFileFail(from: Path, to: Path, error: Error)
| `- warning: associated value 'copyFileFail(from:to:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FileKitError.swift:72:10: warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
70 |
71 | /// One or many attributes could not be changed.
72 | case attributesChangeFail(path: Path, error: Error)
| `- warning: associated value 'attributesChangeFail(path:error:)' of 'Sendable'-conforming enum 'FileKitError' has non-sendable type 'Path'; this is an error in the Swift 6 language mode
73 |
74 | // MARK: - Reason
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:37:15: note: consider making struct 'Path' conform to the 'Sendable' protocol
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:34:23: warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
34 | public static let read = FilePermissions(rawValue: 1)
| |- warning: static property 'read' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'read' 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
35 |
36 | /// The file can be written to.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:37:23: warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
35 |
36 | /// The file can be written to.
37 | public static let write = FilePermissions(rawValue: 2)
| |- warning: static property 'write' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'write' 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
38 |
39 | /// The file can be executed.
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:40:23: warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
38 |
39 | /// The file can be executed.
40 | public static let execute = FilePermissions(rawValue: 4)
| |- warning: static property 'execute' is not concurrency-safe because non-'Sendable' type 'FilePermissions' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'execute' 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
41 |
42 | /// All FilePermissions
/Users/admin/builder/spi-builder-workspace/Sources/FilePermissions.swift:43:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
29 |
30 | /// The permissions of a file.
31 | public struct FilePermissions: OptionSet, CustomStringConvertible {
| `- note: consider making struct 'FilePermissions' conform to the 'Sendable' protocol
32 |
33 | /// The file can be read from.
:
41 |
42 | /// All FilePermissions
43 | public static let all: [FilePermissions] = [.read, .write, .execute]
| |- warning: static property 'all' is not concurrency-safe because non-'Sendable' type '[FilePermissions]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'all' 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
44 |
45 | /// The raw integer value of `self`.
[26/38] Compiling FileKit DirectoryEnumerator.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:17:23: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
15 |
16 | /// The file-system object was deleted from the namespace.
17 | public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
18 |
19 | /// The file-system object data changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:20:23: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
18 |
19 | /// The file-system object data changed.
20 | public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
21 |
22 | /// The file-system object changed in size.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:23:23: warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
21 |
22 | /// The file-system object changed in size.
23 | public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
| |- warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Extend' 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
24 |
25 | /// The file-system object metadata changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:26:23: warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
24 |
25 | /// The file-system object metadata changed.
26 | public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
| |- warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Attribute' 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
27 |
28 | /// The file-system object link count changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:29:23: warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
27 |
28 | /// The file-system object link count changed.
29 | public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
| |- warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Link' 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
30 |
31 | /// The file-system object was renamed in the namespace.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:32:23: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
30 |
31 | /// The file-system object was renamed in the namespace.
32 | public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' 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
33 |
34 | /// The file-system object was revoked.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:35:23: warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
33 |
34 | /// The file-system object was revoked.
35 | public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
| |- warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Revoke' 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
36 |
37 | /// The file-system object was created.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:38:23: warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
36 |
37 | /// The file-system object was created.
38 | public static let Create = DispatchFileSystemEvents(rawValue: 0x1000)
| |- warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Create' 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
39 |
40 | /// All of the event IDs.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:41:23: warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
39 |
40 | /// All of the event IDs.
41 | public static let All: DispatchFileSystemEvents = [.Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create]
| |- warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'All' 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
42 |
43 | // MARK: - All Events
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:46:23: warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
44 |
45 | /// An array of all of the events.
46 | public static let allEvents: [DispatchFileSystemEvents] = [
| |- warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allEvents' 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
47 | .Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create
48 | ]
[27/38] Compiling FileKit DispatchEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:17:23: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
15 |
16 | /// The file-system object was deleted from the namespace.
17 | public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
18 |
19 | /// The file-system object data changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:20:23: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
18 |
19 | /// The file-system object data changed.
20 | public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
21 |
22 | /// The file-system object changed in size.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:23:23: warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
21 |
22 | /// The file-system object changed in size.
23 | public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
| |- warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Extend' 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
24 |
25 | /// The file-system object metadata changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:26:23: warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
24 |
25 | /// The file-system object metadata changed.
26 | public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
| |- warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Attribute' 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
27 |
28 | /// The file-system object link count changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:29:23: warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
27 |
28 | /// The file-system object link count changed.
29 | public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
| |- warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Link' 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
30 |
31 | /// The file-system object was renamed in the namespace.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:32:23: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
30 |
31 | /// The file-system object was renamed in the namespace.
32 | public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' 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
33 |
34 | /// The file-system object was revoked.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:35:23: warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
33 |
34 | /// The file-system object was revoked.
35 | public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
| |- warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Revoke' 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
36 |
37 | /// The file-system object was created.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:38:23: warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
36 |
37 | /// The file-system object was created.
38 | public static let Create = DispatchFileSystemEvents(rawValue: 0x1000)
| |- warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Create' 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
39 |
40 | /// All of the event IDs.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:41:23: warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
39 |
40 | /// All of the event IDs.
41 | public static let All: DispatchFileSystemEvents = [.Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create]
| |- warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'All' 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
42 |
43 | // MARK: - All Events
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:46:23: warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
44 |
45 | /// An array of all of the events.
46 | public static let allEvents: [DispatchFileSystemEvents] = [
| |- warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allEvents' 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
47 | .Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create
48 | ]
[28/38] Compiling FileKit DispatchWatcher.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:17:23: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
15 |
16 | /// The file-system object was deleted from the namespace.
17 | public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
18 |
19 | /// The file-system object data changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:20:23: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
18 |
19 | /// The file-system object data changed.
20 | public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
21 |
22 | /// The file-system object changed in size.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:23:23: warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
21 |
22 | /// The file-system object changed in size.
23 | public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
| |- warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Extend' 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
24 |
25 | /// The file-system object metadata changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:26:23: warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
24 |
25 | /// The file-system object metadata changed.
26 | public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
| |- warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Attribute' 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
27 |
28 | /// The file-system object link count changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:29:23: warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
27 |
28 | /// The file-system object link count changed.
29 | public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
| |- warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Link' 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
30 |
31 | /// The file-system object was renamed in the namespace.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:32:23: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
30 |
31 | /// The file-system object was renamed in the namespace.
32 | public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' 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
33 |
34 | /// The file-system object was revoked.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:35:23: warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
33 |
34 | /// The file-system object was revoked.
35 | public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
| |- warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Revoke' 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
36 |
37 | /// The file-system object was created.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:38:23: warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
36 |
37 | /// The file-system object was created.
38 | public static let Create = DispatchFileSystemEvents(rawValue: 0x1000)
| |- warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Create' 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
39 |
40 | /// All of the event IDs.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:41:23: warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
39 |
40 | /// All of the event IDs.
41 | public static let All: DispatchFileSystemEvents = [.Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create]
| |- warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'All' 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
42 |
43 | // MARK: - All Events
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:46:23: warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
44 |
45 | /// An array of all of the events.
46 | public static let allEvents: [DispatchFileSystemEvents] = [
| |- warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allEvents' 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
47 | .Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create
48 | ]
[29/38] Compiling FileKit File.swift
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:17:23: warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
15 |
16 | /// The file-system object was deleted from the namespace.
17 | public static let Delete = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.delete.rawValue)
| |- warning: static property 'Delete' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Delete' 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
18 |
19 | /// The file-system object data changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:20:23: warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
18 |
19 | /// The file-system object data changed.
20 | public static let Write = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.write.rawValue)
| |- warning: static property 'Write' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Write' 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
21 |
22 | /// The file-system object changed in size.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:23:23: warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
21 |
22 | /// The file-system object changed in size.
23 | public static let Extend = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.extend.rawValue)
| |- warning: static property 'Extend' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Extend' 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
24 |
25 | /// The file-system object metadata changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:26:23: warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
24 |
25 | /// The file-system object metadata changed.
26 | public static let Attribute = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.attrib.rawValue)
| |- warning: static property 'Attribute' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Attribute' 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
27 |
28 | /// The file-system object link count changed.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:29:23: warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
27 |
28 | /// The file-system object link count changed.
29 | public static let Link = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.link.rawValue)
| |- warning: static property 'Link' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Link' 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
30 |
31 | /// The file-system object was renamed in the namespace.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:32:23: warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
30 |
31 | /// The file-system object was renamed in the namespace.
32 | public static let Rename = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.rename.rawValue)
| |- warning: static property 'Rename' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Rename' 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
33 |
34 | /// The file-system object was revoked.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:35:23: warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
33 |
34 | /// The file-system object was revoked.
35 | public static let Revoke = DispatchFileSystemEvents(rawValue: DispatchSource.FileSystemEvent.revoke.rawValue)
| |- warning: static property 'Revoke' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Revoke' 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
36 |
37 | /// The file-system object was created.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:38:23: warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
36 |
37 | /// The file-system object was created.
38 | public static let Create = DispatchFileSystemEvents(rawValue: 0x1000)
| |- warning: static property 'Create' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Create' 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
39 |
40 | /// All of the event IDs.
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:41:23: warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
39 |
40 | /// All of the event IDs.
41 | public static let All: DispatchFileSystemEvents = [.Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create]
| |- warning: static property 'All' is not concurrency-safe because non-'Sendable' type 'DispatchFileSystemEvents' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'All' 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
42 |
43 | // MARK: - All Events
/Users/admin/builder/spi-builder-workspace/Sources/DispatchEvent.swift:46:23: warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
10 |
11 | /// File System Events.
12 | public struct DispatchFileSystemEvents: OptionSet, CustomStringConvertible, CustomDebugStringConvertible {
| `- note: consider making struct 'DispatchFileSystemEvents' conform to the 'Sendable' protocol
13 |
14 | // MARK: - Events
:
44 |
45 | /// An array of all of the events.
46 | public static let allEvents: [DispatchFileSystemEvents] = [
| |- warning: static property 'allEvents' is not concurrency-safe because non-'Sendable' type '[DispatchFileSystemEvents]' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'allEvents' 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
47 | .Delete, .Write, .Extend, .Attribute, .Link, .Rename, .Revoke, .Create
48 | ]
[30/38] Compiling FileKit Image+FileKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
[31/38] Compiling FileKit ImageFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
[32/38] Compiling FileKit JSONType.swift
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
62 |
63 | /// Shared json decoder instance
64 | public static var jsonDecoder = JSONDecoder()
| |- warning: static property 'jsonDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonDecoder' 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
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
64 | public static var jsonDecoder = JSONDecoder()
65 | /// Shared json encoder instance
66 | public static var jsonEncoder = JSONEncoder()
| |- warning: static property 'jsonEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'jsonEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'jsonEncoder' 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
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
[33/38] Compiling FileKit RelativePathType.swift
/Users/admin/builder/spi-builder-workspace/Sources/String+FileKit.swift:30:5: warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | import Foundation
29 |
30 | var ReadableWritableStringEncoding = String.Encoding.utf8
| |- warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ReadableWritableStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ReadableWritableStringEncoding' 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
31 |
32 | /// Allows String to be used as a ReadableWritable.
[34/38] Compiling FileKit String+FileKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/String+FileKit.swift:30:5: warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | import Foundation
29 |
30 | var ReadableWritableStringEncoding = String.Encoding.utf8
| |- warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ReadableWritableStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ReadableWritableStringEncoding' 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
31 |
32 | /// Allows String to be used as a ReadableWritable.
[35/38] Compiling FileKit TextFile.swift
/Users/admin/builder/spi-builder-workspace/Sources/String+FileKit.swift:30:5: warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
28 | import Foundation
29 |
30 | var ReadableWritableStringEncoding = String.Encoding.utf8
| |- warning: var 'ReadableWritableStringEncoding' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'ReadableWritableStringEncoding' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'ReadableWritableStringEncoding' 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
31 |
32 | /// Allows String to be used as a ReadableWritable.
[36/38] Compiling FileKit Path.swift
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:45: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
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
:
43 |
44 | /// The root path.
45 | public static let root = Path(separator)
| |- 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
46 |
47 | /// The path of the program's current working directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
1176 |
1177 | /// Initializes a path from the string interpolation paths.
1178 | public init(stringInterpolation paths: Path...) {
| |- warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
| |- note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
| `- note: move 'init(stringInterpolation:)' to another extension to silence this warning
1179 | self.init(paths.reduce("", { $0 + $1.rawValue }))
1180 | }
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
1 | public protocol ExpressibleByStringInterpolation : ExpressibleByStringLiteral {
2 | associatedtype StringInterpolation : StringInterpolationProtocol = DefaultStringInterpolation where Self.StringLiteralType == Self.StringInterpolation.StringLiteralType
3 | init(stringInterpolation: Self.StringInterpolation)
| `- note: requirement 'init(stringInterpolation:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
[37/38] Compiling FileKit Process+FileKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:45: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
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
:
43 |
44 | /// The root path.
45 | public static let root = Path(separator)
| |- 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
46 |
47 | /// The path of the program's current working directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
1176 |
1177 | /// Initializes a path from the string interpolation paths.
1178 | public init(stringInterpolation paths: Path...) {
| |- warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
| |- note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
| `- note: move 'init(stringInterpolation:)' to another extension to silence this warning
1179 | self.init(paths.reduce("", { $0 + $1.rawValue }))
1180 | }
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
1 | public protocol ExpressibleByStringInterpolation : ExpressibleByStringLiteral {
2 | associatedtype StringInterpolation : StringInterpolationProtocol = DefaultStringInterpolation where Self.StringLiteralType == Self.StringInterpolation.StringLiteralType
3 | init(stringInterpolation: Self.StringInterpolation)
| `- note: requirement 'init(stringInterpolation:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
[38/38] Compiling FileKit PropertyListType.swift
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:45: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
35 | ///
36 |
37 | public struct Path {
| `- note: consider making struct 'Path' conform to the 'Sendable' protocol
38 |
39 | // MARK: - Static Methods and Properties
:
43 |
44 | /// The root path.
45 | public static let root = Path(separator)
| |- 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
46 |
47 | /// The path of the program's current working directory.
/Users/admin/builder/spi-builder-workspace/Sources/Path.swift:1178:12: warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
1176 |
1177 | /// Initializes a path from the string interpolation paths.
1178 | public init(stringInterpolation paths: Path...) {
| |- warning: initializer 'init(stringInterpolation:)' nearly matches defaulted requirement 'init(stringInterpolation:)' of protocol 'ExpressibleByStringInterpolation'
| |- note: candidate has non-matching type '(stringInterpolation: Path...)' [with StringInterpolation = DefaultStringInterpolation]
| `- note: move 'init(stringInterpolation:)' to another extension to silence this warning
1179 | self.init(paths.reduce("", { $0 + $1.rawValue }))
1180 | }
Swift.ExpressibleByStringInterpolation:3:5: note: requirement 'init(stringInterpolation:)' declared here
1 | public protocol ExpressibleByStringInterpolation : ExpressibleByStringLiteral {
2 | associatedtype StringInterpolation : StringInterpolationProtocol = DefaultStringInterpolation where Self.StringLiteralType == Self.StringInterpolation.StringLiteralType
3 | init(stringInterpolation: Self.StringInterpolation)
| `- note: requirement 'init(stringInterpolation:)' declared here
4 | }
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
66 | public static var jsonEncoder = JSONEncoder()
67 | /// Shared property list decoder instance
68 | public static var propertyListDecoder = PropertyListDecoder()
| |- warning: static property 'propertyListDecoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListDecoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListDecoder' 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
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
/Users/admin/builder/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
68 | public static var propertyListDecoder = PropertyListDecoder()
69 | /// Shared property list encoder instance
70 | public static var propertyListEncoder = PropertyListEncoder()
| |- warning: static property 'propertyListEncoder' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
| |- note: convert 'propertyListEncoder' to a 'let' constant to make 'Sendable' shared state immutable
| |- note: annotate 'propertyListEncoder' 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
71 |
72 | }
Build complete! (19.70s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "FileKit",
"name" : "FileKit",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "FileKit",
"targets" : [
"FileKit"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "FileKitTests",
"module_type" : "SwiftTarget",
"name" : "FileKitTests",
"path" : "Tests",
"sources" : [
"FileKitTests.swift"
],
"target_dependencies" : [
"FileKit"
],
"type" : "test"
},
{
"c99name" : "FileKit",
"module_type" : "SwiftTarget",
"name" : "FileKit",
"path" : "Sources",
"product_memberships" : [
"FileKit"
],
"sources" : [
"Array+File.swift",
"ArrayFile.swift",
"Bundle+FileKit.swift",
"Data+FileKit.swift",
"DataFile.swift",
"DataType.swift",
"Dictionary+File.swift",
"DictionaryFile.swift",
"DirectoryEnumerator.swift",
"DispatchEvent.swift",
"DispatchWatcher.swift",
"File.swift",
"FileKit.swift",
"FileKitError.swift",
"FilePermissions.swift",
"FileProtection.swift",
"FileSystemEvent.swift",
"FileSystemEventStream.swift",
"FileSystemWatcher.swift",
"FileType.swift",
"Image+FileKit.swift",
"ImageFile.swift",
"JSONType.swift",
"NSArray+FileKit.swift",
"NSData+FileKit.swift",
"NSDataFile.swift",
"NSDictionary+FileKit.swift",
"NSString+FileKit.swift",
"Operators.swift",
"Path.swift",
"Process+FileKit.swift",
"PropertyListType.swift",
"RelativePathType.swift",
"String+FileKit.swift",
"TextFile.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
Done.