The Swift Package Index logo.Swift Package Index

Build Information

Failed to build CodexKit, reference main (f7fa39), with Swift 6.4 for watchOS using Xcode 27.0 on 26 Sep 2026 22:50:27 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 CodexKit-Package -destination generic/platform=watchOS

Build Log

Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/Binary/OrderedCollections.o normal arm64_32 (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_32-apple-watchos9.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/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-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/Binary/OrderedCollections.o
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/Binary/SpanPreview.o normal arm64 (in target 'SpanPreview' 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-watchos9.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview.LinkFileList -nostdlib -Xlinker -object_path_lto -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview_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-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview_dependency_info.dat -fobjc-link-runtime -L/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/Binary/SpanPreview.o
Ld /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/Binary/OrderedCollections.o normal arm64 (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-watchos9.0 -r -isysroot /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -O0 -w -Xlinker -no_warn_duplicate_libraries -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks -F/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -iframework /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/Developer/Library/Frameworks -filelist /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/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-watchos/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-watchos/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/watchos -L/usr/lib/swift -Xlinker -add_ast_path -Xlinker /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.swiftmodule -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/Binary/OrderedCollections.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SpanPreview.o normal arm64\ arm64_32 (in target 'SpanPreview' 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/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/Binary/SpanPreview.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64_32/Binary/SpanPreview.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SpanPreview.o
CreateUniversalBinary /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/OrderedCollections.o normal arm64\ arm64_32 (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/lipo -create /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/Binary/OrderedCollections.o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/Binary/OrderedCollections.o -output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/OrderedCollections.o
ExtractAppIntentsMetadata (in target 'SpanPreview' 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.zH1aDC/Metal.xctoolchain --module-name SpanPreview --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk --xcode-version 27A266a --platform-family watchOS --deployment-target 9.0 --bundle-identifier swift-collections.SpanPreview --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SpanPreview.appintents --target-triple arm64-apple-watchos9.0 --target-triple arm64_32-apple-watchos9.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/SpanPreview.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64_32/SpanPreview_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64_32/SpanPreview.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/SpanPreview.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/SpanPreview.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64/SpanPreview.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/SpanPreview-t.build/Objects-normal/arm64_32/SpanPreview.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-26 18:50:26.164 appintentsmetadataprocessor[926:5557] Starting appintentsmetadataprocessor export
2026-09-26 18:50:26.227 appintentsmetadataprocessor[926:5557] Extracted no relevant App Intents symbols, skipping writing output
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.zH1aDC/Metal.xctoolchain --module-name OrderedCollections --sdk-root /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk --xcode-version 27A266a --platform-family watchOS --deployment-target 9.0 --bundle-identifier swift-collections.OrderedCollections --output /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/OrderedCollections.appintents --target-triple arm64-apple-watchos9.0 --target-triple arm64_32-apple-watchos9.0 --binary-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/OrderedCollections.o --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections_dependency_info.dat --dependency-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections_dependency_info.dat --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/ExtractedAppShortcutsMetadata.stringsdata --stringsdata-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/ExtractedAppShortcutsMetadata.stringsdata --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.SwiftFileList --source-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections.SwiftFileList --metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/OrderedCollections.DependencyMetadataFileList --static-metadata-file-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/OrderedCollections.DependencyStaticMetadataFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64/OrderedCollections.SwiftConstValuesFileList --swift-const-vals-list /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swift-collections.build/Debug-watchos/OrderedCollections-t.build/Objects-normal/arm64_32/OrderedCollections.SwiftConstValuesFileList --force --compile-time-extraction --deployment-aware-processing --no-app-shortcuts-localization
2026-09-26 18:50:26.173 appintentsmetadataprocessor[927:5558] Starting appintentsmetadataprocessor export
2026-09-26 18:50:26.240 appintentsmetadataprocessor[927:5558] Extracted no relevant App Intents symbols, skipping writing output
SwiftCompile normal arm64 Compiling\ _UnsafeDequeHandle.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _UnsafeDequeHandle.swift
SwiftCompile normal arm64 Compiling\ UniqueDeque.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque.swift
SwiftCompile normal arm64 Compiling\ _DequeSlot.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _DequeSlot.swift
SwiftCompile normal arm64 Compiling\ _UnsafeDequeSegments.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _UnsafeDequeSegments.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ DequeModule (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64_32 Emitting\ module\ for\ DequeModule (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ UniqueDeque.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque.swift
SwiftCompile normal arm64_32 Compiling\ _DequeSlot.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _DequeSlot.swift
SwiftCompile normal arm64_32 Compiling\ _UnsafeDequeSegments.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _UnsafeDequeSegments.swift
SwiftCompile normal arm64_32 Compiling\ _UnsafeDequeHandle.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/_UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile _UnsafeDequeHandle.swift
SwiftEmitModule normal arm64 Emitting\ module\ for\ CodexAppServerKit (in target 'CodexAppServerKit' from project 'CodexKit')
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:295:25: error: 'Mutex' is only available in watchOS 11.0 or newer
287 | }
288 |
289 | private final class AccountEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
290 |     private struct State {
291 |         var channels: [UUID: AccountEventSubscriberChannel] = [:]
    :
293 |     }
294 |
295 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
296 |
297 |     var isFinished: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:295:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
287 | }
288 |
289 | private final class AccountEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
290 |     private struct State {
291 |         var channels: [UUID: AccountEventSubscriberChannel] = [:]
    :
293 |     }
294 |
295 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
296 |
297 |     var isFinished: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:122:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 98 | }
 99 |
100 | private final class AccountEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
101 |     private enum Terminal {
102 |         case open
    :
120 |     }
121 |
122 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
123 |
124 |     func yield(_ event: CodexAccountEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:122:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 98 | }
 99 |
100 | private final class AccountEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
101 |     private enum Terminal {
102 |         case open
    :
120 |     }
121 |
122 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
123 |
124 |     func yield(_ event: CodexAccountEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:262:25: error: 'Mutex' is only available in watchOS 11.0 or newer
255 | }
256 |
257 | private final class AccountEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
258 |     private struct State {
259 |         var isCancelled = false
260 |     }
261 |
262 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
263 |     private let id: UUID
264 |     private let registry: AccountEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:262:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
255 | }
256 |
257 | private final class AccountEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
258 |     private struct State {
259 |         var isCancelled = false
260 |     }
261 |
262 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
263 |     private let id: UUID
264 |     private let registry: AccountEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:573:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 564 | }
 565 |
 566 | private final class AppServerOneBitReadSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 567 |     private struct State {
 568 |         var hasPendingReadiness = false
     :
 571 |     }
 572 |
 573 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 574 |
 575 |     func next() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:573:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 564 | }
 565 |
 566 | private final class AppServerOneBitReadSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 567 |     private struct State {
 568 |         var hasPendingReadiness = false
     :
 571 |     }
 572 |
 573 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 574 |
 575 |     func next() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:646:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 637 | }
 638 |
 639 | private final class AppServerReadEventWaiter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 640 |     private enum State {
 641 |         case pending(CheckedContinuation<AppServerReadEvent, Never>?)
     :
 644 |
 645 |     let id = UUID()
 646 |     private let state = Mutex<State>(.pending(nil))
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 647 |
 648 |     func wait() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:646:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
 637 | }
 638 |
 639 | private final class AppServerReadEventWaiter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 640 |     private enum State {
 641 |         case pending(CheckedContinuation<AppServerReadEvent, Never>?)
     :
 644 |
 645 |     let id = UUID()
 646 |     private let state = Mutex<State>(.pending(nil))
     |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 647 |
 648 |     func wait() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:864:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 856 | }
 857 |
 858 | private final class AppServerCancellationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 859 |     private enum State {
 860 |         case pending([CheckedContinuation<Void, Never>])
     :
 862 |     }
 863 |
 864 |     private let state = Mutex<State>(.pending([]))
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 865 |
 866 |     func wait() async {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:864:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
 856 | }
 857 |
 858 | private final class AppServerCancellationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 859 |     private enum State {
 860 |         case pending([CheckedContinuation<Void, Never>])
     :
 862 |     }
 863 |
 864 |     private let state = Mutex<State>(.pending([]))
     |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 865 |
 866 |     func wait() async {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:695:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 686 | }
 687 |
 688 | private final class AppServerPipeReadEventSource: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 689 |     private struct State {
 690 |         var source: DispatchSourceRead?
     :
 693 |     private let signal = AppServerOneBitReadSignal()
 694 |     private let cancellationCompletion = AppServerCancellationCompletion()
 695 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 696 |
 697 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:761:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 750 | }
 751 |
 752 | private final class AppServerStdoutReadMetrics: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 753 |     private struct State {
 754 |         var successfulReadCount = 0
     :
 759 |     }
 760 |
 761 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 762 |
 763 |     func beginChunk(byteCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:761:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 750 | }
 751 |
 752 | private final class AppServerStdoutReadMetrics: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 753 |     private struct State {
 754 |         var successfulReadCount = 0
     :
 759 |     }
 760 |
 761 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 762 |
 763 |     func beginChunk(byteCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:814:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 805 | }
 806 |
 807 | private final class AppServerProcessExitEventSource: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 808 |     private struct State {
 809 |         var source: DispatchSourceProcess?
     :
 812 |     private let signal = AppServerOneBitReadSignal()
 813 |     private let cancellationCompletion = AppServerCancellationCompletion()
 814 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 815 |
 816 |     init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:906:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 898 | }
 899 |
 900 | package final class AppServerJSONRPCWriter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 901 |     private struct State {
 902 |         var fileHandle: FileHandle?
     :
 904 |     }
 905 |
 906 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 907 |
 908 |     package init(fileHandle: FileHandle) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1121:29: error: 'Mutex' is only available in watchOS 11.0 or newer
1110 | }
1111 |
1112 | private final class AppServerSpawnedProcess: @unchecked Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1113 |     let processIdentifier: pid_t
1114 |
     :
