The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build NextLevelSessionExporter, reference main (e2096e), with Swift 6.1 for watchOS using Xcode 16.3 on 26 Apr 2025 03:09:45 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=watchOS

Build Log

========================================
RunAll
========================================
Builder version: 4.61.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/NextLevel/NextLevelSessionExporter.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/NextLevel/NextLevelSessionExporter
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at e2096e2 Merge pull request #47 from bojanstef/main
Cloned https://github.com/NextLevel/NextLevelSessionExporter.git
Revision (git rev-parse @):
e2096e23a3ab3696770e393221a0a65b32721d97
SUCCESS checkout https://github.com/NextLevel/NextLevelSessionExporter.git at main
========================================
Build
========================================
Selected platform:         watchOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NextLevel/NextLevelSessionExporter.git
https://github.com/NextLevel/NextLevelSessionExporter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "NextLevelSessionExporter",
    "schemes" : [
      "Debug",
      "NextLevelSessionExporter",
      "Release"
    ],
    "targets" : [
      "SessionExporter",
      "NextLevelSessionExporter"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NextLevelSessionExporter"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=watchOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=watchOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures"
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'NextLevelSessionExporter' in project 'NextLevelSessionExporter'
        ➜ Explicit dependency on target 'SessionExporter' in project 'NextLevelSessionExporter'
    Target 'SessionExporter' in project 'NextLevelSessionExporter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 768558e4ec478c63ddafc5adad1f1c20
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/768558e4ec478c63ddafc5adad1f1c20.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.DependencyStaticMetadataFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.DependencyStaticMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.modulemap (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.LinkFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-OutputFileMap.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter_const_extract_protocols.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-OutputFileMap.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.DependencyMetadataFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftConstValuesFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftConstValuesFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.LinkFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftConstValuesFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftConstValuesFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.LinkFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-OutputFileMap.json (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos/SessionExporter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.modulemap (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    builtin-copy -exclude .DS_Store -exclude CVS -exclude .svn -exclude .git -exclude .hg -resolve-src-symlinks /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/SessionExporter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-watchos
SwiftDriver SessionExporter normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SessionExporter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SessionExporter normal armv7k com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal armv7k Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:61:34: error: 'AVVideoComposition' is unavailable in watchOS
    public var videoComposition: AVVideoComposition?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:41:12: note: 'AVVideoComposition' has been explicitly marked unavailable here
@interface AVVideoComposition : NSObject <NSCopying, NSMutableCopying> {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:73:27: error: 'CMTimeRange' is only available in watchOS 6.0 or newer
    public var timeRange: CMTimeRange
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:94:24: error: 'AVAssetExportSession' is unavailable in watchOS
    public var status: AVAssetExportSession.Status {
                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:127:30: error: 'AVAssetWriter' is unavailable in watchOS
    fileprivate var _writer: AVAssetWriter?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h:65:12: note: 'AVAssetWriter' has been explicitly marked unavailable here
@interface AVAssetWriter : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:128:30: error: 'AVAssetReader' is unavailable in watchOS
    fileprivate var _reader: AVAssetReader?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h:62:12: note: 'AVAssetReader' has been explicitly marked unavailable here
@interface AVAssetReader : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:129:42: error: 'AVAssetWriterInputPixelBufferAdaptor' is unavailable in watchOS
    fileprivate var _pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor?
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:715:12: note: 'AVAssetWriterInputPixelBufferAdaptor' has been explicitly marked unavailable here
@interface AVAssetWriterInputPixelBufferAdaptor : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:133:35: error: 'AVAssetReaderVideoCompositionOutput' is unavailable in watchOS
    fileprivate var _videoOutput: AVAssetReaderVideoCompositionOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: 'AVAssetReaderVideoCompositionOutput' has been explicitly marked unavailable here
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:134:35: error: 'AVAssetReaderAudioMixOutput' is unavailable in watchOS
    fileprivate var _audioOutput: AVAssetReaderAudioMixOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: 'AVAssetReaderAudioMixOutput' has been explicitly marked unavailable here
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:135:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _videoInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:136:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _audioInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:50: error: 'CMTime' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:60: error: 'invalid' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:179:56: error: 'AVAssetExportSession' is unavailable in watchOS
    public typealias CompletionHandler = (Swift.Result<AVAssetExportSession.Status, Error>) -> Void
                                                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:89: error: 'CMTime' is only available in watchOS 6.0 or newer
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:22: note: add @available attribute to enclosing type alias
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:176:1: note: add @available attribute to enclosing extension
extension NextLevelSessionExporter {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:63: error: 'AVAssetReaderOutput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                              ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: 'AVAssetReaderOutput' has been explicitly marked unavailable here
@interface AVAssetReaderOutput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:105: error: 'AVAssetWriterInput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                                                                        ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:472:47: error: 'AVMutableVideoComposition' is unavailable in watchOS
    internal func createVideoComposition() -> AVMutableVideoComposition {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:292:12: note: 'AVMutableVideoComposition' has been explicitly marked unavailable here
@interface AVMutableVideoComposition : AVVideoComposition {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:647:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func validateVideoOutputConfiguration() -> Bool {
    ^~~~
    public
Failed frontend command:
/Applications/Xcode-16.3.0.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/NextLevelSessionExporter.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-upcoming-feature DisableOutwardActorInference -enable-upcoming-feature GlobalActorIsolatedTypesUsability -enable-upcoming-feature InferSendableFromCaptures -enable-experimental-feature DebugDescriptionMacro -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.abi.json
SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal armv7k Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64_32 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftEmitModule normal armv7k Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	Building workspace spi-builder-workspace with scheme NextLevelSessionExporter
(3 failures)
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
resolved source packages: NextLevelSessionExporter
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "10.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NextLevelSessionExporter"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=watchOS
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=watchOS
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'NextLevelSessionExporter' in project 'NextLevelSessionExporter'
        ➜ Explicit dependency on target 'SessionExporter' in project 'NextLevelSessionExporter'
    Target 'SessionExporter' in project 'NextLevelSessionExporter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: f1be3e82d74e9a9f83750253f1bb75d7
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/f1be3e82d74e9a9f83750253f1bb75d7.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache
SwiftDriver SessionExporter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SessionExporter normal arm64_32 com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target arm64_32-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftDriver SessionExporter normal armv7k com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -target armv7k-apple-watchos5.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-OutputFileMap.json -use-frontend-parseable-output -save-temps -no-color-diagnostics -serialize-diagnostics -emit-dependencies -emit-module -emit-module-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -emit-objc-header -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:61:34: error: 'AVVideoComposition' is unavailable in watchOS
    public var videoComposition: AVVideoComposition?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:41:12: note: 'AVVideoComposition' has been explicitly marked unavailable here
@interface AVVideoComposition : NSObject <NSCopying, NSMutableCopying> {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:73:27: error: 'CMTimeRange' is only available in watchOS 6.0 or newer
    public var timeRange: CMTimeRange
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:94:24: error: 'AVAssetExportSession' is unavailable in watchOS
    public var status: AVAssetExportSession.Status {
                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:127:30: error: 'AVAssetWriter' is unavailable in watchOS
    fileprivate var _writer: AVAssetWriter?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h:65:12: note: 'AVAssetWriter' has been explicitly marked unavailable here
@interface AVAssetWriter : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:128:30: error: 'AVAssetReader' is unavailable in watchOS
    fileprivate var _reader: AVAssetReader?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h:62:12: note: 'AVAssetReader' has been explicitly marked unavailable here
@interface AVAssetReader : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:129:42: error: 'AVAssetWriterInputPixelBufferAdaptor' is unavailable in watchOS
    fileprivate var _pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor?
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:715:12: note: 'AVAssetWriterInputPixelBufferAdaptor' has been explicitly marked unavailable here
@interface AVAssetWriterInputPixelBufferAdaptor : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:133:35: error: 'AVAssetReaderVideoCompositionOutput' is unavailable in watchOS
    fileprivate var _videoOutput: AVAssetReaderVideoCompositionOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: 'AVAssetReaderVideoCompositionOutput' has been explicitly marked unavailable here
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:134:35: error: 'AVAssetReaderAudioMixOutput' is unavailable in watchOS
    fileprivate var _audioOutput: AVAssetReaderAudioMixOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: 'AVAssetReaderAudioMixOutput' has been explicitly marked unavailable here
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:135:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _videoInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:136:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _audioInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:50: error: 'CMTime' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:60: error: 'invalid' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:179:56: error: 'AVAssetExportSession' is unavailable in watchOS
    public typealias CompletionHandler = (Swift.Result<AVAssetExportSession.Status, Error>) -> Void
                                                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:89: error: 'CMTime' is only available in watchOS 6.0 or newer
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:22: note: add @available attribute to enclosing type alias
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:176:1: note: add @available attribute to enclosing extension
extension NextLevelSessionExporter {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:63: error: 'AVAssetReaderOutput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                              ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: 'AVAssetReaderOutput' has been explicitly marked unavailable here
@interface AVAssetReaderOutput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:105: error: 'AVAssetWriterInput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                                                                        ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:472:47: error: 'AVMutableVideoComposition' is unavailable in watchOS
    internal func createVideoComposition() -> AVMutableVideoComposition {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:292:12: note: 'AVMutableVideoComposition' has been explicitly marked unavailable here
@interface AVMutableVideoComposition : AVVideoComposition {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:647:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func validateVideoOutputConfiguration() -> Bool {
    ^~~~
    public
Failed frontend command:
/Applications/Xcode-16.3.0.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/NextLevelSessionExporter.swift -target arm64-apple-watchos5.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json
SwiftEmitModule normal armv7k Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:61:34: error: 'AVVideoComposition' is unavailable in watchOS
    public var videoComposition: AVVideoComposition?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:41:12: note: 'AVVideoComposition' has been explicitly marked unavailable here
@interface AVVideoComposition : NSObject <NSCopying, NSMutableCopying> {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:73:27: error: 'CMTimeRange' is only available in watchOS 6.0 or newer
    public var timeRange: CMTimeRange
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:94:24: error: 'AVAssetExportSession' is unavailable in watchOS
    public var status: AVAssetExportSession.Status {
                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:127:30: error: 'AVAssetWriter' is unavailable in watchOS
    fileprivate var _writer: AVAssetWriter?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h:65:12: note: 'AVAssetWriter' has been explicitly marked unavailable here
@interface AVAssetWriter : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:128:30: error: 'AVAssetReader' is unavailable in watchOS
    fileprivate var _reader: AVAssetReader?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h:62:12: note: 'AVAssetReader' has been explicitly marked unavailable here
@interface AVAssetReader : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:129:42: error: 'AVAssetWriterInputPixelBufferAdaptor' is unavailable in watchOS
    fileprivate var _pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor?
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:715:12: note: 'AVAssetWriterInputPixelBufferAdaptor' has been explicitly marked unavailable here
@interface AVAssetWriterInputPixelBufferAdaptor : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:133:35: error: 'AVAssetReaderVideoCompositionOutput' is unavailable in watchOS
    fileprivate var _videoOutput: AVAssetReaderVideoCompositionOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: 'AVAssetReaderVideoCompositionOutput' has been explicitly marked unavailable here
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:134:35: error: 'AVAssetReaderAudioMixOutput' is unavailable in watchOS
    fileprivate var _audioOutput: AVAssetReaderAudioMixOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: 'AVAssetReaderAudioMixOutput' has been explicitly marked unavailable here
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:135:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _videoInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:136:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _audioInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:50: error: 'CMTime' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:60: error: 'invalid' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:179:56: error: 'AVAssetExportSession' is unavailable in watchOS
    public typealias CompletionHandler = (Swift.Result<AVAssetExportSession.Status, Error>) -> Void
                                                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:89: error: 'CMTime' is only available in watchOS 6.0 or newer
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:22: note: add @available attribute to enclosing type alias
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:176:1: note: add @available attribute to enclosing extension
extension NextLevelSessionExporter {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:63: error: 'AVAssetReaderOutput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                              ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: 'AVAssetReaderOutput' has been explicitly marked unavailable here
@interface AVAssetReaderOutput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:105: error: 'AVAssetWriterInput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                                                                        ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:472:47: error: 'AVMutableVideoComposition' is unavailable in watchOS
    internal func createVideoComposition() -> AVMutableVideoComposition {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:292:12: note: 'AVMutableVideoComposition' has been explicitly marked unavailable here
@interface AVMutableVideoComposition : AVVideoComposition {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:647:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func validateVideoOutputConfiguration() -> Bool {
    ^~~~
    public
Failed frontend command:
/Applications/Xcode-16.3.0.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/NextLevelSessionExporter.swift -target armv7k-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/armv7k -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/armv7k/SessionExporter.abi.json
SwiftCompile normal armv7k Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
Failed frontend command:
/Applications/Xcode-16.3.0.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/NextLevelSessionExporter.swift -target arm64_32-apple-watchos5.0 -enable-objc-interop -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -I /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-watchos -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -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 -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/watchos11.4-22T246-43efb940ff07ba2497b70ec94253f576.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/swift-overrides.hmap -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/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources-normal/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources/arm64_32 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 11.4 -target-sdk-name watchos11.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-watchos/SessionExporter.build/Objects-normal/arm64_32/SessionExporter.abi.json
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:61:34: error: 'AVVideoComposition' is unavailable in watchOS
    public var videoComposition: AVVideoComposition?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:41:12: note: 'AVVideoComposition' has been explicitly marked unavailable here
@interface AVVideoComposition : NSObject <NSCopying, NSMutableCopying> {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:73:27: error: 'CMTimeRange' is only available in watchOS 6.0 or newer
    public var timeRange: CMTimeRange
                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:94:24: error: 'AVAssetExportSession' is unavailable in watchOS
    public var status: AVAssetExportSession.Status {
                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:127:30: error: 'AVAssetWriter' is unavailable in watchOS
    fileprivate var _writer: AVAssetWriter?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriter.h:65:12: note: 'AVAssetWriter' has been explicitly marked unavailable here
@interface AVAssetWriter : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:128:30: error: 'AVAssetReader' is unavailable in watchOS
    fileprivate var _reader: AVAssetReader?
                             ^~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReader.h:62:12: note: 'AVAssetReader' has been explicitly marked unavailable here
@interface AVAssetReader : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:129:42: error: 'AVAssetWriterInputPixelBufferAdaptor' is unavailable in watchOS
    fileprivate var _pixelBufferAdaptor: AVAssetWriterInputPixelBufferAdaptor?
                                         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:715:12: note: 'AVAssetWriterInputPixelBufferAdaptor' has been explicitly marked unavailable here
@interface AVAssetWriterInputPixelBufferAdaptor : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:133:35: error: 'AVAssetReaderVideoCompositionOutput' is unavailable in watchOS
    fileprivate var _videoOutput: AVAssetReaderVideoCompositionOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: 'AVAssetReaderVideoCompositionOutput' has been explicitly marked unavailable here
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:134:35: error: 'AVAssetReaderAudioMixOutput' is unavailable in watchOS
    fileprivate var _audioOutput: AVAssetReaderAudioMixOutput?
                                  ^~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: 'AVAssetReaderAudioMixOutput' has been explicitly marked unavailable here
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:135:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _videoInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:136:34: error: 'AVAssetWriterInput' is unavailable in watchOS
    fileprivate var _audioInput: AVAssetWriterInput?
                                 ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:50: error: 'CMTime' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                 ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:145:60: error: 'invalid' is only available in watchOS 6.0 or newer
    fileprivate var _lastSamplePresentationTime: CMTime = .invalid
                                                           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: add @available attribute to enclosing class
open class NextLevelSessionExporter: NSObject {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:179:56: error: 'AVAssetExportSession' is unavailable in watchOS
    public typealias CompletionHandler = (Swift.Result<AVAssetExportSession.Status, Error>) -> Void
                                                       ^~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetExportSession.h:156:12: note: 'AVAssetExportSession' has been explicitly marked unavailable here
@interface AVAssetExportSession : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:89: error: 'CMTime' is only available in watchOS 6.0 or newer
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                                                                                        ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:185:22: note: add @available attribute to enclosing type alias
    public typealias RenderHandler = (_ renderFrame: CVPixelBuffer, _ presentationTime: CMTime, _ resultingBuffer: CVPixelBuffer) -> Void
                     ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:176:1: note: add @available attribute to enclosing extension
extension NextLevelSessionExporter {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:63: error: 'AVAssetReaderOutput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                              ^~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:42:12: note: 'AVAssetReaderOutput' has been explicitly marked unavailable here
@interface AVAssetReaderOutput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:426:105: error: 'AVAssetWriterInput' is unavailable in watchOS
    internal func encode(readySamplesFromReaderOutput output: AVAssetReaderOutput, toWriterInput input: AVAssetWriterInput) -> Bool {
                                                                                                        ^~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: 'AVAssetWriterInput' has been explicitly marked unavailable here
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:472:47: error: 'AVMutableVideoComposition' is unavailable in watchOS
    internal func createVideoComposition() -> AVMutableVideoComposition {
                                              ^~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS11.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVVideoComposition.h:292:12: note: 'AVMutableVideoComposition' has been explicitly marked unavailable here
@interface AVMutableVideoComposition : AVVideoComposition {
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:647:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
    open func validateVideoOutputConfiguration() -> Bool {
    ^~~~
    public
SwiftCompile normal arm64_32 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

** BUILD FAILED **
The following build commands failed:
	SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftCompile normal armv7k /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftEmitModule normal armv7k Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftEmitModule normal arm64_32 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	SwiftCompile normal arm64_32 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
	Building workspace spi-builder-workspace with scheme NextLevelSessionExporter
(7 failures)
BUILD FAILURE 6.1 watchOS