This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build FileKit with Swift 6.0 for Linux.

Build Command

bash -c docker run --rm -v "checkouts-4606859-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1

Build Log

 58 |
 59 |     /// A file could not be read from.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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
/host/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
/host/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.
/host/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.
/host/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
/host/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`.
[31/38] Compiling FileKit FileKit.swift
/host/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
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                         `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { // [unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
/host/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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
/host/spi-builder-workspace/Sources/FileKitError.swift:83:14: warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 81 |         case closed
 82 |         /// Failed to encode string using specific encoding.
 83 |         case encoding(String.Encoding, data: String)
    |              `- warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
 1 | extension String {
 2 |     public struct Encoding : RawRepresentable {
   |                   `- note: struct 'Encoding' does not conform to the 'Sendable' protocol
 3 |         public var rawValue: UInt
 4 |         public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/FileKitError.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | //
 27 |
 28 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 29 |
 30 | // MARK: FileKitError
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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
/host/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
/host/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.
/host/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.
/host/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
/host/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`.
[32/38] Compiling FileKit FileKitError.swift
/host/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
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                         `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { // [unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
/host/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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
/host/spi-builder-workspace/Sources/FileKitError.swift:83:14: warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 81 |         case closed
 82 |         /// Failed to encode string using specific encoding.
 83 |         case encoding(String.Encoding, data: String)
    |              `- warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
 1 | extension String {
 2 |     public struct Encoding : RawRepresentable {
   |                   `- note: struct 'Encoding' does not conform to the 'Sendable' protocol
 3 |         public var rawValue: UInt
 4 |         public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/FileKitError.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | //
 27 |
 28 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 29 |
 30 | // MARK: FileKitError
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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
/host/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
/host/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.
/host/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.
/host/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
/host/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`.
[33/38] Compiling FileKit FilePermissions.swift
/host/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
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:235:59: error: cannot find 'O_EVTONLY' in scope
233 |
234 |             if source == nil && fileDescriptor == -1 {
235 |                 fileDescriptor = open(path._safeRawValue, O_EVTONLY)
    |                                                           `- error: cannot find 'O_EVTONLY' in scope
236 |                 if fileDescriptor == -1 { return false }
237 |                 var _events = events
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:239:41: error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
237 |                 var _events = events
238 |                 _events.remove(.Create)
239 |                 source = DispatchSource.makeFileSystemObjectSource(fileDescriptor: fileDescriptor, eventMask: DispatchSource.FileSystemEvent(rawValue: _events.rawValue), queue: queue)
    |                                         `- error: type 'DispatchSource' has no member 'makeFileSystemObjectSource'
240 |
241 |                 // Recheck if open success and source create success
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:255:29: error: cannot find 'Darwin' in scope
253 |                     // Define a cancel handler to ensure the path is closed when the source is cancelled.
254 |                     source!.setCancelHandler { // [unowned self] () in
255 |                         _ = Darwin.close(self.fileDescriptor)
    |                             `- error: cannot find 'Darwin' in scope
256 |                         self.fileDescriptor = -1
257 |                         self.source = nil
/host/spi-builder-workspace/Sources/DispatchWatcher.swift:282:13: error: cannot find 'Darwin' in scope
280 |     open func close() {
281 |         createWatcher?.stopWatching()
282 |         _ = Darwin.close(self.fileDescriptor)
    |             `- error: cannot find 'Darwin' in scope
283 |         self.fileDescriptor = -1
284 |         self.source = nil
/host/spi-builder-workspace/Sources/FileKit.swift:64:23: warning: static property 'jsonDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:66:23: warning: static property 'jsonEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:68:23: warning: static property 'propertyListDecoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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()
/host/spi-builder-workspace/Sources/FileKit.swift:70:23: warning: static property 'propertyListEncoder' is not concurrency-safe because it is non-isolated 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 non-isolated 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 | }
/host/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
/host/spi-builder-workspace/Sources/FileKitError.swift:83:14: warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 81 |         case closed
 82 |         /// Failed to encode string using specific encoding.
 83 |         case encoding(String.Encoding, data: String)
    |              `- warning: associated value 'encoding(_:data:)' of 'Sendable'-conforming enum 'ReasonError' has non-sendable type 'String.Encoding'; this is an error in the Swift 6 language mode
 84 |     }
 85 | }
Foundation.String:2:19: note: struct 'Encoding' does not conform to the 'Sendable' protocol
 1 | extension String {
 2 |     public struct Encoding : RawRepresentable {
   |                   `- note: struct 'Encoding' does not conform to the 'Sendable' protocol
 3 |         public var rawValue: UInt
 4 |         public init(rawValue: UInt)
/host/spi-builder-workspace/Sources/FileKitError.swift:28:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 26 | //
 27 |
 28 | import Foundation
    | `- warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'Foundation'
 29 |
 30 | // MARK: FileKitError
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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.
/host/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
/host/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
/host/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
/host/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.
/host/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.
/host/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
/host/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`.
[34/38] Compiling FileKit DataType.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- warning: 'init(contentsOfFile:)' is deprecated
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |     ]
[35/38] Compiling FileKit Dictionary+File.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- warning: 'init(contentsOfFile:)' is deprecated
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |     ]
[36/38] Compiling FileKit DictionaryFile.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- warning: 'init(contentsOfFile:)' is deprecated
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |     ]
[37/38] Compiling FileKit DirectoryEnumerator.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- warning: 'init(contentsOfFile:)' is deprecated
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |     ]
[38/38] Compiling FileKit DispatchEvent.swift
/host/spi-builder-workspace/Sources/Dictionary+File.swift:39:30: warning: 'init(contentsOfFile:)' is deprecated
37 |     ///
38 |     public static func read(from path: Path) throws -> Dictionary {
39 |         guard let contents = NSDictionary(contentsOfFile: path._safeRawValue) else {
   |                              `- warning: 'init(contentsOfFile:)' is deprecated
40 |             throw FileKitError.readFromFileFail(path: path, error: FileKitError.ReasonError.conversion(NSDictionary.self))
41 |         }
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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.
/host/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
/host/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 |     ]
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.