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

The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build Witness with Swift 6.0 for Linux.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/njdehoog/witness.git
Reference: master
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: 	git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: 	git branch -m <name>
From https://github.com/njdehoog/witness
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at b046945 Merge pull request #8 from perlmunger/master
Cloned https://github.com/njdehoog/witness.git
Revision (git rev-parse @):
b0469457b460fc78620e3b456fed9b18669100d5
SUCCESS checkout https://github.com/njdehoog/witness.git at master
========================================
Build
========================================
Selected platform:         linux
Swift version:             6.0
Building package at path:  $workDir
https://github.com/njdehoog/witness.git
Running build ...
bash -c docker run --rm -v "checkouts-4609320-0":/host -w "$workDir" registry.gitlab.com/finestructure/spi-images:basic-6.0-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete 2>&1
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-24593BA9C3E375BF.txt
[3/6] Compiling Witness Witness.swift
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:86:53: error: cannot find 'kFSEventStreamCreateFlagNone' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 |     public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
   |                                                     `- error: cannot find 'kFSEventStreamCreateFlagNone' in scope
87 |
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:83:27: error: cannot find type 'FSEventStreamCreateFlags' in scope
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
   |                           `- error: cannot find type 'FSEventStreamCreateFlags' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:82:26: error: cannot find type 'FSEventStreamCreateFlags' in scope
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
   |                          `- error: cannot find type 'FSEventStreamCreateFlags' in scope
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
/host/spi-builder-workspace/Sources/Witness/Witness.swift:19:34: error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
17 |     }
18 |
19 |     public init(paths: [String], flags: EventStreamCreateFlags = .None, latency: TimeInterval = 1.0, changeHandler: @escaping FileEventHandler) {
   |                                  `- error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
