Build Information
Failed to build Witness, reference master (b04694), with Swift 6.4 for tvOS using Xcode 27.0 on 16 Sep 2026 21:20:14 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Witness-Package -destination generic/platform=tvOSBuild Log
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
82 | public let rawValue: FSEventStreamCreateFlags
| `- note: stored property 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:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
3 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
17 | public let rawValue: FSEventStreamEventFlags
| `- note: stored property 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:20: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
3 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/Witness.swift -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Witness -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.abi.json
SwiftCompile normal arm64 (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
SwiftCompile normal arm64 Compiling\ EventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift (in target 'Witness' from project 'Witness')
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
82 | public let rawValue: FSEventStreamCreateFlags
| `- note: stored property 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:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
3 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:38:73: error: no exact matches in call to initializer
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: no exact matches in call to initializer
39 | events.append(event)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:19:5: note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
19 | init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
| `- note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
20 |
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
Swift.SetAlgebra.init:2:19: note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
3 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:57:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
55 | }
56 |
57 | FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
58 | FSEventStreamStart(stream)
59 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile EventStream.swift
SwiftCompile normal arm64 Compiling\ FileEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift (in target 'Witness' from project 'Witness')
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
17 | public let rawValue: FSEventStreamEventFlags
| `- note: stored property 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:20: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile FileEvent.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
** BUILD FAILED **
The following build commands failed:
SwiftEmitModule normal arm64 Emitting\ module\ for\ Witness (in target 'Witness' from project 'Witness')
SwiftCompile normal arm64 (in target 'Witness' from project 'Witness')
Building project Witness with scheme Witness-Package
(3 failures)
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
"dependencies" : [
],
"manifest_display_name" : "Witness",
"name" : "Witness",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
],
"products" : [
{
"name" : "Witness",
"targets" : [
"Witness"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"4",
"4.2"
],
"targets" : [
{
"c99name" : "WitnessTests",
"module_type" : "SwiftTarget",
"name" : "WitnessTests",
"path" : "Tests/WitnessTests",
"sources" : [
"WitnessTests.swift"
],
"target_dependencies" : [
"Witness"
],
"type" : "test"
},
{
"c99name" : "Witness",
"module_type" : "SwiftTarget",
"name" : "Witness",
"path" : "Sources/Witness",
"product_memberships" : [
"Witness"
],
"sources" : [
"EventStream.swift",
"FileEvent.swift",
"Witness.swift"
],
"type" : "library"
}
],
"tools_version" : "4.2"
}
{
"project" : {
"configurations" : [
"Debug",
"Release"
],
"name" : "Witness",
"schemes" : [
"Witness",
"Witness-Package"
],
"targets" : [
"Witness",
"WitnessPackageDescription",
"WitnessPackageTests",
"WitnessTests"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Witness-Package -destination generic/platform=tvOS
Command line invocation:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme Witness-Package -destination generic/platform=tvOS
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (1 target)
Target 'Witness' in project 'Witness' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/Witness.xcodeproj
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache
SwiftDriver Witness normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name Witness -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -enable-bare-slash-regex -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -target arm64-apple-tvos27.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Witness (in target 'Witness' from project 'Witness')
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
82 | public let rawValue: FSEventStreamCreateFlags
| `- note: stored property 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:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
3 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
17 | public let rawValue: FSEventStreamEventFlags
| `- note: stored property 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:20: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
1
SwiftCompile normal arm64 (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
| protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
3 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/Witness.swift -target arm64-apple-tvos27.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=5 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -enable-bare-slash-regex -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/appletvos27.0-24J360-e829b21a6f8c9b70876ba0858053c044b32bfd8d43560033f8d89884cdb90028.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-appletvos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/DerivedSources -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name Witness -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-tvos27.0 -target-sdk-version 27.0 -target-sdk-name appletvos27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness-primary-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Witness.build/Debug-appletvos/Witness.build/Objects-normal/arm64/Witness.abi.json
SwiftCompile normal arm64 Compiling\ Witness.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/Witness.swift (in target 'Witness' from project 'Witness')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Witness/Witness.swift (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile Witness.swift
/Users/admin/builder/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
SwiftCompile normal arm64 Compiling\ FileEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift (in target 'Witness' from project 'Witness')
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'FileEventFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
17 | public let rawValue: FSEventStreamEventFlags
| `- note: stored property 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:20: note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'FileEventFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'FileEventFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'FileEventFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'FileEventFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'FileEventFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(FileEventFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned FileEventFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing FileEventFlags, borrowing FileEventFlags) -> Bool'
3 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile FileEvent.swift
SwiftCompile normal arm64 Compiling\ EventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift (in target 'Witness' from project 'Witness')
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 }
/Users/admin/builder/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.init:2:19: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public init()}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formUnion:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formUnion(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formIntersection:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formIntersection(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
Swift.OptionSet.formSymmetricDifference:2:33: note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
1 | protocol OptionSet {
2 | @inlinable public mutating func formSymmetricDifference(_ other: Self)}
| `- note: candidate would match if 'EventStreamCreateFlags.RawValue' conformed to 'FixedWidthInteger'
3 |
/Users/admin/builder/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'
| `- note: add stubs for conformance
82 | public let rawValue: FSEventStreamCreateFlags
| `- note: stored property 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:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
1 | protocol FloatingPoint {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'FloatingPoint'
3 |
Swift.BinaryInteger.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
1 | protocol BinaryInteger {
2 | public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : BinaryInteger}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'BinaryInteger'
3 |
Swift._Pointer.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift._Pointer.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
1 | protocol _Pointer {
2 | @inlinable public static func == <Other>(lhs: Self, rhs: Other) -> Bool where Other : _Pointer}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_Pointer'
3 |
Swift.Strideable.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
1 | protocol Strideable {
2 | @inlinable public static func == (x: Self, y: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'Strideable'
3 |
Swift.StringProtocol.==:2:31: note: candidate would match if 'EventStreamCreateFlags' conformed to 'StringProtocol'
1 | protocol 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 |
Swift.SIMD.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
1 | protocol SIMD {
2 | public static func == (a: Self, b: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'SIMD'
3 |
Foundation.AttributedStringProtocol.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
1 | protocol AttributedStringProtocol {
2 | public static func == <RHS>(lhs: Self, rhs: RHS) -> Bool where RHS : AttributedStringProtocol}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to 'AttributedStringProtocol'
3 |
Foundation._BridgedStoredNSError.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
1 | protocol _BridgedStoredNSError {
2 | public static func == (lhs: Self, rhs: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_BridgedStoredNSError'
3 |
CoreFoundation._CFObject.==:2:20: note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
1 | protocol _CFObject {
2 | public static func == (left: Self, right: Self) -> Bool}
| `- note: candidate would match if 'EventStreamCreateFlags' conformed to '_CFObject'
3 |
Swift.RawRepresentable.RawValue:2:16: note: protocol requires nested type 'RawValue'
1 | protocol RawRepresentable {
2 | associatedtype RawValue}
| `- note: protocol requires nested type 'RawValue'
3 |
Swift.SetAlgebra.init:2:1: note: protocol requires initializer 'init()' with type '()'
1 | protocol SetAlgebra {
2 | init()}
| `- note: protocol requires initializer 'init()' with type '()'
3 |
Swift.SetAlgebra.formUnion:2:15: note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formUnion(_ other: __owned Self)}
| `- note: protocol requires function 'formUnion' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formIntersection:2:15: note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formIntersection(_ other: Self)}
| `- note: protocol requires function 'formIntersection' with type '(EventStreamCreateFlags) -> ()'
3 |
Swift.SetAlgebra.formSymmetricDifference:2:15: note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
1 | protocol SetAlgebra {
2 | mutating func formSymmetricDifference(_ other: __owned Self)}
| `- note: protocol requires function 'formSymmetricDifference' with type '(__owned EventStreamCreateFlags) -> ()'
3 |
Swift.Equatable.==:2:13: note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
1 | protocol Equatable {
2 | static func == (lhs: borrowing Self, rhs: borrowing Self) -> Bool}
| `- note: protocol requires function '==' with type '(borrowing EventStreamCreateFlags, borrowing EventStreamCreateFlags) -> Bool'
3 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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) }
/Users/admin/builder/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 | }
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:38:73: error: no exact matches in call to initializer
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: no exact matches in call to initializer
39 | events.append(event)
40 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/FileEvent.swift:19:5: note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
17 | public let rawValue: FSEventStreamEventFlags
18 | public init(rawValue: FSEventStreamEventFlags) { self.rawValue = rawValue }
19 | init(_ value: Int) { self.rawValue = FSEventStreamEventFlags(value) }
| `- note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
20 |
21 | public static let None = FileEventFlags(kFSEventStreamEventFlagNone)
Swift.SetAlgebra.init:2:19: note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
1 | protocol SetAlgebra {
2 | @inlinable public init<S>(_ sequence: __owned S) where S : Sequence, Self.Element == S.Element}
| `- note: incorrect labels for candidate (have: '(rawValue:)', expected: '(_:)')
3 |
/Users/admin/builder/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 |
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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)
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 | }
/Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift:57:9: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
55 | }
56 |
57 | FSEventStreamScheduleWithRunLoop(stream, CFRunLoopGetCurrent(), CFRunLoopMode.defaultMode.rawValue)
| `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
58 | FSEventStreamStart(stream)
59 | }
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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 |
/Users/admin/builder/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
/Users/admin/builder/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
/Users/admin/builder/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 | }
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Witness/EventStream.swift (in target 'Witness' from project 'Witness')
cd /Users/admin/builder/spi-builder-workspace
builtin-SwiftPerFileCompile EventStream.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 (in target 'Witness' from project 'Witness')
SwiftEmitModule normal arm64 Emitting\ module\ for\ Witness (in target 'Witness' from project 'Witness')
Building project Witness with scheme Witness-Package
(3 failures)
BUILD FAILURE 6.4 tvOS