The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncFileMonitor, reference 1.0.0 (df573c), with Swift 6.1 for Wasm on 5 Sep 2025 08:57:00 UTC.

Build Command

bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CleanCocoa/AsyncFileMonitor.git
Reference: 1.0.0
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
 * tag               1.0.0      -> FETCH_HEAD
HEAD is now at df573cb chore: update docs and references
Cloned https://github.com/CleanCocoa/AsyncFileMonitor.git
Revision (git rev-parse @):
df573cba62a5845a1a98d96bef7a22b5ccb9557b
SUCCESS checkout https://github.com/CleanCocoa/AsyncFileMonitor.git at 1.0.0
========================================
Build
========================================
Selected platform:         wasm
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-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi -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
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-6.1-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2094] Fetching swift-docc-plugin
[462/19488] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (0.80s)
[2088/17394] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (2.34s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.2.1 (3.42s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.5 (2.31s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3503] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.56s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.80s)
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] Emitting module InternalCollectionsUtilities
[15/39] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[16/39] Compiling InternalCollectionsUtilities Integer rank.swift
[17/40] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[18/40] Compiling InternalCollectionsUtilities UInt+reversed.swift
[19/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[20/40] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[21/40] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[22/40] Compiling InternalCollectionsUtilities _SortedCollection.swift
[23/40] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[24/40] Compiling InternalCollectionsUtilities Debugging.swift
[25/40] Compiling InternalCollectionsUtilities Descriptions.swift
[26/40] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[27/40] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[28/40] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[29/41] Wrapping AST for InternalCollectionsUtilities for debugging
[31/315] Compiling BitCollections BitArray+BitwiseOperations.swift
[32/315] Compiling BitCollections BitArray+ChunkedBitsIterators.swift
[33/317] Compiling HeapModule Heap+Descriptions.swift
[34/317] Compiling BitCollections BitArray+ExpressibleByArrayLiteral.swift
[35/317] Compiling BitCollections BitArray+ExpressibleByStringLiteral.swift
[36/317] Compiling HeapModule Heap.swift
[37/317] Compiling HeapModule _HeapNode.swift
[38/317] Compiling HeapModule Heap+Invariants.swift
[39/317] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[40/317] Compiling HeapModule Heap+UnsafeHandle.swift
[41/317] Emitting module HeapModule
[42/318] Compiling BitCollections BitSet+CustomDebugStringConvertible.swift
[43/318] Compiling BitCollections BitSet+CustomReflectable.swift
[44/318] Compiling BitCollections BitSet+CustomStringConvertible.swift
[45/318] Compiling BitCollections BitSet+Equatable.swift
[46/318] Compiling BitCollections BitSet+ExpressibleByArrayLiteral.swift
[47/318] Compiling BitCollections BitSet+Extras.swift
[48/318] Compiling BitCollections BitSet+Hashable.swift
[50/325] Compiling HashTreeCollections TreeSet+Hashable.swift
[51/325] Compiling HashTreeCollections TreeSet+Sendable.swift
[52/325] Compiling HashTreeCollections TreeSet+Sequence.swift
[53/325] Compiling HashTreeCollections TreeSet+SetAlgebra Initializers.swift
[54/325] Compiling HashTreeCollections TreeSet+SetAlgebra basics.swift
[55/325] Compiling HashTreeCollections TreeSet+SetAlgebra formIntersection.swift
[56/325] Compiling HashTreeCollections TreeSet+SetAlgebra formSymmetricDifference.swift
[57/325] Compiling HashTreeCollections TreeSet+SetAlgebra formUnion.swift
[58/325] Compiling HashTreeCollections TreeSet+SetAlgebra intersection.swift
[59/325] Compiling HashTreeCollections TreeSet+SetAlgebra isDisjoint.swift
[60/335] Compiling BitCollections BitSet+Random.swift
[61/335] Compiling BitCollections BitSet+SetAlgebra basics.swift
[62/335] Compiling BitCollections BitSet+SetAlgebra conformance.swift
[63/335] Compiling BitCollections BitSet+SetAlgebra formIntersection.swift
[64/335] Compiling BitCollections BitSet+SetAlgebra formSymmetricDifference.swift
[65/335] Compiling BitCollections BitSet.Index.swift
[66/335] Compiling BitCollections BitSet._UnsafeHandle.swift
[67/342] Compiling DequeModule _DequeSlot.swift
[68/342] Compiling DequeModule _UnsafeWrappedBuffer.swift
[75/342] Compiling BitCollections BitSet+SetAlgebra formUnion.swift
[75/342] Wrapping AST for HeapModule for debugging
[77/342] Compiling BitCollections BitArray+Hashable.swift
[78/342] Compiling BitCollections BitArray+Initializers.swift
[79/342] Compiling BitCollections BitArray+Descriptions.swift
[80/342] Compiling BitCollections BitArray+Equatable.swift
[81/342] Compiling BitCollections BitArray+Copy.swift
[82/342] Compiling BitCollections BitArray+CustomReflectable.swift
[83/342] Compiling BitCollections BitArray+Extras.swift
[84/342] Compiling BitCollections BitArray+Fill.swift
[85/342] Emitting module BitCollections
[86/342] Compiling OrderedCollections OrderedSet+Sendable.swift
[87/342] Compiling OrderedCollections OrderedSet+SubSequence.swift
[88/342] Compiling OrderedCollections OrderedSet+Testing.swift
[89/342] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[90/342] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[91/342] Compiling OrderedCollections OrderedSet.swift
[92/342] Compiling OrderedCollections _UnsafeBitset.swift
[93/342] Compiling HashTreeCollections TreeDictionary+Merge.swift
[94/342] Compiling HashTreeCollections TreeDictionary+Sendable.swift
[95/342] Compiling HashTreeCollections TreeDictionary+Sequence.swift
[96/342] Compiling HashTreeCollections TreeDictionary+Values.swift
[97/342] Emitting module DequeModule
[98/342] Compiling BitCollections BitArray+Codable.swift
[99/342] Compiling BitCollections BitArray+Collection.swift
[101/343] Compiling BitCollections BitSet+SetAlgebra intersection.swift
[102/343] Compiling BitCollections BitSet+SetAlgebra isDisjoint.swift
[103/343] Compiling BitCollections BitSet+SetAlgebra isEqualSet.swift
[104/343] Compiling BitCollections BitSet+SetAlgebra isStrictSubset.swift
[105/343] Compiling BitCollections BitSet+SetAlgebra isStrictSuperset.swift
[106/343] Compiling BitCollections BitSet+SetAlgebra isSubset.swift
[107/343] Compiling BitCollections BitSet+Initializers.swift
[108/343] Compiling BitCollections BitSet+Invariants.swift
[114/343] Compiling BitCollections BitSet+SetAlgebra isSuperset.swift
[115/343] Compiling BitCollections BitSet+SetAlgebra subtract.swift
[116/343] Compiling BitCollections BitSet+SetAlgebra subtracting.swift
[117/343] Compiling BitCollections BitSet+SetAlgebra symmetricDifference.swift
[118/343] Compiling BitCollections BitSet+SetAlgebra union.swift
[119/343] Compiling BitCollections BitSet+Sorted Collection APIs.swift
[120/343] Compiling BitCollections BitSet.Counted.swift
[145/343] Compiling BitCollections BitArray+RandomBits.swift
[146/343] Compiling BitCollections BitArray+RangeReplaceableCollection.swift
[147/343] Compiling BitCollections BitArray+Shifts.swift
[148/343] Compiling BitCollections BitArray+Testing.swift
[149/343] Compiling BitCollections BitArray._UnsafeHandle.swift
[150/343] Compiling BitCollections BitArray.swift
[151/343] Compiling BitCollections BitSet+BidirectionalCollection.swift
[152/343] Compiling BitCollections BitSet+Codable.swift
[153/343] Wrapping AST for DequeModule for debugging
[162/343] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[163/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[164/343] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[165/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[166/343] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[167/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[168/343] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[169/343] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[170/343] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[171/343] Compiling HashTreeCollections TreeSet.swift
[196/344] Emitting module OrderedCollections
[272/354] Wrapping AST for BitCollections for debugging
[275/354] Emitting module _RopeModule
[275/354] Wrapping AST for OrderedCollections for debugging
[299/354] Emitting module HashTreeCollections
[301/355] Compiling _RopeModule Rope+Join.swift
[302/355] Compiling _RopeModule Rope+MutatingForEach.swift
[303/355] Compiling _RopeModule Rope+Remove.swift
[304/355] Compiling _RopeModule Rope+RemoveSubrange.swift
[305/355] Compiling _RopeModule Rope+Split.swift
[306/355] Compiling _RopeModule Optional Utilities.swift
[307/355] Compiling _RopeModule String Utilities.swift
[308/355] Compiling _RopeModule String.Index+ABI.swift
[309/355] Compiling _RopeModule _CharacterRecognizer.swift
[309/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
[356/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 {
[357/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
[358/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:62:21: error: cannot find type 'DispatchQueue' in scope
 60 | final class FileSystemEventStream {
 61 | 	private let streamRef: FSEventStreamRef
 62 | 	private let queue: DispatchQueue
    |                     `- error: cannot find type 'DispatchQueue' in scope
 63 | 	private let eventHandlerBox: EventHandlerBox
 64 |
/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:79:16: error: cannot find 'DispatchQueue' in scope
 77 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
 78 | 	) throws {
 79 | 		self.queue = DispatchQueue(label: "FileSystemEventStream", qos: .userInteractive)
    |                `- error: cannot find 'DispatchQueue' in scope
 80 | 		self.eventHandlerBox = EventHandlerBox(handler: eventHandler)
 81 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:79:68: error: cannot infer contextual base in reference to member 'userInteractive'
 77 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
 78 | 	) throws {
 79 | 		self.queue = DispatchQueue(label: "FileSystemEventStream", qos: .userInteractive)
    |                                                                    `- error: cannot infer contextual base in reference to member 'userInteractive'
 80 | 		self.eventHandlerBox = EventHandlerBox(handler: eventHandler)
 81 |
/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 | }
error: emit-module command failed with exit code 1 (use -v to see invocation)
[359/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
[360/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:62:21: error: cannot find type 'DispatchQueue' in scope
 60 | final class FileSystemEventStream {
 61 | 	private let streamRef: FSEventStreamRef
 62 | 	private let queue: DispatchQueue
    |                     `- error: cannot find type 'DispatchQueue' in scope
 63 | 	private let eventHandlerBox: EventHandlerBox
 64 |
/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(
[361/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 |
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4606859-0":/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:wasm-6.1-latest swift build --swift-sdk wasm32-unknown-wasi 2>&1
wasm-6.1-latest: Pulling from finestructure/spi-images
Digest: sha256:eb0758f51dbd6991fb9e51dedbfbcbec142ffc0d3b9b8ad91fa19d35e5136f0a
Status: Image is up to date for registry.gitlab.com/finestructure/spi-images:wasm-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 UInt+first and last set bit.swift
[14/30] Compiling InternalCollectionsUtilities UInt+reversed.swift
[15/30] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[16/30] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/30] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[18/30] Compiling InternalCollectionsUtilities Integer rank.swift
[19/31] Wrapping AST for InternalCollectionsUtilities for debugging
[21/221] Compiling HeapModule Heap+Invariants.swift
[22/236] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[23/305] Compiling HeapModule Heap+Descriptions.swift
[24/305] Compiling _RopeModule BigString+Append.swift
[25/305] Compiling _RopeModule BigString+Initializers.swift
[26/305] Compiling _RopeModule BigString+RemoveSubrange.swift
[27/305] Compiling _RopeModule BigString+ReplaceSubrange.swift
[28/307] Compiling _RopeModule BigString+Debugging.swift
[29/307] Compiling _RopeModule BigString+Index.swift
[30/307] Compiling HeapModule _HeapNode.swift
[31/307] Compiling HeapModule Heap.swift
[32/307] Compiling HeapModule Heap+UnsafeHandle.swift
[33/307] Compiling _RopeModule BigString+Split.swift
[34/307] Compiling _RopeModule Range+BigString.swift
[35/307] Compiling _RopeModule BigString+UTF16View.swift
[36/307] Compiling _RopeModule BigString+UTF8View.swift
[37/307] Emitting module HeapModule
[39/308] Compiling _RopeModule Rope+Invariants.swift
[40/308] Compiling _RopeModule Rope+_Node.swift
[41/308] Compiling _RopeModule Rope+_Storage.swift
[42/308] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[43/308] Compiling _RopeModule Rope+_UnsafeHandle.swift
[44/308] Compiling _RopeModule Rope.swift
[45/308] Compiling _RopeModule RopeElement.swift
[46/308] Compiling _RopeModule BigString+CustomStringConvertible.swift
[47/308] Compiling _RopeModule BigString+Equatable.swift
[48/308] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[49/308] Compiling _RopeModule BigString+Hashing.swift
[50/308] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[51/308] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[52/308] Compiling _RopeModule BigString+Sequence.swift
[53/315] Compiling DequeModule _DequeSlot.swift
[54/315] Compiling DequeModule _UnsafeWrappedBuffer.swift
[55/315] Emitting module BitCollections
[56/322] Compiling BitCollections Range+Utilities.swift
[57/322] Compiling BitCollections Slice+Utilities.swift
[58/322] Compiling BitCollections UInt+Tricks.swift
[59/322] Compiling BitCollections _Word.swift
[60/322] Compiling OrderedCollections OrderedSet.swift
[61/322] Compiling OrderedCollections _UnsafeBitset.swift
[62/322] Compiling _RopeModule Rope+Sequence.swift
[63/322] Compiling _RopeModule Rope+Append.swift
[64/322] Compiling _RopeModule Rope+Extract.swift
[65/322] Compiling _RopeModule Rope+Find.swift
[65/332] Wrapping AST for HeapModule for debugging
[68/332] Compiling _RopeModule BigString+TextOutputStream.swift
[69/332] Compiling _RopeModule BigString+UnicodeScalarView.swift
[70/332] Compiling _RopeModule BigSubstring+UTF16View.swift
[71/332] Compiling _RopeModule BigSubstring+UTF8View.swift
[72/332] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[73/332] Compiling _RopeModule BigSubstring.swift
[74/332] Compiling _RopeModule BigString+Builder.swift
[75/332] Compiling _RopeModule BigString+Contents.swift
[76/332] Compiling _RopeModule BigString+Insert.swift
[77/332] Compiling _RopeModule BigString+Managing Breaks.swift
[78/332] Compiling _RopeModule Rope+ForEachWhile.swift
[79/332] Compiling _RopeModule Rope+Insert.swift
[80/332] Compiling HashTreeCollections TreeSet+Collection.swift
[81/332] Compiling HashTreeCollections TreeSet+CustomReflectable.swift
[82/332] Compiling HashTreeCollections TreeSet+Debugging.swift
[83/332] Compiling HashTreeCollections TreeSet+Descriptions.swift
[84/332] Compiling HashTreeCollections TreeSet+Equatable.swift
[85/332] Compiling HashTreeCollections TreeSet+ExpressibleByArrayLiteral.swift
[86/332] Compiling HashTreeCollections TreeSet+Extras.swift
[87/332] Compiling HashTreeCollections TreeSet+Filter.swift
[88/332] Compiling _RopeModule Rope+Builder.swift
[89/332] Compiling _RopeModule Rope+Debugging.swift
[95/332] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[102/332] Compiling _RopeModule BigString+Chunk+Indexing by Characters.swift
[103/332] Compiling _RopeModule BigString+Chunk+Indexing by UTF16.swift
[104/332] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[105/332] Compiling _RopeModule BigString+Chunk+Splitting.swift
[106/332] Compiling _RopeModule BigString+Chunk.swift
[107/332] Compiling _RopeModule BigString+BidirectionalCollection.swift
[108/332] Compiling _RopeModule BigString+Comparable.swift
[126/332] Compiling _RopeModule BigString+Iterators.swift
[127/332] Compiling _RopeModule BigString+Metrics.swift
[128/332] Compiling _RopeModule BigString+Summary.swift
[129/332] Compiling _RopeModule BigString.swift
[130/332] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[131/332] Compiling _RopeModule BigString+Chunk+Breaks.swift
[132/332] Compiling _RopeModule BigString+Chunk+Counts.swift
[133/332] Compiling _RopeModule BigString+Chunk+Description.swift
[142/332] Compiling BitCollections BitSet.Index.swift
[143/332] Compiling BitCollections BitSet._UnsafeHandle.swift
[144/332] Compiling BitCollections BitSet.swift
[145/332] Emitting module DequeModule
[146/333] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[147/333] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[148/333] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[149/333] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[150/333] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[151/333] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[152/333] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[153/333] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[154/333] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[155/333] Compiling HashTreeCollections TreeSet.swift
[156/333] Wrapping AST for DequeModule for debugging
[241/342] Emitting module OrderedCollections
[254/343] Emitting module _RopeModule
[255/343] Emitting module HashTreeCollections
[298/344] Wrapping AST for OrderedCollections for debugging
[299/344] Wrapping AST for HashTreeCollections for debugging
[301/344] Compiling _RopeModule Rope+Join.swift
[302/344] Compiling _RopeModule Rope+MutatingForEach.swift
[303/344] Compiling _RopeModule Rope+Remove.swift
[304/344] Compiling _RopeModule Rope+RemoveSubrange.swift
[305/344] Compiling _RopeModule Rope+Split.swift
[306/344] Compiling _RopeModule Optional Utilities.swift
[307/344] Compiling _RopeModule String Utilities.swift
[308/344] Compiling _RopeModule String.Index+ABI.swift
[309/344] Compiling _RopeModule _CharacterRecognizer.swift
[339/347] Wrapping AST for _RopeModule for debugging
[341/347] Emitting module Collections
[342/347] Compiling Collections Collections.swift
[344/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:62:21: error: cannot find type 'DispatchQueue' in scope
 60 | final class FileSystemEventStream {
 61 | 	private let streamRef: FSEventStreamRef
 62 | 	private let queue: DispatchQueue
    |                     `- error: cannot find type 'DispatchQueue' in scope
 63 | 	private let eventHandlerBox: EventHandlerBox
 64 |
/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:79:16: error: cannot find 'DispatchQueue' in scope
 77 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
 78 | 	) throws {
 79 | 		self.queue = DispatchQueue(label: "FileSystemEventStream", qos: .userInteractive)
    |                `- error: cannot find 'DispatchQueue' in scope
 80 | 		self.eventHandlerBox = EventHandlerBox(handler: eventHandler)
 81 |
/host/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:79:68: error: cannot infer contextual base in reference to member 'userInteractive'
 77 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
 78 | 	) throws {
 79 | 		self.queue = DispatchQueue(label: "FileSystemEventStream", qos: .userInteractive)
    |                                                                    `- error: cannot infer contextual base in reference to member 'userInteractive'
 80 | 		self.eventHandlerBox = EventHandlerBox(handler: eventHandler)
 81 |
/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 | }
[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
error: emit-module command failed with exit code 1 (use -v to see invocation)
[346/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:62:21: error: cannot find type 'DispatchQueue' in scope
 60 | final class FileSystemEventStream {
 61 | 	private let streamRef: FSEventStreamRef
 62 | 	private let queue: DispatchQueue
    |                     `- error: cannot find type 'DispatchQueue' in scope
 63 | 	private let eventHandlerBox: EventHandlerBox
 64 |
/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(
[347/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 |
[348/353] Compiling AsyncFileMonitor MulticastAsyncStream.swift
[349/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 {
BUILD FAILURE 6.1 wasm