20 |         self.stream = EventStream(paths: paths, flags: flags, latency: latency, changeHandler: changeHandler)
21 |     }
/host/spi-builder-workspace/Sources/Witness/Witness.swift:19:34: error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
17 |     }
18 |
19 |     public init(paths: [String], flags: EventStreamCreateFlags = .None, latency: TimeInterval = 1.0, changeHandler: @escaping FileEventHandler) {
   |                                  `- error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
20 |         self.stream = EventStream(paths: paths, flags: flags, latency: latency, changeHandler: changeHandler)
21 |     }
[4/6] Compiling Witness EventStream.swift
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:24:25: error: cannot find type 'FSEventStreamRef' in scope
22 |
23 |     // use explicitly unwrapped optional so we can pass self as context to stream
24 |     private var stream: FSEventStreamRef!
   |                         `- error: cannot find type 'FSEventStreamRef' in scope
25 |     private let changeHandler: FileEventHandler
26 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:82:26: error: cannot find type 'FSEventStreamCreateFlags' in scope
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
   |                          `- error: cannot find type 'FSEventStreamCreateFlags' in scope
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:83:27: error: cannot find type 'FSEventStreamCreateFlags' in scope
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
   |                           `- error: cannot find type 'FSEventStreamCreateFlags' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:86:53: error: cannot find 'kFSEventStreamCreateFlagNone' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 |     public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
   |                                                     `- error: cannot find 'kFSEventStreamCreateFlagNone' in scope
87 |
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:89:59: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
87 |
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:90:56: error: cannot find 'kFSEventStreamCreateFlagNoDefer' in scope
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
   |                                                        `- error: cannot find 'kFSEventStreamCreateFlagNoDefer' in scope
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:91:58: error: cannot find 'kFSEventStreamCreateFlagWatchRoot' in scope
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
   |                                                          `- error: cannot find 'kFSEventStreamCreateFlagWatchRoot' in scope
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:92:59: error: cannot find 'kFSEventStreamCreateFlagIgnoreSelf' in scope
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagIgnoreSelf' in scope
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:93:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
95 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:94:57: error: cannot find 'kFSEventStreamCreateFlagMarkSelf' in scope
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
   |                                                         `- error: cannot find 'kFSEventStreamCreateFlagMarkSelf' in scope
95 | }
96 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
Swift.OptionSet:2:23: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | extension OptionSet where Self.RawValue : FixedWidthInteger {
2 |     @inlinable public init()
  |                       `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |     @inlinable public mutating func formUnion(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
4 |     @inlinable public mutating func formIntersection(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
5 |     @inlinable public mutating func formSymmetricDifference(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
6 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'Equatable'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'Equatable'
82 |     public let rawValue: FSEventStreamCreateFlags
   |                `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'EventStreamCreateFlags' to 'Equatable'
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
Swift.==:1:24: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |     public static func < (lhs: Self, rhs: Self) -> Bool
4 |     public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 |     public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |     public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 |     public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | extension _Pointer {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |     @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
4 |     @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | extension Strideable {
2 |     @inlinable public static func < (x: Self, y: Self) -> Bool
3 |     @inlinable public static func == (x: Self, y: Self) -> Bool
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 |     @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
3 |     @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 |     @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
 2 |     public var indices: Range<Int> { get }
 3 |     public init(repeating value: Self.Scalar)
 4 |     public static func == (a: Self, b: Self) -> Bool
   |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
 5 |     @inlinable public func hash(into hasher: inout Hasher)
 6 |     public func encode(to encoder: any Encoder) throws
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |     public var description: String { get }
4 |     public func hash(into hasher: inout Hasher)
5 |     public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
6 | }
Foundation.__BridgedNSError:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 | }
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
 1 | public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
 2 |     associatedtype Element
 3 |     init()
   |     `- note: protocol requires initializer 'init()' with type '()'
 4 |     func contains(_ member: Self.Element) -> Bool
 5 |     __consuming func union(_ other: __owned Self) -> Self
   :
12 |     @discardableResult
13 |     mutating func update(with newMember: __owned Self.Element) -> Self.Element?
14 |     mutating func formUnion(_ other: __owned Self)
   |                   `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
15 |     mutating func formIntersection(_ other: Self)
   |                   `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
16 |     mutating func formSymmetricDifference(_ other: __owned Self)
   |                   `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
17 |     __consuming func subtracting(_ other: Self) -> Self
18 |     func isSubset(of other: Self) -> Bool
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
1 | public protocol RawRepresentable<RawValue> {
2 |     associatedtype RawValue
  |                    `- note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
3 |     init?(rawValue: Self.RawValue)
4 |     var rawValue: Self.RawValue { get }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(EventStreamCreateFlags, EventStreamCreateFlags) -> Bool'
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: protocol requires function '==' with type '(EventStreamCreateFlags, EventStreamCreateFlags) -> Bool'
3 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:31:31: error: cannot find type 'ConstFSEventStreamRef' in scope
29 |         self.changeHandler = changeHandler
30 |
31 |         func callBack(stream: ConstFSEventStreamRef, clientCallbackInfo: UnsafeMutableRawPointer?, numEvents: Int, eventPaths: UnsafeMutableRawPointer, eventFlags: UnsafePointer<FSEventStreamEventFlags>, eventIDs: UnsafePointer<FSEventStreamEventId>) {
   |                               `- error: cannot find type 'ConstFSEventStreamRef' in scope
32 |
33 |             let eventStream = unsafeBitCast(clientCallbackInfo, to: EventStream.self)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:31:179: error: cannot find type 'FSEventStreamEventFlags' in scope
29 |         self.changeHandler = changeHandler
30 |
31 |         func callBack(stream: ConstFSEventStreamRef, clientCallbackInfo: UnsafeMutableRawPointer?, numEvents: Int, eventPaths: UnsafeMutableRawPointer, eventFlags: UnsafePointer<FSEventStreamEventFlags>, eventIDs: UnsafePointer<FSEventStreamEventId>) {
   |                                                                                                                                                                                   `- error: cannot find type 'FSEventStreamEventFlags' in scope
32 |
33 |             let eventStream = unsafeBitCast(clientCallbackInfo, to: EventStream.self)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:31:229: error: cannot find type 'FSEventStreamEventId' in scope
29 |         self.changeHandler = changeHandler
30 |
31 |         func callBack(stream: ConstFSEventStreamRef, clientCallbackInfo: UnsafeMutableRawPointer?, numEvents: Int, eventPaths: UnsafeMutableRawPointer, eventFlags: UnsafePointer<FSEventStreamEventFlags>, eventIDs: UnsafePointer<FSEventStreamEventId>) {
   |                                                                                                                                                                                                                                     `- error: cannot find type 'FSEventStreamEventId' in scope
32 |
33 |             let eventStream = unsafeBitCast(clientCallbackInfo, to: EventStream.self)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:18:27: error: cannot find type 'FSEventStreamEventFlags' in scope
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
    |                           `- error: cannot find type 'FSEventStreamEventFlags' in scope
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
 20 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:17:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 15 |
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:38:17: error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
36 |             var events = [FileEvent]()
37 |             for i in 0..<Int(numEvents) {
38 |                 let event = FileEvent(path: paths[i] as! String, flags: FileEventFlags(rawValue: eventFlags[i]))
   |                 `- error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
39 |                 events.append(event)
40 |             }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:38:17: error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
36 |             var events = [FileEvent]()
37 |             for i in 0..<Int(numEvents) {
38 |                 let event = FileEvent(path: paths[i] as! String, flags: FileEventFlags(rawValue: eventFlags[i]))
   |                 `- error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
39 |                 events.append(event)
40 |             }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:38:87: error: extraneous argument label 'rawValue:' in call
36 |             var events = [FileEvent]()
37 |             for i in 0..<Int(numEvents) {
38 |                 let event = FileEvent(path: paths[i] as! String, flags: FileEventFlags(rawValue: eventFlags[i]))
   |                                                                                       `- error: extraneous argument label 'rawValue:' in call
39 |                 events.append(event)
40 |             }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:45:23: error: cannot find 'FSEventStreamContext' in scope
43 |         }
44 |
45 |         var context = FSEventStreamContext()
   |                       `- error: cannot find 'FSEventStreamContext' in scope
46 |         context.info = unsafeBitCast(self, to: UnsafeMutableRawPointer.self)
47 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:52:22: error: cannot find 'FSEventStreamCreate' in scope
50 |         switch type {
51 |         case .hostBased:
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                      `- error: cannot find 'FSEventStreamCreate' in scope
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:52:85: error: cannot find 'FSEventStreamEventId' in scope
50 |         switch type {
51 |         case .hostBased:
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                                     `- error: cannot find 'FSEventStreamEventId' in scope
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:52:106: error: cannot find 'kFSEventStreamEventIdSinceNow' in scope
50 |         switch type {
51 |         case .hostBased:
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                                                          `- error: cannot find 'kFSEventStreamEventIdSinceNow' in scope
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:52:76: error: cannot find type 'CFArray' in scope
50 |         switch type {
51 |         case .hostBased:
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                            `- error: cannot find type 'CFArray' in scope
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:52:42: error: 'nil' requires a contextual type
50 |         switch type {
51 |         case .hostBased:
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                          `- error: 'nil' requires a contextual type
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:54:22: error: cannot find 'FSEventStreamCreateRelativeToDevice' in scope
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                      `- error: cannot find 'FSEventStreamCreateRelativeToDevice' in scope
55 |         }
56 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:54:116: error: cannot find 'FSEventStreamEventId' in scope
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                                                                    `- error: cannot find 'FSEventStreamEventId' in scope
55 |         }
56 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:54:137: error: cannot find 'kFSEventStreamEventIdSinceNow' in scope
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                                                                                         `- error: cannot find 'kFSEventStreamEventIdSinceNow' in scope
55 |         }
56 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:54:107: error: cannot find type 'CFArray' in scope
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                                                                           `- error: cannot find type 'CFArray' in scope
55 |         }
56 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:54:58: error: 'nil' requires a contextual type
52 |             stream = FSEventStreamCreate(nil, callBack, &context, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
53 |         case .diskBased:
54 |             stream = FSEventStreamCreateRelativeToDevice(nil, callBack, &context, deviceToWatch, paths as CFArray, FSEventStreamEventId(kFSEventStreamEventIdSinceNow), latency, combinedFlags.rawValue)
   |                                                          `- error: 'nil' requires a contextual type
55 |         }
56 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:57:9: error: cannot find 'FSEventStreamScheduleWithRunLoop' in scope
55 |         }
56 |
57 |         FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
   |         `- error: cannot find 'FSEventStreamScheduleWithRunLoop' in scope
58 |         FSEventStreamStart(stream)
59 |     }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:57:50: error: cannot find 'CFRunLoopGetCurrent' in scope
55 |         }
56 |
57 |         FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
   |                                                  `- error: cannot find 'CFRunLoopGetCurrent' in scope
58 |         FSEventStreamStart(stream)
59 |     }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:57:73: error: cannot find 'CFRunLoopMode' in scope
55 |         }
56 |
57 |         FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
   |                                                                         `- error: cannot find 'CFRunLoopMode' in scope
