Build Information
Successful build of Witness, reference master (b04694
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 21:22:41 UTC.
Swift 6 data race errors: 30
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/njdehoog/witness.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/njdehoog/witness
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at b046945 Merge pull request #8 from perlmunger/master
Cloned https://github.com/njdehoog/witness.git
Revision (git rev-parse @):
b0469457b460fc78620e3b456fed9b18669100d5
SUCCESS checkout https://github.com/njdehoog/witness.git at master
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
"identity": ".resolve-product-dependencies",
"name": "resolve-dependencies",
"url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
"dependencies": [
{
"identity": "witness",
"name": "Witness",
"url": "https://github.com/njdehoog/witness.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/witness",
"dependencies": [
]
}
]
}
Fetching https://github.com/njdehoog/witness.git
[4/383] Fetching witness
Fetched https://github.com/njdehoog/witness.git from cache (2.44s)
Creating working copy for https://github.com/njdehoog/witness.git
Working copy of https://github.com/njdehoog/witness.git resolved at master (b046945)
warning: '.resolve-product-dependencies': dependency 'witness' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/njdehoog/witness.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--7754E27361AE5C74.txt
[3/6] Compiling Witness EventStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:86:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 | init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 | public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:89:23: warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
87 |
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
| |- warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UseCFTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:90:23: warning: static property 'NoDefer' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
| |- warning: static property 'NoDefer' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoDefer' 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
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:91:23: warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
| |- warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'WatchRoot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:92:23: warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
| |- warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IgnoreSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:93:23: warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
| |- warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'FileEvents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:94:23: warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
| |- warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MarkSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | }
96 |
[4/6] Compiling Witness Witness.swift
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:86:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 | init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 | public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
[5/6] Emitting module Witness
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:86:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 | init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 | public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
87 |
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:89:23: warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
87 |
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
| |- warning: static property 'UseCFTypes' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UseCFTypes' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:90:23: warning: static property 'NoDefer' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
88 | // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
| |- warning: static property 'NoDefer' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'NoDefer' 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
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:91:23: warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
89 | public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
| |- warning: static property 'WatchRoot' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'WatchRoot' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:92:23: warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
90 | public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
| |- warning: static property 'IgnoreSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'IgnoreSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:93:23: warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
91 | public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
| |- warning: static property 'FileEvents' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'FileEvents' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
95 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:94:23: warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
| `- note: consider making struct 'EventStreamCreateFlags' conform to the 'Sendable' protocol
82 | public let rawValue: FSEventStreamCreateFlags
83 | public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
:
92 | public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 | public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 | public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
| |- warning: static property 'MarkSelf' is not concurrency-safe because non-'Sendable' type 'EventStreamCreateFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MarkSelf' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
95 | }
96 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:21:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
19 | init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
20 |
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:23:23: warning: static property 'MustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
22 |
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
| |- warning: static property 'MustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MustScanSubDirs' 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 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:25:23: warning: static property 'UserDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
24 |
25 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
| |- warning: static property 'UserDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UserDropped' 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
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:26:23: warning: static property 'KernelDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
24 |
25 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
| |- warning: static property 'KernelDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'KernelDropped' 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 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:28:23: warning: static property 'EventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
27 |
28 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
| |- warning: static property 'EventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EventIdsWrapped' 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
29 |
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:30:23: warning: static property 'HistoryDone' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
28 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
29 |
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
| |- warning: static property 'HistoryDone' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HistoryDone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:32:23: warning: static property 'RootChanged' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
31 |
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
| |- warning: static property 'RootChanged' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RootChanged' 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 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:34:23: warning: static property 'Mount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
33 |
34 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
| |- warning: static property 'Mount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Mount' 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 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:35:23: warning: static property 'Unmount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
33 |
34 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
35 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
| |- warning: static property 'Unmount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Unmount' 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 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:37:23: warning: static property 'ItemCreated' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
35 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
36 |
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
| |- warning: static property 'ItemCreated' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemCreated' 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 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:38:23: warning: static property 'ItemRemoved' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
36 |
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
| |- warning: static property 'ItemRemoved' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemRemoved' 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 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:39:23: warning: static property 'ItemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
| |- warning: static property 'ItemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemInodeMetaMod' 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
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:40:23: warning: static property 'ItemRenamed' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
| |- warning: static property 'ItemRenamed' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemRenamed' 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 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:41:23: warning: static property 'ItemModified' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
| |- warning: static property 'ItemModified' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemModified' 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 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:42:23: warning: static property 'ItemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
| |- warning: static property 'ItemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemFinderInfoMod' 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
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:43:23: warning: static property 'ItemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
| |- warning: static property 'ItemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemChangeOwner' 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 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:44:23: warning: static property 'ItemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
| |- warning: static property 'ItemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemXattrMod' 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
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:45:23: warning: static property 'ItemIsFile' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
| |- warning: static property 'ItemIsFile' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:46:23: warning: static property 'ItemIsDir' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
| |- warning: static property 'ItemIsDir' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsDir' 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 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:47:23: warning: static property 'ItemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
| |- warning: static property 'ItemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsSymlink' 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
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:48:23: warning: static property 'ItemIsHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
| |- warning: static property 'ItemIsHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsHardLink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:49:23: warning: static property 'ItemIsLastHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
| |- warning: static property 'ItemIsLastHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsLastHardLink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:51:23: warning: static property 'OwnEvent' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
50 |
51 | public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
| |- warning: static property 'OwnEvent' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OwnEvent' 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
52 | }
53 |
[6/6] Compiling Witness FileEvent.swift
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:21:23: warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
19 | init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
20 |
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
| |- warning: static property 'None' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'None' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
22 |
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:23:23: warning: static property 'MustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
22 |
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
| |- warning: static property 'MustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'MustScanSubDirs' 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 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:25:23: warning: static property 'UserDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
23 | public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
24 |
25 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
| |- warning: static property 'UserDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'UserDropped' 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
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
27 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:26:23: warning: static property 'KernelDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
24 |
25 | public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
| |- warning: static property 'KernelDropped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'KernelDropped' 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 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:28:23: warning: static property 'EventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
26 | public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
27 |
28 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
| |- warning: static property 'EventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'EventIdsWrapped' 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
29 |
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:30:23: warning: static property 'HistoryDone' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
28 | public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
29 |
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
| |- warning: static property 'HistoryDone' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'HistoryDone' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
31 |
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:32:23: warning: static property 'RootChanged' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
30 | public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
31 |
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
| |- warning: static property 'RootChanged' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'RootChanged' 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 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:34:23: warning: static property 'Mount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
32 | public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
33 |
34 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
| |- warning: static property 'Mount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Mount' 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 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
36 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:35:23: warning: static property 'Unmount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
33 |
34 | public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
35 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
| |- warning: static property 'Unmount' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'Unmount' 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 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:37:23: warning: static property 'ItemCreated' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
35 | public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
36 |
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
| |- warning: static property 'ItemCreated' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemCreated' 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 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:38:23: warning: static property 'ItemRemoved' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
36 |
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
| |- warning: static property 'ItemRemoved' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemRemoved' 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 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:39:23: warning: static property 'ItemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
37 | public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
| |- warning: static property 'ItemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemInodeMetaMod' 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
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:40:23: warning: static property 'ItemRenamed' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
38 | public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
| |- warning: static property 'ItemRenamed' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemRenamed' 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 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:41:23: warning: static property 'ItemModified' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
39 | public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
| |- warning: static property 'ItemModified' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemModified' 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 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:42:23: warning: static property 'ItemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
40 | public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
| |- warning: static property 'ItemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemFinderInfoMod' 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
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:43:23: warning: static property 'ItemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
41 | public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
| |- warning: static property 'ItemChangeOwner' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemChangeOwner' 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 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:44:23: warning: static property 'ItemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
42 | public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
| |- warning: static property 'ItemXattrMod' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemXattrMod' 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
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:45:23: warning: static property 'ItemIsFile' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
43 | public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
| |- warning: static property 'ItemIsFile' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsFile' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:46:23: warning: static property 'ItemIsDir' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
44 | public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
| |- warning: static property 'ItemIsDir' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsDir' 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 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:47:23: warning: static property 'ItemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
45 | public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
| |- warning: static property 'ItemIsSymlink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsSymlink' 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
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:48:23: warning: static property 'ItemIsHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
46 | public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
| |- warning: static property 'ItemIsHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsHardLink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:49:23: warning: static property 'ItemIsLastHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
47 | public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
48 | public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
| |- warning: static property 'ItemIsLastHardLink' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'ItemIsLastHardLink' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
50 |
51 | public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:51:23: warning: static property 'OwnEvent' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
14 | }
15 |
16 | public struct FileEventFlags: OptionSet {
| `- note: consider making struct 'FileEventFlags' conform to the 'Sendable' protocol
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
:
49 | public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
50 |
51 | public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
| |- warning: static property 'OwnEvent' is not concurrency-safe because non-'Sendable' type 'FileEventFlags' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'OwnEvent' 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
52 | }
53 |
Build complete! (6.66s)
Build complete.
{
"dependencies" : [
],
"manifest_display_name" : "Witness",
"name" : "Witness",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Witness",
"targets" : [
"Witness"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2"
],
"targets" : [
{
"c99name" : "WitnessTests",
"module_type" : "SwiftTarget",
"name" : "WitnessTests",
"path" : "Tests/WitnessTests",
"sources" : [
"WitnessTests.swift"
],
"target_dependencies" : [
"Witness"
],
"type" : "test"
},
{
"c99name" : "Witness",
"module_type" : "SwiftTarget",
"name" : "Witness",
"path" : "Sources/Witness",
"product_memberships" : [
"Witness"
],
"sources" : [
"EventStream.swift",
"FileEvent.swift",
"Witness.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
Done.