1119 |         var reapSystemCallCount = 0
1120 |     }
1121 |     private let exitState = Mutex(ExitState())
     |                             `- error: 'Mutex' is only available in watchOS 11.0 or newer
1122 |
1123 |     private init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1121:29: error: 'init(_:)' is only available in watchOS 11.0 or newer
1110 | }
1111 |
1112 | private final class AppServerSpawnedProcess: @unchecked Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1113 |     let processIdentifier: pid_t
1114 |
     :
1119 |         var reapSystemCallCount = 0
1120 |     }
1121 |     private let exitState = Mutex(ExitState())
     |                             `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1122 |
1123 |     private init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1590:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1581 | }
1582 |
1583 | package final class ProcessTerminationToken: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1584 |     private struct State {
1585 |         var didRequestTermination = false
     :
1588 |
1589 |     private let processGroupID: pid_t?
1590 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1591 |     private let terminationRequestSignal = AppServerOneBitReadSignal()
1592 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1590:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1581 | }
1582 |
1583 | package final class ProcessTerminationToken: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1584 |     private struct State {
1585 |         var didRequestTermination = false
     :
1588 |
1589 |     private let processGroupID: pid_t?
1590 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1591 |     private let terminationRequestSignal = AppServerOneBitReadSignal()
1592 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServer.swift:73:72: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
  71 |             public static func defaultCodexHomeURL(
  72 |                 environment: [String: String] = ProcessInfo.processInfo.environment,
  73 |                 homeDirectoryForCurrentUser: URL = FileManager.default.homeDirectoryForCurrentUser,
     |                                                                        `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
  74 |                 applicationSupportDirectory: URL? = FileManager.default.urls(
  75 |                     for: .applicationSupportDirectory,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
     |                                   `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:33: error: 'Mutex' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                 `- error: 'Mutex' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:56: error: 'init(_:)' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                                        `- error: 'init(_:)' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'Mutex' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'Mutex' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:16:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 14 |     }
 15 |
 16 |     private let action: Mutex<(@Sendable (Request) async -> Void)?>
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 17 |
 18 |     package init(action: (@Sendable () async -> Void)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:300:24: error: 'Mutex' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
298 |     }
299 |
300 |     private let state: Mutex<State>
    |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
301 |
302 |     package init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCEnvelopeCodec.swift:180:25: error: 'Mutex' is only available in watchOS 11.0 or newer
172 | }
173 |
174 | package final class JSONRPCResponseWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
175 |     private enum State {
176 |         case pending(CheckedContinuation<Result<Data, JSONRPC.Error>, Never>?)
    :
178 |     }
179 |
180 |     private let state = Mutex<State>(.pending(nil))
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
181 |
182 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCEnvelopeCodec.swift:180:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
172 | }
173 |
174 | package final class JSONRPCResponseWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
175 |     private enum State {
176 |         case pending(CheckedContinuation<Result<Data, JSONRPC.Error>, Never>?)
    :
178 |     }
179 |
180 |     private let state = Mutex<State>(.pending(nil))
    |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