58 |         FSEventStreamStart(stream)
59 |     }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:58:9: error: cannot find 'FSEventStreamStart' in scope
56 |
57 |         FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
58 |         FSEventStreamStart(stream)
   |         `- error: cannot find 'FSEventStreamStart' in scope
59 |     }
60 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:62:9: error: cannot find 'FSEventStreamFlushSync' in scope
60 |
61 |     func flush() {
62 |         FSEventStreamFlushSync(stream)
   |         `- error: cannot find 'FSEventStreamFlushSync' in scope
63 |     }
64 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:66:9: error: cannot find 'FSEventStreamFlushAsync' in scope
64 |
65 |     func flushAsync() {
66 |         FSEventStreamFlushAsync(stream)
   |         `- error: cannot find 'FSEventStreamFlushAsync' in scope
67 |     }
68 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:71:9: error: cannot find 'FSEventStreamStop' in scope
69 |     deinit {
70 |         // stop stream
71 |         FSEventStreamStop(stream)
   |         `- error: cannot find 'FSEventStreamStop' in scope
72 |
73 |         // unschedule from all run loops
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:74:9: error: cannot find 'FSEventStreamInvalidate' in scope
72 |
73 |         // unschedule from all run loops
74 |         FSEventStreamInvalidate(stream)
   |         `- error: cannot find 'FSEventStreamInvalidate' in scope
75 |
76 |         // release
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:77:9: error: cannot find 'FSEventStreamRelease' in scope
75 |
76 |         // release
77 |         FSEventStreamRelease(stream)
   |         `- error: cannot find 'FSEventStreamRelease' in scope
78 |     }
79 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:84:42: error: cannot find 'FSEventStreamCreateFlags' in scope
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
   |                                          `- error: cannot find 'FSEventStreamCreateFlags' in scope
85 |
86 |     public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/6] Emitting module Witness
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:24:25: error: cannot find type 'FSEventStreamRef' in scope
22 |
23 |     // use explicitly unwrapped optional so we can pass self as context to stream
24 |     private var stream: FSEventStreamRef!
   |                         `- error: cannot find type 'FSEventStreamRef' in scope
