Build Information
Failed to build AsyncFileMonitor, reference 1.0.0 (df573c), with Swift 6.3 for Wasm on 16 Apr 2026 22:06:48 UTC.
Build Command
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1Build Log
========================================
RunAll
========================================
Builder version: 4.70.0
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.3
Building package at path: $PWD
https://github.com/CleanCocoa/AsyncFileMonitor.git
Running build ...
bash -c docker run --pull=always --rm -v "checkouts-4609320-2":/host -w "$PWD" -e JAVA_HOME="/root/.sdkman/candidates/java/current" -e SPI_BUILD="1" -e SPI_PROCESSING="1" registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest swift build --swift-sdk swift-6.3-RELEASE_wasm 2>&1
wasm-6.3-latest: Pulling from swiftpackageindex/spi-images
Digest: sha256:d69f4e7582c319245442d62a08b2d7c7fd5a0c0c69f5d2ef11d1530cd8d3329b
Status: Image is up to date for registry.gitlab.com/swiftpackageindex/spi-images:wasm-6.3-latest
Fetching https://github.com/apple/swift-collections.git
Fetching https://github.com/apple/swift-docc-plugin
[1/2277] Fetching swift-docc-plugin
[229/25829] Fetching swift-docc-plugin, swift-collections
Fetched https://github.com/apple/swift-docc-plugin from cache (0.51s)
[2827/23552] Fetching swift-collections
Fetched https://github.com/apple/swift-collections.git from cache (1.50s)
Computing version for https://github.com/apple/swift-docc-plugin
Computed https://github.com/apple/swift-docc-plugin at 1.4.6 (5.55s)
Fetching https://github.com/swiftlang/swift-docc-symbolkit
[1/3672] Fetching swift-docc-symbolkit
Fetched https://github.com/swiftlang/swift-docc-symbolkit from cache (0.47s)
Computing version for https://github.com/swiftlang/swift-docc-symbolkit
Computed https://github.com/swiftlang/swift-docc-symbolkit at 1.0.0 (1.71s)
Computing version for https://github.com/apple/swift-collections.git
Computed https://github.com/apple/swift-collections.git at 1.4.1 (0.74s)
Creating working copy for https://github.com/apple/swift-collections.git
Working copy of https://github.com/apple/swift-collections.git resolved at 1.4.1
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.6
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
[1/1] Compiling plugin Swift-DocC Preview
[2/2] Compiling plugin Swift-DocC
Building for debugging...
[2/27] Write sources
[13/27] Write swift-version-24593BA9C3E375BF.txt
[15/45] Emitting module InternalCollectionsUtilities
[16/47] Compiling InternalCollectionsUtilities _SortedCollection.swift
[17/47] Compiling InternalCollectionsUtilities _UniqueCollection.swift
[18/47] Compiling InternalCollectionsUtilities LifetimeOverride.swift
[19/47] Compiling InternalCollectionsUtilities RandomAccessCollection+Offsets.swift
[20/47] Compiling InternalCollectionsUtilities Span+Extras.swift
[21/47] Compiling InternalCollectionsUtilities UnsafeMutableRawBufferPointer+Extras.swift
[22/47] Compiling InternalCollectionsUtilities UnsafeRawBufferPointer+Extras.swift
[23/47] Compiling InternalCollectionsUtilities Integer rank.swift
[24/47] Compiling InternalCollectionsUtilities UInt+first and last set bit.swift
[25/47] Compiling InternalCollectionsUtilities UInt+reversed.swift
[26/47] Compiling InternalCollectionsUtilities UnsafeBufferPointer+Extras.swift
[27/47] Compiling InternalCollectionsUtilities UnsafeMutableBufferPointer+Extras.swift
[28/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+_Word.swift
[29/47] Compiling InternalCollectionsUtilities _UnsafeBitSet.swift
[30/47] Compiling InternalCollectionsUtilities Debugging.swift
[31/47] Compiling InternalCollectionsUtilities Descriptions.swift
[32/47] Compiling InternalCollectionsUtilities FixedWidthInteger+roundUpToPowerOfTwo.swift
[33/47] Compiling InternalCollectionsUtilities String+Padding.swift
[34/47] Compiling InternalCollectionsUtilities _UnsafeBitSet+Index.swift
[35/48] Wrapping AST for InternalCollectionsUtilities for debugging
[37/105] Compiling HeapModule Heap+Invariants.swift
[38/131] Compiling HeapModule Heap+ExpressibleByArrayLiteral.swift
[39/272] Compiling _RopeModule BigString+Chunk+RopeElement.swift
[40/272] Compiling _RopeModule BigString+Chunk+Splitting.swift
[41/272] Compiling _RopeModule BigString+Chunk+UTF16.swift
[42/272] Compiling _RopeModule BigString+Chunk+UTF8.swift
[43/272] Compiling _RopeModule BigString+Chunk+UnicodeScalar.swift
[44/281] Compiling _RopeModule BigString+UTF16View.swift
[45/281] Compiling _RopeModule BigString+UTF8View.swift
[46/281] Compiling _RopeModule BigString+UnicodeScalarView.swift
[47/281] Compiling _RopeModule BigSubstring+UTF16View.swift
[48/294] Compiling _RopeModule Rope+Debugging.swift
[49/294] Compiling _RopeModule Rope+Invariants.swift
[50/294] Compiling _RopeModule BigString+Sequence.swift
[51/294] Compiling _RopeModule BigString+TextOutputStream.swift
[52/296] Compiling _RopeModule BigSubstring+UTF8View.swift
[53/296] Compiling _RopeModule BigSubstring+UnicodeScalarView.swift
[54/296] Compiling _RopeModule BigSubstring.swift
[55/296] Compiling _RopeModule Rope+Builder.swift
[56/347] Compiling _RopeModule BigString+Equatable.swift
[57/347] Compiling _RopeModule BigString+ExpressibleByStringLiteral.swift
[58/347] Compiling _RopeModule BigString+Hashing.swift
[59/347] Compiling _RopeModule BigString+LosslessStringConvertible.swift
[60/347] Compiling _RopeModule BigString+RangeReplaceableCollection.swift
[61/347] Compiling _RopeModule BigString+Chunk+Breaks.swift
[62/347] Compiling _RopeModule BigString+Chunk+Character.swift
[63/347] Compiling _RopeModule BigString+Chunk+Counts.swift
[64/347] Compiling _RopeModule BigString+Chunk+Description.swift
[65/347] Compiling _RopeModule BigString+Chunk+Index.swift
[66/347] Emitting module ContainersPreview
[67/347] Compiling ContainersPreview Box.swift
[68/347] Compiling ContainersPreview Inout.swift
[69/347] Compiling ContainersPreview InputSpan.swift
[70/347] Compiling _RopeModule BigString+Managing Breaks.swift
[71/347] Compiling HeapModule _HeapNode.swift
[72/347] Compiling HeapModule Heap.swift
[73/347] Compiling _RopeModule BigString+Chunk.swift
[74/347] Compiling _RopeModule BigString+BidirectionalCollection.swift
[75/347] Compiling _RopeModule BigString+Comparable.swift
[76/347] Compiling _RopeModule BigString+CustomDebugStringConvertible.swift
[77/347] Compiling _RopeModule BigString+CustomStringConvertible.swift
[79/348] Compiling HeapModule Heap+UnsafeHandle.swift
[80/348] Compiling HeapModule Heap+Descriptions.swift
[81/348] Emitting module HeapModule
[89/350] Wrapping AST for ContainersPreview for debugging
[91/396] Wrapping AST for HeapModule for debugging
[93/396] Compiling BitCollections BitSet.swift
[94/396] Compiling BitCollections Range+Utilities.swift
[95/396] Compiling BitCollections Slice+Utilities.swift
[96/396] Compiling BitCollections UInt+Tricks.swift
[97/396] Compiling BitCollections _Word.swift
[98/396] Compiling _RopeModule _RopeVersion.swift
[99/396] Compiling _RopeModule Rope+Collection.swift
[100/396] Compiling _RopeModule Rope+Index.swift
[101/396] Compiling _RopeModule Rope+Sequence.swift
[102/396] Compiling _RopeModule Rope+Append.swift
[103/406] Compiling DequeModule Deque+Equatable.swift
[104/406] Compiling DequeModule Deque+ExpressibleByArrayLiteral.swift
[105/406] Compiling DequeModule UniqueDeque+Consumption.swift
[106/406] Compiling DequeModule UniqueDeque+Container.swift
[107/406] Compiling DequeModule UniqueDeque+Descriptions.swift
[108/406] Compiling DequeModule UniqueDeque+Equatable.swift
[109/406] Compiling DequeModule UniqueDeque+Experimental.swift
[110/406] Compiling DequeModule RigidDeque+Hashable.swift
[111/406] Compiling DequeModule RigidDeque+Initializers.swift
[112/406] Compiling DequeModule RigidDeque+Insertions.swift
[113/406] Compiling DequeModule RigidDeque+Prepend.swift
[114/406] Compiling DequeModule Deque+Codable.swift
[115/406] Compiling DequeModule Deque+Collection.swift
[116/406] Compiling DequeModule Deque+CustomReflectable.swift
[117/406] Compiling DequeModule Deque+Descriptions.swift
[118/406] Emitting module BitCollections
[119/406] Compiling DequeModule _DequeBufferHeader.swift
[120/406] Compiling DequeModule RigidDeque+Append.swift
[121/406] Compiling DequeModule RigidDeque+Consumption.swift
[122/406] Compiling DequeModule RigidDeque+Container.swift
[123/406] Compiling DequeModule RigidDeque+Descriptions.swift
[124/406] Compiling DequeModule RigidDeque+Removals.swift
[125/406] Compiling DequeModule RigidDeque+Replacements.swift
[126/406] Compiling DequeModule RigidDeque+Testing.swift
[134/413] Compiling DequeModule _DequeBuffer.swift
[136/413] Compiling DequeModule RigidDeque.swift
[137/413] Compiling DequeModule UniqueDeque+Append.swift
[138/413] Compiling DequeModule UniqueDeque+Hashable.swift
[139/413] Compiling DequeModule UniqueDeque+Initializers.swift
[140/413] Compiling DequeModule UniqueDeque+Insertions.swift
[141/413] Compiling DequeModule UniqueDeque+Prepend.swift
[153/418] Compiling _RopeModule BigString+Metrics.swift
[154/418] Compiling _RopeModule BigString+Summary.swift
[155/418] Compiling _RopeModule BigString.swift
[156/418] Compiling _RopeModule BigString+Chunk+Append and Insert.swift
[157/418] Compiling _RopeModule Rope+_Node.swift
[158/418] Compiling _RopeModule Rope+_Storage.swift
[159/418] Compiling _RopeModule Rope+_UnmanagedLeaf.swift
[160/418] Compiling BitCollections BitSet.Index.swift
[167/418] Compiling DequeModule UniqueDeque+Removals.swift
[168/418] Compiling DequeModule UniqueDeque+Replacements.swift
[169/418] Compiling DequeModule UniqueDeque.swift
[170/418] Compiling DequeModule _DequeSlot.swift
[171/418] Compiling DequeModule _UnsafeDequeHandle.swift
[172/418] Compiling DequeModule _UnsafeDequeSegments.swift
[173/418] Compiling _RopeModule BigString+Ingester.swift
[174/418] Compiling _RopeModule BigString+Invariants.swift
[190/418] Compiling DequeModule RigidDeque+Equatable.swift
[191/418] Compiling DequeModule RigidDeque+Experimental.swift
[212/418] Compiling HashTreeCollections TreeSet+SetAlgebra isEqualSet.swift
[213/418] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSubset.swift
[214/418] Compiling HashTreeCollections TreeSet+SetAlgebra isStrictSuperset.swift
[215/418] Compiling HashTreeCollections TreeSet+SetAlgebra isSubset.swift
[216/418] Compiling HashTreeCollections TreeSet+SetAlgebra isSuperset.swift
[217/418] Compiling HashTreeCollections TreeSet+SetAlgebra subtract.swift
[218/418] Compiling HashTreeCollections TreeSet+SetAlgebra subtracting.swift
[219/418] Compiling HashTreeCollections TreeSet+SetAlgebra symmetricDifference.swift
[220/418] Compiling HashTreeCollections TreeSet+SetAlgebra union.swift
[221/418] Compiling HashTreeCollections TreeSet.swift
[222/418] Compiling DequeModule Deque+Extras.swift
[223/418] Compiling DequeModule Deque+Hashable.swift
[224/418] Compiling DequeModule Deque+Testing.swift
[225/418] Compiling DequeModule Deque._Storage.swift
[226/418] Compiling DequeModule Deque._UnsafeHandle.swift
[227/418] Compiling DequeModule Deque.swift
[231/418] Compiling OrderedCollections OrderedSet+Sendable.swift
[232/418] Compiling OrderedCollections OrderedSet+SubSequence.swift
[233/418] Compiling OrderedCollections OrderedSet+Testing.swift
[234/418] Compiling OrderedCollections OrderedSet+UnorderedView.swift
[235/418] Compiling OrderedCollections OrderedSet+UnstableInternals.swift
[236/418] Compiling OrderedCollections OrderedSet.swift
[259/419] Wrapping AST for BitCollections for debugging
[282/428] Compiling OrderedCollections _UnsafeBitset.swift
[287/428] Compiling _RopeModule Rope+Extract.swift
[288/428] Compiling _RopeModule Rope+Find.swift
[289/428] Compiling _RopeModule Rope+ForEachWhile.swift
[290/428] Compiling _RopeModule Rope+Insert.swift
[291/428] Emitting module OrderedCollections
[310/429] Wrapping AST for OrderedCollections for debugging
[312/429] Emitting module _RopeModule
[317/429] Compiling _RopeModule Rope+Join.swift
[318/429] Compiling _RopeModule Rope+MutatingForEach.swift
[319/429] Compiling _RopeModule Rope+Remove.swift
[320/429] Compiling _RopeModule Rope+RemoveSubrange.swift
[321/429] Compiling _RopeModule Rope+Split.swift
[322/429] Compiling _RopeModule Optional Utilities.swift
[376/429] Emitting module HashTreeCollections
[407/430] Wrapping AST for HashTreeCollections for debugging
[412/430] Emitting module DequeModule
[416/430] Compiling _RopeModule String Utilities.swift
[417/430] Compiling _RopeModule String.Index+ABI.swift
[418/430] Compiling _RopeModule _CharacterRecognizer.swift
[419/431] Wrapping AST for _RopeModule for debugging
[426/432] Wrapping AST for DequeModule for debugging
[428/438] Compiling Collections OrderedCollections reexports.swift
[429/438] Compiling Collections HashTreeCollections reexports.swift
[430/438] Compiling Collections HeapModule reexports.swift
[431/438] Compiling Collections DequeModule reexports.swift
[432/438] Compiling Collections BitCollections reexports.swift
[433/438] Emitting module Collections
[434/439] Wrapping AST for Collections for debugging
error: emit-module command failed with exit code 1 (use -v to see invocation)
[436/445] 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(
[437/445] 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
[438/445] 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 | }
[439/445] Compiling AsyncFileMonitor MulticastAsyncStream.swift
[440/445] 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 |
[441/445] 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.3 wasm