181 |
182 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCInboundFrameMailbox.swift:293:25: error: 'Mutex' is only available in watchOS 11.0 or newer
283 | }
284 |
285 | private final class MailboxWaiter<Value: Sendable>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
286 |     private enum State {
287 |         case pending(CheckedContinuation<Value, Never>?)
    :
291 |     let id = UUID()
292 |     private let cancellationValue: Value
293 |     private let state = Mutex<State>(.pending(nil))
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
294 |
295 |     init(cancellationValue: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCInboundFrameMailbox.swift:293:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
283 | }
284 |
285 | private final class MailboxWaiter<Value: Sendable>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
286 |     private enum State {
287 |         case pending(CheckedContinuation<Value, Never>?)
    :
291 |     let id = UUID()
292 |     private let cancellationValue: Value
293 |     private let state = Mutex<State>(.pending(nil))
    |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
294 |
295 |     init(cancellationValue: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:39:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  2 | import Synchronization
  3 |
  4 | package final class RequestOperationState: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package enum PostWriteCallerCancellationPolicy: Equatable, Sendable {
  6 |         case performCleanup
    :
 37 |     }
 38 |
 39 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 40 |
 41 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:39:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
  2 | import Synchronization
  3 |
  4 | package final class RequestOperationState: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package enum PostWriteCallerCancellationPolicy: Equatable, Sendable {
  6 |         case performCleanup
    :
 37 |     }
 38 |
 39 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 40 |
 41 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:397:25: error: 'Mutex' is only available in watchOS 11.0 or newer
385 | }
386 |
387 | private final class RequestQueueCountWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
388 |     private enum State: Sendable {
389 |         case idle
    :
395 |     let id = UUID()
396 |     let minimumCount: Int
397 |     private let state = Mutex(State.idle)
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
398 |
399 |     init(minimumCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:397:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
385 | }
386 |
387 | private final class RequestQueueCountWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
388 |     private enum State: Sendable {
389 |         case idle
    :
395 |     let id = UUID()
396 |     let minimumCount: Int
397 |     private let state = Mutex(State.idle)
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
398 |
399 |     init(minimumCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:485:25: error: 'Mutex' is only available in watchOS 11.0 or newer
474 | }
475 |
476 | private final class RequestLaneWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
477 |     private enum State: Sendable {
478 |         case idle
    :
483 |
484 |     let id = UUID()
485 |     private let state = Mutex(State.idle)
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
486 |
487 |     var isPending: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:485:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
474 | }
475 |
476 | private final class RequestLaneWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
477 |     private enum State: Sendable {
478 |         case idle
    :
483 |
484 |     let id = UUID()
485 |     private let state = Mutex(State.idle)
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
486 |
487 |     var isPending: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:20:30: error: 'Mutex' is only available in watchOS 11.0 or newer
  17 | }
  18 |
  19 | package final class ReviewRestartIdentityAccumulator: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  20 |     private let identities = Mutex<[CodexReviewIdentity]>([])
     |                              `- error: 'Mutex' is only available in watchOS 11.0 or newer
  21 |
  22 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:20:57: error: 'init(_:)' is only available in watchOS 11.0 or newer
  17 | }
  18 |
  19 | package final class ReviewRestartIdentityAccumulator: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  20 |     private let identities = Mutex<[CodexReviewIdentity]>([])
     |                                                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
  21 |
  22 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:941:36: error: 'Mutex' is only available in watchOS 11.0 or newer
 933 | }
 934 |
 935 | package final class RestartCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 936 |     fileprivate let id: UUID
 937 |     fileprivate let invalidation: InvalidationSignal
     :
 939 |     private let resultCell: SharedResultCell<RestartExecutionOutcome>
 940 |     fileprivate let cleanupLateSession: @Sendable (CodexReviewSession) async throws -> Void
 941 |     private let storedSettlement = Mutex<RestartSettlement?>(nil)
     |                                    `- error: 'Mutex' is only available in watchOS 11.0 or newer
 942 |
 943 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:941:60: error: 'init(_:)' is only available in watchOS 11.0 or newer
 933 | }
 934 |
 935 | package final class RestartCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 936 |     fileprivate let id: UUID
 937 |     fileprivate let invalidation: InvalidationSignal
     :
 939 |     private let resultCell: SharedResultCell<RestartExecutionOutcome>
 940 |     fileprivate let cleanupLateSession: @Sendable (CodexReviewSession) async throws -> Void
 941 |     private let storedSettlement = Mutex<RestartSettlement?>(nil)
     |                                                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 942 |
 943 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:989:32: error: 'Mutex' is only available in watchOS 11.0 or newer
 983 | }
 984 |
 985 | package final class InvalidationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 986 |     fileprivate let id: UUID
 987 |     fileprivate let task: Task<[CodexReviewIdentity], Never>
 988 |     fileprivate let restartCompletion: RestartCompletion?
 989 |     private let storedResult = Mutex<[CodexReviewIdentity]?>(nil)
     |                                `- error: 'Mutex' is only available in watchOS 11.0 or newer
 990 |
 991 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:989:60: error: 'init(_:)' is only available in watchOS 11.0 or newer
 983 | }
 984 |
 985 | package final class InvalidationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 986 |     fileprivate let id: UUID
 987 |     fileprivate let task: Task<[CodexReviewIdentity], Never>
 988 |     fileprivate let restartCompletion: RestartCompletion?
 989 |     private let storedResult = Mutex<[CodexReviewIdentity]?>(nil)
     |                                                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 990 |
 991 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1020:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1012 | }
1013 |
1014 | private final class InvalidationSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1015 |     private struct State: Sendable {
1016 |         var isRequested = false
     :
1018 |     }
1019 |
1020 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1021 |
1022 |     var isRequested: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1020:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1012 | }
1013 |
1014 | private final class InvalidationSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1015 |     private struct State: Sendable {
1016 |         var isRequested = false
     :
1018 |     }
1019 |
1020 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1021 |
1022 |     var isRequested: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1072:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1056 | }
1057 |
1058 | private final class SharedResultCell<Value: Sendable>: Sendable {
     |                     `- note: add '@available' attribute to enclosing generic class
1059 |     private struct WaiterCountObserver: Sendable {
1060 |         var minimumCount: Int
     :
1070 |     }
1071 |
1072 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1073 |
1074 |     func wait() async throws -> Value {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1072:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1056 | }
1057 |
1058 | private final class SharedResultCell<Value: Sendable>: Sendable {
     |                     `- note: add '@available' attribute to enclosing generic class
1059 |     private struct WaiterCountObserver: Sendable {
1060 |         var minimumCount: Int
     :
1070 |     }
1071 |
1072 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1073 |
1074 |     func wait() async throws -> Value {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:99:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
  97 |     }
  98 |
  99 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:99:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
  97 |     }
  98 |
  99 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:102:28: error: 'Mutex' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
 102 |     private let delivery = Mutex(())
     |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
 103 |
 104 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:102:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
 102 |     private let delivery = Mutex(())
     |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 103 |
 104 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:831:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 819 | }
 820 |
 821 | private final class ThreadEventGenerationCheckpointIdentity: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 822 |     enum Phase: Equatable, Sendable {
 823 |         case inactive
     :
 829 |
 830 |     let id = UUID()
 831 |     private let state = Mutex(Phase.inactive)
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 832 |
 833 |     var phase: Phase {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:831:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 819 | }
 820 |
 821 | private final class ThreadEventGenerationCheckpointIdentity: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 822 |     enum Phase: Equatable, Sendable {
 823 |         case inactive
     :
 829 |
 830 |     let id = UUID()
 831 |     private let state = Mutex(Phase.inactive)
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 832 |
 833 |     var phase: Phase {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1311:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1288 | }
1289 |
1290 | private final class ThreadEventSubscriberChannel: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1291 |     private enum Phase: Sendable {
1292 |         case open
     :
1309 |
1310 |     private static let incrementalCapacity = 256
1311 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1312 |
1313 |     @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1311:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1288 | }
1289 |
1290 | private final class ThreadEventSubscriberChannel: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1291 |     private enum Phase: Sendable {
1292 |         case open
     :
1309 |
1310 |     private static let incrementalCapacity = 256
1311 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1312 |
1313 |     @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1616:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1613 | }
1614 |
1615 | private final class ThreadEventSubscriptionCancellation: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1616 |     private let state = Mutex(false)
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1617 |     private let id: UUID
1618 |     private let threadID: CodexThreadID
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1616:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1613 | }
1614 |
1615 | private final class ThreadEventSubscriptionCancellation: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1616 |     private let state = Mutex(false)
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1617 |     private let id: UUID
1618 |     private let threadID: CodexThreadID
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:40:28: error: 'Mutex' is only available in watchOS 11.0 or newer
 37 | }
 38 |
 39 | private final class TurnReplayPendingWritePhase: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 40 |     private let accepted = Mutex(false)
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
 41 |
 42 |     var isWriteAccepted: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:40:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
 37 | }
 38 |
 39 | private final class TurnReplayPendingWritePhase: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 40 |     private let accepted = Mutex(false)
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 41 |
 42 |     var isWriteAccepted: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:751:25: error: 'Mutex' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
749 |     }
750 |
751 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:751:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
749 |     }
750 |
751 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:754:28: error: 'Mutex' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
754 |     private let delivery = Mutex(())
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
755 |
756 |     func makeSubscription(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:754:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
754 |     private let delivery = Mutex(())
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
755 |
756 |     func makeSubscription(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:390:25: error: 'Mutex' is only available in watchOS 11.0 or newer
368 | }
369 |
370 | private final class TurnReplayEventSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
371 |     typealias Element = CodexTurnEvent
372 |
    :
388 |
389 |     private static let incrementalCapacity = 256
390 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
391 |
392 |     func yield(_ event: CodexTurnEvent, accumulatedSnapshot: CodexTurnSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:390:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
368 | }
369 |
370 | private final class TurnReplayEventSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
371 |     typealias Element = CodexTurnEvent
372 |
    :
388 |
389 |     private static let incrementalCapacity = 256
390 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
391 |
392 |     func yield(_ event: CodexTurnEvent, accumulatedSnapshot: CodexTurnSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:560:25: error: 'Mutex' is only available in watchOS 11.0 or newer
540 | }
541 |
542 | private final class TurnReplayProgressSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
543 |     typealias Element = CodexReviewProgress
544 |
    :
558 |     }
559 |
560 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
561 |
562 |     func yield(_ progress: CodexReviewProgress) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:560:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
540 | }
541 |
542 | private final class TurnReplayProgressSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
543 |     typealias Element = CodexReviewProgress
544 |
    :
558 |     }
559 |
560 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
561 |
562 |     func yield(_ progress: CodexReviewProgress) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:707:25: error: 'Mutex' is only available in watchOS 11.0 or newer
700 | }
701 |
702 | private final class TurnReplaySubscriptionCancellation<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
703 |     private struct State {
704 |         var isCancelled = false
705 |     }
706 |
707 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
708 |     private let id: UUID
709 |     private let registry: TurnReplaySubscriptionRegistry<Channel>
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:707:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
700 | }
701 |
702 | private final class TurnReplaySubscriptionCancellation<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
703 |     private struct State {
704 |         var isCancelled = false
705 |     }
706 |
707 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
708 |     private let id: UUID
709 |     private let registry: TurnReplaySubscriptionRegistry<Channel>
SwiftCompile normal arm64 (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftDriverJobDiscovery normal arm64_32 Compiling _DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ CodexAppServerKit (in target 'CodexAppServerKit' from project 'CodexKit')
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:295:25: error: 'Mutex' is only available in watchOS 11.0 or newer
287 | }
288 |
289 | private final class AccountEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
290 |     private struct State {
291 |         var channels: [UUID: AccountEventSubscriberChannel] = [:]
    :
293 |     }
294 |
295 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
296 |
297 |     var isFinished: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:295:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
287 | }
288 |
289 | private final class AccountEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
290 |     private struct State {
291 |         var channels: [UUID: AccountEventSubscriberChannel] = [:]
    :
293 |     }
294 |
295 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
296 |
297 |     var isFinished: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:122:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 98 | }
 99 |
100 | private final class AccountEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
101 |     private enum Terminal {
102 |         case open
    :
120 |     }
121 |
122 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
123 |
124 |     func yield(_ event: CodexAccountEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:122:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 98 | }
 99 |
100 | private final class AccountEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
101 |     private enum Terminal {
102 |         case open
    :
120 |     }
121 |
122 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
123 |
124 |     func yield(_ event: CodexAccountEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:262:25: error: 'Mutex' is only available in watchOS 11.0 or newer
255 | }
256 |
257 | private final class AccountEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
258 |     private struct State {
259 |         var isCancelled = false
260 |     }
261 |
262 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
263 |     private let id: UUID
264 |     private let registry: AccountEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AccountEventHub.swift:262:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
255 | }
256 |
257 | private final class AccountEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
258 |     private struct State {
259 |         var isCancelled = false
260 |     }
261 |
262 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
263 |     private let id: UUID
264 |     private let registry: AccountEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:573:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 564 | }
 565 |
 566 | private final class AppServerOneBitReadSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 567 |     private struct State {
 568 |         var hasPendingReadiness = false
     :
 571 |     }
 572 |
 573 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 574 |
 575 |     func next() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:573:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 564 | }
 565 |
 566 | private final class AppServerOneBitReadSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 567 |     private struct State {
 568 |         var hasPendingReadiness = false
     :
 571 |     }
 572 |
 573 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 574 |
 575 |     func next() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:646:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 637 | }
 638 |
 639 | private final class AppServerReadEventWaiter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 640 |     private enum State {
 641 |         case pending(CheckedContinuation<AppServerReadEvent, Never>?)
     :
 644 |
 645 |     let id = UUID()
 646 |     private let state = Mutex<State>(.pending(nil))
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 647 |
 648 |     func wait() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:646:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
 637 | }
 638 |
 639 | private final class AppServerReadEventWaiter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 640 |     private enum State {
 641 |         case pending(CheckedContinuation<AppServerReadEvent, Never>?)
     :
 644 |
 645 |     let id = UUID()
 646 |     private let state = Mutex<State>(.pending(nil))
     |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 647 |
 648 |     func wait() async -> AppServerReadEvent {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:864:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 856 | }
 857 |
 858 | private final class AppServerCancellationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 859 |     private enum State {
 860 |         case pending([CheckedContinuation<Void, Never>])
     :
 862 |     }
 863 |
 864 |     private let state = Mutex<State>(.pending([]))
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 865 |
 866 |     func wait() async {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:864:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
 856 | }
 857 |
 858 | private final class AppServerCancellationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 859 |     private enum State {
 860 |         case pending([CheckedContinuation<Void, Never>])
     :
 862 |     }
 863 |
 864 |     private let state = Mutex<State>(.pending([]))
     |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 865 |
 866 |     func wait() async {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:695:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 686 | }
 687 |
 688 | private final class AppServerPipeReadEventSource: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 689 |     private struct State {
 690 |         var source: DispatchSourceRead?
     :
 693 |     private let signal = AppServerOneBitReadSignal()
 694 |     private let cancellationCompletion = AppServerCancellationCompletion()
 695 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 696 |
 697 |     init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:761:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 750 | }
 751 |
 752 | private final class AppServerStdoutReadMetrics: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 753 |     private struct State {
 754 |         var successfulReadCount = 0
     :
 759 |     }
 760 |
 761 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 762 |
 763 |     func beginChunk(byteCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:761:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 750 | }
 751 |
 752 | private final class AppServerStdoutReadMetrics: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 753 |     private struct State {
 754 |         var successfulReadCount = 0
     :
 759 |     }
 760 |
 761 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 762 |
 763 |     func beginChunk(byteCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:814:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 805 | }
 806 |
 807 | private final class AppServerProcessExitEventSource: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 808 |     private struct State {
 809 |         var source: DispatchSourceProcess?
     :
 812 |     private let signal = AppServerOneBitReadSignal()
 813 |     private let cancellationCompletion = AppServerCancellationCompletion()
 814 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 815 |
 816 |     init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:906:24: error: 'Mutex' is only available in watchOS 11.0 or newer
 898 | }
 899 |
 900 | package final class AppServerJSONRPCWriter: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 901 |     private struct State {
 902 |         var fileHandle: FileHandle?
     :
 904 |     }
 905 |
 906 |     private let state: Mutex<State>
     |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
 907 |
 908 |     package init(fileHandle: FileHandle) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1121:29: error: 'Mutex' is only available in watchOS 11.0 or newer
1110 | }
1111 |
1112 | private final class AppServerSpawnedProcess: @unchecked Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1113 |     let processIdentifier: pid_t
1114 |
     :
1119 |         var reapSystemCallCount = 0
1120 |     }
1121 |     private let exitState = Mutex(ExitState())
     |                             `- error: 'Mutex' is only available in watchOS 11.0 or newer
1122 |
1123 |     private init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1121:29: error: 'init(_:)' is only available in watchOS 11.0 or newer
1110 | }
1111 |
1112 | private final class AppServerSpawnedProcess: @unchecked Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1113 |     let processIdentifier: pid_t
1114 |
     :
1119 |         var reapSystemCallCount = 0
1120 |     }
1121 |     private let exitState = Mutex(ExitState())
     |                             `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1122 |
1123 |     private init(processIdentifier: pid_t) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1590:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1581 | }
1582 |
1583 | package final class ProcessTerminationToken: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1584 |     private struct State {
1585 |         var didRequestTermination = false
     :
1588 |
1589 |     private let processGroupID: pid_t?
1590 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1591 |     private let terminationRequestSignal = AppServerOneBitReadSignal()
1592 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift:1590:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1581 | }
1582 |
1583 | package final class ProcessTerminationToken: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1584 |     private struct State {
1585 |         var didRequestTermination = false
     :
1588 |
1589 |     private let processGroupID: pid_t?
1590 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1591 |     private let terminationRequestSignal = AppServerOneBitReadSignal()
1592 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServer.swift:73:72: error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
  71 |             public static func defaultCodexHomeURL(
  72 |                 environment: [String: String] = ProcessInfo.processInfo.environment,
  73 |                 homeDirectoryForCurrentUser: URL = FileManager.default.homeDirectoryForCurrentUser,
     |                                                                        `- error: 'homeDirectoryForCurrentUser' is unavailable in watchOS
  74 |                 applicationSupportDirectory: URL? = FileManager.default.urls(
  75 |                     for: .applicationSupportDirectory,
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk/System/Library/Frameworks/Foundation.framework/Headers/NSFileManager.h:1004:35: note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1002 |
1003 | /// The home directory for the current user.
1004 | @property (readonly, copy) NSURL *homeDirectoryForCurrentUser API_AVAILABLE(macosx(10.12)) API_UNAVAILABLE(ios, watchos, tvos);
     |                                   `- note: 'homeDirectoryForCurrentUser' has been explicitly marked unavailable here
1005 | /// The temporary directory for the current user.
1006 | @property (readonly, copy) NSURL *temporaryDirectory API_AVAILABLE(macosx(10.12), ios(10.0), watchos(3.0), tvos(10.0));
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:33: error: 'Mutex' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                 `- error: 'Mutex' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:56: error: 'init(_:)' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                                        `- error: 'init(_:)' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'Mutex' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'Mutex' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:16:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 14 |     }
 15 |
 16 |     private let action: Mutex<(@Sendable (Request) async -> Void)?>
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 17 |
 18 |     package init(action: (@Sendable () async -> Void)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:300:24: error: 'Mutex' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
298 |     }
299 |
300 |     private let state: Mutex<State>
    |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
301 |
302 |     package init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCEnvelopeCodec.swift:180:25: error: 'Mutex' is only available in watchOS 11.0 or newer
172 | }
173 |
174 | package final class JSONRPCResponseWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
175 |     private enum State {
176 |         case pending(CheckedContinuation<Result<Data, JSONRPC.Error>, Never>?)
    :
178 |     }
179 |
180 |     private let state = Mutex<State>(.pending(nil))
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
181 |
182 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCEnvelopeCodec.swift:180:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
172 | }
173 |
174 | package final class JSONRPCResponseWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
175 |     private enum State {
176 |         case pending(CheckedContinuation<Result<Data, JSONRPC.Error>, Never>?)
    :
178 |     }
179 |
180 |     private let state = Mutex<State>(.pending(nil))
    |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
181 |
182 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCInboundFrameMailbox.swift:293:25: error: 'Mutex' is only available in watchOS 11.0 or newer
283 | }
284 |
285 | private final class MailboxWaiter<Value: Sendable>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
286 |     private enum State {
287 |         case pending(CheckedContinuation<Value, Never>?)
    :
291 |     let id = UUID()
292 |     private let cancellationValue: Value
293 |     private let state = Mutex<State>(.pending(nil))
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
294 |
295 |     init(cancellationValue: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCInboundFrameMailbox.swift:293:36: error: 'init(_:)' is only available in watchOS 11.0 or newer
283 | }
284 |
285 | private final class MailboxWaiter<Value: Sendable>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
286 |     private enum State {
287 |         case pending(CheckedContinuation<Value, Never>?)
    :
291 |     let id = UUID()
292 |     private let cancellationValue: Value
293 |     private let state = Mutex<State>(.pending(nil))
    |                                    `- error: 'init(_:)' is only available in watchOS 11.0 or newer
294 |
295 |     init(cancellationValue: Value) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:39:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  2 | import Synchronization
  3 |
  4 | package final class RequestOperationState: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package enum PostWriteCallerCancellationPolicy: Equatable, Sendable {
  6 |         case performCleanup
    :
 37 |     }
 38 |
 39 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 40 |
 41 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:39:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
  2 | import Synchronization
  3 |
  4 | package final class RequestOperationState: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
  5 |     package enum PostWriteCallerCancellationPolicy: Equatable, Sendable {
  6 |         case performCleanup
    :
 37 |     }
 38 |
 39 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 40 |
 41 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:397:25: error: 'Mutex' is only available in watchOS 11.0 or newer
385 | }
386 |
387 | private final class RequestQueueCountWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
388 |     private enum State: Sendable {
389 |         case idle
    :
395 |     let id = UUID()
396 |     let minimumCount: Int
397 |     private let state = Mutex(State.idle)
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
398 |
399 |     init(minimumCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:397:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
385 | }
386 |
387 | private final class RequestQueueCountWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
388 |     private enum State: Sendable {
389 |         case idle
    :
395 |     let id = UUID()
396 |     let minimumCount: Int
397 |     private let state = Mutex(State.idle)
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
398 |
399 |     init(minimumCount: Int) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:485:25: error: 'Mutex' is only available in watchOS 11.0 or newer
474 | }
475 |
476 | private final class RequestLaneWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
477 |     private enum State: Sendable {
478 |         case idle
    :
483 |
484 |     let id = UUID()
485 |     private let state = Mutex(State.idle)
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
486 |
487 |     var isPending: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift:485:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
474 | }
475 |
476 | private final class RequestLaneWaiter: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
477 |     private enum State: Sendable {
478 |         case idle
    :
483 |
484 |     let id = UUID()
485 |     private let state = Mutex(State.idle)
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
486 |
487 |     var isPending: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:20:30: error: 'Mutex' is only available in watchOS 11.0 or newer
  17 | }
  18 |
  19 | package final class ReviewRestartIdentityAccumulator: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  20 |     private let identities = Mutex<[CodexReviewIdentity]>([])
     |                              `- error: 'Mutex' is only available in watchOS 11.0 or newer
  21 |
  22 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:20:57: error: 'init(_:)' is only available in watchOS 11.0 or newer
  17 | }
  18 |
  19 | package final class ReviewRestartIdentityAccumulator: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  20 |     private let identities = Mutex<[CodexReviewIdentity]>([])
     |                                                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
  21 |
  22 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:941:36: error: 'Mutex' is only available in watchOS 11.0 or newer
 933 | }
 934 |
 935 | package final class RestartCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 936 |     fileprivate let id: UUID
 937 |     fileprivate let invalidation: InvalidationSignal
     :
 939 |     private let resultCell: SharedResultCell<RestartExecutionOutcome>
 940 |     fileprivate let cleanupLateSession: @Sendable (CodexReviewSession) async throws -> Void
 941 |     private let storedSettlement = Mutex<RestartSettlement?>(nil)
     |                                    `- error: 'Mutex' is only available in watchOS 11.0 or newer
 942 |
 943 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:941:60: error: 'init(_:)' is only available in watchOS 11.0 or newer
 933 | }
 934 |
 935 | package final class RestartCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 936 |     fileprivate let id: UUID
 937 |     fileprivate let invalidation: InvalidationSignal
     :
 939 |     private let resultCell: SharedResultCell<RestartExecutionOutcome>
 940 |     fileprivate let cleanupLateSession: @Sendable (CodexReviewSession) async throws -> Void
 941 |     private let storedSettlement = Mutex<RestartSettlement?>(nil)
     |                                                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 942 |
 943 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:989:32: error: 'Mutex' is only available in watchOS 11.0 or newer
 983 | }
 984 |
 985 | package final class InvalidationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 986 |     fileprivate let id: UUID
 987 |     fileprivate let task: Task<[CodexReviewIdentity], Never>
 988 |     fileprivate let restartCompletion: RestartCompletion?
 989 |     private let storedResult = Mutex<[CodexReviewIdentity]?>(nil)
     |                                `- error: 'Mutex' is only available in watchOS 11.0 or newer
 990 |
 991 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:989:60: error: 'init(_:)' is only available in watchOS 11.0 or newer
 983 | }
 984 |
 985 | package final class InvalidationCompletion: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 986 |     fileprivate let id: UUID
 987 |     fileprivate let task: Task<[CodexReviewIdentity], Never>
 988 |     fileprivate let restartCompletion: RestartCompletion?
 989 |     private let storedResult = Mutex<[CodexReviewIdentity]?>(nil)
     |                                                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 990 |
 991 |     fileprivate init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1020:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1012 | }
1013 |
1014 | private final class InvalidationSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1015 |     private struct State: Sendable {
1016 |         var isRequested = false
     :
1018 |     }
1019 |
1020 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1021 |
1022 |     var isRequested: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1020:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1012 | }
1013 |
1014 | private final class InvalidationSignal: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1015 |     private struct State: Sendable {
1016 |         var isRequested = false
     :
1018 |     }
1019 |
1020 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1021 |
1022 |     var isRequested: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1072:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1056 | }
1057 |
1058 | private final class SharedResultCell<Value: Sendable>: Sendable {
     |                     `- note: add '@available' attribute to enclosing generic class