25 |     private let changeHandler: FileEventHandler
26 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:82:26: error: cannot find type 'FSEventStreamCreateFlags' in scope
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
   |                          `- error: cannot find type 'FSEventStreamCreateFlags' in scope
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:83:27: error: cannot find type 'FSEventStreamCreateFlags' in scope
81 | public struct EventStreamCreateFlags: OptionSet {
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
   |                           `- error: cannot find type 'FSEventStreamCreateFlags' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:86:53: error: cannot find 'kFSEventStreamCreateFlagNone' in scope
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
85 |
86 |     public static let None = EventStreamCreateFlags(kFSEventStreamCreateFlagNone)
   |                                                     `- error: cannot find 'kFSEventStreamCreateFlagNone' in scope
87 |
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:89:59: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
87 |
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:90:56: error: cannot find 'kFSEventStreamCreateFlagNoDefer' in scope
88 |     // setting the UseCFTypes flag has no consequences, because Witness will always enable it
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
   |                                                        `- error: cannot find 'kFSEventStreamCreateFlagNoDefer' in scope
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:91:58: error: cannot find 'kFSEventStreamCreateFlagWatchRoot' in scope
89 |     public static let UseCFTypes = EventStreamCreateFlags(kFSEventStreamCreateFlagUseCFTypes)
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
   |                                                          `- error: cannot find 'kFSEventStreamCreateFlagWatchRoot' in scope
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:92:59: error: cannot find 'kFSEventStreamCreateFlagIgnoreSelf' in scope
90 |     public static let NoDefer = EventStreamCreateFlags(kFSEventStreamCreateFlagNoDefer)
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagIgnoreSelf' in scope
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:93:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
91 |     public static let WatchRoot = EventStreamCreateFlags(kFSEventStreamCreateFlagWatchRoot)
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
   |                                                           `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
