The Swift Package Index logo.Swift Package Index

Build Information

Failed to build AsyncFileMonitor, reference main (106988), with Swift 6.4 for visionOS using Xcode 27.0 on 27 Sep 2026 18:59:02 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncFileMonitor-Package -destination generic/platform=xrOS

Build Log

SwiftDriver\ Compilation OrderedCollections normal arm64 com.apple.xcode.tools.swift.compiler (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-Swift-Compilation -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name OrderedCollections -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DCOLLECTIONS_RANDOMIZED_TESTING -DXcode -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.0:\ macOS\ 10.14.4,\ iOS\ 12.2,\ watchOS\ 5.2,\ tvOS\ 12.2 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.1:\ macOS\ 10.15,\ iOS\ 13.0,\ watchOS\ 6.0,\ tvOS\ 13.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.6:\ macOS\ 12.3,\ iOS\ 15.4,\ watchOS\ 8.5,\ tvOS\ 15.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.7:\ macOS\ 13.0,\ iOS\ 16.0,\ watchOS\ 9.0,\ tvOS\ 16.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.8:\ macOS\ 13.3,\ iOS\ 16.4,\ watchOS\ 9.4,\ tvOS\ 16.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.9:\ macOS\ 14.0,\ iOS\ 17.0,\ watchOS\ 10.0,\ tvOS\ 17.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 5.10:\ macOS\ 14.4,\ iOS\ 17.4,\ watchOS\ 10.4,\ tvOS\ 17.4,\ visionOS\ 1.1 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.0:\ macOS\ 15.0,\ iOS\ 18.0,\ watchOS\ 11.0,\ tvOS\ 18.0,\ visionOS\ 2.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.1:\ macOS\ 15.4,\ iOS\ 18.4,\ watchOS\ 11.4,\ tvOS\ 18.4,\ visionOS\ 2.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.2:\ macOS\ 26.0,\ iOS\ 26.0,\ watchOS\ 26.0,\ tvOS\ 26.0,\ visionOS\ 26.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.3:\ macOS\ 26.4,\ iOS\ 26.4,\ watchOS\ 26.4,\ tvOS\ 26.4,\ visionOS\ 26.4 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.4:\ macOS\ 27.0,\ iOS\ 27.0,\ watchOS\ 27.0,\ tvOS\ 27.0,\ visionOS\ 27.0 -enable-experimental-feature AvailabilityMacro\=SwiftStdlib\ 6.5:\ macOS\ 9999,\ iOS\ 9999,\ watchOS\ 9999,\ tvOS\ 9999,\ visionOS\ 9999 -enable-upcoming-feature MemberImportVisibility -enable-experimental-feature BuiltinModule -enable-experimental-feature Lifetimes -enable-experimental-feature InoutLifetimeDependence -enable-experimental-feature AddressableParameters -enable-experimental-feature AddressableTypes -enable-experimental-feature SuppressedAssociatedTypesWithDefaults -enable-experimental-feature BorrowingSequence -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -suppress-warnings -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections-dependency-scan.dia -user-module-version 1.7.1 -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name swift_collections -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/OrderedCollections-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections-Swift.h (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/OrderedCollections-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.abi.json (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftmodule (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftsourceinfo (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftdoc (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.swiftmodule/arm64-apple-xros.swiftdoc
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.o normal (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -Xlinker -reproducible -target arm64-apple-xros1.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections_lto.o -Xlinker -no_deduplicate -Xlinker -debug_variant -Xlinker -dependency_info -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/xros -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.o
SwiftDriver AsyncFileMonitor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AsyncFileMonitor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
ExtractAppIntentsMetadata (in target 'OrderedCollections' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/appintentsmetadataprocessor --toolchain-dir /var/run/com.apple.security.cryptexd/mnt/com.apple.MobileAsset.MetalToolchain-v27.1.266.1.fwgE2y/Metal.xctoolchain --module-name OrderedCollections --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk --xcode-version 27A266a --platform-family xrOS --deployment-target 1.0 --bundle-identifier swift-collections.OrderedCollections --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.appintents --target-triple arm64-apple-xros1.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/OrderedCollections.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/OrderedCollections.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/OrderedCollections.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-xros/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-27 14:58:30.066 appintentsmetadataprocessor[1148:6995] Starting appintentsmetadataprocessor export
2026-09-27 14:58:30.135 appintentsmetadataprocessor[1148:6995] Extracted no relevant App Intents symbols, skipping writing output
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stddef-2IE0R9M96I5XG0WY72N2UIQ8V.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_float-1J8SO31WACP82RKV0LOTRKG39.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrauth-9Q1PN7OTQZN7B0Z9D7V7Q8UB1.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdbool-1Q6BTYNEVHC9M74WL5O5GJ1ZM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ptrcheck-98Y8DWD0HPCMRMDFKAEZCA81O.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_AvailabilityInternal-6BH9T8OE123ARKKFOJFR111NS.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdarg-62NPPE4D8O3BNLU35D74TGLVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation1-AVZIQZ8HOAUXTT5CXVE5TNG7E.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_limits-599EXAY0E7DPK78D1JASUXYCQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation2-E0NXA4K8N3W3XTJG0EDH15WR2.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/string_h-BGPLTZ4H9HACR813QKF6VS72D.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_stdint-F1DLW8WMMSOC414RWOQWK8OS8.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/sys_types-A3BBS6FJZK4C974FRQ5ZCTND7.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_DarwinFoundation3-C1P0SZMW1CBYZ1956G2WPAGVQ.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/_Builtin_inttypes-9DU9NJC5HKVLIXJ97CZROETBU.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Darwin-ET1KOXI5QIB2QZ81K0LJ5SCNP.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/ObjectiveC-7UYOWV2RO2CMEGURP3Y7WLPAT.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_object-A49MUZWNB60JKCX0NMFXESEZD.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/os_workgroup-1J3Q9ELSMX5271913GPIT75QV.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Dispatch-7TDXDXPVVCZ0IQLPT2W4Z1AW3.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CoreFoundation-5D49BF05JAG3T79HLXZS0QOEB.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/XPC-1U8J3QOEPI1JREQTBJYCK4Z2Z.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Security-4BDO3J0PXFNR7ZRKSDSXCO6IM.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/CFNetwork-8XNJAT23SK5D0OET9NV9X387I.pcm
SwiftExplicitDependencyGeneratePcm arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules/Foundation-48S9SVOOX01R4NP8KF0LJG57Z.pcm
SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncFileMonitor (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 | 	/// `eventPath`; see ``StreamCondition``. Masking it off is what lets an empty ``Change``
 32 | 	/// mean "this element reports no file change".
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & ~StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:38:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 36 |
 37 | 	/// The changed item is a directory.
 38 | 	public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 39 |
 40 | 	/// The changed item is a file.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:41:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 39 |
 40 | 	/// The changed item is a file.
 41 | 	public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 42 |
 43 | 	/// The changed item is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:44:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 42 |
 43 | 	/// The changed item is a hard link.
 44 | 	public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
 47 | 	public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:50:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
 50 | 	public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 51 |
 52 | 	/// The item was created.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:53:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 51 |
 52 | 	/// The item was created.
 53 | 	public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 54 |
 55 | 	/// The item was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:56:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 54 |
 55 | 	/// The item was modified.
 56 | 	public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 57 |
 58 | 	/// The item was removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:59:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 57 |
 58 | 	/// The item was removed.
 59 | 	public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 60 |
 61 | 	/// The item was renamed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:62:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 60 |
 61 | 	/// The item was renamed.
 62 | 	public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 63 |
 64 | 	/// The item's owner was changed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:65:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 63 |
 64 | 	/// The item's owner was changed.
 65 | 	public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:68:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
 68 | 	public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:71:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
 71 | 	public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:74:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
 74 | 	public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:77:46: error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
 77 | 	public static let cloned = Change(rawValue: kFSEventStreamEventFlagItemCloned)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 78 |
 79 | 	/// The change was caused by this process.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:82:48: error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 80 | 	///
 81 | 	/// Useful to suppress reacting to your own writes.
 82 | 	public static let ownEvent = Change(rawValue: kFSEventStreamEventFlagOwnEvent)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:25: error: 'Atomic' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |           `- error: 'Atomic' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:35: error: 'init(_:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |                     `- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:13: error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |- error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:50:42: error: cannot find type 'FSEventStreamCallback' in scope
 48 | 	/// Deliberately free of Task hops: scheduling here would let Swift concurrency reorder
 49 | 	/// events that FSEvents delivered in order.
 50 | 	private static let eventStreamCallback: FSEventStreamCallback = {
    |                                          `- error: cannot find type 'FSEventStreamCallback' in scope
 51 | 		(stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
 52 | 		guard let contextInfo else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:77:26: error: cannot find type 'FSEventStreamRef' in scope
 75 | 	private let eventHandlerBox: EventHandlerBox
 76 |
 77 | 	private init(streamRef: FSEventStreamRef, queue: DispatchQueue, eventHandlerBox: EventHandlerBox) {
    |                          `- error: cannot find type 'FSEventStreamRef' in scope
 78 | 		self.streamRef = streamRef
 79 | 		self.queue = queue
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:70:12: error: cannot find type 'FSEventStreamEventId' in scope
68 | 	///   - condition: Conditions reported by the stream itself (default: none)
69 | 	public init(
70 | 		eventID: FSEventStreamEventId,
   |            `- error: cannot find type 'FSEventStreamEventId' in scope
71 | 		eventPath: String,
72 | 		change: Change,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'Mutex' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'Mutex' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'init(_:)' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'init(_:)' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:70:24: error: cannot find type 'FSEventStreamEventId' in scope
 68 | 	/// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
 69 | 	/// to only receive events that occur after monitoring starts.
 70 | 	public let sinceWhen: FSEventStreamEventId
    |                        `- error: cannot find type 'FSEventStreamEventId' in scope
 71 |
 72 | 	/// Create a new monitor for the specified paths.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:80:14: error: cannot find type 'FSEventStreamEventId' in scope
 78 | 	public init(
 79 | 		paths: [String],
 80 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 81 | 		latency: CFTimeInterval = 0
 82 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:96:14: error: cannot find type 'FSEventStreamEventId' in scope
 94 | 	public convenience init(
 95 | 		url: URL,
 96 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 97 | 		latency: CFTimeInterval = 0
 98 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:220:14: error: cannot find type 'FSEventStreamEventId' in scope
218 | 	public static func makeStream(
219 | 		url: URL,
220 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
221 | 		latency: CFTimeInterval = 0
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:240:14: error: cannot find type 'FSEventStreamEventId' in scope
238 | 	public static func makeStream(
239 | 		paths: [String],
240 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
241 | 		latency: CFTimeInterval = 0
242 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:49:21: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 47 | 	}
 48 |
 49 | 	private let state: Mutex<State>
    |                     `- error: 'Mutex' is only available in visionOS 2.0 or newer
 50 |
 51 | 	init() {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 |
 32 | 	/// Extracts the stream conditions from Core Services event flags, discarding item flags.
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:51:71: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 49 | 	/// This is the sole actionable condition in this group: ``userDropped`` and
 50 | 	/// ``kernelDropped`` only say where the bottleneck was.
 51 | 	public static let mustScanSubDirectories = StreamCondition(rawValue: kFSEventStreamEventFlagMustScanSubDirs)
    |                                                                       `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 52 |
 53 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed on the client side.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:56:60: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 54 | 	///
 55 | 	/// Per the Core Services headers, the likelier of the two.
 56 | 	public static let userDropped = StreamCondition(rawValue: kFSEventStreamEventFlagUserDropped)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:59:62: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
 59 | 	public static let kernelDropped = StreamCondition(rawValue: kFSEventStreamEventFlagKernelDropped)
    |                                                              `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 60 |
 61 | 	// MARK: - Invalidated state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:67:64: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 65 | 	/// Previously issued event IDs are no longer valid values for `sinceWhen`. Callers that
 66 | 	/// persist an event ID as a resume point must discard it.
 67 | 	public static let eventIDsWrapped = StreamCondition(rawValue: kFSEventStreamEventFlagEventIdsWrapped)
    |                                                                `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 68 |
 69 | 	/// A directory along the path to a monitored path changed; the monitored path may no longer exist.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:75:60: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 73 | 	/// - Note: Only ever delivered when the stream was created with
 74 | 	///   `kFSEventStreamCreateFlagWatchRoot`, which this library does not currently pass.
 75 | 	public static let rootChanged = StreamCondition(rawValue: kFSEventStreamEventFlagRootChanged)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 76 |
 77 | 	/// A volume was mounted underneath a monitored path; `eventPath` is the mount point.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:81:56: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 79 | 	/// - Warning: The new volume may contain an arbitrarily large hierarchy, and may not be
 80 | 	///   local. Do not scan it unconditionally.
 81 | 	public static let mounted = StreamCondition(rawValue: kFSEventStreamEventFlagMount)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 82 |
 83 | 	/// A volume was unmounted underneath a monitored path; `eventPath` is the directory it was
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:87:58: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 85 | 	///
 86 | 	/// Delivered after the unmount has already happened.
 87 | 	public static let unmounted = StreamCondition(rawValue: kFSEventStreamEventFlagUnmount)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 88 |
 89 | 	// MARK: - Sentinel
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:95:60: error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 93 | 	///
 94 | 	/// - Important: `eventPath` is meaningless on this event and must be ignored.
 95 | 	public static let historyDone = StreamCondition(rawValue: kFSEventStreamEventFlagHistoryDone)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 96 | }
 97 |
Failed frontend command:
SwiftCompile normal arm64 (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsyncFileMonitor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.abi.json
SwiftCompile normal arm64 Compiling\ StreamCondition.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StreamCondition.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 |
 32 | 	/// Extracts the stream conditions from Core Services event flags, discarding item flags.
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:51:71: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 49 | 	/// This is the sole actionable condition in this group: ``userDropped`` and
 50 | 	/// ``kernelDropped`` only say where the bottleneck was.
 51 | 	public static let mustScanSubDirectories = StreamCondition(rawValue: kFSEventStreamEventFlagMustScanSubDirs)
    |                                                                       `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 52 |
 53 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed on the client side.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:56:60: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 54 | 	///
 55 | 	/// Per the Core Services headers, the likelier of the two.
 56 | 	public static let userDropped = StreamCondition(rawValue: kFSEventStreamEventFlagUserDropped)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:59:62: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
 59 | 	public static let kernelDropped = StreamCondition(rawValue: kFSEventStreamEventFlagKernelDropped)
    |                                                              `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 60 |
 61 | 	// MARK: - Invalidated state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:67:64: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 65 | 	/// Previously issued event IDs are no longer valid values for `sinceWhen`. Callers that
 66 | 	/// persist an event ID as a resume point must discard it.
 67 | 	public static let eventIDsWrapped = StreamCondition(rawValue: kFSEventStreamEventFlagEventIdsWrapped)
    |                                                                `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 68 |
 69 | 	/// A directory along the path to a monitored path changed; the monitored path may no longer exist.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:75:60: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 73 | 	/// - Note: Only ever delivered when the stream was created with
 74 | 	///   `kFSEventStreamCreateFlagWatchRoot`, which this library does not currently pass.
 75 | 	public static let rootChanged = StreamCondition(rawValue: kFSEventStreamEventFlagRootChanged)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 76 |
 77 | 	/// A volume was mounted underneath a monitored path; `eventPath` is the mount point.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:81:56: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 79 | 	/// - Warning: The new volume may contain an arbitrarily large hierarchy, and may not be
 80 | 	///   local. Do not scan it unconditionally.
 81 | 	public static let mounted = StreamCondition(rawValue: kFSEventStreamEventFlagMount)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 82 |
 83 | 	/// A volume was unmounted underneath a monitored path; `eventPath` is the directory it was
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:87:58: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 85 | 	///
 86 | 	/// Delivered after the unmount has already happened.
 87 | 	public static let unmounted = StreamCondition(rawValue: kFSEventStreamEventFlagUnmount)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 88 |
 89 | 	// MARK: - Sentinel
SwiftCompile normal arm64 Compiling\ FolderContentMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FolderContentMonitor.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'Mutex' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'Mutex' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'init(_:)' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'init(_:)' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:70:24: error: cannot find type 'FSEventStreamEventId' in scope
 68 | 	/// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
 69 | 	/// to only receive events that occur after monitoring starts.
 70 | 	public let sinceWhen: FSEventStreamEventId
    |                        `- error: cannot find type 'FSEventStreamEventId' in scope
 71 |
 72 | 	/// Create a new monitor for the specified paths.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:80:14: error: cannot find type 'FSEventStreamEventId' in scope
 78 | 	public init(
 79 | 		paths: [String],
 80 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 81 | 		latency: CFTimeInterval = 0
 82 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:96:14: error: cannot find type 'FSEventStreamEventId' in scope
 94 | 	public convenience init(
 95 | 		url: URL,
 96 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 97 | 		latency: CFTimeInterval = 0
 98 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:220:14: error: cannot find type 'FSEventStreamEventId' in scope
218 | 	public static func makeStream(
219 | 		url: URL,
220 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
221 | 		latency: CFTimeInterval = 0
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:240:14: error: cannot find type 'FSEventStreamEventId' in scope
238 | 	public static func makeStream(
239 | 		paths: [String],
240 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
241 | 		latency: CFTimeInterval = 0
242 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:108:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
106 |
107 | 	deinit {
108 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
109 | 			switch consume state {
110 | 			case .idle:
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:138:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
135 | 	/// This method ensures that the FSEventStream is started when the first stream is added
136 | 	/// and stopped when the last stream is removed.
137 | 	private func setupLifecycleManagement() {
    |               `- note: add '@available' attribute to enclosing instance method
138 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
139 | 			switch consume state {
140 | 			case .idle:
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:190:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
187 | 	}
188 |
189 | 	private func stop() {
    |               `- note: add '@available' attribute to enclosing instance method
190 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
191 | 			switch consume state {
192 | 			case .streaming(let task, _):
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:224:20: error: extra arguments at positions #2, #3 in call
126 | 	///
127 | 	/// - Returns: An `AsyncStream` of ``FolderContentChangeEvent`` objects
128 | 	public func makeStream() -> AsyncStream<FolderContentChangeEvent> {
    |              `- note: 'makeStream()' declared here
129 | 		setupLifecycleManagement()
130 | 		return multicastStream.makeStream()
    :
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
223 | 		precondition(url.isFileURL)
224 | 		return makeStream(paths: [url.path], sinceWhen: sinceWhen, latency: latency)
    |                    `- error: extra arguments at positions #2, #3 in call
225 | 	}
226 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:224:10: error: function produces expected type 'AsyncStream<FolderContentChangeEvent>'; did you mean to call it with '()'?
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
223 | 		precondition(url.isFileURL)
224 | 		return makeStream(paths: [url.path], sinceWhen: sinceWhen, latency: latency)
    |          `- error: function produces expected type 'AsyncStream<FolderContentChangeEvent>'; did you mean to call it with '()'?
225 | 	}
226 |
SwiftCompile normal arm64 Compiling\ FileSystemEventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:25: error: 'Atomic' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |           `- error: 'Atomic' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:35: error: 'init(_:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |                     `- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:13: error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |- error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:50:42: error: cannot find type 'FSEventStreamCallback' in scope
 48 | 	/// Deliberately free of Task hops: scheduling here would let Swift concurrency reorder
 49 | 	/// events that FSEvents delivered in order.
 50 | 	private static let eventStreamCallback: FSEventStreamCallback = {
    |                                          `- error: cannot find type 'FSEventStreamCallback' in scope
 51 | 		(stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
 52 | 		guard let contextInfo else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:77:26: error: cannot find type 'FSEventStreamRef' in scope
 75 | 	private let eventHandlerBox: EventHandlerBox
 76 |
 77 | 	private init(streamRef: FSEventStreamRef, queue: DispatchQueue, eventHandlerBox: EventHandlerBox) {
    |                          `- error: cannot find type 'FSEventStreamRef' in scope
 78 | 		self.streamRef = streamRef
 79 | 		self.queue = queue
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:101:17: error: cannot find 'FSEventStreamContext' in scope
 99 |
100 | 		let contextPointer = Unmanaged.passUnretained(eventHandlerBox).toOpaque()
101 | 		var context = FSEventStreamContext(
    |                 `- error: cannot find 'FSEventStreamContext' in scope
102 | 			version: 0,
103 | 			info: contextPointer,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:22: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
113 | 		)
114 |
115 | 		let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
    |                      `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
116 |
117 | 		guard
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
113 | 		)
114 |
115 | 		let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
    |                                                           `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
116 |
117 | 		guard
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:118:17: error: cannot find 'FSEventStreamCreate' in scope
116 |
117 | 		guard
118 | 			let stream = FSEventStreamCreate(
    |                 `- error: cannot find 'FSEventStreamCreate' in scope
119 | 				kCFAllocatorDefault,
120 | 				eventStreamCallback,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:118:17: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
116 |
117 | 		guard
118 | 			let stream = FSEventStreamCreate(
    |                 `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
119 | 				kCFAllocatorDefault,
120 | 				eventStreamCallback,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:131:3: error: cannot find 'FSEventStreamSetDispatchQueue' in scope
129 | 		}
130 |
131 | 		FSEventStreamSetDispatchQueue(stream, queue)
    |   `- error: cannot find 'FSEventStreamSetDispatchQueue' in scope
132 |
133 | 		guard FSEventStreamStart(stream) else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:133:9: error: cannot find 'FSEventStreamStart' in scope
131 | 		FSEventStreamSetDispatchQueue(stream, queue)
132 |
133 | 		guard FSEventStreamStart(stream) else {
    |         `- error: cannot find 'FSEventStreamStart' in scope
134 | 			FSEventStreamRelease(stream)
135 | 			throw Error.startFailed
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:134:4: error: cannot find 'FSEventStreamRelease' in scope
132 |
133 | 		guard FSEventStreamStart(stream) else {
134 | 			FSEventStreamRelease(stream)
    |    `- error: cannot find 'FSEventStreamRelease' in scope
135 | 			throw Error.startFailed
136 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:138:13: error: 'add(_:ordering:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
 89 | 	///   - eventHandler: Sendable closure to handle events
 90 | 	/// - Throws: ``FileSystemEventStream/Error`` if stream creation or start fails
 91 | 	static func make(
    |              `- note: add '@available' attribute to enclosing static method
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    :
136 | 		}
137 |
138 | 		liveCount.add(1, ordering: .relaxed)
    |             |- error: 'add(_:ordering:)' is only available in visionOS 2.0 or newer
    |             `- note: add 'if #available' version check
139 | 		return FileSystemEventStream(streamRef: stream, queue: queue, eventHandlerBox: eventHandlerBox)
140 | 	}
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FileSystemEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:138:31: error: 'relaxed' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
 89 | 	///   - eventHandler: Sendable closure to handle events
 90 | 	/// - Throws: ``FileSystemEventStream/Error`` if stream creation or start fails
 91 | 	static func make(
    |              `- note: add '@available' attribute to enclosing static method
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    :
136 | 		}
137 |
138 | 		liveCount.add(1, ordering: .relaxed)
    |                               |- error: 'relaxed' is only available in visionOS 2.0 or newer
    |                               `- note: add 'if #available' version check
139 | 		return FileSystemEventStream(streamRef: stream, queue: queue, eventHandlerBox: eventHandlerBox)
140 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:143:35: error: 'subtract(_:ordering:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
141 |
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
    |                                   |- error: 'subtract(_:ordering:)' is only available in visionOS 2.0 or newer
    |                                   `- note: add 'if #available' version check
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:143:58: error: 'relaxed' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
141 |
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
    |                                                          |- error: 'relaxed' is only available in visionOS 2.0 or newer
    |                                                          `- note: add 'if #available' version check
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:144:3: error: cannot find 'FSEventStreamStop' in scope
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
144 | 		FSEventStreamStop(streamRef)
    |   `- error: cannot find 'FSEventStreamStop' in scope
145 | 		FSEventStreamInvalidate(streamRef)
146 | 		FSEventStreamRelease(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:145:3: error: cannot find 'FSEventStreamInvalidate' in scope
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
    |   `- error: cannot find 'FSEventStreamInvalidate' in scope
146 | 		FSEventStreamRelease(streamRef)
147 | 	}
SwiftCompile normal arm64 Compiling\ FolderContentChangeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:70:12: error: cannot find type 'FSEventStreamEventId' in scope
68 | 	///   - condition: Conditions reported by the stream itself (default: none)
69 | 	public init(
70 | 		eventID: FSEventStreamEventId,
   |            `- error: cannot find type 'FSEventStreamEventId' in scope
71 | 		eventPath: String,
72 | 		change: Change,
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FolderContentChangeEvent.swift
SwiftCompile normal arm64 Compiling\ Change.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Change.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 | 	/// `eventPath`; see ``StreamCondition``. Masking it off is what lets an empty ``Change``
 32 | 	/// mean "this element reports no file change".
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & ~StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:38:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 36 |
 37 | 	/// The changed item is a directory.
 38 | 	public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 39 |
 40 | 	/// The changed item is a file.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:41:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 39 |
 40 | 	/// The changed item is a file.
 41 | 	public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 42 |
 43 | 	/// The changed item is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:44:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 42 |
 43 | 	/// The changed item is a hard link.
 44 | 	public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
 47 | 	public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:50:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
 50 | 	public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 51 |
 52 | 	/// The item was created.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:53:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 51 |
 52 | 	/// The item was created.
 53 | 	public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 54 |
 55 | 	/// The item was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:56:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 54 |
 55 | 	/// The item was modified.
 56 | 	public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 57 |
 58 | 	/// The item was removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:59:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 57 |
 58 | 	/// The item was removed.
 59 | 	public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 60 |
 61 | 	/// The item was renamed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:62:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 60 |
 61 | 	/// The item was renamed.
 62 | 	public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 63 |
 64 | 	/// The item's owner was changed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:65:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 63 |
 64 | 	/// The item's owner was changed.
 65 | 	public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:68:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
 68 | 	public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:71:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
 71 | 	public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:74:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
 74 | 	public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:77:46: error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
 77 | 	public static let cloned = Change(rawValue: kFSEventStreamEventFlagItemCloned)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 78 |
 79 | 	/// The change was caused by this process.
SwiftCompile normal arm64 Compiling\ MulticastAsyncStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MulticastAsyncStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:49:21: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 47 | 	}
 48 |
 49 | 	private let state: Mutex<State>
    |                     `- error: 'Mutex' is only available in visionOS 2.0 or newer
 50 |
 51 | 	init() {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:52:16: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 49 | 	private let state: Mutex<State>
 50 |
 51 | 	init() {
    |  `- note: add '@available' attribute to enclosing initializer
 52 | 		self.state = Mutex(State())
    |                |- error: 'Mutex' is only available in visionOS 2.0 or newer
    |                `- note: add 'if #available' version check
 53 | 	}
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:52:16: error: 'init(_:)' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 49 | 	private let state: Mutex<State>
 50 |
 51 | 	init() {
    |  `- note: add '@available' attribute to enclosing initializer
 52 | 		self.state = Mutex(State())
    |                |- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |                `- note: add 'if #available' version check
 53 | 	}
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:60:9: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 56 | 	///
 57 | 	/// - Returns: An `AsyncStream` of `StreamLifecycleEvent` values
 58 | 	func makeLifecycleStream() -> AsyncStream<StreamLifecycleEvent> {
    |       `- note: add '@available' attribute to enclosing instance method
 59 | 		let (stream, continuation) = AsyncStream<StreamLifecycleEvent>.makeStream()
 60 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
 61 | 			state.lifecycleContinuation?.finish()
 62 | 			state.lifecycleContinuation = continuation
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:77:9: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 71 | 	///
 72 | 	/// - Returns: An `AsyncStream` that will receive all broadcast elements
 73 | 	func makeStream() -> AsyncStream<T> {
    |       `- note: add '@available' attribute to enclosing instance method
 74 | 		let id = UUID()
 75 | 		let (stream, continuation) = AsyncStream<T>.makeStream()
 76 |
 77 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
 78 | 			let wasEmpty = state.continuations.isEmpty
 79 | 			state.continuations[id] = continuation
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:88:15: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 71 | 	///
 72 | 	/// - Returns: An `AsyncStream` that will receive all broadcast elements
 73 | 	func makeStream() -> AsyncStream<T> {
    |       `- note: add '@available' attribute to enclosing instance method
 74 | 		let id = UUID()
 75 | 		let (stream, continuation) = AsyncStream<T>.makeStream()
    :
 86 | 			guard let self = self else { return }
 87 |
 88 | 			self.state.withLock { state in
    |               |- error: 'withLock' is only available in visionOS 2.0 or newer
    |               `- note: add 'if #available' version check
 89 | 				_ = state.continuations.removeValue(forKey: id)
 90 | 				if state.continuations.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:107:36: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
104 | 	///
105 | 	/// - Parameter value: The element to broadcast to all active streams
106 | 	func send(_ value: T) {
    |       `- note: add '@available' attribute to enclosing instance method
107 | 		let currentContinuations = state.withLock { state in
    |                                    |- error: 'withLock' is only available in visionOS 2.0 or newer
    |                                    `- note: add 'if #available' version check
108 | 			Array(state.continuations.values)
109 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:121:36: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
118 | 	/// Continuations are finished outside the lock: finishing one runs its termination handler,
119 | 	/// which takes the same lock to deregister itself.
120 | 	func finishAll() {
    |       `- note: add '@available' attribute to enclosing instance method
121 | 		let currentContinuations = state.withLock { state in
    |                                    |- error: 'withLock' is only available in visionOS 2.0 or newer
    |                                    `- note: add 'if #available' version check
122 | 			Array(state.continuations.values)
123 | 		}
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-27 14:58:19.201 xcodebuild[959:5885] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncFileMonitor (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
	Building workspace AsyncFileMonitor with scheme AsyncFileMonitor-Package
(3 failures)
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  swift-collections: https://github.com/apple/swift-collections.git @ 1.7.1
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
  SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
  AsyncFileMonitor: /Users/admin/builder/spi-builder-workspace
resolved source packages: swift-collections, SwiftDocCPlugin, SymbolKit, AsyncFileMonitor
2026-09-27 14:58:39.375 xcodebuild[1181:7133] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "dependencies" : [
    {
      "identity" : "swift-collections",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.1.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-collections.git"
    },
    {
      "identity" : "swift-docc-plugin",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "1.0.0",
            "upper_bound" : "2.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/apple/swift-docc-plugin"
    }
  ],
  "manifest_display_name" : "AsyncFileMonitor",
  "name" : "AsyncFileMonitor",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "15.0"
    }
  ],
  "products" : [
    {
      "name" : "AsyncFileMonitor",
      "targets" : [
        "AsyncFileMonitor"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "watch",
      "targets" : [
        "watch"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "watch",
      "module_type" : "SwiftTarget",
      "name" : "watch",
      "path" : "Sources/watch",
      "product_memberships" : [
        "watch"
      ],
      "sources" : [
        "Watch.swift"
      ],
      "target_dependencies" : [
        "AsyncFileMonitor"
      ],
      "type" : "executable"
    },
    {
      "c99name" : "RaceConditionTests",
      "module_type" : "SwiftTarget",
      "name" : "RaceConditionTests",
      "path" : "Tests/RaceConditionTests",
      "sources" : [
        "0_FSEventStreamBaseline.swift",
        "1_FSEventStreamRaceConditions.swift",
        "2_ActorExecutorCoordination.swift",
        "2_ActorExecutorCoordination/TestActorBasedFileMonitor.swift",
        "2_ActorExecutorCoordination/TestFileSystemEventExecutor.swift",
        "2_ActorExecutorCoordination/TestFileSystemEventStream.swift",
        "2_ActorExecutorCoordination/TestFolderContentMonitor.swift",
        "2_ActorExecutorCoordination/TestStreamRegistrar.swift",
        "3_EventOrderingRegressions.swift",
        "4_DirectAsyncStream.swift",
        "Helpers/EventCollector.swift",
        "Helpers/FSEventStreamTestRunner.swift",
        "Helpers/TestAssertions.swift",
        "Helpers/TestConfiguration.swift"
      ],
      "target_dependencies" : [
        "AsyncFileMonitor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncFileMonitorTests",
      "module_type" : "SwiftTarget",
      "name" : "AsyncFileMonitorTests",
      "path" : "Tests/AsyncFileMonitorTests",
      "sources" : [
        "AsyncFileMonitorTests.swift",
        "FileSystemEventStreamTests.swift",
        "FolderContentMonitorTests.swift",
        "MemoryLeakTests.swift",
        "MulticastAsyncStreamTests.swift",
        "StreamConditionTests.swift",
        "StreamTeardownTests.swift",
        "TestHelpers.swift"
      ],
      "target_dependencies" : [
        "AsyncFileMonitor"
      ],
      "type" : "test"
    },
    {
      "c99name" : "AsyncFileMonitor",
      "module_type" : "SwiftTarget",
      "name" : "AsyncFileMonitor",
      "path" : "Sources/AsyncFileMonitor",
      "product_dependencies" : [
        "OrderedCollections"
      ],
      "product_memberships" : [
        "AsyncFileMonitor",
        "watch"
      ],
      "sources" : [
        "Change.swift",
        "FileSystemEventStream.swift",
        "FolderContentChangeEvent.swift",
        "FolderContentMonitor.swift",
        "MulticastAsyncStream.swift",
        "StreamCondition.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.1"
}
{
  "workspace" : {
    "name" : "AsyncFileMonitor",
    "schemes" : [
      "AsyncFileMonitor",
      "AsyncFileMonitor-Package",
      "watch"
    ]
  }
}
2026-09-27 14:58:46.657 xcodebuild[1239:7508] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
{
  "workspace" : {
    "name" : "AsyncFileMonitor",
    "schemes" : [
      "AsyncFileMonitor",
      "AsyncFileMonitor-Package",
      "watch"
    ]
  }
}
2026-09-27 14:58:53.950 xcodebuild[1291:7870] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme AsyncFileMonitor-Package -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme AsyncFileMonitor-Package -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  SymbolKit: https://github.com/swiftlang/swift-docc-symbolkit @ 1.0.0
  SwiftDocCPlugin: https://github.com/apple/swift-docc-plugin @ 1.5.0
  AsyncFileMonitor: /Users/admin/builder/spi-builder-workspace
  swift-collections: https://github.com/apple/swift-collections.git @ 1.7.1
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (6 targets)
    Target 'watch-product' in project 'AsyncFileMonitor'
        ➜ Explicit dependency on target 'AsyncFileMonitor' in project 'AsyncFileMonitor'
        ➜ Explicit dependency on target 'OrderedCollections-product' in project 'swift-collections'
    Target 'AsyncFileMonitor-product' in project 'AsyncFileMonitor'
        ➜ Explicit dependency on target 'AsyncFileMonitor' in project 'AsyncFileMonitor'
        ➜ Explicit dependency on target 'OrderedCollections-product' in project 'swift-collections'
    Target 'AsyncFileMonitor' in project 'AsyncFileMonitor'
        ➜ Explicit dependency on target 'OrderedCollections-product' in project 'swift-collections'
    Target 'OrderedCollections-product' in project 'swift-collections'
        ➜ Explicit dependency on target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'OrderedCollections' in project 'swift-collections'
        ➜ Explicit dependency on target 'InternalCollectionsUtilities' in project 'swift-collections'
    Target 'InternalCollectionsUtilities' in project 'swift-collections' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ClangStatCache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache
SwiftDriver AsyncFileMonitor normal arm64 com.apple.xcode.tools.swift.compiler (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -parse-as-library -module-name AsyncFileMonitor -Onone @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -DXcode -plugin-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -profile-coverage-mapping -profile-generate -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-OutputFileMap.json -save-temps -no-color-diagnostics -explicit-module-build -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -clang-scanner-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -sdk-module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftmodule -serialize-diagnostics -dependency-scan-serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-dependency-scan.dia -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -package-name spi_builder_workspace -emit-const-values -const-gather-protocols-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftCompile normal arm64 Compiling\ FileSystemEventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:25: error: 'Atomic' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |           `- error: 'Atomic' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:35: error: 'init(_:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |                     `- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:13: error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |- error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:50:42: error: cannot find type 'FSEventStreamCallback' in scope
 48 | 	/// Deliberately free of Task hops: scheduling here would let Swift concurrency reorder
 49 | 	/// events that FSEvents delivered in order.
 50 | 	private static let eventStreamCallback: FSEventStreamCallback = {
    |                                          `- error: cannot find type 'FSEventStreamCallback' in scope
 51 | 		(stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
 52 | 		guard let contextInfo else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:77:26: error: cannot find type 'FSEventStreamRef' in scope
 75 | 	private let eventHandlerBox: EventHandlerBox
 76 |
 77 | 	private init(streamRef: FSEventStreamRef, queue: DispatchQueue, eventHandlerBox: EventHandlerBox) {
    |                          `- error: cannot find type 'FSEventStreamRef' in scope
 78 | 		self.streamRef = streamRef
 79 | 		self.queue = queue
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:101:17: error: cannot find 'FSEventStreamContext' in scope
 99 |
100 | 		let contextPointer = Unmanaged.passUnretained(eventHandlerBox).toOpaque()
101 | 		var context = FSEventStreamContext(
    |                 `- error: cannot find 'FSEventStreamContext' in scope
102 | 			version: 0,
103 | 			info: contextPointer,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:22: error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
113 | 		)
114 |
115 | 		let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
    |                      `- error: cannot find 'kFSEventStreamCreateFlagUseCFTypes' in scope
116 |
117 | 		guard
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:115:59: error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
113 | 		)
114 |
115 | 		let flags = UInt32(kFSEventStreamCreateFlagUseCFTypes | kFSEventStreamCreateFlagFileEvents)
    |                                                           `- error: cannot find 'kFSEventStreamCreateFlagFileEvents' in scope
116 |
117 | 		guard
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:118:17: error: cannot find 'FSEventStreamCreate' in scope
116 |
117 | 		guard
118 | 			let stream = FSEventStreamCreate(
    |                 `- error: cannot find 'FSEventStreamCreate' in scope
119 | 				kCFAllocatorDefault,
120 | 				eventStreamCallback,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:118:17: error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
116 |
117 | 		guard
118 | 			let stream = FSEventStreamCreate(
    |                 `- error: failed to produce diagnostic for expression; please submit a bug report (https://swift.org/contributing/#reporting-bugs)
119 | 				kCFAllocatorDefault,
120 | 				eventStreamCallback,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:131:3: error: cannot find 'FSEventStreamSetDispatchQueue' in scope
129 | 		}
130 |
131 | 		FSEventStreamSetDispatchQueue(stream, queue)
    |   `- error: cannot find 'FSEventStreamSetDispatchQueue' in scope
132 |
133 | 		guard FSEventStreamStart(stream) else {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:133:9: error: cannot find 'FSEventStreamStart' in scope
131 | 		FSEventStreamSetDispatchQueue(stream, queue)
132 |
133 | 		guard FSEventStreamStart(stream) else {
    |         `- error: cannot find 'FSEventStreamStart' in scope
134 | 			FSEventStreamRelease(stream)
135 | 			throw Error.startFailed
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:134:4: error: cannot find 'FSEventStreamRelease' in scope
132 |
133 | 		guard FSEventStreamStart(stream) else {
134 | 			FSEventStreamRelease(stream)
    |    `- error: cannot find 'FSEventStreamRelease' in scope
135 | 			throw Error.startFailed
136 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:138:13: error: 'add(_:ordering:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
 89 | 	///   - eventHandler: Sendable closure to handle events
 90 | 	/// - Throws: ``FileSystemEventStream/Error`` if stream creation or start fails
 91 | 	static func make(
    |              `- note: add '@available' attribute to enclosing static method
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    :
136 | 		}
137 |
138 | 		liveCount.add(1, ordering: .relaxed)
    |             |- error: 'add(_:ordering:)' is only available in visionOS 2.0 or newer
    |             `- note: add 'if #available' version check
139 | 		return FileSystemEventStream(streamRef: stream, queue: queue, eventHandlerBox: eventHandlerBox)
140 | 	}
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FileSystemEventStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:138:31: error: 'relaxed' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
 89 | 	///   - eventHandler: Sendable closure to handle events
 90 | 	/// - Throws: ``FileSystemEventStream/Error`` if stream creation or start fails
 91 | 	static func make(
    |              `- note: add '@available' attribute to enclosing static method
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    :
136 | 		}
137 |
138 | 		liveCount.add(1, ordering: .relaxed)
    |                               |- error: 'relaxed' is only available in visionOS 2.0 or newer
    |                               `- note: add 'if #available' version check
139 | 		return FileSystemEventStream(streamRef: stream, queue: queue, eventHandlerBox: eventHandlerBox)
140 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:143:35: error: 'subtract(_:ordering:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
141 |
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
    |                                   |- error: 'subtract(_:ordering:)' is only available in visionOS 2.0 or newer
    |                                   `- note: add 'if #available' version check
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:143:58: error: 'relaxed' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
    :
141 |
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
    |                                                          |- error: 'relaxed' is only available in visionOS 2.0 or newer
    |                                                          `- note: add 'if #available' version check
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:144:3: error: cannot find 'FSEventStreamStop' in scope
142 | 	deinit {
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
144 | 		FSEventStreamStop(streamRef)
    |   `- error: cannot find 'FSEventStreamStop' in scope
145 | 		FSEventStreamInvalidate(streamRef)
146 | 		FSEventStreamRelease(streamRef)
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:145:3: error: cannot find 'FSEventStreamInvalidate' in scope
143 | 		FileSystemEventStream.liveCount.subtract(1, ordering: .relaxed)
144 | 		FSEventStreamStop(streamRef)
145 | 		FSEventStreamInvalidate(streamRef)
    |   `- error: cannot find 'FSEventStreamInvalidate' in scope
146 | 		FSEventStreamRelease(streamRef)
147 | 	}
SwiftCompile normal arm64 Compiling\ FolderContentChangeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FolderContentChangeEvent.swift
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:70:12: error: cannot find type 'FSEventStreamEventId' in scope
68 | 	///   - condition: Conditions reported by the stream itself (default: none)
69 | 	public init(
70 | 		eventID: FSEventStreamEventId,
   |            `- error: cannot find type 'FSEventStreamEventId' in scope
71 | 		eventPath: String,
72 | 		change: Change,
SwiftCompile normal arm64 Compiling\ MulticastAsyncStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile MulticastAsyncStream.swift
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:49:21: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 47 | 	}
 48 |
 49 | 	private let state: Mutex<State>
    |                     `- error: 'Mutex' is only available in visionOS 2.0 or newer
 50 |
 51 | 	init() {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:52:16: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 49 | 	private let state: Mutex<State>
 50 |
 51 | 	init() {
    |  `- note: add '@available' attribute to enclosing initializer
 52 | 		self.state = Mutex(State())
    |                |- error: 'Mutex' is only available in visionOS 2.0 or newer
    |                `- note: add 'if #available' version check
 53 | 	}
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:52:16: error: 'init(_:)' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 49 | 	private let state: Mutex<State>
 50 |
 51 | 	init() {
    |  `- note: add '@available' attribute to enclosing initializer
 52 | 		self.state = Mutex(State())
    |                |- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |                `- note: add 'if #available' version check
 53 | 	}
 54 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:60:9: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 56 | 	///
 57 | 	/// - Returns: An `AsyncStream` of `StreamLifecycleEvent` values
 58 | 	func makeLifecycleStream() -> AsyncStream<StreamLifecycleEvent> {
    |       `- note: add '@available' attribute to enclosing instance method
 59 | 		let (stream, continuation) = AsyncStream<StreamLifecycleEvent>.makeStream()
 60 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
 61 | 			state.lifecycleContinuation?.finish()
 62 | 			state.lifecycleContinuation = continuation
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:77:9: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 71 | 	///
 72 | 	/// - Returns: An `AsyncStream` that will receive all broadcast elements
 73 | 	func makeStream() -> AsyncStream<T> {
    |       `- note: add '@available' attribute to enclosing instance method
 74 | 		let id = UUID()
 75 | 		let (stream, continuation) = AsyncStream<T>.makeStream()
 76 |
 77 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
 78 | 			let wasEmpty = state.continuations.isEmpty
 79 | 			state.continuations[id] = continuation
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:88:15: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 71 | 	///
 72 | 	/// - Returns: An `AsyncStream` that will receive all broadcast elements
 73 | 	func makeStream() -> AsyncStream<T> {
    |       `- note: add '@available' attribute to enclosing instance method
 74 | 		let id = UUID()
 75 | 		let (stream, continuation) = AsyncStream<T>.makeStream()
    :
 86 | 			guard let self = self else { return }
 87 |
 88 | 			self.state.withLock { state in
    |               |- error: 'withLock' is only available in visionOS 2.0 or newer
    |               `- note: add 'if #available' version check
 89 | 				_ = state.continuations.removeValue(forKey: id)
 90 | 				if state.continuations.isEmpty {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:107:36: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
104 | 	///
105 | 	/// - Parameter value: The element to broadcast to all active streams
106 | 	func send(_ value: T) {
    |       `- note: add '@available' attribute to enclosing instance method
107 | 		let currentContinuations = state.withLock { state in
    |                                    |- error: 'withLock' is only available in visionOS 2.0 or newer
    |                                    `- note: add 'if #available' version check
108 | 			Array(state.continuations.values)
109 | 		}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:121:36: error: 'withLock' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
118 | 	/// Continuations are finished outside the lock: finishing one runs its termination handler,
119 | 	/// which takes the same lock to deregister itself.
120 | 	func finishAll() {
    |       `- note: add '@available' attribute to enclosing instance method
121 | 		let currentContinuations = state.withLock { state in
    |                                    |- error: 'withLock' is only available in visionOS 2.0 or newer
    |                                    `- note: add 'if #available' version check
122 | 			Array(state.continuations.values)
123 | 		}
SwiftCompile normal arm64 Compiling\ FolderContentMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'Mutex' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'Mutex' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'init(_:)' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'init(_:)' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:70:24: error: cannot find type 'FSEventStreamEventId' in scope
 68 | 	/// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
 69 | 	/// to only receive events that occur after monitoring starts.
 70 | 	public let sinceWhen: FSEventStreamEventId
    |                        `- error: cannot find type 'FSEventStreamEventId' in scope
 71 |
 72 | 	/// Create a new monitor for the specified paths.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:80:14: error: cannot find type 'FSEventStreamEventId' in scope
 78 | 	public init(
 79 | 		paths: [String],
 80 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 81 | 		latency: CFTimeInterval = 0
 82 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:96:14: error: cannot find type 'FSEventStreamEventId' in scope
 94 | 	public convenience init(
 95 | 		url: URL,
 96 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 97 | 		latency: CFTimeInterval = 0
 98 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:220:14: error: cannot find type 'FSEventStreamEventId' in scope
218 | 	public static func makeStream(
219 | 		url: URL,
220 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
221 | 		latency: CFTimeInterval = 0
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:240:14: error: cannot find type 'FSEventStreamEventId' in scope
238 | 	public static func makeStream(
239 | 		paths: [String],
240 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
241 | 		latency: CFTimeInterval = 0
242 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:108:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
106 |
107 | 	deinit {
108 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
109 | 			switch consume state {
110 | 			case .idle:
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:138:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
135 | 	/// This method ensures that the FSEventStream is started when the first stream is added
136 | 	/// and stopped when the last stream is removed.
137 | 	private func setupLifecycleManagement() {
    |               `- note: add '@available' attribute to enclosing instance method
138 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
139 | 			switch consume state {
140 | 			case .idle:
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:190:9: error: 'withLock' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
187 | 	}
188 |
189 | 	private func stop() {
    |               `- note: add '@available' attribute to enclosing instance method
190 | 		state.withLock { state in
    |         |- error: 'withLock' is only available in visionOS 2.0 or newer
    |         `- note: add 'if #available' version check
191 | 			switch consume state {
192 | 			case .streaming(let task, _):
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:224:20: error: extra arguments at positions #2, #3 in call
126 | 	///
127 | 	/// - Returns: An `AsyncStream` of ``FolderContentChangeEvent`` objects
128 | 	public func makeStream() -> AsyncStream<FolderContentChangeEvent> {
    |              `- note: 'makeStream()' declared here
129 | 		setupLifecycleManagement()
130 | 		return multicastStream.makeStream()
    :
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
223 | 		precondition(url.isFileURL)
224 | 		return makeStream(paths: [url.path], sinceWhen: sinceWhen, latency: latency)
    |                    `- error: extra arguments at positions #2, #3 in call
225 | 	}
226 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:224:10: error: function produces expected type 'AsyncStream<FolderContentChangeEvent>'; did you mean to call it with '()'?
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
223 | 		precondition(url.isFileURL)
224 | 		return makeStream(paths: [url.path], sinceWhen: sinceWhen, latency: latency)
    |          `- error: function produces expected type 'AsyncStream<FolderContentChangeEvent>'; did you mean to call it with '()'?
225 | 	}
226 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile FolderContentMonitor.swift
SwiftCompile normal arm64 Compiling\ Change.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 | 	/// `eventPath`; see ``StreamCondition``. Masking it off is what lets an empty ``Change``
 32 | 	/// mean "this element reports no file change".
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & ~StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:38:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 36 |
 37 | 	/// The changed item is a directory.
 38 | 	public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 39 |
 40 | 	/// The changed item is a file.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:41:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 39 |
 40 | 	/// The changed item is a file.
 41 | 	public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 42 |
 43 | 	/// The changed item is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:44:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 42 |
 43 | 	/// The changed item is a hard link.
 44 | 	public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
 47 | 	public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:50:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
 50 | 	public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 51 |
 52 | 	/// The item was created.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:53:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 51 |
 52 | 	/// The item was created.
 53 | 	public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 54 |
 55 | 	/// The item was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:56:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 54 |
 55 | 	/// The item was modified.
 56 | 	public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 57 |
 58 | 	/// The item was removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:59:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 57 |
 58 | 	/// The item was removed.
 59 | 	public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 60 |
 61 | 	/// The item was renamed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:62:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 60 |
 61 | 	/// The item was renamed.
 62 | 	public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 63 |
 64 | 	/// The item's owner was changed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:65:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 63 |
 64 | 	/// The item's owner was changed.
 65 | 	public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:68:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
 68 | 	public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:71:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
 71 | 	public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:74:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
 74 | 	public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:77:46: error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
 77 | 	public static let cloned = Change(rawValue: kFSEventStreamEventFlagItemCloned)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 78 |
 79 | 	/// The change was caused by this process.
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Change.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncFileMonitor (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 | 	/// `eventPath`; see ``StreamCondition``. Masking it off is what lets an empty ``Change``
 32 | 	/// mean "this element reports no file change".
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & ~StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:38:51: error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 36 |
 37 | 	/// The changed item is a directory.
 38 | 	public static let isDirectory = Change(rawValue: kFSEventStreamEventFlagItemIsDir)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemIsDir' in scope
 39 |
 40 | 	/// The changed item is a file.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:41:46: error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 39 |
 40 | 	/// The changed item is a file.
 41 | 	public static let isFile = Change(rawValue: kFSEventStreamEventFlagItemIsFile)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemIsFile' in scope
 42 |
 43 | 	/// The changed item is a hard link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:44:50: error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 42 |
 43 | 	/// The changed item is a hard link.
 44 | 	public static let isHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsHardlink)
    |                                                  `- error: cannot find 'kFSEventStreamEventFlagItemIsHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:47:54: error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 45 |
 46 | 	/// The changed item is the last hard link to a file that is being removed.
 47 | 	public static let isLastHardlink = Change(rawValue: kFSEventStreamEventFlagItemIsLastHardlink)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemIsLastHardlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:50:49: error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 48 |
 49 | 	/// The changed item is a symbolic link.
 50 | 	public static let isSymlink = Change(rawValue: kFSEventStreamEventFlagItemIsSymlink)
    |                                                 `- error: cannot find 'kFSEventStreamEventFlagItemIsSymlink' in scope
 51 |
 52 | 	/// The item was created.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:53:47: error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 51 |
 52 | 	/// The item was created.
 53 | 	public static let created = Change(rawValue: kFSEventStreamEventFlagItemCreated)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemCreated' in scope
 54 |
 55 | 	/// The item was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:56:48: error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 54 |
 55 | 	/// The item was modified.
 56 | 	public static let modified = Change(rawValue: kFSEventStreamEventFlagItemModified)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagItemModified' in scope
 57 |
 58 | 	/// The item was removed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:59:47: error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 57 |
 58 | 	/// The item was removed.
 59 | 	public static let removed = Change(rawValue: kFSEventStreamEventFlagItemRemoved)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRemoved' in scope
 60 |
 61 | 	/// The item was renamed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:62:47: error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 60 |
 61 | 	/// The item was renamed.
 62 | 	public static let renamed = Change(rawValue: kFSEventStreamEventFlagItemRenamed)
    |                                               `- error: cannot find 'kFSEventStreamEventFlagItemRenamed' in scope
 63 |
 64 | 	/// The item's owner was changed.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:65:51: error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 63 |
 64 | 	/// The item's owner was changed.
 65 | 	public static let changeOwner = Change(rawValue: kFSEventStreamEventFlagItemChangeOwner)
    |                                                   `- error: cannot find 'kFSEventStreamEventFlagItemChangeOwner' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:68:58: error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 66 |
 67 | 	/// The item's Finder information was modified.
 68 | 	public static let finderInfoModified = Change(rawValue: kFSEventStreamEventFlagItemFinderInfoMod)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagItemFinderInfoMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:71:57: error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 69 |
 70 | 	/// The item's inode metadata was modified.
 71 | 	public static let inodeMetaModified = Change(rawValue: kFSEventStreamEventFlagItemInodeMetaMod)
    |                                                         `- error: cannot find 'kFSEventStreamEventFlagItemInodeMetaMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:74:54: error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 72 |
 73 | 	/// The item's extended attributes were modified.
 74 | 	public static let xattrsModified = Change(rawValue: kFSEventStreamEventFlagItemXattrMod)
    |                                                      `- error: cannot find 'kFSEventStreamEventFlagItemXattrMod' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:77:46: error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 75 |
 76 | 	/// The item was cloned, e.g. by `clonefile(2)` or duplicating in Finder.
 77 | 	public static let cloned = Change(rawValue: kFSEventStreamEventFlagItemCloned)
    |                                              `- error: cannot find 'kFSEventStreamEventFlagItemCloned' in scope
 78 |
 79 | 	/// The change was caused by this process.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift:82:48: error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 80 | 	///
 81 | 	/// Useful to suppress reacting to your own writes.
 82 | 	public static let ownEvent = Change(rawValue: kFSEventStreamEventFlagOwnEvent)
    |                                                `- error: cannot find 'kFSEventStreamEventFlagOwnEvent' in scope
 83 | }
 84 |
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:25: error: 'Atomic' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |           `- error: 'Atomic' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:35: error: 'init(_:)' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |                     `- error: 'init(_:)' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:26:13: error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
 19 | /// RAII principles. Events are forwarded to the provided handler closure.
 20 | /// The FileSystemEventStream has exactly one "port" - the event handler closure.
 21 | struct FileSystemEventStream: ~Copyable {
    |        `- note: add '@available' attribute to enclosing struct
 22 | 	/// Number of `FSEventStream`s that have started and not yet been released.
 23 | 	///
 24 | 	/// Only tests read this; it is the one observable proof that teardown reaches the kernel
 25 | 	/// stream rather than merely dropping the Swift wrapper.
 26 | 	static let liveCount = Atomic<Int>(0)
    |             |- error: conformance of 'Int' to 'AtomicRepresentable' is only available in visionOS 2.0 or newer
    |             `- note: add '@available' attribute to enclosing static property
 27 |
 28 | 	/// Errors that can occur while creating a file system event stream.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:50:42: error: cannot find type 'FSEventStreamCallback' in scope
 48 | 	/// Deliberately free of Task hops: scheduling here would let Swift concurrency reorder
 49 | 	/// events that FSEvents delivered in order.
 50 | 	private static let eventStreamCallback: FSEventStreamCallback = {
    |                                          `- error: cannot find type 'FSEventStreamCallback' in scope
 51 | 		(stream, contextInfo, numEvents, eventPaths, eventFlags, eventIDs) in
 52 | 		guard let contextInfo else { return }
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:73:25: error: cannot find type 'FSEventStreamRef' in scope
 71 | 	}
 72 |
 73 | 	private let streamRef: FSEventStreamRef
    |                         `- error: cannot find type 'FSEventStreamRef' in scope
 74 | 	private let queue: DispatchQueue
 75 | 	private let eventHandlerBox: EventHandlerBox
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:77:26: error: cannot find type 'FSEventStreamRef' in scope
 75 | 	private let eventHandlerBox: EventHandlerBox
 76 |
 77 | 	private init(streamRef: FSEventStreamRef, queue: DispatchQueue, eventHandlerBox: EventHandlerBox) {
    |                          `- error: cannot find type 'FSEventStreamRef' in scope
 78 | 		self.streamRef = streamRef
 79 | 		self.queue = queue
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift:93:14: error: cannot find type 'FSEventStreamEventId' in scope
 91 | 	static func make(
 92 | 		paths: [String],
 93 | 		sinceWhen: FSEventStreamEventId,
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 94 | 		latency: CFTimeInterval,
 95 | 		eventHandler: @escaping @Sendable (FolderContentChangeEvent) -> Void
/Users/admin/builder/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.
/Users/admin/builder/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.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift:70:12: error: cannot find type 'FSEventStreamEventId' in scope
68 | 	///   - condition: Conditions reported by the stream itself (default: none)
69 | 	public init(
70 | 		eventID: FSEventStreamEventId,
   |            `- error: cannot find type 'FSEventStreamEventId' in scope
71 | 		eventPath: String,
72 | 		change: Change,
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'Mutex' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'Mutex' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:53:22: error: 'init(_:)' is only available in visionOS 2.0 or newer
 43 | /// - Swift 6 Mutex for thread-safe subscriber management
 44 | /// - OrderedDictionary preserves subscriber registration order
 45 | nonisolated public final class FolderContentMonitor: Sendable {
    |                                `- note: add '@available' attribute to enclosing class
 46 | 	private enum State: ~Copyable {
 47 | 		case idle
    :
 51 |
 52 | 	private let multicastStream = MulticastAsyncStream<FolderContentChangeEvent>()
 53 | 	private let state = Mutex(State.idle)
    |                      `- error: 'init(_:)' is only available in visionOS 2.0 or newer
 54 |
 55 | 	/// The paths being monitored.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:70:24: error: cannot find type 'FSEventStreamEventId' in scope
 68 | 	/// This determines which events should be reported. Use `kFSEventStreamEventIdSinceNow`
 69 | 	/// to only receive events that occur after monitoring starts.
 70 | 	public let sinceWhen: FSEventStreamEventId
    |                        `- error: cannot find type 'FSEventStreamEventId' in scope
 71 |
 72 | 	/// Create a new monitor for the specified paths.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:80:14: error: cannot find type 'FSEventStreamEventId' in scope
 78 | 	public init(
 79 | 		paths: [String],
 80 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 81 | 		latency: CFTimeInterval = 0
 82 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:96:14: error: cannot find type 'FSEventStreamEventId' in scope
 94 | 	public convenience init(
 95 | 		url: URL,
 96 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
 97 | 		latency: CFTimeInterval = 0
 98 | 	) {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:220:14: error: cannot find type 'FSEventStreamEventId' in scope
218 | 	public static func makeStream(
219 | 		url: URL,
220 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
221 | 		latency: CFTimeInterval = 0
222 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift:240:14: error: cannot find type 'FSEventStreamEventId' in scope
238 | 	public static func makeStream(
239 | 		paths: [String],
240 | 		sinceWhen: FSEventStreamEventId = FSEventStreamEventId(kFSEventStreamEventIdSinceNow),
    |              `- error: cannot find type 'FSEventStreamEventId' in scope
241 | 		latency: CFTimeInterval = 0
242 | 	) -> AsyncStream<FolderContentChangeEvent> {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift:49:21: error: 'Mutex' is only available in visionOS 2.0 or newer
 41 | /// - **Lifecycle management**: Automatic start/stop based on subscriber count
 42 | /// - **High performance**: No actor isolation or Task scheduling overhead
 43 | final class MulticastAsyncStream<T>: Sendable where T: Sendable {
    |             `- note: add '@available' attribute to enclosing generic class
 44 | 	private struct State {
 45 | 		var continuations: OrderedDictionary<UUID, AsyncStream<T>.Continuation> = .init()
    :
 47 | 	}
 48 |
 49 | 	private let state: Mutex<State>
    |                     `- error: 'Mutex' is only available in visionOS 2.0 or newer
 50 |
 51 | 	init() {
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 |
 32 | 	/// Extracts the stream conditions from Core Services event flags, discarding item flags.
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:51:71: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 49 | 	/// This is the sole actionable condition in this group: ``userDropped`` and
 50 | 	/// ``kernelDropped`` only say where the bottleneck was.
 51 | 	public static let mustScanSubDirectories = StreamCondition(rawValue: kFSEventStreamEventFlagMustScanSubDirs)
    |                                                                       `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 52 |
 53 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed on the client side.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:56:60: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 54 | 	///
 55 | 	/// Per the Core Services headers, the likelier of the two.
 56 | 	public static let userDropped = StreamCondition(rawValue: kFSEventStreamEventFlagUserDropped)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:59:62: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
 59 | 	public static let kernelDropped = StreamCondition(rawValue: kFSEventStreamEventFlagKernelDropped)
    |                                                              `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 60 |
 61 | 	// MARK: - Invalidated state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:67:64: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 65 | 	/// Previously issued event IDs are no longer valid values for `sinceWhen`. Callers that
 66 | 	/// persist an event ID as a resume point must discard it.
 67 | 	public static let eventIDsWrapped = StreamCondition(rawValue: kFSEventStreamEventFlagEventIdsWrapped)
    |                                                                `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 68 |
 69 | 	/// A directory along the path to a monitored path changed; the monitored path may no longer exist.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:75:60: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 73 | 	/// - Note: Only ever delivered when the stream was created with
 74 | 	///   `kFSEventStreamCreateFlagWatchRoot`, which this library does not currently pass.
 75 | 	public static let rootChanged = StreamCondition(rawValue: kFSEventStreamEventFlagRootChanged)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 76 |
 77 | 	/// A volume was mounted underneath a monitored path; `eventPath` is the mount point.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:81:56: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 79 | 	/// - Warning: The new volume may contain an arbitrarily large hierarchy, and may not be
 80 | 	///   local. Do not scan it unconditionally.
 81 | 	public static let mounted = StreamCondition(rawValue: kFSEventStreamEventFlagMount)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 82 |
 83 | 	/// A volume was unmounted underneath a monitored path; `eventPath` is the directory it was
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:87:58: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 85 | 	///
 86 | 	/// Delivered after the unmount has already happened.
 87 | 	public static let unmounted = StreamCondition(rawValue: kFSEventStreamEventFlagUnmount)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 88 |
 89 | 	// MARK: - Sentinel
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:95:60: error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 93 | 	///
 94 | 	/// - Important: `eventPath` is meaningless on this event and must be ignored.
 95 | 	public static let historyDone = StreamCondition(rawValue: kFSEventStreamEventFlagHistoryDone)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagHistoryDone' in scope
 96 | }
 97 |
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/Change.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FileSystemEventStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentChangeEvent.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/FolderContentMonitor.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/MulticastAsyncStream.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift -target arm64-apple-xros1.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS27.0.sdk/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules -no-color-diagnostics -Xcc -fno-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -profile-generate -profile-coverage-mapping -swift-version 6 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros27.0-24M361-e829b21a6f8c9b70876ba0858053c044735bd543db762f57723cac368afd1ce4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name AsyncFileMonitor -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-xros27.0 -target-sdk-version 27.0 -target-sdk-name xros27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/AsyncFileMonitor.build/Debug-xros/AsyncFileMonitor-t.build/Objects-normal/arm64/AsyncFileMonitor.abi.json
SwiftCompile normal arm64 (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ StreamCondition.swift /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:33:26: error: cannot find type 'FSEventStreamEventFlags' in scope
 31 |
 32 | 	/// Extracts the stream conditions from Core Services event flags, discarding item flags.
 33 | 	public init(eventFlags: FSEventStreamEventFlags) {
    |                          `- error: cannot find type 'FSEventStreamEventFlags' in scope
 34 | 		self.rawValue = Int(eventFlags) & StreamCondition.flagsMask
 35 | 	}
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:51:71: error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 49 | 	/// This is the sole actionable condition in this group: ``userDropped`` and
 50 | 	/// ``kernelDropped`` only say where the bottleneck was.
 51 | 	public static let mustScanSubDirectories = StreamCondition(rawValue: kFSEventStreamEventFlagMustScanSubDirs)
    |                                                                       `- error: cannot find 'kFSEventStreamEventFlagMustScanSubDirs' in scope
 52 |
 53 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed on the client side.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:56:60: error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 54 | 	///
 55 | 	/// Per the Core Services headers, the likelier of the two.
 56 | 	public static let userDropped = StreamCondition(rawValue: kFSEventStreamEventFlagUserDropped)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagUserDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:59:62: error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 57 |
 58 | 	/// Diagnostic accompanying ``mustScanSubDirectories``: buffering failed in the kernel.
 59 | 	public static let kernelDropped = StreamCondition(rawValue: kFSEventStreamEventFlagKernelDropped)
    |                                                              `- error: cannot find 'kFSEventStreamEventFlagKernelDropped' in scope
 60 |
 61 | 	// MARK: - Invalidated state
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:67:64: error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 65 | 	/// Previously issued event IDs are no longer valid values for `sinceWhen`. Callers that
 66 | 	/// persist an event ID as a resume point must discard it.
 67 | 	public static let eventIDsWrapped = StreamCondition(rawValue: kFSEventStreamEventFlagEventIdsWrapped)
    |                                                                `- error: cannot find 'kFSEventStreamEventFlagEventIdsWrapped' in scope
 68 |
 69 | 	/// A directory along the path to a monitored path changed; the monitored path may no longer exist.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:75:60: error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 73 | 	/// - Note: Only ever delivered when the stream was created with
 74 | 	///   `kFSEventStreamCreateFlagWatchRoot`, which this library does not currently pass.
 75 | 	public static let rootChanged = StreamCondition(rawValue: kFSEventStreamEventFlagRootChanged)
    |                                                            `- error: cannot find 'kFSEventStreamEventFlagRootChanged' in scope
 76 |
 77 | 	/// A volume was mounted underneath a monitored path; `eventPath` is the mount point.
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:81:56: error: cannot find 'kFSEventStreamEventFlagMount' in scope
 79 | 	/// - Warning: The new volume may contain an arbitrarily large hierarchy, and may not be
 80 | 	///   local. Do not scan it unconditionally.
 81 | 	public static let mounted = StreamCondition(rawValue: kFSEventStreamEventFlagMount)
    |                                                        `- error: cannot find 'kFSEventStreamEventFlagMount' in scope
 82 |
 83 | 	/// A volume was unmounted underneath a monitored path; `eventPath` is the directory it was
/Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift:87:58: error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 85 | 	///
 86 | 	/// Delivered after the unmount has already happened.
 87 | 	public static let unmounted = StreamCondition(rawValue: kFSEventStreamEventFlagUnmount)
    |                                                          `- error: cannot find 'kFSEventStreamEventFlagUnmount' in scope
 88 |
 89 | 	// MARK: - Sentinel
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/AsyncFileMonitor/StreamCondition.swift (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile StreamCondition.swift
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
2026-09-27 14:59:01.020 xcodebuild[1342:8218] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64 Emitting\ module\ for\ AsyncFileMonitor (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
	SwiftCompile normal arm64 (in target 'AsyncFileMonitor' from project 'AsyncFileMonitor')
	Building workspace AsyncFileMonitor with scheme AsyncFileMonitor-Package
(3 failures)
BUILD FAILURE 6.4 visionOS