1059 |     private struct WaiterCountObserver: Sendable {
1060 |         var minimumCount: Int
     :
1070 |     }
1071 |
1072 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1073 |
1074 |     func wait() async throws -> Value {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift:1072:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1056 | }
1057 |
1058 | private final class SharedResultCell<Value: Sendable>: Sendable {
     |                     `- note: add '@available' attribute to enclosing generic class
1059 |     private struct WaiterCountObserver: Sendable {
1060 |         var minimumCount: Int
     :
1070 |     }
1071 |
1072 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1073 |
1074 |     func wait() async throws -> Value {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:99:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
  97 |     }
  98 |
  99 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:99:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
  97 |     }
  98 |
  99 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:102:28: error: 'Mutex' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
 102 |     private let delivery = Mutex(())
     |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
 103 |
 104 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:102:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
  57 | }
  58 |
  59 | package final class ThreadEventHub: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
  60 |     package struct Snapshot: Equatable, Sendable {
  61 |         package var subscriberCount: Int
     :
 100 |     // `removeSubscriber` and deinit cancellation must never acquire `delivery`: channel
 101 |     // completion can wait on a task-status lock while its cancellation handler removes here.
 102 |     private let delivery = Mutex(())
     |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 103 |
 104 |     package init() {}
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:831:25: error: 'Mutex' is only available in watchOS 11.0 or newer
 819 | }
 820 |
 821 | private final class ThreadEventGenerationCheckpointIdentity: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 822 |     enum Phase: Equatable, Sendable {
 823 |         case inactive
     :
 829 |
 830 |     let id = UUID()
 831 |     private let state = Mutex(Phase.inactive)
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 832 |
 833 |     var phase: Phase {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:831:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
 819 | }
 820 |
 821 | private final class ThreadEventGenerationCheckpointIdentity: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
 822 |     enum Phase: Equatable, Sendable {
 823 |         case inactive
     :
 829 |
 830 |     let id = UUID()
 831 |     private let state = Mutex(Phase.inactive)
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 832 |
 833 |     var phase: Phase {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1311:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1288 | }
1289 |
1290 | private final class ThreadEventSubscriberChannel: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1291 |     private enum Phase: Sendable {
1292 |         case open
     :
1309 |
1310 |     private static let incrementalCapacity = 256
1311 |     private let state = Mutex(State())
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1312 |
1313 |     @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1311:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1288 | }
1289 |
1290 | private final class ThreadEventSubscriberChannel: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1291 |     private enum Phase: Sendable {
1292 |         case open
     :
1309 |
1310 |     private static let incrementalCapacity = 256
1311 |     private let state = Mutex(State())
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1312 |
1313 |     @discardableResult
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1616:25: error: 'Mutex' is only available in watchOS 11.0 or newer
1613 | }
1614 |
1615 | private final class ThreadEventSubscriptionCancellation: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1616 |     private let state = Mutex(false)
     |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
1617 |     private let id: UUID
1618 |     private let threadID: CodexThreadID
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift:1616:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
1613 | }
1614 |
1615 | private final class ThreadEventSubscriptionCancellation: Sendable {
     |                     `- note: add '@available' attribute to enclosing class
1616 |     private let state = Mutex(false)
     |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
1617 |     private let id: UUID
1618 |     private let threadID: CodexThreadID
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:40:28: error: 'Mutex' is only available in watchOS 11.0 or newer
 37 | }
 38 |
 39 | private final class TurnReplayPendingWritePhase: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 40 |     private let accepted = Mutex(false)
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
 41 |
 42 |     var isWriteAccepted: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:40:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
 37 | }
 38 |
 39 | private final class TurnReplayPendingWritePhase: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 40 |     private let accepted = Mutex(false)
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
 41 |
 42 |     var isWriteAccepted: Bool {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:751:25: error: 'Mutex' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
749 |     }
750 |
751 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:751:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
749 |     }
750 |
751 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:754:28: error: 'Mutex' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
754 |     private let delivery = Mutex(())
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
755 |
756 |     func makeSubscription(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:754:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
732 | }
733 |
734 | private final class TurnReplaySubscriptionRegistry<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
735 |     private struct State {
736 |         var channels: [UUID: Channel] = [:]
    :
752 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
753 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
754 |     private let delivery = Mutex(())
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
755 |
756 |     func makeSubscription(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:390:25: error: 'Mutex' is only available in watchOS 11.0 or newer
368 | }
369 |
370 | private final class TurnReplayEventSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
371 |     typealias Element = CodexTurnEvent
372 |
    :
388 |
389 |     private static let incrementalCapacity = 256
390 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
391 |
392 |     func yield(_ event: CodexTurnEvent, accumulatedSnapshot: CodexTurnSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:390:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
368 | }
369 |
370 | private final class TurnReplayEventSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
371 |     typealias Element = CodexTurnEvent
372 |
    :
388 |
389 |     private static let incrementalCapacity = 256
390 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
391 |
392 |     func yield(_ event: CodexTurnEvent, accumulatedSnapshot: CodexTurnSnapshot) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:560:25: error: 'Mutex' is only available in watchOS 11.0 or newer
540 | }
541 |
542 | private final class TurnReplayProgressSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
543 |     typealias Element = CodexReviewProgress
544 |
    :