95 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:94:57: error: cannot find 'kFSEventStreamCreateFlagMarkSelf' in scope
92 |     public static let IgnoreSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagIgnoreSelf)
93 |     public static let FileEvents = EventStreamCreateFlags(kFSEventStreamCreateFlagFileEvents)
94 |     public static let MarkSelf = EventStreamCreateFlags(kFSEventStreamCreateFlagMarkSelf)
   |                                                         `- error: cannot find 'kFSEventStreamCreateFlagMarkSelf' in scope
95 | }
96 |
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'SetAlgebra'
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
Swift.OptionSet:2:23: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | extension OptionSet where Self.RawValue : FixedWidthInteger {
2 |     @inlinable public init()
  |                       `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |     @inlinable public mutating func formUnion(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
4 |     @inlinable public mutating func formIntersection(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
5 |     @inlinable public mutating func formSymmetricDifference(_ other: Self)
  |                                     `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
6 | }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'RawRepresentable'
82 |     public let rawValue: FSEventStreamCreateFlags
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/Witness/EventStream.swift:81:15: error: type 'EventStreamCreateFlags' does not conform to protocol 'Equatable'
79 | }
80 |
81 | public struct EventStreamCreateFlags: OptionSet {
   |               `- error: type 'EventStreamCreateFlags' does not conform to protocol 'Equatable'
82 |     public let rawValue: FSEventStreamCreateFlags
   |                `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'EventStreamCreateFlags' to 'Equatable'
83 |     public init(rawValue: FSEventStreamCreateFlags) { self.rawValue = rawValue }
84 |     init(_ value: Int) { self.rawValue = FSEventStreamCreateFlags(value) }
Swift.==:1:24: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |     public static func < (lhs: Self, rhs: Self) -> Bool
4 |     public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 |     public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |     public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 |     public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | extension _Pointer {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |     @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
4 |     @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | extension Strideable {
2 |     @inlinable public static func < (x: Self, y: Self) -> Bool
3 |     @inlinable public static func == (x: Self, y: Self) -> Bool
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 |     @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
  |                                   `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
3 |     @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 |     @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
 2 |     public var indices: Range<Int> { get }
 3 |     public init(repeating value: Self.Scalar)
 4 |     public static func == (a: Self, b: Self) -> Bool
   |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
 5 |     @inlinable public func hash(into hasher: inout Hasher)
 6 |     public func encode(to encoder: any Encoder) throws
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |     public var description: String { get }
4 |     public func hash(into hasher: inout Hasher)
5 |     public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
6 | }
Foundation.__BridgedNSError:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 | }
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
 1 | public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
 2 |     associatedtype Element
 3 |     init()
   |     `- note: protocol requires initializer 'init()' with type '()'
 4 |     func contains(_ member: Self.Element) -> Bool
 5 |     __consuming func union(_ other: __owned Self) -> Self
   :
12 |     @discardableResult
13 |     mutating func update(with newMember: __owned Self.Element) -> Self.Element?
14 |     mutating func formUnion(_ other: __owned Self)
   |                   `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
15 |     mutating func formIntersection(_ other: Self)
   |                   `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
16 |     mutating func formSymmetricDifference(_ other: __owned Self)
   |                   `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
