Build Information
Successful build of Ocha, reference master (50ef2f
), with Swift 6.0 for macOS (SPM) on 31 Oct 2024 00:41:35 UTC.
Swift 6 data race errors: 33
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/bannzai/ocha.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/bannzai/ocha
* branch master -> FETCH_HEAD
* [new branch] master -> origin/master
HEAD is now at 50ef2f5 Merge pull request #14 from bannzai/migrate/swift5
Cloned https://github.com/bannzai/ocha.git
Revision (git rev-parse @):
50ef2f5e3db5b1543d8d826daccb91cab02573c5
SUCCESS checkout https://github.com/bannzai/ocha.git at master
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 | var targetDependencies: [PackageDescription.Target.Dependency] {
37 | return exampleDependencies + [targetDependency].flatMap{ $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
38 | }
39 |
Fetching https://github.com/bannzai/Ragnarok.git
Fetching https://github.com/kareman/SwiftShell.git
Fetching https://github.com/apple/swift-syntax.git
Fetching https://github.com/kylef/Spectre.git
Fetching https://github.com/kylef/PathKit.git
[1/854] Fetching ragnarok
[36/1875] Fetching ragnarok, spectre
[516/3286] Fetching ragnarok, spectre, pathkit
[700/8149] Fetching ragnarok, spectre, pathkit, swiftshell
Fetched https://github.com/kylef/Spectre.git from cache (1.33s)
Fetched https://github.com/bannzai/Ragnarok.git from cache (1.33s)
Fetched https://github.com/kareman/SwiftShell.git from cache (1.33s)
[1/66303] Fetching swift-syntax
Fetched https://github.com/kylef/PathKit.git from cache (16.03s)
Fetched https://github.com/apple/swift-syntax.git from cache (16.03s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (2.43s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.61s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (2.41s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.40200.0 (0.64s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.0 (0.60s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.40200.0
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.0
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
========================================
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": "ocha",
"name": "Ocha",
"url": "https://github.com/bannzai/ocha.git",
"version": "unspecified",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ocha",
"dependencies": [
{
"identity": "swiftshell",
"name": "SwiftShell",
"url": "https://github.com/kareman/SwiftShell.git",
"version": "4.1.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/SwiftShell",
"dependencies": [
]
},
{
"identity": "pathkit",
"name": "PathKit",
"url": "https://github.com/kylef/PathKit.git",
"version": "0.9.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/PathKit",
"dependencies": [
{
"identity": "spectre",
"name": "Spectre",
"url": "https://github.com/kylef/Spectre.git",
"version": "0.9.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Spectre",
"dependencies": [
]
}
]
},
{
"identity": "ragnarok",
"name": "Ragnarok",
"url": "https://github.com/bannzai/Ragnarok.git",
"version": "1.0.2",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/Ragnarok",
"dependencies": [
{
"identity": "swift-syntax",
"name": "SwiftSyntax",
"url": "https://github.com/apple/swift-syntax.git",
"version": "0.50700.1",
"path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/swift-syntax",
"dependencies": [
]
}
]
}
]
}
]
}
Fetching https://github.com/bannzai/ocha.git
[8/775] Fetching ocha
Fetched https://github.com/bannzai/ocha.git from cache (1.15s)
warning: 'ocha': /Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 | var targetDependencies: [PackageDescription.Target.Dependency] {
37 | return exampleDependencies + [targetDependency].flatMap{ $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
38 | }
39 |
Fetching https://github.com/bannzai/Ragnarok.git from cache
Fetching https://github.com/kareman/SwiftShell.git from cache
Fetching https://github.com/kylef/PathKit.git from cache
Fetched https://github.com/kylef/PathKit.git from cache (0.48s)
Fetched https://github.com/bannzai/Ragnarok.git from cache (0.48s)
Fetched https://github.com/kareman/SwiftShell.git from cache (0.48s)
Computing version for https://github.com/bannzai/Ragnarok.git
Computed https://github.com/bannzai/Ragnarok.git at 1.0.2 (0.02s)
Fetching https://github.com/apple/swift-syntax.git from cache
Fetched https://github.com/apple/swift-syntax.git from cache (0.83s)
Computing version for https://github.com/kylef/PathKit.git
Computed https://github.com/kylef/PathKit.git at 0.9.2 (0.04s)
Fetching https://github.com/kylef/Spectre.git from cache
Fetched https://github.com/kylef/Spectre.git from cache (0.48s)
Computing version for https://github.com/kareman/SwiftShell.git
Computed https://github.com/kareman/SwiftShell.git at 4.1.2 (0.03s)
Computing version for https://github.com/kylef/Spectre.git
Computed https://github.com/kylef/Spectre.git at 0.9.2 (0.72s)
Computing version for https://github.com/apple/swift-syntax.git
Computed https://github.com/apple/swift-syntax.git at 0.50700.1 (0.81s)
Creating working copy for https://github.com/kareman/SwiftShell.git
Working copy of https://github.com/kareman/SwiftShell.git resolved at 4.1.2
Creating working copy for https://github.com/apple/swift-syntax.git
Working copy of https://github.com/apple/swift-syntax.git resolved at 0.50700.1
Creating working copy for https://github.com/kylef/Spectre.git
Working copy of https://github.com/kylef/Spectre.git resolved at 0.9.2
Creating working copy for https://github.com/kylef/PathKit.git
Working copy of https://github.com/kylef/PathKit.git resolved at 0.9.2
Creating working copy for https://github.com/bannzai/ocha.git
Working copy of https://github.com/bannzai/ocha.git resolved at master (50ef2f5)
Creating working copy for https://github.com/bannzai/Ragnarok.git
Working copy of https://github.com/bannzai/Ragnarok.git resolved at 1.0.2
warning: 'ocha': /Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/ocha/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 | var targetDependencies: [PackageDescription.Target.Dependency] {
37 | return exampleDependencies + [targetDependency].flatMap{ $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
38 | }
39 |
[16375/20720765] Downloading https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloading binary artifact https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip
Downloaded https://github.com/apple/swift-syntax/releases/download/0.50700.1/_InternalSwiftSyntaxParser.xcframework.zip (2.19s)
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
Found 3 product dependencies
- SwiftShell
- PathKit
- Ragnarok
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.0
Building package at path: $PWD
https://github.com/bannzai/ocha.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/23] Write sources
[6/23] Write Playground-entitlement.plist
[9/23] Write RagnarokExample-entitlement.plist
[9/23] Write GitCommitExample-entitlement.plist
[11/23] Write swift-version--7754E27361AE5C74.txt
[13/62] Emitting module Ocha
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
15 | }
16 |
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:18:23: warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
16 |
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
| |- warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:19:23: warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
| |- warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:20:23: warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
| |- warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:21:23: warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
| |- warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:22:23: warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
| |- warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:23:23: warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
| |- warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:24:23: warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
| |- warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:25:23: warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
| |- warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:26:23: warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
| |- warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:27:23: warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
| |- warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:28:23: warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
| |- warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:29:23: warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
| |- warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:30:23: warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
| |- warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:31:23: warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
| |- warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:32:23: warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
| |- warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:33:23: warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
| |- warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:34:23: warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
| |- warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:35:23: warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
| |- warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:36:23: warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
| |- warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:37:23: warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
| |- warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:38:23: warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
| |- warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
40 | @available(OSX 10.13, *)
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:39:23: warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
| |- warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
40 | @available(OSX 10.13, *)
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:41:23: warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
40 | @available(OSX 10.13, *)
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
| |- warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'itemCloned' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:43:23: warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
| |- warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedFirstEventSet' with '@MainActor' 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 xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:44:23: warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
44 | public static let xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
| |- warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedSecondEventSet' with '@MainActor' 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 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:46:23: warning: static property 'createdFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
44 | public static let xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
45 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
| |- warning: static property 'createdFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createdFile' with '@MainActor' 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 removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:47:23: warning: static property 'removedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
45 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
| |- warning: static property 'removedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removedFile' with '@MainActor' 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 trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:48:23: warning: static property 'trashedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
| |- warning: static property 'trashedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trashedFile' with '@MainActor' 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 openedFile: EventSet = [.itemXattrMod, .itemIsFile]
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:49:23: warning: static property 'openedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
| |- warning: static property 'openedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openedFile' with '@MainActor' 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 createdDirectory: EventSet = [.itemCreated, .itemIsDir]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:51:23: warning: static property 'createdDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
50 |
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
| |- warning: static property 'createdDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createdDirectory' with '@MainActor' 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 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:52:23: warning: static property 'removedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
50 |
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
52 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
| |- warning: static property 'removedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removedDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:53:23: warning: static property 'trashedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
52 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
| |- warning: static property 'trashedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trashedDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[14/62] Compiling SwiftShell Array.swift
[15/63] Compiling SwiftShell String.swift
[16/63] Compiling SwiftShell Process.swift
[17/63] Compiling SwiftShell Files.swift
[18/63] Compiling SwiftShell FileHandle.swift
[19/63] Compiling SwiftSyntax SourcePresence.swift
[20/63] Compiling SwiftSyntax SwiftSyntax.swift
[21/65] Compiling SwiftSyntax SwiftcInvocation.swift
[22/65] Compiling SwiftSyntax Syntax.swift
[23/65] Compiling SwiftSyntax DiagnosticConsumer.swift
[24/65] Compiling SwiftSyntax DiagnosticEngine.swift
[25/65] Compiling SwiftSyntax JSONDiagnosticConsumer.swift
[26/65] Compiling SwiftSyntax PrintingDiagnosticConsumer.swift
[27/65] Compiling SwiftSyntax RawSyntax.swift
[28/65] Compiling SwiftSyntax SourceLength.swift
[29/65] Emitting module SwiftShell
[30/65] Compiling SwiftShell Lazy-split.swift
[31/65] Compiling SwiftShell Command.swift
[32/65] Compiling SwiftShell Context.swift
[33/65] Emitting module PathKit
[34/65] Compiling PathKit PathKit.swift
[35/65] Compiling SwiftShell Bash.swift
[36/65] Compiling SwiftShell Stream.swift
[37/65] Compiling Ocha EventSet.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:17:23: warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
15 | }
16 |
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
| |- warning: static property 'none' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:18:23: warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
16 |
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
| |- warning: static property 'mustScanSubDirs' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:19:23: warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
17 | public static let none = EventSet(rawValue: kFSEventStreamEventFlagNone) // 0
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
| |- warning: static property 'userDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:20:23: warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
18 | public static let mustScanSubDirs = EventSet(rawValue: kFSEventStreamEventFlagMustScanSubDirs) // 1
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
| |- warning: static property 'kernelDropped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:21:23: warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
19 | public static let userDropped = EventSet(rawValue: kFSEventStreamEventFlagUserDropped) // 2
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
| |- warning: static property 'eventIdsWrapped' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:22:23: warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
20 | public static let kernelDropped = EventSet(rawValue: kFSEventStreamEventFlagKernelDropped) // 4
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
| |- warning: static property 'historyDone' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:23:23: warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
21 | public static let eventIdsWrapped = EventSet(rawValue: kFSEventStreamEventFlagEventIdsWrapped) // 8
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
| |- warning: static property 'rootChanged' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:24:23: warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
22 | public static let historyDone = EventSet(rawValue: kFSEventStreamEventFlagHistoryDone) // 16
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
| |- warning: static property 'mount' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:25:23: warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
23 | public static let rootChanged = EventSet(rawValue: kFSEventStreamEventFlagRootChanged) // 32
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
| |- warning: static property 'unmount' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:26:23: warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
24 | public static let mount = EventSet(rawValue: kFSEventStreamEventFlagMount) // 64
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
| |- warning: static property 'itemCreated' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:27:23: warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
25 | public static let unmount = EventSet(rawValue: kFSEventStreamEventFlagUnmount) // 128
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
| |- warning: static property 'itemRemoved' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:28:23: warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
26 | public static let itemCreated = EventSet(rawValue: kFSEventStreamEventFlagItemCreated) // 256
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
| |- warning: static property 'itemInodeMetaMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:29:23: warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
27 | public static let itemRemoved = EventSet(rawValue: kFSEventStreamEventFlagItemRemoved) // 512
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
| |- warning: static property 'itemRenamed' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:30:23: warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
28 | public static let itemInodeMetaMod = EventSet(rawValue: kFSEventStreamEventFlagItemInodeMetaMod) // 1024
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
| |- warning: static property 'itemModified' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:31:23: warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
29 | public static let itemRenamed = EventSet(rawValue: kFSEventStreamEventFlagItemRenamed) // 2048
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
| |- warning: static property 'itemFinderInfoMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:32:23: warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
30 | public static let itemModified = EventSet(rawValue: kFSEventStreamEventFlagItemModified) // 4096
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
| |- warning: static property 'itemChangeOwner' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:33:23: warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
31 | public static let itemFinderInfoMod = EventSet(rawValue: kFSEventStreamEventFlagItemFinderInfoMod) // 8192
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
| |- warning: static property 'itemXattrMod' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:34:23: warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
32 | public static let itemChangeOwner = EventSet(rawValue: kFSEventStreamEventFlagItemChangeOwner) // 16384
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
| |- warning: static property 'itemIsFile' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:35:23: warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
33 | public static let itemXattrMod = EventSet(rawValue: kFSEventStreamEventFlagItemXattrMod) // 32768
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
| |- warning: static property 'itemIsDir' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:36:23: warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
34 | public static let itemIsFile = EventSet(rawValue: kFSEventStreamEventFlagItemIsFile) // 65536
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
| |- warning: static property 'itemIsSymlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:37:23: warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
35 | public static let itemIsDir = EventSet(rawValue: kFSEventStreamEventFlagItemIsDir) // 131072
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
| |- warning: static property 'ownEvent' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:38:23: warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
36 | public static let itemIsSymlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsSymlink) // 262144
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
| |- warning: static property 'itemIsHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
40 | @available(OSX 10.13, *)
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:39:23: warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
37 | public static let ownEvent = EventSet(rawValue: kFSEventStreamEventFlagOwnEvent) // 524288
38 | public static let itemIsHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsHardlink) // 1048576
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
| |- warning: static property 'itemIsLastHardlink' is not concurrency-safe because non-'Sendable' type 'EventSet' 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
40 | @available(OSX 10.13, *)
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:41:23: warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
39 | public static let itemIsLastHardlink = EventSet(rawValue: kFSEventStreamEventFlagItemIsLastHardlink) // 2097152
40 | @available(OSX 10.13, *)
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
| |- warning: static property 'itemCloned' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'itemCloned' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:43:23: warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
| |- warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedFirstEventSet' with '@MainActor' 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 xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:44:23: warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
44 | public static let xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
| |- warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedSecondEventSet' with '@MainActor' 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 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:46:23: warning: static property 'createdFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
44 | public static let xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
45 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
| |- warning: static property 'createdFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createdFile' with '@MainActor' 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 removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:47:23: warning: static property 'removedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
45 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
| |- warning: static property 'removedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removedFile' with '@MainActor' 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 trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:48:23: warning: static property 'trashedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
| |- warning: static property 'trashedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trashedFile' with '@MainActor' 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 openedFile: EventSet = [.itemXattrMod, .itemIsFile]
50 |
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:49:23: warning: static property 'openedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
47 | public static let removedFile: EventSet = [.itemRemoved, .itemIsFile]
48 | public static let trashedFile: EventSet = [.itemRenamed, .itemIsFile] // e.g) Command + DEL. If you use in machintosh
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
| |- warning: static property 'openedFile' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'openedFile' with '@MainActor' 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 createdDirectory: EventSet = [.itemCreated, .itemIsDir]
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:51:23: warning: static property 'createdDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
49 | public static let openedFile: EventSet = [.itemXattrMod, .itemIsFile]
50 |
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
| |- warning: static property 'createdDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'createdDirectory' with '@MainActor' 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 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:52:23: warning: static property 'removedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
50 |
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
52 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
| |- warning: static property 'removedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'removedDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
54 | }
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:53:23: warning: static property 'trashedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
51 | public static let createdDirectory: EventSet = [.itemCreated, .itemIsDir]
52 | public static let removedDirectory: EventSet = [.itemRemoved, .itemIsDir]
53 | public static let trashedDirectory: EventSet = [.itemRenamed, .itemIsDir] // e.g) Command + DEL. If you use in machintosh
| |- warning: static property 'trashedDirectory' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'trashedDirectory' with '@MainActor' if property should only be accessed from the main actor
| `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
54 | }
55 |
[38/65] Compiling Ocha WatchingPathable.swift
[39/65] Compiling Ocha Watcher.swift
[40/65] Compiling Ocha Event.swift
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:43:23: warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
41 | public static let itemCloned = EventSet(rawValue: kFSEventStreamEventFlagItemCloned) // 4194304
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
| |- warning: static property 'xcodeFileAddedFirstEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedFirstEventSet' with '@MainActor' 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 xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
45 |
/Users/admin/builder/spi-builder-workspace/Sources/Ocha/EventSet.swift:44:23: warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
8 | import Foundation
9 |
10 | public struct EventSet: OptionSet {
| `- note: consider making struct 'EventSet' conform to the 'Sendable' protocol
11 | public let rawValue: Int
12 | public typealias RawValue = Int
:
42 |
43 | public static let xcodeFileAddedFirstEventSet: EventSet = [.itemCreated, .itemRenamed, .itemModified, .itemXattrMod, .itemIsFile]
44 | public static let xcodeFileAddedSecondEventSet: EventSet = [.itemRenamed, .itemIsFile]
| |- warning: static property 'xcodeFileAddedSecondEventSet' is not concurrency-safe because non-'Sendable' type 'EventSet' may have shared mutable state; this is an error in the Swift 6 language mode
| |- note: annotate 'xcodeFileAddedSecondEventSet' with '@MainActor' 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 |
46 | public static let createdFile: EventSet = [.itemCreated, .itemIsFile]
[41/65] Compiling SwiftSyntax AbsolutePosition.swift
[42/65] Compiling SwiftSyntax AtomicCache.swift
[43/65] Compiling SwiftSyntax Diagnostic.swift
[44/69] Emitting module Playground
[45/69] Emitting module GitCommitExample
[46/69] Compiling Playground main.swift
[46/69] Write Objects.LinkFileList
[48/69] Compiling GitCommitExample main.swift
[48/69] Write Objects.LinkFileList
[50/69] Emitting module SwiftSyntax
[51/69] Compiling SwiftSyntax TokenKind.swift
[52/69] Compiling SwiftSyntax Trivia.swift
[52/69] Linking Playground
[53/69] Linking GitCommitExample
[54/69] Applying GitCommitExample
[55/69] Applying Playground
[57/69] Compiling SwiftSyntax SyntaxChildren.swift
[58/69] Compiling SwiftSyntax SyntaxData.swift
[59/69] Compiling SwiftSyntax SyntaxBuilders.swift
[60/69] Compiling SwiftSyntax SyntaxCollections.swift
[61/69] Compiling SwiftSyntax SyntaxNodes.swift
[62/69] Compiling SwiftSyntax SyntaxRewriter.swift
[63/69] Compiling SwiftSyntax SyntaxFactory.swift
[64/69] Compiling SwiftSyntax SyntaxKind.swift
[64/69] Write Objects.LinkFileList
[65/69] Linking libSwiftSyntax.dylib
[67/71] Emitting module RagnarokCore
[68/71] Compiling RagnarokCore RagnarokRewriter.swift
[69/73] Compiling RagnarokExample main.swift
/Users/admin/builder/spi-builder-workspace/Sources/RagnarokExample/main.swift:19:46: warning: main actor-isolated let 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
7 | print("You can confirm for `Ocha` is watched file changes when edit and save this file.")
8 |
9 | let path = Path(#file)
| `- note: let declared here
10 | let pathString = path.absolute().string
11 |
:
14 | }
15 |
16 | func ragnarok() {
| `- note: add '@MainActor' to make global function 'ragnarok()' part of global actor 'MainActor'
17 | do {
18 | let ragnarok = try RagnarokRewriter.init(path: pathString)
19 | let content = try String(contentsOf: path.url)
| `- warning: main actor-isolated let 'path' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
20 | let formatted = try ragnarok.formatted()
21 | if content == formatted {
[70/73] Emitting module RagnarokExample
[70/73] Write Objects.LinkFileList
[71/73] Linking RagnarokExample
[72/73] Applying RagnarokExample
Build complete! (43.77s)
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 | var targetDependencies: [PackageDescription.Target.Dependency] {
37 | return exampleDependencies + [targetDependency].flatMap{ $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
38 | }
39 |
warning: 'ragnarok': the target name ragnarok has different case on the filesystem and the Package.swift manifest file
Build complete.
{
"dependencies" : [
{
"identity" : "swiftshell",
"requirement" : {
"range" : [
{
"lower_bound" : "4.1.2",
"upper_bound" : "5.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kareman/SwiftShell.git"
},
{
"identity" : "pathkit",
"requirement" : {
"range" : [
{
"lower_bound" : "0.9.2",
"upper_bound" : "1.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/kylef/PathKit.git"
},
{
"identity" : "ragnarok",
"requirement" : {
"range" : [
{
"lower_bound" : "1.0.2",
"upper_bound" : "2.0.0"
}
]
},
"type" : "sourceControl",
"url" : "https://github.com/bannzai/Ragnarok.git"
}
],
"manifest_display_name" : "Ocha",
"name" : "Ocha",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Ocha",
"targets" : [
"Ocha"
],
"type" : {
"library" : [
"automatic"
]
}
},
{
"name" : "RagnarokExample",
"targets" : [
"RagnarokExample"
],
"type" : {
"executable" : null
}
},
{
"name" : "GitCommitExample",
"targets" : [
"GitCommitExample"
],
"type" : {
"executable" : null
}
},
{
"name" : "Playground",
"targets" : [
"Playground"
],
"type" : {
"executable" : null
}
}
],
"targets" : [
{
"c99name" : "RagnarokExample",
"module_type" : "SwiftTarget",
"name" : "RagnarokExample",
"path" : "Sources/RagnarokExample",
"product_dependencies" : [
"SwiftShell",
"PathKit",
"RagnarokCore"
],
"product_memberships" : [
"RagnarokExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Ocha"
],
"type" : "executable"
},
{
"c99name" : "Playground",
"module_type" : "SwiftTarget",
"name" : "Playground",
"path" : "Sources/Playground",
"product_dependencies" : [
"SwiftShell",
"PathKit"
],
"product_memberships" : [
"Playground"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Ocha"
],
"type" : "executable"
},
{
"c99name" : "OchaTests",
"module_type" : "SwiftTarget",
"name" : "OchaTests",
"path" : "Tests/OchaTests",
"sources" : [
"EventTests.swift",
"TestData/TestFile.swift",
"Utility.swift",
"WatcherTests.swift",
"XCTestManifests.swift"
],
"target_dependencies" : [
"Ocha"
],
"type" : "test"
},
{
"c99name" : "Ocha",
"module_type" : "SwiftTarget",
"name" : "Ocha",
"path" : "Sources/Ocha",
"product_memberships" : [
"Ocha",
"RagnarokExample",
"GitCommitExample",
"Playground"
],
"sources" : [
"Event.swift",
"EventSet.swift",
"Watcher.swift",
"WatchingPathable.swift"
],
"type" : "library"
},
{
"c99name" : "GitCommitExample",
"module_type" : "SwiftTarget",
"name" : "GitCommitExample",
"path" : "Sources/GitCommitExample",
"product_dependencies" : [
"SwiftShell",
"PathKit"
],
"product_memberships" : [
"GitCommitExample"
],
"sources" : [
"main.swift"
],
"target_dependencies" : [
"Ocha"
],
"type" : "executable"
}
],
"tools_version" : "5.0"
}
warning: 'spi-builder-workspace': /Users/admin/builder/spi-builder-workspace/Package.swift:37:53: warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
35 |
36 | var targetDependencies: [PackageDescription.Target.Dependency] {
37 | return exampleDependencies + [targetDependency].flatMap{ $0 }
| |- warning: 'flatMap' is deprecated: Please use compactMap(_:) for the case where closure returns an optional value
| `- note: use 'compactMap(_:)' instead
38 | }
39 |
Done.