Build Information
Successful build of SwiftFileSystemEvents, reference master (a8fb75), with Swift 6.1 for macOS (SPM) on 26 Jun 2026 11:45:40 UTC.
Swift 6 data race errors: 33
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCapturesBuild Log
========================================
RunAll
========================================
Builder version: undefined version: run 'make version' to update
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/jgvanwyk/SwiftFileSystemEvents.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/jgvanwyk/SwiftFileSystemEvents
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at a8fb750 Add explicit retain and release callbacks to FileSystemEventStream
Cloned https://github.com/jgvanwyk/SwiftFileSystemEvents.git
Revision (git rev-parse @):
a8fb750c7d41c7ad169b037a1111b9d316c0e590
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/jgvanwyk/SwiftFileSystemEvents.git at master
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.1
Building package at path: $PWD
https://github.com/jgvanwyk/SwiftFileSystemEvents.git
https://github.com/jgvanwyk/SwiftFileSystemEvents.git
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFileSystemEvents",
"name" : "SwiftFileSystemEvents",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SwiftFileSystemEvents",
"targets" : [
"SwiftFileSystemEvents"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftFileSystemEventsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFileSystemEventsTests",
"path" : "Tests/SwiftFileSystemEventsTests",
"sources" : [
"SwiftFileSystemEventsTests.swift"
],
"target_dependencies" : [
"SwiftFileSystemEvents"
],
"type" : "test"
},
{
"c99name" : "SwiftFileSystemEvents",
"module_type" : "SwiftTarget",
"name" : "SwiftFileSystemEvents",
"path" : "Sources/SwiftFileSystemEvents",
"product_memberships" : [
"SwiftFileSystemEvents"
],
"sources" : [
"FileSystemEvent.swift",
"FileSystemEventStream.swift",
"StringConvertible.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/6] Compiling SwiftFileSystemEvents StringConvertible.swift
[4/6] Compiling SwiftFileSystemEvents FileSystemEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:278:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
276 | ///
277 | /// This wraps `kFSEventStreamCreateFlagNone`.
278 | public static let none = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagNone))
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |
280 | // public static let useCFTypes = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:296:27: warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
294 | /// delivered after latency seconds. This is the default behavior and is more
295 | /// appropriate for background, daemon or batch processing apps.
296 | public static let noDefer = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer))
| |- warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | /// Request notifications of changes along the path to the directory or directories
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:312:27: warning: static property 'watchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
310 | /// file descriptor for it and can issue an `F_GETPATH` `fcntl()` to find the current
311 | /// path.
312 | public static let watchRoot = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot))
| |- warning: static property 'watchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watchRoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
313 |
314 | /// Do not send events that were triggered by the current process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:323:27: warning: static property 'ignoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
321 | /// that is unable to provide information about the responsible process.
322 | @available(macOS 10.6, *)
323 | public static let ignoreSelf = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf))
| |- warning: static property 'ignoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreSelf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 | /// Request file-level notifications.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:331:27: warning: static property 'fileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
329 | /// with care as it will generate significantly more events than without it.
330 | @available(macOS 10.7, *)
331 | public static let fileEvents = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents))
| |- warning: static property 'fileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// Tag events that were triggered by the current process with the "OwnEvent" flag.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:340:27: warning: static property 'markSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
338 | /// those delivered before the HistoryDone sentinel event.
339 | @available(macOS 10.9, *)
340 | public static let markSelf = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf))
| |- warning: static property 'markSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markSelf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 | // @available(macOS 10.13, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:356:27: warning: static property 'fullHistory' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
354 | /// client process.
355 | @available(macOS 10.15, *)
356 | public static let fullHistory = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamCreateFlagFullHistory))
| |- warning: static property 'fullHistory' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fullHistory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | }
358 |
[5/6] Emitting module SwiftFileSystemEvents
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:58:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
45 | /// `FSEventStreamID` is just a `UInt64`, so integer wrapping may occur. See
46 | /// ``Flags-swift.struct/eventIdsWrapped``.
47 | public struct ID: RawRepresentable, Hashable, Comparable {
| `- note: consider making struct 'ID' conform to the 'Sendable' protocol
48 | public let rawValue: FSEventStreamEventId
49 |
:
56 | }
57 |
58 | public static let zero = Self.init(rawValue: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A special event ID that may be passed as the `sinceWhen` parameter to
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:63:27: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
45 | /// `FSEventStreamID` is just a `UInt64`, so integer wrapping may occur. See
46 | /// ``Flags-swift.struct/eventIdsWrapped``.
47 | public struct ID: RawRepresentable, Hashable, Comparable {
| `- note: consider making struct 'ID' conform to the 'Sendable' protocol
48 | public let rawValue: FSEventStreamEventId
49 |
:
61 | /// ``FileSystemEventStream/init(directoriesToWatch:sinceWhen:latency:flags:handler:)``
62 | /// in order to receive notifications of all events "since now".
63 | public static let now = Self.init(rawValue: FSEventStreamEventId(kFSEventStreamEventIdSinceNow))
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// The most recently generated event ID.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:87:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
85 | ///
86 | /// This wraps `kFSEventStreamEventFlagNone`.
87 | public static let none = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagNone))
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Your application must rescan not just the directory given in the event, but all
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:101:27: warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
99 | ///
100 | /// This wraps `kFSEventStreamEventFlagMustScanSubDirs`.
101 | public static let mustScanSubDirs = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagMustScanSubDirs))
| |- warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mustScanSubDirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// A problem occured in buffering the event in user space.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:108:27: warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
106 | ///
107 | /// This wraps `kFSEventStreamEventFlagUserDropped`.
108 | public static let userDropped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagUserDropped))
| |- warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userDropped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// A problem occured in buffering the event in kernel space.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:115:27: warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
113 | ///
114 | /// This wraps `kFSEventStreamEventFlagKernelDropped`.
115 | public static let kernelDropped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagKernelDropped))
| |- warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kernelDropped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// The 64-bit event ID counter wrapped around.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:124:27: warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
122 | ///
123 | /// This wraps `kFSEventStreamEventFlagEventIdsWrapped`.
124 | public static let eventIdsWrapped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagEventIdsWrapped))
| |- warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eventIdsWrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// Marks a sentinel event sent to mark the end of the historical events.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:138:27: warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
136 | ///
137 | /// This wraps `kFSEventStreamEventFlagHistoryDone`.
138 | public static let historyDone = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagHistoryDone))
| |- warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'historyDone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | /// Marks a special event sent when there is a change to one of the directories
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:151:27: warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
149 | ///
150 | /// This wraps `kFSEventStreamEventFlagRootChanged`.
151 | public static let rootChanged = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagRootChanged))
| |- warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /// Marks a special event sent when a volume is mounted underneath one of the paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:160:27: warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
158 | ///
159 | /// This wraps `kFSEventStreamEventFlagMount`.
160 | public static let mount = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagMount))
| |- warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Marks a special event sent when a volume is unmounted underneath one of the
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:170:27: warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
168 | ///
169 | /// This wraps `kFSEventStreamEventFlagUnmount`.
170 | public static let unmount = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagUnmount))
| |- warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unmount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | /// A file system object was created at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:179:27: warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
177 | /// This wraps `kFSEventStreamEventFlagItemCreated`.
178 | @available(macOS 10.7, *)
179 | public static let itemCreated = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemCreated))
| |- warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// A file system object was removed at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:188:27: warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
186 | /// This wraps `kFSEventStreamEventFlagItemRemoved`.
187 | @available(macOS 10.7, *)
188 | public static let itemRemoved = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemRemoved))
| |- warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemRemoved' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// A file system object at the specific URL supplied in this event had its metadata modified.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:197:27: warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
195 | /// This wraps `kFSEventStreamEventFlagItemInodeMetaMod`.
196 | @available(macOS 10.7, *)
197 | public static let itemInodeMetaMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemInodeMetaMod))
| |- warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemInodeMetaMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// A file system object was renamed at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:206:27: warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
204 | /// This wraps `kFSEventStreamEventFlagItemRenamed`.
205 | @available(macOS 10.7, *)
206 | public static let itemRenamed = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemRenamed))
| |- warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemRenamed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// A file system object at the specific URL supplied in this event had its data modified.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:215:27: warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
213 | /// This wraps `kFSEventStreamEventFlagItemModified`.
214 | @available(macOS 10.7, *)
215 | public static let itemModified = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemModified))
| |- warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:225:27: warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
223 | /// This wraps `kFSEventStreamEventFlagItemFinderInfoMod`.
224 | @available(macOS 10.7, *)
225 | public static let itemFinderInfoMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemFinderInfoMod))
| |- warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemFinderInfoMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:235:27: warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
233 | /// This wraps `kFSEventStreamEventFlagItemChangeOwner`.
234 | @available(macOS 10.7, *)
235 | public static let itemChangeOwner = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemChangeOwner))
| |- warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemChangeOwner' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:245:27: warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
243 | /// This wraps `kFSEventStreamEventFlagItemXattrMod`.
244 | @available(macOS 10.7, *)
245 | public static let itemXattrMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemXattrMod))
| |- warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemXattrMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 | /// The file system object at the specific URL supplied in this event is a regular file.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:254:27: warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
252 | /// This wraps `kFSEventStreamEventFlagItemIsFile`.
253 | @available(macOS 10.7, *)
254 | public static let itemIsFile = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsFile))
| |- warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// The file system object at the specific URL supplied in this event is a directory.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:263:27: warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
261 | /// This wraps `kFSEventStreamEventFlagItemIsDir`.
262 | @available(macOS 10.7, *)
263 | public static let itemIsDir = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsDir))
| |- warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsDir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// The file system object at the specific URL supplied in this event is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:272:27: warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
270 | /// This wraps `kFSEventStreamEventFlagItemIsSymlink`.
271 | @available(macOS 10.7, *)
272 | public static let itemIsSymlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsSymlink))
| |- warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsSymlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | /// Indicates the event was triggered by the current process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:281:27: warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
279 | /// This wraps `kFSEventStreamEventFlagOwnEvent`.
280 | @available(macOS 10.9, *)
281 | public static let ownEvent = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagOwnEvent))
| |- warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ownEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 |
283 | /// The file system object at the specific URL supplied in this event is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:290:27: warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
288 | /// This wraps `kFSEventStreamEventFlagItemIsHardlink`.
289 | @available(macOS 10.10, *)
290 | public static let itemIsHardlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsHardlink))
| |- warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsHardlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |
292 | /// The file system object at the specific URL supplied in this event was the last hard link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:299:27: warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
297 | /// This wraps `kFSEventStreamEventFlagItemIsLastHardlink`.
298 | @available(macOS 10.10, *)
299 | public static let itemIsLastHardlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsLastHardlink))
| |- warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsLastHardlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 |
301 | /// The file system object at the specific path supplied in this event is a clone or was cloned.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:308:27: warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
306 | /// This wraps `kFSEventStreamEventFlagItemCloned`.
307 | @available(macOS 10.13, *)
308 | public static let itemCloned = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemCloned))
| |- warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemCloned' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | }
310 |
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:278:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
276 | ///
277 | /// This wraps `kFSEventStreamCreateFlagNone`.
278 | public static let none = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagNone))
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
279 |
280 | // public static let useCFTypes = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes))
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:296:27: warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
294 | /// delivered after latency seconds. This is the default behavior and is more
295 | /// appropriate for background, daemon or batch processing apps.
296 | public static let noDefer = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer))
| |- warning: static property 'noDefer' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'noDefer' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
297 |
298 | /// Request notifications of changes along the path to the directory or directories
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:312:27: warning: static property 'watchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
310 | /// file descriptor for it and can issue an `F_GETPATH` `fcntl()` to find the current
311 | /// path.
312 | public static let watchRoot = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot))
| |- warning: static property 'watchRoot' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'watchRoot' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
313 |
314 | /// Do not send events that were triggered by the current process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:323:27: warning: static property 'ignoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
321 | /// that is unable to provide information about the responsible process.
322 | @available(macOS 10.6, *)
323 | public static let ignoreSelf = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf))
| |- warning: static property 'ignoreSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ignoreSelf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
324 |
325 | /// Request file-level notifications.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:331:27: warning: static property 'fileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
329 | /// with care as it will generate significantly more events than without it.
330 | @available(macOS 10.7, *)
331 | public static let fileEvents = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents))
| |- warning: static property 'fileEvents' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fileEvents' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
332 |
333 | /// Tag events that were triggered by the current process with the "OwnEvent" flag.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:340:27: warning: static property 'markSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
338 | /// those delivered before the HistoryDone sentinel event.
339 | @available(macOS 10.9, *)
340 | public static let markSelf = Self.init(rawValue: FSEventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf))
| |- warning: static property 'markSelf' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'markSelf' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
341 |
342 | // @available(macOS 10.13, *)
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEventStream.swift:356:27: warning: static property 'fullHistory' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
266 | ///
267 | /// This wraps `FSEventStreamCreateFlags`.
268 | public struct Flags: OptionSet {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
269 | public let rawValue: FSEventStreamCreateFlags
270 |
:
354 | /// client process.
355 | @available(macOS 10.15, *)
356 | public static let fullHistory = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamCreateFlagFullHistory))
| |- warning: static property 'fullHistory' is not concurrency-safe because non-'Sendable' type 'FileSystemEventStream.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'fullHistory' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
357 | }
358 |
[6/6] Compiling SwiftFileSystemEvents FileSystemEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:58:27: warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
45 | /// `FSEventStreamID` is just a `UInt64`, so integer wrapping may occur. See
46 | /// ``Flags-swift.struct/eventIdsWrapped``.
47 | public struct ID: RawRepresentable, Hashable, Comparable {
| `- note: consider making struct 'ID' conform to the 'Sendable' protocol
48 | public let rawValue: FSEventStreamEventId
49 |
:
56 | }
57 |
58 | public static let zero = Self.init(rawValue: 0)
| |- warning: static property 'zero' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'zero' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
59 |
60 | /// A special event ID that may be passed as the `sinceWhen` parameter to
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:63:27: warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
45 | /// `FSEventStreamID` is just a `UInt64`, so integer wrapping may occur. See
46 | /// ``Flags-swift.struct/eventIdsWrapped``.
47 | public struct ID: RawRepresentable, Hashable, Comparable {
| `- note: consider making struct 'ID' conform to the 'Sendable' protocol
48 | public let rawValue: FSEventStreamEventId
49 |
:
61 | /// ``FileSystemEventStream/init(directoriesToWatch:sinceWhen:latency:flags:handler:)``
62 | /// in order to receive notifications of all events "since now".
63 | public static let now = Self.init(rawValue: FSEventStreamEventId(kFSEventStreamEventIdSinceNow))
| |- warning: static property 'now' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.ID' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'now' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
64 |
65 | /// The most recently generated event ID.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:87:27: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
85 | ///
86 | /// This wraps `kFSEventStreamEventFlagNone`.
87 | public static let none = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagNone))
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'none' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
88 |
89 | /// Your application must rescan not just the directory given in the event, but all
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:101:27: warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
99 | ///
100 | /// This wraps `kFSEventStreamEventFlagMustScanSubDirs`.
101 | public static let mustScanSubDirs = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagMustScanSubDirs))
| |- warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mustScanSubDirs' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
102 |
103 | /// A problem occured in buffering the event in user space.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:108:27: warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
106 | ///
107 | /// This wraps `kFSEventStreamEventFlagUserDropped`.
108 | public static let userDropped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagUserDropped))
| |- warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'userDropped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
109 |
110 | /// A problem occured in buffering the event in kernel space.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:115:27: warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
113 | ///
114 | /// This wraps `kFSEventStreamEventFlagKernelDropped`.
115 | public static let kernelDropped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagKernelDropped))
| |- warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'kernelDropped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
116 |
117 | /// The 64-bit event ID counter wrapped around.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:124:27: warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
122 | ///
123 | /// This wraps `kFSEventStreamEventFlagEventIdsWrapped`.
124 | public static let eventIdsWrapped = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagEventIdsWrapped))
| |- warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'eventIdsWrapped' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
125 |
126 | /// Marks a sentinel event sent to mark the end of the historical events.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:138:27: warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
136 | ///
137 | /// This wraps `kFSEventStreamEventFlagHistoryDone`.
138 | public static let historyDone = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagHistoryDone))
| |- warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'historyDone' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
139 |
140 | /// Marks a special event sent when there is a change to one of the directories
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:151:27: warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
149 | ///
150 | /// This wraps `kFSEventStreamEventFlagRootChanged`.
151 | public static let rootChanged = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagRootChanged))
| |- warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'rootChanged' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
152 |
153 | /// Marks a special event sent when a volume is mounted underneath one of the paths
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:160:27: warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
158 | ///
159 | /// This wraps `kFSEventStreamEventFlagMount`.
160 | public static let mount = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagMount))
| |- warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'mount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
161 |
162 | /// Marks a special event sent when a volume is unmounted underneath one of the
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:170:27: warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
168 | ///
169 | /// This wraps `kFSEventStreamEventFlagUnmount`.
170 | public static let unmount = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagUnmount))
| |- warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'unmount' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
171 |
172 | /// A file system object was created at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:179:27: warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
177 | /// This wraps `kFSEventStreamEventFlagItemCreated`.
178 | @available(macOS 10.7, *)
179 | public static let itemCreated = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemCreated))
| |- warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemCreated' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
180 |
181 | /// A file system object was removed at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:188:27: warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
186 | /// This wraps `kFSEventStreamEventFlagItemRemoved`.
187 | @available(macOS 10.7, *)
188 | public static let itemRemoved = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemRemoved))
| |- warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemRemoved' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
189 |
190 | /// A file system object at the specific URL supplied in this event had its metadata modified.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:197:27: warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
195 | /// This wraps `kFSEventStreamEventFlagItemInodeMetaMod`.
196 | @available(macOS 10.7, *)
197 | public static let itemInodeMetaMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemInodeMetaMod))
| |- warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemInodeMetaMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
198 |
199 | /// A file system object was renamed at the specific URL supplied in this event.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:206:27: warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
204 | /// This wraps `kFSEventStreamEventFlagItemRenamed`.
205 | @available(macOS 10.7, *)
206 | public static let itemRenamed = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemRenamed))
| |- warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemRenamed' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
207 |
208 | /// A file system object at the specific URL supplied in this event had its data modified.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:215:27: warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
213 | /// This wraps `kFSEventStreamEventFlagItemModified`.
214 | @available(macOS 10.7, *)
215 | public static let itemModified = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemModified))
| |- warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemModified' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
216 |
217 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:225:27: warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
223 | /// This wraps `kFSEventStreamEventFlagItemFinderInfoMod`.
224 | @available(macOS 10.7, *)
225 | public static let itemFinderInfoMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemFinderInfoMod))
| |- warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemFinderInfoMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
226 |
227 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:235:27: warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
233 | /// This wraps `kFSEventStreamEventFlagItemChangeOwner`.
234 | @available(macOS 10.7, *)
235 | public static let itemChangeOwner = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemChangeOwner))
| |- warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemChangeOwner' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
236 |
237 | /// A file system object at the specific URL supplied in this event had its
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:245:27: warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
243 | /// This wraps `kFSEventStreamEventFlagItemXattrMod`.
244 | @available(macOS 10.7, *)
245 | public static let itemXattrMod = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemXattrMod))
| |- warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemXattrMod' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
246 |
247 | /// The file system object at the specific URL supplied in this event is a regular file.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:254:27: warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
252 | /// This wraps `kFSEventStreamEventFlagItemIsFile`.
253 | @available(macOS 10.7, *)
254 | public static let itemIsFile = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsFile))
| |- warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsFile' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
255 |
256 | /// The file system object at the specific URL supplied in this event is a directory.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:263:27: warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
261 | /// This wraps `kFSEventStreamEventFlagItemIsDir`.
262 | @available(macOS 10.7, *)
263 | public static let itemIsDir = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsDir))
| |- warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsDir' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
264 |
265 | /// The file system object at the specific URL supplied in this event is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:272:27: warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
270 | /// This wraps `kFSEventStreamEventFlagItemIsSymlink`.
271 | @available(macOS 10.7, *)
272 | public static let itemIsSymlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsSymlink))
| |- warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsSymlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
273 |
274 | /// Indicates the event was triggered by the current process.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:281:27: warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
279 | /// This wraps `kFSEventStreamEventFlagOwnEvent`.
280 | @available(macOS 10.9, *)
281 | public static let ownEvent = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagOwnEvent))
| |- warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'ownEvent' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
282 |
283 | /// The file system object at the specific URL supplied in this event is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:290:27: warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
288 | /// This wraps `kFSEventStreamEventFlagItemIsHardlink`.
289 | @available(macOS 10.10, *)
290 | public static let itemIsHardlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsHardlink))
| |- warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsHardlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
291 |
292 | /// The file system object at the specific URL supplied in this event was the last hard link.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:299:27: warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
297 | /// This wraps `kFSEventStreamEventFlagItemIsLastHardlink`.
298 | @available(macOS 10.10, *)
299 | public static let itemIsLastHardlink = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemIsLastHardlink))
| |- warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemIsLastHardlink' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
300 |
301 | /// The file system object at the specific path supplied in this event is a clone or was cloned.
/Users/admin/builder/spi-builder-workspace/Sources/SwiftFileSystemEvents/FileSystemEvent.swift:308:27: warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
75 | ///
76 | /// This wraps `FSEventStreamEventFlags`.
77 | public struct Flags: OptionSet, Hashable {
| `- note: consider making struct 'Flags' conform to the 'Sendable' protocol
78 | public let rawValue: FSEventStreamEventFlags
79 |
:
306 | /// This wraps `kFSEventStreamEventFlagItemCloned`.
307 | @available(macOS 10.13, *)
308 | public static let itemCloned = Self.init(rawValue: FSEventStreamEventFlags(kFSEventStreamEventFlagItemCloned))
| |- warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'FileSystemEvent.Flags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: add '@MainActor' to make static property 'itemCloned' part of global actor 'MainActor'
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
309 | }
310 |
Build complete! (3.98s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "SwiftFileSystemEvents",
"name" : "SwiftFileSystemEvents",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "macos",
"version" : "10.13"
}
],
"products" : [
{
"name" : "SwiftFileSystemEvents",
"targets" : [
"SwiftFileSystemEvents"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "SwiftFileSystemEventsTests",
"module_type" : "SwiftTarget",
"name" : "SwiftFileSystemEventsTests",
"path" : "Tests/SwiftFileSystemEventsTests",
"sources" : [
"SwiftFileSystemEventsTests.swift"
],
"target_dependencies" : [
"SwiftFileSystemEvents"
],
"type" : "test"
},
{
"c99name" : "SwiftFileSystemEvents",
"module_type" : "SwiftTarget",
"name" : "SwiftFileSystemEvents",
"path" : "Sources/SwiftFileSystemEvents",
"product_memberships" : [
"SwiftFileSystemEvents"
],
"sources" : [
"FileSystemEvent.swift",
"FileSystemEventStream.swift",
"StringConvertible.swift"
],
"type" : "library"
}
],
"tools_version" : "5.5"
}
Done.