17 |     __consuming func subtracting(_ other: Self) -> Self
18 |     func isSubset(of other: Self) -> Bool
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
1 | public protocol RawRepresentable<RawValue> {
2 |     associatedtype RawValue
  |                    `- note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
3 |     init?(rawValue: Self.RawValue)
4 |     var rawValue: Self.RawValue { get }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(EventStreamCreateFlags, EventStreamCreateFlags) -> Bool'
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: protocol requires function '==' with type '(EventStreamCreateFlags, EventStreamCreateFlags) -> Bool'
3 | }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:17:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 15 |
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:18:27: error: cannot find type 'FSEventStreamEventFlags' in scope
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
    |                           `- error: cannot find type 'FSEventStreamEventFlags' in scope
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
 20 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:21:45: error: cannot find 'kFSEventStreamEventFlagNone' in scope
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
 20 |
 21 |     public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
    |                                             `- error: cannot find 'kFSEventStreamEventFlagNone' in scope
 22 |
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:23:56: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 21 |     public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
 22 |
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:25:52: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
 27 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:26:54: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 27 |
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:28:56: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
 27 |
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 29 |
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:30:52: error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
 29 |
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 31 |
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:32:52: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
 31 |
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:34:46: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
 36 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:35:48: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:37:52: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:38:52: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:39:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:40:52: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:41:53: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
    |                                                     `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:42:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:43:56: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:44:53: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
    |                                                     `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:45:51: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:46:50: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:48:55: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
    |                                                       `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
 50 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:49:59: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                           `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 50 |
 51 |     public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:51:49: error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
 50 |
 51 |     public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 52 | }
 53 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
Swift.OptionSet:2:23: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | extension OptionSet where Self.RawValue : FixedWidthInteger {
2 |     @inlinable public init()
  |                       `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |     @inlinable public mutating func formUnion(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
4 |     @inlinable public mutating func formIntersection(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
5 |     @inlinable public mutating func formSymmetricDifference(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
6 | }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'Equatable'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'Equatable'
 17 |     public let rawValue: FSEventStreamEventFlags
    |                `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileEventFlags' to 'Equatable'
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
Swift.==:1:24: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint:2:24: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |     public static func < (lhs: Self, rhs: Self) -> Bool
4 |     public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 |     public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |     public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 |     public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | extension _Pointer {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |     @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
4 |     @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | extension Strideable {
2 |     @inlinable public static func < (x: Self, y: Self) -> Bool
3 |     @inlinable public static func == (x: Self, y: Self) -> Bool
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 |     @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
3 |     @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 |     @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
 2 |     public var indices: Range<Int> { get }
 3 |     public init(repeating value: Self.Scalar)
 4 |     public static func == (a: Self, b: Self) -> Bool
   |                        `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
 5 |     @inlinable public func hash(into hasher: inout Hasher)
 6 |     public func encode(to encoder: any Encoder) throws
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |     public var description: String { get }
4 |     public func hash(into hasher: inout Hasher)
5 |     public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
6 | }
Foundation.__BridgedNSError:2:24: note: candidate would match if 'FileEventFlags' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 | }
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
 1 | public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
 2 |     associatedtype Element
 3 |     init()
   |     `- note: protocol requires initializer 'init()' with type '()'
 4 |     func contains(_ member: Self.Element) -> Bool
 5 |     __consuming func union(_ other: __owned Self) -> Self
   :
12 |     @discardableResult
13 |     mutating func update(with newMember: __owned Self.Element) -> Self.Element?
14 |     mutating func formUnion(_ other: __owned Self)
   |                   `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
15 |     mutating func formIntersection(_ other: Self)
   |                   `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
16 |     mutating func formSymmetricDifference(_ other: __owned Self)
   |                   `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
17 |     __consuming func subtracting(_ other: Self) -> Self
18 |     func isSubset(of other: Self) -> Bool
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
1 | public protocol RawRepresentable<RawValue> {
2 |     associatedtype RawValue
  |                    `- note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
3 |     init?(rawValue: Self.RawValue)
4 |     var rawValue: Self.RawValue { get }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(FileEventFlags, FileEventFlags) -> Bool'
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: protocol requires function '==' with type '(FileEventFlags, FileEventFlags) -> Bool'
3 | }
[6/6] Compiling Witness FileEvent.swift
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:17:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 15 |
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:18:27: error: cannot find type 'FSEventStreamEventFlags' in scope
 16 | public struct FileEventFlags: OptionSet {
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
    |                           `- error: cannot find type 'FSEventStreamEventFlags' in scope
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
 20 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:21:45: error: cannot find 'kFSEventStreamEventFlagNone' in scope
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
 20 |
 21 |     public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
    |                                             `- error: cannot find 'kFSEventStreamEventFlagNone' in scope
 22 |
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:23:56: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 21 |     public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
 22 |
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:25:52: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 23 |     public static let MustScanSubDirs = FileEventFlags(kFSEventStreamEventFlagMustScanSubDirs)
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
 27 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:26:54: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 24 |
 25 |     public static let UserDropped = FileEventFlags(kFSEventStreamEventFlagUserDropped)
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 27 |
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:28:56: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 26 |     public static let KernelDropped = FileEventFlags(kFSEventStreamEventFlagKernelDropped)
 27 |
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 29 |
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:30:52: error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 28 |     public static let EventIdsWrapped = FileEventFlags(kFSEventStreamEventFlagEventIdsWrapped)
 29 |
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 31 |
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:32:52: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 30 |     public static let HistoryDone = FileEventFlags(kFSEventStreamEventFlagHistoryDone)
 31 |
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:34:46: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 32 |     public static let RootChanged = FileEventFlags(kFSEventStreamEventFlagRootChanged)
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
 36 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:35:48: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 33 |
 34 |     public static let Mount = FileEventFlags(kFSEventStreamEventFlagMount)
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:37:52: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 35 |     public static let Unmount = FileEventFlags(kFSEventStreamEventFlagUnmount)
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:38:52: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 36 |
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:39:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 37 |     public static let ItemCreated = FileEventFlags(kFSEventStreamEventFlagItemCreated)
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:40:52: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 38 |     public static let ItemRemoved = FileEventFlags(kFSEventStreamEventFlagItemRemoved)
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
    |                                                    `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:41:53: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 39 |     public static let ItemInodeMetaMod = FileEventFlags(kFSEventStreamEventFlagItemInodeMetaMod)
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
    |                                                     `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:42:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 40 |     public static let ItemRenamed = FileEventFlags(kFSEventStreamEventFlagItemRenamed)
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:43:56: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 41 |     public static let ItemModified = FileEventFlags(kFSEventStreamEventFlagItemModified)
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:44:53: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 42 |     public static let ItemFinderInfoMod = FileEventFlags(kFSEventStreamEventFlagItemFinderInfoMod)
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
    |                                                     `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:45:51: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 43 |     public static let ItemChangeOwner = FileEventFlags(kFSEventStreamEventFlagItemChangeOwner)
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:46:50: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 44 |     public static let ItemXattrMod = FileEventFlags(kFSEventStreamEventFlagItemXattrMod)
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 45 |     public static let ItemIsFile = FileEventFlags(kFSEventStreamEventFlagItemIsFile)
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:48:55: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 46 |     public static let ItemIsDir = FileEventFlags(kFSEventStreamEventFlagItemIsDir)
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
    |                                                       `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
 50 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:49:59: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 47 |     public static let ItemIsSymlink = FileEventFlags(kFSEventStreamEventFlagItemIsSymlink)
 48 |     public static let ItemIsHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsHardlink)
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                           `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 50 |
 51 |     public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:51:49: error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 49 |     public static let ItemIsLastHardLink = FileEventFlags(kFSEventStreamEventFlagItemIsLastHardlink)
 50 |
 51 |     public static let OwnEvent = FileEventFlags(kFSEventStreamEventFlagOwnEvent)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 52 | }
 53 |
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'SetAlgebra'
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
Swift.OptionSet:2:23: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | extension OptionSet where Self.RawValue : FixedWidthInteger {
2 |     @inlinable public init()
  |                       `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |     @inlinable public mutating func formUnion(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
4 |     @inlinable public mutating func formIntersection(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
5 |     @inlinable public mutating func formSymmetricDifference(_ other: Self)
  |                                     `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
6 | }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'RawRepresentable'
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:16:15: error: type 'FileEventFlags' does not conform to protocol 'Equatable'
 14 | }
 15 |
 16 | public struct FileEventFlags: OptionSet {
    |               `- error: type 'FileEventFlags' does not conform to protocol 'Equatable'
 17 |     public let rawValue: FSEventStreamEventFlags
    |                `- note: stored property type '<<error type>>' does not conform to protocol 'Equatable', preventing synthesized conformance of 'FileEventFlags' to 'Equatable'
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
Swift.==:1:24: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'Equatable'
1 | @inlinable public func == <T>(lhs: T, rhs: T) -> Bool where T : RawRepresentable, T.RawValue : Equatable
  |                        `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'Equatable'
Swift.FloatingPoint:2:24: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | extension FloatingPoint {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |     public static func < (lhs: Self, rhs: Self) -> Bool
4 |     public static func <= (lhs: Self, rhs: Self) -> Bool
Swift.BinaryInteger:2:24: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | extension BinaryInteger {
2 |     public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |     public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
4 |     public static func < <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger
Swift._Pointer:2:24: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | extension _Pointer {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |     @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
4 |     @inlinable public static func != <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer
5 | }
Swift.Strideable:3:35: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | extension Strideable {
2 |     @inlinable public static func < (x: Self, y: Self) -> Bool
3 |     @inlinable public static func == (x: Self, y: Self) -> Bool
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
4 | }
Swift.StringProtocol:2:35: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | extension StringProtocol {
2 |     @inlinable public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
  |                                   `- note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
3 |     @inlinable public static func != <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
4 |     @inlinable public static func < <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : StringProtocol
Swift.SIMD:4:24: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
 2 |     public var indices: Range<Int> { get }
 3 |     public init(repeating value: Self.Scalar)
 4 |     public static func == (a: Self, b: Self) -> Bool
   |                        `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
 5 |     @inlinable public func hash(into hasher: inout Hasher)
 6 |     public func encode(to encoder: any Encoder) throws
Foundation.AttributedStringProtocol:5:24: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |     public var description: String { get }
4 |     public func hash(into hasher: inout Hasher)
5 |     public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol
  |                        `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
6 | }
Foundation.__BridgedNSError:2:24: note: candidate would match if 'FileEventFlags' conformed to '__BridgedNSError'
1 | extension __BridgedNSError where Self : RawRepresentable, Self.RawValue : FixedWidthInteger {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '__BridgedNSError'
3 | }
Foundation._BridgedStoredNSError:2:24: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | extension _BridgedStoredNSError {
2 |     public static func == (lhs: Self, rhs: Self) -> Bool
  |                        `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 | }
Swift.SetAlgebra:3:5: note: protocol requires initializer 'init()' with type '()'
 1 | public protocol SetAlgebra<Element> : Equatable, ExpressibleByArrayLiteral {
 2 |     associatedtype Element
 3 |     init()
   |     `- note: protocol requires initializer 'init()' with type '()'
 4 |     func contains(_ member: Self.Element) -> Bool
 5 |     __consuming func union(_ other: __owned Self) -> Self
   :
12 |     @discardableResult
13 |     mutating func update(with newMember: __owned Self.Element) -> Self.Element?
14 |     mutating func formUnion(_ other: __owned Self)
   |                   `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
15 |     mutating func formIntersection(_ other: Self)
   |                   `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
16 |     mutating func formSymmetricDifference(_ other: __owned Self)
   |                   `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
17 |     __consuming func subtracting(_ other: Self) -> Self
18 |     func isSubset(of other: Self) -> Bool
Swift.RawRepresentable:2:20: note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
1 | public protocol RawRepresentable<RawValue> {
2 |     associatedtype RawValue
  |                    `- note: protocol requires nested type 'RawValue'; add nested type 'RawValue' for conformance
3 |     init?(rawValue: Self.RawValue)
4 |     var rawValue: Self.RawValue { get }
Swift.Equatable:2:17: note: protocol requires function '==' with type '(FileEventFlags, FileEventFlags) -> Bool'
1 | public protocol Equatable {
2 |     static func == (lhs: Self, rhs: Self) -> Bool
  |                 `- note: protocol requires function '==' with type '(FileEventFlags, FileEventFlags) -> Bool'
3 | }
/host/spi-builder-workspace/Sources/Witness/FileEvent.swift:19:42: error: cannot find 'FSEventStreamEventFlags' in scope
 17 |     public let rawValue: FSEventStreamEventFlags
 18 |     public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
 19 |     init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
    |                                          `- error: cannot find 'FSEventStreamEventFlags' in scope
 20 |
 21 |     public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
BUILD FAILURE 6.0 linux
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.