558 |     }
559 |
560 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
561 |
562 |     func yield(_ progress: CodexReviewProgress) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:560:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
540 | }
541 |
542 | private final class TurnReplayProgressSubscriberChannel: TurnReplaySubscriberChannel {
    |                     `- note: add '@available' attribute to enclosing class
543 |     typealias Element = CodexReviewProgress
544 |
    :
558 |     }
559 |
560 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
561 |
562 |     func yield(_ progress: CodexReviewProgress) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:707:25: error: 'Mutex' is only available in watchOS 11.0 or newer
700 | }
701 |
702 | private final class TurnReplaySubscriptionCancellation<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
703 |     private struct State {
704 |         var isCancelled = false
705 |     }
706 |
707 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
708 |     private let id: UUID
709 |     private let registry: TurnReplaySubscriptionRegistry<Channel>
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift:707:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
700 | }
701 |
702 | private final class TurnReplaySubscriptionCancellation<Channel: TurnReplaySubscriberChannel>: Sendable {
    |                     `- note: add '@available' attribute to enclosing generic class
703 |     private struct State {
704 |         var isCancelled = false
705 |     }
706 |
707 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
708 |     private let id: UUID
709 |     private let registry: TurnReplaySubscriptionRegistry<Channel>
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/CodexAppServerKit/AccountEventHub.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerClient.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerConnection.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerNotificationDecoder.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerProcessTransport.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/AppServerRequests.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServer.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServerNotificationRouter.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServerRequest.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexAppServerRequestCodec.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexDomainTypes.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexItemReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSequences.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSnapshotReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionTerminationArbiter.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/InterruptRaceResolver.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPC.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCEnvelopeCodec.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/JSONRPCInboundFrameMailbox.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/LoginRegistry.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/RequestSerializer.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ReviewRestartCoordinator.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ServerRequestRegistry.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ThreadEventHub.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayCore.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/TurnReplayStore.swift -target arm64_32-apple-watchos9.0 -disable-cross-import-overlay-search -swift-module-cross-import Darwin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/usr/include/Darwin.swiftcrossimport/xlocale.swiftoverlay -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.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/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit-dependencies-1.json -enable-objc-interop -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS27.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/watchos27.0-24R360-e829b21a6f8c9b70876ba0858053c04477534ef55a1706bf4c1112bbb242f0a2.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name CodexAppServerKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64_32-apple-watchos27.0 -target-sdk-version 27.0 -target-sdk-name watchos27.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/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/CodexKit.build/Debug-watchos/CodexAppServerKit-t.build/Objects-normal/arm64_32/CodexAppServerKit.abi.json
SwiftCompile normal arm64_32 (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ ConnectionEventHub.swift,\ ConnectionSupervisor.swift,\ ConnectionTerminationArbiter.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionTerminationArbiter.swift (in target 'CodexAppServerKit' from project 'CodexKit')
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:489:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
487 |     }
488 |
489 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'Mutex' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'Mutex' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:492:28: error: 'init(_:)' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
490 |     // `remove` and `cancelAll` must never acquire `delivery`: channel completion can wait on a
491 |     // subscriber task-status lock while that lock runs its cancellation handler back into remove.
492 |     private let delivery = Mutex(())
    |                            `- error: 'init(_:)' is only available in watchOS 11.0 or newer
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'Mutex' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:295:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
293 |
294 |     private static let diagnosticCapacity = 32
295 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'Mutex' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:456:25: error: 'init(_:)' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
454 |     }
455 |
456 |     private let state = Mutex(State())
    |                         `- error: 'init(_:)' is only available in watchOS 11.0 or newer
457 |     private let id: UUID
458 |     private let registry: ConnectionEventSubscriptionRegistry
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:298:28: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
295 |     private let state = Mutex(State())
296 |
297 |     func yield(_ event: CodexConnectionEvent) {
    |          `- note: add '@available' attribute to enclosing instance method
298 |         let waiter = state.withLock { state -> CheckedContinuation<
    |                            |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                            `- note: add 'if #available' version check
299 |             CodexConnectionEvent?, Never
300 |         >? in
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:318:32: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
315 |     }
316 |
317 |     func finish(with termination: CodexConnectionTermination) {
    |          `- note: add '@available' attribute to enclosing instance method
318 |         let completion = state.withLock { state -> (
    |                                |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                `- note: add 'if #available' version check
319 |             CheckedContinuation<CodexConnectionEvent?, Never>?,
320 |             [CheckedContinuation<Void, Never>]
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:348:32: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
345 |     }
346 |
347 |     func cancel() {
    |          `- note: add '@available' attribute to enclosing instance method
348 |         let completion = state.withLock { state -> (
    |                                |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                `- note: add 'if #available' version check
349 |             CheckedContinuation<CodexConnectionEvent?, Never>?,
350 |             [CheckedContinuation<Void, Never>]
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:382:42: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
370 |     }
371 |
372 |     func next(
    |          `- note: add '@available' attribute to enclosing instance method
373 |         cancellation: ConnectionEventSubscriptionCancellation
374 |     ) async -> CodexConnectionEvent? {
    :
380 |         return await withTaskCancellationHandler {
381 |             await withCheckedContinuation { continuation in
382 |                 let registration = state.withLock { state -> (
    |                                          |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                          `- note: add 'if #available' version check
383 |                     CodexConnectionEvent??,
384 |                     [CheckedContinuation<Void, Never>]
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:416:15: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
413 |     }
414 |
415 |     func tryBeginNext() -> Bool {
    |          `- note: add '@available' attribute to enclosing instance method
416 |         state.withLock { state in
    |               |- error: 'withLock' is only available in watchOS 11.0 or newer
    |               `- note: add 'if #available' version check
417 |             guard state.nextIsActive == false else {
418 |                 return false
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:426:15: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
423 |     }
424 |
425 |     func endNext() {
    |          `- note: add '@available' attribute to enclosing instance method
426 |         state.withLock { state in
    |               |- error: 'withLock' is only available in watchOS 11.0 or newer
    |               `- note: add 'if #available' version check
427 |             precondition(state.nextIsActive, "A next() call must own the channel before ending.")
428 |             state.nextIsActive = false
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:434:54: error: 'withLock' is only available in watchOS 11.0 or newer
276 | }
277 |
278 | private final class ConnectionEventSubscriberChannel: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
279 |     private enum Phase {
280 |         case open
    :
430 |     }
431 |
432 |     func waitUntilNextSuspendsForTesting() async {
    |          `- note: add '@available' attribute to enclosing instance method
433 |         await withCheckedContinuation { continuation in
434 |             let isAlreadySuspendedOrFinished = state.withLock { state in
    |                                                      |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                                      `- note: add 'if #available' version check
435 |                 if state.waiter != nil {
436 |                     return true
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:466:34: error: 'withLock' is only available in watchOS 11.0 or newer
449 | }
450 |
451 | private final class ConnectionEventSubscriptionCancellation: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
452 |     private struct State {
453 |         var isCancelled = false
    :
463 |     }
464 |
465 |     func cancel() {
    |          `- note: add '@available' attribute to enclosing instance method
466 |         let shouldRemove = state.withLock { state in
    |                                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
467 |             guard state.isCancelled == false else {
468 |                 return false
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:498:18: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
492 |     private let delivery = Mutex(())
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
    |          `- note: add '@available' attribute to enclosing instance method
495 |         let id = UUID()
496 |         let channel = ConnectionEventSubscriberChannel()
497 |         let cancellation = ConnectionEventSubscriptionCancellation(id: id, registry: self)
498 |         delivery.withLock { _ in
    |                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                  `- note: add 'if #available' version check
499 |             let terminal = state.withLock { state -> CodexConnectionTermination? in
500 |                 guard let terminal = state.terminal else {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:499:34: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
492 |     private let delivery = Mutex(())
493 |
494 |     func makeEvents() -> CodexConnectionEvents {
    |          `- note: add '@available' attribute to enclosing instance method
495 |         let id = UUID()
496 |         let channel = ConnectionEventSubscriberChannel()
497 |         let cancellation = ConnectionEventSubscriptionCancellation(id: id, registry: self)
498 |         delivery.withLock { _ in
499 |             let terminal = state.withLock { state -> CodexConnectionTermination? in
    |                                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
500 |                 guard let terminal = state.terminal else {
501 |                     state.channels[id] = channel
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:514:18: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
511 |     }
512 |
513 |     func yield(_ event: CodexConnectionEvent) {
    |          `- note: add '@available' attribute to enclosing instance method
514 |         delivery.withLock { _ in
    |                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                  `- note: add 'if #available' version check
515 |             let channels = state.withLock { state -> [ConnectionEventSubscriberChannel] in
516 |                 guard state.terminal == nil else {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:515:34: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
511 |     }
512 |
513 |     func yield(_ event: CodexConnectionEvent) {
    |          `- note: add '@available' attribute to enclosing instance method
514 |         delivery.withLock { _ in
515 |             let channels = state.withLock { state -> [ConnectionEventSubscriberChannel] in
    |                                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
516 |                 guard state.terminal == nil else {
517 |                     return []
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:528:29: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
525 |     }
526 |
527 |     func remove(_ id: UUID) {
    |          `- note: add '@available' attribute to enclosing instance method
528 |         let channel = state.withLock { $0.channels.removeValue(forKey: id) }
    |                             |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                             `- note: add 'if #available' version check
529 |         channel?.cancel()
530 |     }
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:533:18: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
530 |     }
531 |
532 |     func finish(with termination: CodexConnectionTermination) {
    |          `- note: add '@available' attribute to enclosing instance method
533 |         delivery.withLock { _ in
    |                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                  `- note: add 'if #available' version check
534 |             let channels = state.withLock { state -> [ConnectionEventSubscriberChannel] in
535 |                 if let existing = state.terminal {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:534:34: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
530 |     }
531 |
532 |     func finish(with termination: CodexConnectionTermination) {
    |          `- note: add '@available' attribute to enclosing instance method
533 |         delivery.withLock { _ in
534 |             let channels = state.withLock { state -> [ConnectionEventSubscriberChannel] in
    |                                  |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                  `- note: add 'if #available' version check
535 |                 if let existing = state.terminal {
536 |                     precondition(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:554:30: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
551 |     }
552 |
553 |     func cancelAll() {
    |          `- note: add '@available' attribute to enclosing instance method
554 |         let channels = state.withLock { state -> [ConnectionEventSubscriberChannel] in
    |                              |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                              `- note: add 'if #available' version check
555 |             let channels = Array(state.channels.values)
556 |             state.channels.removeAll(keepingCapacity: false)
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift:565:15: error: 'withLock' is only available in watchOS 11.0 or newer
481 | }
482 |
483 | private final class ConnectionEventSubscriptionRegistry: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
484 |     private struct State {
485 |         var channels: [UUID: ConnectionEventSubscriberChannel] = [:]
    :
562 |     }
563 |
564 |     func snapshot() -> ConnectionEventHub.Snapshot {
    |          `- note: add '@available' attribute to enclosing instance method
565 |         state.withLock { state in
    |               |- error: 'withLock' is only available in watchOS 11.0 or newer
    |               `- note: add 'if #available' version check
566 |             .init(subscriberCount: state.channels.count, terminal: state.terminal)
567 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:16:25: error: 'Mutex' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 14 |     }
 15 |
 16 |     private let action: Mutex<(@Sendable (Request) async -> Void)?>
    |                         `- error: 'Mutex' is only available in watchOS 11.0 or newer
 17 |
 18 |     package init(action: (@Sendable () async -> Void)? = nil) {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:300:24: error: 'Mutex' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
298 |     }
299 |
300 |     private let state: Mutex<State>
    |                        `- error: 'Mutex' is only available in watchOS 11.0 or newer
301 |
302 |     package init(
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:25:23: error: 'Mutex' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 16 |     private let action: Mutex<(@Sendable (Request) async -> Void)?>
 17 |
 18 |     package init(action: (@Sendable () async -> Void)? = nil) {
    |             `- note: add '@available' attribute to enclosing initializer
 19 |         let wrappedAction: (@Sendable (Request) async -> Void)?
 20 |         if let action {
    :
 23 |             wrappedAction = nil
 24 |         }
 25 |         self.action = Mutex(wrappedAction)
    |                       |- error: 'Mutex' is only available in watchOS 11.0 or newer
    |                       `- note: add 'if #available' version check
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:25:23: error: 'init(_:)' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 16 |     private let action: Mutex<(@Sendable (Request) async -> Void)?>
 17 |
 18 |     package init(action: (@Sendable () async -> Void)? = nil) {
    |             `- note: add '@available' attribute to enclosing initializer
 19 |         let wrappedAction: (@Sendable (Request) async -> Void)?
 20 |         if let action {
    :
 23 |             wrappedAction = nil
 24 |         }
 25 |         self.action = Mutex(wrappedAction)
    |                       |- error: 'init(_:)' is only available in watchOS 11.0 or newer
    |                       `- note: add 'if #available' version check
 26 |     }
 27 |
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:29:16: error: 'withLock' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 26 |     }
 27 |
 28 |     package func bind(to supervisor: ConnectionSupervisor) {
    |                  `- note: add '@available' attribute to enclosing instance method
 29 |         action.withLock { action in
    |                |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                `- note: add 'if #available' version check
 30 |             precondition(action == nil, "Connection close action may be bound exactly once.")
 31 |             action = { [weak supervisor] request in
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:48:35: error: 'withLock' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 45 |     }
 46 |
 47 |     package func closeConnection() async {
    |                  `- note: add '@available' attribute to enclosing instance method
 48 |         guard let action = action.withLock({ $0 }) else {
    |                                   |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                   `- note: add 'if #available' version check
 49 |             preconditionFailure("Connection close action is not bound.")
 50 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:55:35: error: 'withLock' is only available in watchOS 11.0 or newer
  8 | )
  9 |
 10 | package final class ConnectionCloseAction: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
 11 |     private enum Request: Sendable {
 12 |         case close
    :
 52 |     }
 53 |
 54 |     package func failConnection(with failure: CodexTransportFailure) async {
    |                  `- note: add '@available' attribute to enclosing instance method
 55 |         guard let action = action.withLock({ $0 }) else {
    |                                   |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                   `- note: add 'if #available' version check
 56 |             preconditionFailure("Connection close action is not bound.")
 57 |         }
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionEventHub.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ConnectionEventHub.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ConnectionSupervisor.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionTerminationArbiter.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile ConnectionTerminationArbiter.swift
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:306:22: error: 'Mutex' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
300 |     private let state: Mutex<State>
301 |
302 |     package init(
    |             `- note: add '@available' attribute to enclosing initializer
303 |         supervisor: ConnectionSupervisor,
304 |         processTerminationToken: ProcessTerminationToken
305 |     ) {
306 |         self.state = Mutex(.init(
    |                      |- error: 'Mutex' is only available in watchOS 11.0 or newer
    |                      `- note: add 'if #available' version check
307 |             supervisor: supervisor,
308 |             processTerminationToken: processTerminationToken
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:306:22: error: 'init(_:)' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
300 |     private let state: Mutex<State>
301 |
302 |     package init(
    |             `- note: add '@available' attribute to enclosing initializer
303 |         supervisor: ConnectionSupervisor,
304 |         processTerminationToken: ProcessTerminationToken
305 |     ) {
306 |         self.state = Mutex(.init(
    |                      |- error: 'init(_:)' is only available in watchOS 11.0 or newer
    |                      `- note: add 'if #available' version check
307 |             supervisor: supervisor,
308 |             processTerminationToken: processTerminationToken
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:313:15: error: 'withLock' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
311 |
312 |     deinit {
313 |         state.withLock { state in
    |               |- error: 'withLock' is only available in watchOS 11.0 or newer
    |               `- note: add 'if #available' version check
314 |             state.processTerminationToken.terminateOnce()
315 |         }
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/ConnectionSupervisor.swift:319:32: error: 'withLock' is only available in watchOS 11.0 or newer
292 | }
293 |
294 | package final class AppServerConnectionLease: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
295 |     private struct State {
296 |         var supervisor: ConnectionSupervisor
    :
316 |     }
317 |
318 |     package func closeConnection() async {
    |                  `- note: add '@available' attribute to enclosing instance method
319 |         let supervisor = state.withLock { $0.supervisor }
    |                                |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                                `- note: add 'if #available' version check
320 |         await supervisor.closeConnection()
321 |     }
SwiftCompile normal arm64 Compiling\ CodexThreadOperations.swift,\ CodexTurnSequences.swift,\ CodexTurnSnapshotReducer.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSequences.swift /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSnapshotReducer.swift (in target 'CodexAppServerKit' from project 'CodexKit')
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:33: error: 'Mutex' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                 `- error: 'Mutex' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:537:56: error: 'init(_:)' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
    |                                                        `- error: 'init(_:)' is only available in watchOS 11.0 or newer
538 |
539 |     package var outcome: CodexTurnOutcome? {
/Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift:540:23: error: 'withLock' is only available in watchOS 11.0 or newer
534 | }
535 |
536 | package final class CodexResponseCancellationRecorder: Sendable {
    |                     `- note: add '@available' attribute to enclosing class
537 |     private let storedOutcome = Mutex<CodexTurnOutcome?>(nil)
538 |
539 |     package var outcome: CodexTurnOutcome? {
    |                 `- note: add '@available' attribute to enclosing property
540 |         storedOutcome.withLock { $0 }
    |                       |- error: 'withLock' is only available in watchOS 11.0 or newer
    |                       `- note: add 'if #available' version check
541 |     }
542 |
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexThreadOperations.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CodexThreadOperations.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSequences.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CodexTurnSequences.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/CodexAppServerKit/CodexTurnSnapshotReducer.swift (in target 'CodexAppServerKit' from project 'CodexKit')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile CodexTurnSnapshotReducer.swift
SwiftDriverJobDiscovery normal arm64 Compiling _DequeSlot.swift (in target 'DequeModule' from project 'swift-collections')
SwiftDriverJobDiscovery normal arm64_32 Compiling UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
SwiftDriverJobDiscovery normal arm64 Compiling UniqueDeque.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ UniqueDeque+Descriptions.swift,\ UniqueDeque+Equatable.swift,\ UniqueDeque+Hashable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Descriptions.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Equatable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Hashable.swift
SwiftDriverJobDiscovery normal arm64 Compiling _UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ RigidDeque.swift,\ UniqueDeque+Append.swift,\ UniqueDeque+ContainerOperations.swift,\ UniqueDeque+Deprecations.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+ContainerOperations.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Deprecations.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Append.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Append.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+ContainerOperations.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+ContainerOperations.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Deprecations.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Deprecations.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling _UnsafeDequeSegments.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ UniqueDeque+Initializers.swift,\ UniqueDeque+Insertions.swift,\ UniqueDeque+Iterable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Initializers.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Initializers.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Insertions.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Insertions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Iterable.swift
SwiftDriverJobDiscovery normal arm64 Compiling UniqueDeque+Descriptions.swift, UniqueDeque+Equatable.swift, UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ UniqueDeque+Prepend.swift,\ UniqueDeque+Removals.swift,\ UniqueDeque+Replacements.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Prepend.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Removals.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Replacements.swift
SwiftDriverJobDiscovery normal arm64 Compiling RigidDeque.swift, UniqueDeque+Append.swift, UniqueDeque+ContainerOperations.swift, UniqueDeque+Deprecations.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ UniqueDeque+Prepend.swift,\ UniqueDeque+Removals.swift,\ UniqueDeque+Replacements.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Prepend.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Prepend.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Removals.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Removals.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Replacements.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling UniqueDeque+Initializers.swift, UniqueDeque+Insertions.swift, UniqueDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ UniqueDeque+Descriptions.swift,\ UniqueDeque+Equatable.swift,\ UniqueDeque+Hashable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Descriptions.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Descriptions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Equatable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Equatable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Hashable.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling UniqueDeque+Prepend.swift, UniqueDeque+Removals.swift, UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ UniqueDeque+Consumption.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/UniqueDeque/UniqueDeque+Consumption.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile UniqueDeque+Consumption.swift
SwiftDriverJobDiscovery normal arm64 Compiling UniqueDeque+Prepend.swift, UniqueDeque+Removals.swift, UniqueDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ RigidDeque+Hashable.swift,\ RigidDeque+Initializers.swift,\ RigidDeque+Insertions.swift,\ RigidDeque+Iterable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Hashable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Initializers.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Initializers.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Insertions.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Insertions.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Iterable.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling UniqueDeque+Descriptions.swift, UniqueDeque+Equatable.swift, UniqueDeque+Hashable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ Deque+Codable.swift,\ Deque+Collection.swift,\ Deque+Equatable.swift,\ Deque+Extras.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Codable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Collection.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Equatable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Extras.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Codable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Codable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Collection.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Collection.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Equatable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Equatable.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Extras.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Extras.swift
SwiftDriverJobDiscovery normal arm64 Compiling UniqueDeque+Consumption.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ Deque+Codable.swift,\ Deque+Collection.swift,\ Deque+Equatable.swift,\ Deque+Extras.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Codable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Collection.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Equatable.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Extras.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Codable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Codable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Collection.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Collection.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Equatable.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Equatable.swift
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+Extras.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+Extras.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling RigidDeque+Hashable.swift, RigidDeque+Initializers.swift, RigidDeque+Insertions.swift, RigidDeque+Iterable.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ RigidDeque+Prepend.swift,\ RigidDeque+Removals.swift,\ RigidDeque+Replacements.swift,\ RigidDeque+Testing.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Prepend.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Prepend.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Removals.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Removals.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Replacements.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Replacements.swift
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/RigidDeque/RigidDeque+Testing.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile RigidDeque+Testing.swift
SwiftDriverJobDiscovery normal arm64 Compiling _UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 Compiling\ Deque+ExpressibleByArrayLiteral.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+ExpressibleByArrayLiteral.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling _UnsafeDequeHandle.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 Compiling\ Deque+ExpressibleByArrayLiteral.swift /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift (in target 'DequeModule' from project 'swift-collections')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/.dependencies/checkouts/swift-collections/Sources/DequeModule/Deque/Deque+ExpressibleByArrayLiteral.swift (in target 'DequeModule' from project 'swift-collections')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftPerFileCompile Deque+ExpressibleByArrayLiteral.swift
SwiftDriverJobDiscovery normal arm64_32 Compiling Deque+Codable.swift, Deque+Collection.swift, Deque+Equatable.swift, Deque+Extras.swift (in target 'DequeModule' from project 'swift-collections')
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/ExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/SDKExplicitPrecompiledModules
PruneExplicitPrecompiledModules /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/SwiftExplicitPrecompiledModules
2026-09-26 18:50:24.872 xcodebuild[913:5464] [MT] IDERunDestination: Supported platforms for the buildables in the current scheme is empty.
** BUILD FAILED **
The following build commands failed:
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ CodexAppServerKit (in target 'CodexAppServerKit' from project 'CodexKit')
	SwiftCompile normal arm64_32 (in target 'CodexAppServerKit' from project 'CodexKit')
	Building workspace CodexKit with scheme CodexKit-Package
(3 failures)
BUILD FAILURE 6.4 watchOS