Build Information
Failed to build AsyncFileMonitor, reference main (ec258d
), with Swift 6.1 for Linux on 6 Sep 2025 09:16:21 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
Build Log
========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/AsyncFileMonitor.git
Reference: main
Initialized empty Git repository in /host/spi-builder-workspace/.git/
hint: Using 'master' as the name for the initial branch. This default branch name
hint: is subject to change. To configure the initial branch name to use in all
hint: of your new repositories, which will suppress this warning, call:
hint:
hint: git config --global init.defaultBranch <name>
hint:
hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
hint: 'development'. The just-created branch can be renamed via this command:
hint:
hint: git branch -m <name>
From https://github.com/CleanCocoa/AsyncFileMonitor
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at ec258da docs: update documentation for multicast approach
Cloned https://github.com/CleanCocoa/AsyncFileMonitor.git
Revision (git rev-parse @):
ec258da8a7a2fcd5d5f8db3a913ca4c1b6dfc79a
SUCCESS checkout https://github.com/CleanCocoa/AsyncFileMonitor.git at main
========================================
Build
========================================
Selected platform: linux
Swift version: 6.1
Building package at path: $PWD
https://github.com/CleanCocoa/AsyncFileMonitor.git
https://github.com/CleanCocoa/AsyncFileMonitor.git
WARNING: environment variable SUPPRESS_SWIFT_6_FLAGS is not set
error: 'spi-builder-workspace': package 'spi-builder-workspace' is using Swift tools version 6.1.0 but the installed version is 6.0.2
error: fatalError
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
Fetching https://github.com/apple/swift-docc-plugin
Fetching https://github.com/apple/swift-collections.git
[1/2094] Fetching swift-docc-plugin
[420/19504] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (1.45s)
Fetched https://github.com/apple/swift-collections.git from cache (1.48s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (2.24s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.27s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3504] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.37s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.16s)
Creating working copy for https://github.com/apple/swift-docc-plugin
Working copy of https://github.com/apple/swift-docc-plugin resolved at 1.4.5
Creating working copy for https://github.com/swiftlang/swift-docc-symbolkit
Working copy of https://github.com/swiftlang/swift-docc-symbolkit resolved at 1.0.0
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.2.1
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/25] Write sources
[12/25] Write swift-version-24593BA9C3E375BF.txt
[14/39] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[15/39] Compiling InternalCollectionsUtilities Debugging.swift
[16/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[17/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[18/40] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[19/40] Compiling InternalCollectionsUtilities Integer rank.swift
[20/40] Emitting module InternalCollectionsUtilities
[21/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[22/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[23/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[24/40] Compiling InternalCollectionsUtilities Descriptions.swift
[25/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[26/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[27/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[28/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/74] Wrapping AST for InternalCollectionsUtilities for debugging
[31/315] Compiling HashTreeCollections _HashNode+Structural merge.swift
[32/315] Compiling HashTreeCollections _HashTreeIterator.swift
[33/317] Compiling HeapModule Heap+Descriptions.swift
[34/317] Compiling HashTreeCollections _HashNode+Storage.swift
[35/317] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[36/317] Compiling HashTreeCollections _HashNode+Structural filter.swift
[37/317] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[38/317] Compiling HeapModule Heap.swift
[39/317] Compiling HeapModule _HeapNode.swift
[40/317] Compiling HeapModule Heap+Invariants.swift
[41/317] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[42/317] Compiling HeapModule Heap+UnsafeHandle.swift
[43/317] Emitting module HeapModule
[44/318] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[45/318] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[46/318] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[47/318] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[49/318] Compiling DequeModule _DequeSlot.swift
[50/318] Compiling DequeModule _UnsafeWrappedBuffer.swift
[51/318] Emitting module BitCollections
[51/325] Wrapping AST for HeapModule for debugging
[53/325] Compiling HashTreeCollections _UnsafePath.swift
[54/325] Compiling HashTreeCollections TreeDictionary+Codable.swift
[55/325] Compiling HashTreeCollections TreeDictionary+Collection.swift
[56/325] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[57/325] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[58/325] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[59/325] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[60/325] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[61/325] Compiling HashTreeCollections TreeDictionary+Values.swift
[62/325] Compiling HashTreeCollections TreeSet+Hashable.swift
[63/325] Compiling HashTreeCollections TreeSet+Sendable.swift
[64/325] Compiling HashTreeCollections TreeSet+Sequence.swift
[65/325] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[66/325] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[67/325] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[68/325] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[69/325] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[70/325] Compiling HashTreeCollections TreeDictionary.swift
[71/325] Compiling HashTreeCollections TreeSet+Codable.swift
[72/325] Compiling HashTreeCollections TreeSet+Collection.swift
[73/325] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[74/325] Compiling HashTreeCollections TreeSet+Debugging.swift
[75/325] Compiling HashTreeCollections TreeSet+Descriptions.swift
[76/325] Compiling HashTreeCollections TreeSet+Equatable.swift
[77/325] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[78/325] Compiling HashTreeCollections TreeSet+Extras.swift
[79/325] Compiling BitCollections BitSet.Index.swift
[80/325] Compiling BitCollections BitSet._UnsafeHandle.swift
[81/332] Compiling HashTreeCollections TreeDictionary+Filter.swift
[82/332] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[83/332] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[84/332] Compiling HashTreeCollections TreeDictionary+Keys.swift
[85/332] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[86/332] Compiling HashTreeCollections TreeDictionary+Merge.swift
[87/332] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[95/332] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[96/332] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[97/332] Compiling HashTreeCollections _HashTreeStatistics.swift
[98/332] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[106/332] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[107/332] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[108/332] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[131/332] Emitting module DequeModule
[138/333] Compiling OrderedCollections OrderedSet+Sendable.swift
[139/333] Compiling OrderedCollections OrderedSet+SubSequence.swift
[140/333] Compiling OrderedCollections OrderedSet+Testing.swift
[141/333] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[142/342] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[143/342] Compiling OrderedCollections OrderedSet.swift
[144/342] Compiling OrderedCollections _UnsafeBitset.swift
[145/342] Compiling HashTreeCollections _HashNodeHeader.swift
[146/342] Compiling HashTreeCollections _HashSlot.swift
[147/342] Compiling HashTreeCollections _HashStack.swift
[148/342] Compiling HashTreeCollections _AncestorHashSlots.swift
[149/342] Compiling HashTreeCollections _Bitmap.swift
[150/342] Compiling HashTreeCollections _Bucket.swift
[150/342] Wrapping AST for DequeModule for debugging
[183/343] Wrapping AST for BitCollections for debugging
[213/343] Emitting module OrderedCollections
[221/344] Wrapping AST for OrderedCollections for debugging
[226/344] Compiling _RopeModule Rope+Join.swift
[227/344] Compiling _RopeModule Rope+MutatingForEach.swift
[228/344] Compiling _RopeModule Rope+Remove.swift
[229/344] Compiling _RopeModule Rope+RemoveSubrange.swift
[230/344] Compiling _RopeModule Rope+Split.swift
[231/344] Compiling _RopeModule Optional Utilities.swift
[232/344] Compiling _RopeModule String Utilities.swift
[233/344] Compiling _RopeModule String.Index+ABI.swift
[234/354] Emitting module _RopeModule
[299/354] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[300/354] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[301/354] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[302/354] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[303/354] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[304/354] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[305/354] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[306/354] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[307/354] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[308/354] Compiling HashTreeCollections TreeSet.swift
[318/354] Emitting module HashTreeCollections
[319/355] Wrapping AST for HashTreeCollections for debugging
[350/356] Wrapping AST for _RopeModule for debugging
[352/358] Emitting module Collections
[353/358] Compiling Collections Collections.swift
[354/359] Wrapping AST for Collections for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[356/365] Emitting module AsyncFileMonitor
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:31:26: error: cannot find type 'FSEventStreamEventFlags' in scope
29 | ///
30 | /// - Parameter eventFlags: The `FSEventStreamEventFlags` to convert.
31 | public init(eventFlags: FSEventStreamEventFlags) {
| `- error: cannot find type 'FSEventStreamEventFlags' in scope
32 | self.rawValue = Int(eventFlags)
33 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:36:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
34 |
35 | /// The changed item is a directory.
36 | public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
37 |
38 | /// The changed item is a file.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:39:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
37 |
38 | /// The changed item is a file.
39 | public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
40 |
41 | /// The changed item is a hard link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:42:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
40 |
41 | /// The changed item is a hard link.
42 | public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:45:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
45 | public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
46 |
47 | /// The changed item is a symbolic link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:48:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
46 |
47 | /// The changed item is a symbolic link.
48 | public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
49 |
50 | /// The item was created.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:51:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
49 |
50 | /// The item was created.
51 | public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
| `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
52 |
53 | /// The item was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:54:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
52 |
53 | /// The item was modified.
54 | public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
| `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
55 |
56 | /// The item was removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:57:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
55 |
56 | /// The item was removed.
57 | public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
| `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
58 |
59 | /// The item was renamed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:60:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
58 |
59 | /// The item was renamed.
60 | public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
| `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
61 |
62 | /// The item's owner was changed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:63:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
61 |
62 | /// The item's owner was changed.
63 | public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
| `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
64 |
65 | /// The item's Finder information was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:66:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
64 |
65 | /// The item's Finder information was modified.
66 | public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
67 |
68 | /// The item's inode metadata was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:69:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
67 |
68 | /// The item's inode metadata was modified.
69 | public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
70 |
71 | /// The item's extended attributes were modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:72:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
70 |
71 | /// The item's extended attributes were modified.
72 | public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
73 | }
74 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:38:40: error: cannot find type 'FSEventStreamCallback' in scope
36 | /// Direct FSEventStream callback that forwards events to the provided handler.
37 | /// This eliminates Swift concurrency Task scheduling and prevents event reordering.
38 | private let directEventStreamCallback: FSEventStreamCallback = {
| `- error: cannot find type 'FSEventStreamCallback' in scope
39 | (stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
40 | guard let contextInfo else { return }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:61:25: error: cannot find type 'FSEventStreamRef' in scope
59 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
60 | final class FileSystemEventStream {
61 | private let streamRef: FSEventStreamRef
| `- error: cannot find type 'FSEventStreamRef' in scope
62 | private let queue: DispatchQueue
63 | private let eventHandlerBox: EventHandlerBox
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:21:17: error: cannot find type 'FSEventStreamEventId' in scope
19 | ///
20 | /// This is an alias for ``eventID`` to satisfy the `Identifiable` protocol.
21 | public var id: FSEventStreamEventId { eventID }
| `- error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:24:22: error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
24 | public let eventID: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
25 |
26 | /// The file system path where the change occurred.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:50:12: error: cannot find type 'FSEventStreamEventId' in scope
48 | /// - change: The ``Change`` flags describing what happened
49 | public init(
50 | eventID: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
51 | eventPath: String,
52 | change: Change
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:58:22: error: cannot find type 'CFTimeInterval' in scope
56 | /// Interval (in seconds) that the system should wait before reporting events,
57 | /// allowing multiple related events to be coalesced. A value of `0.0` means no delay.
58 | public let latency: CFTimeInterval
| `- error: cannot find type 'CFTimeInterval' in scope
59 |
60 | /// The FSEventStreamEventId to start from.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:64:24: error: cannot find type 'FSEventStreamEventId' in scope
62 | /// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
63 | /// to only receive events that occur after monitoring starts.
64 | public let sinceWhen: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
65 |
66 | /// Create a new monitor for the specified paths.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:74:14: error: cannot find type 'FSEventStreamEventId' in scope
72 | public init(
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
75 | latency: CFTimeInterval = 0
76 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:75:12: error: cannot find type 'CFTimeInterval' in scope
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
75 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
76 | ) {
77 | self.paths = paths
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:90:14: error: cannot find type 'FSEventStreamEventId' in scope
88 | public convenience init(
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
91 | latency: CFTimeInterval = 0
92 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:91:12: error: cannot find type 'CFTimeInterval' in scope
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
91 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
92 | ) {
93 | precondition(url.isFileURL)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:184:14: error: cannot find type 'FSEventStreamEventId' in scope
182 | public static func makeStream(
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
185 | latency: CFTimeInterval = 0
186 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:185:12: error: cannot find type 'CFTimeInterval' in scope
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
185 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
186 | ) -> AsyncStream<FolderContentChangeEvent> {
187 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:218:14: error: cannot find type 'FSEventStreamEventId' in scope
216 | public static func makeStream(
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
219 | latency: CFTimeInterval = 0
220 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:219:12: error: cannot find type 'CFTimeInterval' in scope
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
219 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
220 | ) -> AsyncStream<FolderContentChangeEvent> {
221 | let monitor = FolderContentMonitor(
[357/365] Compiling AsyncFileMonitor Change.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:31:26: error: cannot find type 'FSEventStreamEventFlags' in scope
29 | ///
30 | /// - Parameter eventFlags: The `FSEventStreamEventFlags` to convert.
31 | public init(eventFlags: FSEventStreamEventFlags) {
| `- error: cannot find type 'FSEventStreamEventFlags' in scope
32 | self.rawValue = Int(eventFlags)
33 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:36:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
34 |
35 | /// The changed item is a directory.
36 | public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
37 |
38 | /// The changed item is a file.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:39:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
37 |
38 | /// The changed item is a file.
39 | public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
40 |
41 | /// The changed item is a hard link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:42:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
40 |
41 | /// The changed item is a hard link.
42 | public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:45:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
45 | public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
46 |
47 | /// The changed item is a symbolic link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:48:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
46 |
47 | /// The changed item is a symbolic link.
48 | public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
49 |
50 | /// The item was created.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:51:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
49 |
50 | /// The item was created.
51 | public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
| `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
52 |
53 | /// The item was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:54:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
52 |
53 | /// The item was modified.
54 | public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
| `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
55 |
56 | /// The item was removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:57:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
55 |
56 | /// The item was removed.
57 | public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
| `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
58 |
59 | /// The item was renamed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:60:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
58 |
59 | /// The item was renamed.
60 | public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
| `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
61 |
62 | /// The item's owner was changed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:63:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
61 |
62 | /// The item's owner was changed.
63 | public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
| `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
64 |
65 | /// The item's Finder information was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:66:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
64 |
65 | /// The item's Finder information was modified.
66 | public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
67 |
68 | /// The item's inode metadata was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:69:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
67 |
68 | /// The item's inode metadata was modified.
69 | public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
70 |
71 | /// The item's extended attributes were modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:72:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
70 |
71 | /// The item's extended attributes were modified.
72 | public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
73 | }
74 |
[358/365] Compiling AsyncFileMonitor FolderContentChangeEvent.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:21:17: error: cannot find type 'FSEventStreamEventId' in scope
19 | ///
20 | /// This is an alias for ``eventID`` to satisfy the `Identifiable` protocol.
21 | public var id: FSEventStreamEventId { eventID }
| `- error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:24:22: error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
24 | public let eventID: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
25 |
26 | /// The file system path where the change occurred.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:50:12: error: cannot find type 'FSEventStreamEventId' in scope
48 | /// - change: The ``Change`` flags describing what happened
49 | public init(
50 | eventID: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
51 | eventPath: String,
52 | change: Change
[359/365] Compiling AsyncFileMonitor FolderContentMonitor.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:58:22: error: cannot find type 'CFTimeInterval' in scope
56 | /// Interval (in seconds) that the system should wait before reporting events,
57 | /// allowing multiple related events to be coalesced. A value of `0.0` means no delay.
58 | public let latency: CFTimeInterval
| `- error: cannot find type 'CFTimeInterval' in scope
59 |
60 | /// The FSEventStreamEventId to start from.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:64:24: error: cannot find type 'FSEventStreamEventId' in scope
62 | /// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
63 | /// to only receive events that occur after monitoring starts.
64 | public let sinceWhen: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
65 |
66 | /// Create a new monitor for the specified paths.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:74:14: error: cannot find type 'FSEventStreamEventId' in scope
72 | public init(
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
75 | latency: CFTimeInterval = 0
76 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:75:12: error: cannot find type 'CFTimeInterval' in scope
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
75 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
76 | ) {
77 | self.paths = paths
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:90:14: error: cannot find type 'FSEventStreamEventId' in scope
88 | public convenience init(
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
91 | latency: CFTimeInterval = 0
92 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:91:12: error: cannot find type 'CFTimeInterval' in scope
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
91 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
92 | ) {
93 | precondition(url.isFileURL)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:184:14: error: cannot find type 'FSEventStreamEventId' in scope
182 | public static func makeStream(
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
185 | latency: CFTimeInterval = 0
186 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:185:12: error: cannot find type 'CFTimeInterval' in scope
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
185 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
186 | ) -> AsyncStream<FolderContentChangeEvent> {
187 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:218:14: error: cannot find type 'FSEventStreamEventId' in scope
216 | public static func makeStream(
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
219 | latency: CFTimeInterval = 0
220 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:219:12: error: cannot find type 'CFTimeInterval' in scope
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
219 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
220 | ) -> AsyncStream<FolderContentChangeEvent> {
221 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
[360/365] Compiling AsyncFileMonitor MulticastAsyncStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
[361/365] Compiling AsyncFileMonitor FileSystemEventStream.swift
<unknown>:0: warning: upcoming feature 'InferSendableFromCaptures' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'GlobalActorIsolatedTypesUsability' is already enabled as of Swift version 6
<unknown>:0: warning: upcoming feature 'DisableOutwardActorInference' is already enabled as of Swift version 6
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:38:40: error: cannot find type 'FSEventStreamCallback' in scope
36 | /// Direct FSEventStream callback that forwards events to the provided handler.
37 | /// This eliminates Swift concurrency Task scheduling and prevents event reordering.
38 | private let directEventStreamCallback: FSEventStreamCallback = {
| `- error: cannot find type 'FSEventStreamCallback' in scope
39 | (stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
40 | guard let contextInfo else { return }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:61:25: error: cannot find type 'FSEventStreamRef' in scope
59 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
60 | final class FileSystemEventStream {
61 | private let streamRef: FSEventStreamRef
| `- error: cannot find type 'FSEventStreamRef' in scope
62 | private let queue: DispatchQueue
63 | private let eventHandlerBox: EventHandlerBox
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:84:17: error: cannot find 'FSEventStreamContext' in scope
82 | // Create the callback context - pass the event handler box as the context
83 | let contextPointer = Unmanaged.passUnretained(eventHandlerBox).toOpaque()
84 | var context = FSEventStreamContext(
| `- error: cannot find 'FSEventStreamContext' in scope
85 | version: 0,
86 | info: contextPointer,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:87:12: error: 'nil' requires a contextual type
85 | version: 0,
86 | info: contextPointer,
87 | retain: nil,
| `- error: 'nil' requires a contextual type
88 | release: nil,
89 | copyDescription: nil
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:88:13: error: 'nil' requires a contextual type
86 | info: contextPointer,
87 | retain: nil,
88 | release: nil,
| `- error: 'nil' requires a contextual type
89 | copyDescription: nil
90 | )
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:89:21: error: 'nil' requires a contextual type
87 | retain: nil,
88 | release: nil,
89 | copyDescription: nil
| `- error: 'nil' requires a contextual type
90 | )
91 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:92:22: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
90 | )
91 |
92 | let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
| `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
93 |
94 | guard
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:92:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
90 | )
91 |
92 | let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
| `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
93 |
94 | guard
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:95:17: error: cannot find 'FSEventStreamCreate' in scope
93 |
94 | guard
95 | let stream = FSEventStreamCreate(
| `- error: cannot find 'FSEventStreamCreate' in scope
96 | kCFAllocatorDefault,
97 | directEventStreamCallback,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:96:5: error: cannot find 'kCFAllocatorDefault' in scope
94 | guard
95 | let stream = FSEventStreamCreate(
96 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
97 | directEventStreamCallback,
98 | &context,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:99:14: error: cannot find type 'CFArray' in scope
97 | directEventStreamCallback,
98 | &context,
99 | paths as CFArray,
| `- error: cannot find type 'CFArray' in scope
100 | sinceWhen,
101 | latency,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:112:3: error: cannot find 'FSEventStreamSetDispatchQueue' in scope
110 |
111 | // Configure the stream to use our queue and start monitoring
112 | FSEventStreamSetDispatchQueue(streamRef, queue)
| `- error: cannot find 'FSEventStreamSetDispatchQueue' in scope
113 |
114 | guard FSEventStreamStart(streamRef) else {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:114:9: error: cannot find 'FSEventStreamStart' in scope
112 | FSEventStreamSetDispatchQueue(streamRef, queue)
113 |
114 | guard FSEventStreamStart(streamRef) else {
| `- error: cannot find 'FSEventStreamStart' in scope
115 | FSEventStreamRelease(streamRef)
116 | throw FileSystemEventStreamError.startFailed
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:4: error: cannot find 'FSEventStreamRelease' in scope
113 |
114 | guard FSEventStreamStart(streamRef) else {
115 | FSEventStreamRelease(streamRef)
| `- error: cannot find 'FSEventStreamRelease' in scope
116 | throw FileSystemEventStreamError.startFailed
117 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:121:3: error: cannot find 'FSEventStreamStop' in scope
119 |
120 | deinit {
121 | FSEventStreamStop(streamRef)
| `- error: cannot find 'FSEventStreamStop' in scope
122 | FSEventStreamInvalidate(streamRef)
123 | FSEventStreamRelease(streamRef)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:122:3: error: cannot find 'FSEventStreamInvalidate' in scope
120 | deinit {
121 | FSEventStreamStop(streamRef)
122 | FSEventStreamInvalidate(streamRef)
| `- error: cannot find 'FSEventStreamInvalidate' in scope
123 | FSEventStreamRelease(streamRef)
124 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:123:3: error: cannot find 'FSEventStreamRelease' in scope
121 | FSEventStreamStop(streamRef)
122 | FSEventStreamInvalidate(streamRef)
123 | FSEventStreamRelease(streamRef)
| `- error: cannot find 'FSEventStreamRelease' in scope
124 | }
125 | }
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/finestructure/spi-images:basic-6.1-latest swift build --triple x86_64-unknown-linux-gnu 2>&1
basic-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:99ea6d26ace67c023f359493a2ac553a612b92a7f2dee009657225f46f43aa0e
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:basic-6.1-latest
[0/1] Planning build
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/15] Write swift-version-24593BA9C3E375BF.txt
[4/29] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[5/30] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[6/30] Compiling InternalCollectionsUtilities Debugging.swift
[7/30] Compiling InternalCollectionsUtilities Descriptions.swift
[8/30] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[9/30] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[10/30] Emitting module InternalCollectionsUtilities
[11/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[12/30] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[13/30] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[14/30] Compiling InternalCollectionsUtilities Integer rank.swift
[15/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/30] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/30] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/31] Wrapping AST for InternalCollectionsUtilities for debugging
[21/305] Compiling HashTreeCollections _HashNode+Structural filter.swift
[22/305] Compiling HashTreeCollections _HashNode+Structural intersection.swift
[23/305] Compiling HashTreeCollections _HashNode+Storage.swift
[24/305] Compiling HashTreeCollections _HashNode+Structural compactMapValues.swift
[25/307] Compiling HeapModule Heap+Descriptions.swift
[26/307] Compiling HashTreeCollections _Bitmap.swift
[27/307] Compiling HashTreeCollections _Bucket.swift
[28/307] Compiling DequeModule _DequeSlot.swift
[29/307] Compiling DequeModule _UnsafeWrappedBuffer.swift
[30/307] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[31/307] Compiling HeapModule Heap+UnsafeHandle.swift
[32/307] Compiling HeapModule Heap+Invariants.swift
[33/307] Compiling HeapModule Heap.swift
[34/307] Compiling HeapModule _HeapNode.swift
[35/307] Compiling HashTreeCollections _HashNode+Structural isSubset.swift
[36/307] Compiling HashTreeCollections _HashNode+Structural mapValues.swift
[37/307] Compiling HashTreeCollections _HashNode+Structural isDisjoint.swift
[38/307] Compiling HashTreeCollections _HashNode+Structural isEqualSet.swift
[39/307] Emitting module HeapModule
[40/308] Compiling HashTreeCollections _HashNode+Builder.swift
[41/308] Compiling HashTreeCollections _HashNode+Debugging.swift
[42/308] Compiling HashTreeCollections _HashNode+Initializers.swift
[43/308] Compiling HashTreeCollections _HashNode+Invariants.swift
[44/308] Compiling HashTreeCollections _HashNode+Lookups.swift
[45/308] Compiling HashTreeCollections _HashNode+Primitive Insertions.swift
[46/308] Compiling HashTreeCollections _HashNode+Structural subtracting.swift
[47/315] Compiling BitCollections Range+Utilities.swift
[48/315] Compiling BitCollections Slice+Utilities.swift
[49/315] Compiling BitCollections UInt+Tricks.swift
[50/315] Compiling BitCollections _Word.swift
[51/315] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[52/315] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[53/315] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[54/315] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[55/315] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[56/315] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[57/325] Compiling HashTreeCollections TreeDictionary+Collection.swift
[58/325] Compiling HashTreeCollections TreeDictionary+CustomReflectable.swift
[59/325] Compiling HashTreeCollections TreeDictionary+Debugging.swift
[60/325] Compiling HashTreeCollections TreeDictionary+Descriptions.swift
[61/325] Compiling HashTreeCollections TreeDictionary+Equatable.swift
[62/325] Compiling HashTreeCollections TreeDictionary+ExpressibleByDictionaryLiteral.swift
[63/325] Compiling HashTreeCollections TreeDictionary+Filter.swift
[64/325] Compiling HashTreeCollections TreeDictionary+Hashable.swift
[65/325] Compiling HashTreeCollections TreeDictionary+Initializers.swift
[66/325] Compiling HashTreeCollections TreeDictionary+Keys.swift
[67/325] Compiling HashTreeCollections TreeDictionary+MapValues.swift
[68/325] Compiling HashTreeCollections TreeDictionary+Merge.swift
[69/325] Compiling BitCollections BitSet.Index.swift
[70/325] Compiling BitCollections BitSet._UnsafeHandle.swift
[72/332] Emitting module BitCollections
[73/332] Compiling HashTreeCollections _HashNode+Structural merge.swift
[74/332] Compiling HashTreeCollections _AncestorHashSlots.swift
[75/332] Compiling HashTreeCollections _UnsafePath.swift
[76/332] Compiling HashTreeCollections TreeDictionary+Codable.swift
[82/332] Compiling HashTreeCollections _HashSlot.swift
[83/332] Compiling HashTreeCollections _HashStack.swift
[84/332] Compiling HashTreeCollections _HashTreeIterator.swift
[85/332] Compiling HashTreeCollections _HashTreeStatistics.swift
[86/332] Compiling HashTreeCollections _RawHashNode+UnsafeHandle.swift
[87/332] Compiling HashTreeCollections _RawHashNode.swift
[88/332] Compiling HashTreeCollections _UnmanagedHashNode.swift
[106/332] Compiling OrderedCollections OrderedSet+Sendable.swift
[107/332] Compiling HashTreeCollections TreeDictionary.swift
[108/332] Compiling HashTreeCollections TreeSet+Codable.swift
[109/332] Compiling HashTreeCollections TreeSet+Collection.swift
[110/332] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[111/332] Compiling HashTreeCollections TreeSet+Debugging.swift
[112/332] Compiling HashTreeCollections TreeSet+Descriptions.swift
[113/332] Compiling HashTreeCollections TreeSet+Equatable.swift
[114/332] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[115/332] Compiling HashTreeCollections TreeSet+Extras.swift
[116/332] Compiling HashTreeCollections TreeSet+Filter.swift
[125/332] Compiling HashTreeCollections _HashNode+Structural union.swift
[126/332] Compiling HashTreeCollections _HashNode+Subtree Insertions.swift
[127/332] Compiling HashTreeCollections _HashNode+Subtree Modify.swift
[128/332] Compiling HashTreeCollections _HashNode+Subtree Removals.swift
[129/332] Compiling HashTreeCollections _HashNode+UnsafeHandle.swift
[130/332] Compiling HashTreeCollections _HashNode.swift
[131/332] Compiling HashTreeCollections _HashNodeHeader.swift
[148/332] Compiling HashTreeCollections _HashNode+Structural symmetricDifference.swift
[148/332] Wrapping AST for HeapModule for debugging
[150/332] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[151/332] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[152/332] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[153/332] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[154/332] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[155/332] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[156/332] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[157/332] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[158/332] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[159/332] Compiling HashTreeCollections TreeSet.swift
[160/332] Compiling HashTreeCollections _HashNode+Primitive Removals.swift
[161/332] Compiling HashTreeCollections _HashNode+Primitive Replacement.swift
[162/332] Emitting module DequeModule
[220/342] Compiling OrderedCollections OrderedSet+SubSequence.swift
[221/342] Compiling OrderedCollections OrderedSet+Testing.swift
[222/342] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[223/342] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[225/343] Compiling OrderedCollections OrderedSet.swift
[226/343] Compiling OrderedCollections _UnsafeBitset.swift
[242/343] Wrapping AST for DequeModule for debugging
[304/342] Emitting module OrderedCollections
[306/343] Emitting module _RopeModule
[306/343] Wrapping AST for OrderedCollections for debugging
[308/343] Compiling _RopeModule Rope+Join.swift
[309/343] Compiling _RopeModule Rope+MutatingForEach.swift
[310/343] Compiling _RopeModule Rope+Remove.swift
[311/343] Compiling _RopeModule Rope+RemoveSubrange.swift
[312/343] Compiling _RopeModule Rope+Split.swift
[313/343] Compiling _RopeModule Optional Utilities.swift
[314/343] Compiling _RopeModule String Utilities.swift
[315/343] Compiling _RopeModule String.Index+ABI.swift
[316/343] Compiling _RopeModule _CharacterRecognizer.swift
[337/344] Emitting module HashTreeCollections
[338/345] Wrapping AST for _RopeModule for debugging
[339/345] Wrapping AST for HashTreeCollections for debugging
[341/347] Emitting module Collections
[342/347] Compiling Collections Collections.swift
[344/353] Compiling AsyncFileMonitor Change.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:31:26: error: cannot find type 'FSEventStreamEventFlags' in scope
29 | ///
30 | /// - Parameter eventFlags: The `FSEventStreamEventFlags` to convert.
31 | public init(eventFlags: FSEventStreamEventFlags) {
| `- error: cannot find type 'FSEventStreamEventFlags' in scope
32 | self.rawValue = Int(eventFlags)
33 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:36:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
34 |
35 | /// The changed item is a directory.
36 | public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
37 |
38 | /// The changed item is a file.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:39:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
37 |
38 | /// The changed item is a file.
39 | public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
40 |
41 | /// The changed item is a hard link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:42:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
40 |
41 | /// The changed item is a hard link.
42 | public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:45:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
45 | public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
46 |
47 | /// The changed item is a symbolic link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:48:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
46 |
47 | /// The changed item is a symbolic link.
48 | public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
49 |
50 | /// The item was created.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:51:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
49 |
50 | /// The item was created.
51 | public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
| `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
52 |
53 | /// The item was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:54:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
52 |
53 | /// The item was modified.
54 | public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
| `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
55 |
56 | /// The item was removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:57:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
55 |
56 | /// The item was removed.
57 | public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
| `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
58 |
59 | /// The item was renamed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:60:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
58 |
59 | /// The item was renamed.
60 | public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
| `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
61 |
62 | /// The item's owner was changed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:63:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
61 |
62 | /// The item's owner was changed.
63 | public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
| `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
64 |
65 | /// The item's Finder information was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:66:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
64 |
65 | /// The item's Finder information was modified.
66 | public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
67 |
68 | /// The item's inode metadata was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:69:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
67 |
68 | /// The item's inode metadata was modified.
69 | public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
70 |
71 | /// The item's extended attributes were modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:72:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
70 |
71 | /// The item's extended attributes were modified.
72 | public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
73 | }
74 |
[345/353] Compiling AsyncFileMonitor FolderContentChangeEvent.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:21:17: error: cannot find type 'FSEventStreamEventId' in scope
19 | ///
20 | /// This is an alias for ``eventID`` to satisfy the `Identifiable` protocol.
21 | public var id: FSEventStreamEventId { eventID }
| `- error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:24:22: error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
24 | public let eventID: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
25 |
26 | /// The file system path where the change occurred.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:50:12: error: cannot find type 'FSEventStreamEventId' in scope
48 | /// - change: The ``Change`` flags describing what happened
49 | public init(
50 | eventID: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
51 | eventPath: String,
52 | change: Change
[346/353] Compiling AsyncFileMonitor FolderContentMonitor.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:58:22: error: cannot find type 'CFTimeInterval' in scope
56 | /// Interval (in seconds) that the system should wait before reporting events,
57 | /// allowing multiple related events to be coalesced. A value of `0.0` means no delay.
58 | public let latency: CFTimeInterval
| `- error: cannot find type 'CFTimeInterval' in scope
59 |
60 | /// The FSEventStreamEventId to start from.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:64:24: error: cannot find type 'FSEventStreamEventId' in scope
62 | /// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
63 | /// to only receive events that occur after monitoring starts.
64 | public let sinceWhen: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
65 |
66 | /// Create a new monitor for the specified paths.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:74:14: error: cannot find type 'FSEventStreamEventId' in scope
72 | public init(
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
75 | latency: CFTimeInterval = 0
76 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:75:12: error: cannot find type 'CFTimeInterval' in scope
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
75 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
76 | ) {
77 | self.paths = paths
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:90:14: error: cannot find type 'FSEventStreamEventId' in scope
88 | public convenience init(
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
91 | latency: CFTimeInterval = 0
92 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:91:12: error: cannot find type 'CFTimeInterval' in scope
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
91 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
92 | ) {
93 | precondition(url.isFileURL)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:184:14: error: cannot find type 'FSEventStreamEventId' in scope
182 | public static func makeStream(
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
185 | latency: CFTimeInterval = 0
186 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:185:12: error: cannot find type 'CFTimeInterval' in scope
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
185 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
186 | ) -> AsyncStream<FolderContentChangeEvent> {
187 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:218:14: error: cannot find type 'FSEventStreamEventId' in scope
216 | public static func makeStream(
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
219 | latency: CFTimeInterval = 0
220 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:219:12: error: cannot find type 'CFTimeInterval' in scope
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
219 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
220 | ) -> AsyncStream<FolderContentChangeEvent> {
221 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[347/353] Compiling AsyncFileMonitor MulticastAsyncStream.swift
[348/353] Compiling AsyncFileMonitor FileSystemEventStream.swift
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:38:40: error: cannot find type 'FSEventStreamCallback' in scope
36 | /// Direct FSEventStream callback that forwards events to the provided handler.
37 | /// This eliminates Swift concurrency Task scheduling and prevents event reordering.
38 | private let directEventStreamCallback: FSEventStreamCallback = {
| `- error: cannot find type 'FSEventStreamCallback' in scope
39 | (stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
40 | guard let contextInfo else { return }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:61:25: error: cannot find type 'FSEventStreamRef' in scope
59 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
60 | final class FileSystemEventStream {
61 | private let streamRef: FSEventStreamRef
| `- error: cannot find type 'FSEventStreamRef' in scope
62 | private let queue: DispatchQueue
63 | private let eventHandlerBox: EventHandlerBox
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:84:17: error: cannot find 'FSEventStreamContext' in scope
82 | // Create the callback context - pass the event handler box as the context
83 | let contextPointer = Unmanaged.passUnretained(eventHandlerBox).toOpaque()
84 | var context = FSEventStreamContext(
| `- error: cannot find 'FSEventStreamContext' in scope
85 | version: 0,
86 | info: contextPointer,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:87:12: error: 'nil' requires a contextual type
85 | version: 0,
86 | info: contextPointer,
87 | retain: nil,
| `- error: 'nil' requires a contextual type
88 | release: nil,
89 | copyDescription: nil
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:88:13: error: 'nil' requires a contextual type
86 | info: contextPointer,
87 | retain: nil,
88 | release: nil,
| `- error: 'nil' requires a contextual type
89 | copyDescription: nil
90 | )
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:89:21: error: 'nil' requires a contextual type
87 | retain: nil,
88 | release: nil,
89 | copyDescription: nil
| `- error: 'nil' requires a contextual type
90 | )
91 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:92:22: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
90 | )
91 |
92 | let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
| `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
93 |
94 | guard
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:92:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
90 | )
91 |
92 | let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
| `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
93 |
94 | guard
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:95:17: error: cannot find 'FSEventStreamCreate' in scope
93 |
94 | guard
95 | let stream = FSEventStreamCreate(
| `- error: cannot find 'FSEventStreamCreate' in scope
96 | kCFAllocatorDefault,
97 | directEventStreamCallback,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:96:5: error: cannot find 'kCFAllocatorDefault' in scope
94 | guard
95 | let stream = FSEventStreamCreate(
96 | kCFAllocatorDefault,
| `- error: cannot find 'kCFAllocatorDefault' in scope
97 | directEventStreamCallback,
98 | &context,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:99:14: error: cannot find type 'CFArray' in scope
97 | directEventStreamCallback,
98 | &context,
99 | paths as CFArray,
| `- error: cannot find type 'CFArray' in scope
100 | sinceWhen,
101 | latency,
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:112:3: error: cannot find 'FSEventStreamSetDispatchQueue' in scope
110 |
111 | // Configure the stream to use our queue and start monitoring
112 | FSEventStreamSetDispatchQueue(streamRef, queue)
| `- error: cannot find 'FSEventStreamSetDispatchQueue' in scope
113 |
114 | guard FSEventStreamStart(streamRef) else {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:114:9: error: cannot find 'FSEventStreamStart' in scope
112 | FSEventStreamSetDispatchQueue(streamRef, queue)
113 |
114 | guard FSEventStreamStart(streamRef) else {
| `- error: cannot find 'FSEventStreamStart' in scope
115 | FSEventStreamRelease(streamRef)
116 | throw FileSystemEventStreamError.startFailed
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:4: error: cannot find 'FSEventStreamRelease' in scope
113 |
114 | guard FSEventStreamStart(streamRef) else {
115 | FSEventStreamRelease(streamRef)
| `- error: cannot find 'FSEventStreamRelease' in scope
116 | throw FileSystemEventStreamError.startFailed
117 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:121:3: error: cannot find 'FSEventStreamStop' in scope
119 |
120 | deinit {
121 | FSEventStreamStop(streamRef)
| `- error: cannot find 'FSEventStreamStop' in scope
122 | FSEventStreamInvalidate(streamRef)
123 | FSEventStreamRelease(streamRef)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:122:3: error: cannot find 'FSEventStreamInvalidate' in scope
120 | deinit {
121 | FSEventStreamStop(streamRef)
122 | FSEventStreamInvalidate(streamRef)
| `- error: cannot find 'FSEventStreamInvalidate' in scope
123 | FSEventStreamRelease(streamRef)
124 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:123:3: error: cannot find 'FSEventStreamRelease' in scope
121 | FSEventStreamStop(streamRef)
122 | FSEventStreamInvalidate(streamRef)
123 | FSEventStreamRelease(streamRef)
| `- error: cannot find 'FSEventStreamRelease' in scope
124 | }
125 | }
[349/353] Emitting module AsyncFileMonitor
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:31:26: error: cannot find type 'FSEventStreamEventFlags' in scope
29 | ///
30 | /// - Parameter eventFlags: The `FSEventStreamEventFlags` to convert.
31 | public init(eventFlags: FSEventStreamEventFlags) {
| `- error: cannot find type 'FSEventStreamEventFlags' in scope
32 | self.rawValue = Int(eventFlags)
33 | }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:36:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
34 |
35 | /// The changed item is a directory.
36 | public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
37 |
38 | /// The changed item is a file.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:39:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
37 |
38 | /// The changed item is a file.
39 | public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
40 |
41 | /// The changed item is a hard link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:42:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
40 |
41 | /// The changed item is a hard link.
42 | public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:45:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
43 |
44 | /// The changed item is the last hard link to a file that is being removed.
45 | public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
46 |
47 | /// The changed item is a symbolic link.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:48:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
46 |
47 | /// The changed item is a symbolic link.
48 | public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
| `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
49 |
50 | /// The item was created.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:51:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
49 |
50 | /// The item was created.
51 | public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
| `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
52 |
53 | /// The item was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:54:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
52 |
53 | /// The item was modified.
54 | public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
| `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
55 |
56 | /// The item was removed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:57:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
55 |
56 | /// The item was removed.
57 | public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
| `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
58 |
59 | /// The item was renamed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:60:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
58 |
59 | /// The item was renamed.
60 | public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
| `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
61 |
62 | /// The item's owner was changed.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:63:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
61 |
62 | /// The item's owner was changed.
63 | public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
| `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
64 |
65 | /// The item's Finder information was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:66:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
64 |
65 | /// The item's Finder information was modified.
66 | public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
67 |
68 | /// The item's inode metadata was modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:69:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
67 |
68 | /// The item's inode metadata was modified.
69 | public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
70 |
71 | /// The item's extended attributes were modified.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:72:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
70 |
71 | /// The item's extended attributes were modified.
72 | public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
| `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
73 | }
74 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:38:40: error: cannot find type 'FSEventStreamCallback' in scope
36 | /// Direct FSEventStream callback that forwards events to the provided handler.
37 | /// This eliminates Swift concurrency Task scheduling and prevents event reordering.
38 | private let directEventStreamCallback: FSEventStreamCallback = {
| `- error: cannot find type 'FSEventStreamCallback' in scope
39 | (stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
40 | guard let contextInfo else { return }
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:61:25: error: cannot find type 'FSEventStreamRef' in scope
59 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
60 | final class FileSystemEventStream {
61 | private let streamRef: FSEventStreamRef
| `- error: cannot find type 'FSEventStreamRef' in scope
62 | private let queue: DispatchQueue
63 | private let eventHandlerBox: EventHandlerBox
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:75:14: error: cannot find type 'FSEventStreamEventId' in scope
73 | init(
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
76 | latency: CFTimeInterval,
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:76:12: error: cannot find type 'CFTimeInterval' in scope
74 | paths: [String],
75 | sinceWhen: FSEventStreamEventId,
76 | latency: CFTimeInterval,
| `- error: cannot find type 'CFTimeInterval' in scope
77 | eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
78 | ) throws {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:21:17: error: cannot find type 'FSEventStreamEventId' in scope
19 | ///
20 | /// This is an alias for ``eventID`` to satisfy the `Identifiable` protocol.
21 | public var id: FSEventStreamEventId { eventID }
| `- error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:24:22: error: cannot find type 'FSEventStreamEventId' in scope
22 |
23 | /// The unique event identifier assigned by Core Services.
24 | public let eventID: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
25 |
26 | /// The file system path where the change occurred.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:50:12: error: cannot find type 'FSEventStreamEventId' in scope
48 | /// - change: The ``Change`` flags describing what happened
49 | public init(
50 | eventID: FSEventStreamEventId,
| `- error: cannot find type 'FSEventStreamEventId' in scope
51 | eventPath: String,
52 | change: Change
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:58:22: error: cannot find type 'CFTimeInterval' in scope
56 | /// Interval (in seconds) that the system should wait before reporting events,
57 | /// allowing multiple related events to be coalesced. A value of `0.0` means no delay.
58 | public let latency: CFTimeInterval
| `- error: cannot find type 'CFTimeInterval' in scope
59 |
60 | /// The FSEventStreamEventId to start from.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:64:24: error: cannot find type 'FSEventStreamEventId' in scope
62 | /// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
63 | /// to only receive events that occur after monitoring starts.
64 | public let sinceWhen: FSEventStreamEventId
| `- error: cannot find type 'FSEventStreamEventId' in scope
65 |
66 | /// Create a new monitor for the specified paths.
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:74:14: error: cannot find type 'FSEventStreamEventId' in scope
72 | public init(
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
75 | latency: CFTimeInterval = 0
76 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:75:12: error: cannot find type 'CFTimeInterval' in scope
73 | paths: [String],
74 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
75 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
76 | ) {
77 | self.paths = paths
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:90:14: error: cannot find type 'FSEventStreamEventId' in scope
88 | public convenience init(
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
91 | latency: CFTimeInterval = 0
92 | ) {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:91:12: error: cannot find type 'CFTimeInterval' in scope
89 | url: URL,
90 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
91 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
92 | ) {
93 | precondition(url.isFileURL)
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:184:14: error: cannot find type 'FSEventStreamEventId' in scope
182 | public static func makeStream(
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
185 | latency: CFTimeInterval = 0
186 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:185:12: error: cannot find type 'CFTimeInterval' in scope
183 | url: URL,
184 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
185 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
186 | ) -> AsyncStream<FolderContentChangeEvent> {
187 | let monitor = FolderContentMonitor(
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:218:14: error: cannot find type 'FSEventStreamEventId' in scope
216 | public static func makeStream(
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
| `- error: cannot find type 'FSEventStreamEventId' in scope
219 | latency: CFTimeInterval = 0
220 | ) -> AsyncStream<FolderContentChangeEvent> {
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:219:12: error: cannot find type 'CFTimeInterval' in scope
217 | paths: [String],
218 | sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
219 | latency: CFTimeInterval = 0
| `- error: cannot find type 'CFTimeInterval' in scope
220 | ) -> AsyncStream<FolderContentChangeEvent> {
221 | let monitor = FolderContentMonitor(
BUILD FAILURE 6.1 linux