Build Information
Failed to build NextLevelSessionExporter, reference main (e2096e
), with Swift 6.0 for visionOS using Xcode 16.0 on 1 Nov 2024 07:59:28 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Build Log
========================================
RunAll
========================================
Builder version: 4.56.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: visionOS
Swift version: 6.0
Building package at path: $PWD
https://github.com/NextLevel/NextLevelSessionExporter.git
Command line invocation:
/Applications/Xcode-16.1.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEPackageSupportUseBuiltinSCM = YES
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.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete
Command line invocation:
/Applications/Xcode-16.1.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=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
Prepare packages
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.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: e3acc9df4eb757d01d0680e666a484e8
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e3acc9df4eb757d01d0680e666a484e8.xcbuilddata
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/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.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
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-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/SessionExporter.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/SessionExporter.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SessionExporter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/SessionExporter.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
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.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/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')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.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-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json
/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 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-unit-output-path /NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-unit-output-path /NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/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
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:256:53: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
self._duration = CMTimeGetSeconds(asset.duration)
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:264:67: error: 'AVVideoCodecH264' is unavailable in visionOS
self.videoOutputConfiguration?[AVVideoCodecKey] = AVVideoCodecH264
^~~~~~~~~~~~~~~~
AVFoundation.AVVideoCodecH264:2:12: note: 'AVVideoCodecH264' has been explicitly marked unavailable here
public let AVVideoCodecH264: String
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:280:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:199:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:221:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:230:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:238:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:20: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
AVFoundation.AVAssetReaderVideoCompositionOutput:2:12: note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
open class AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
import AVFoundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
open class AVAssetWriterInput : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:20: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
AVFoundation.AVAssetReaderAudioMixOutput:2:12: note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
open class AVAssetReaderAudioMixOutput : AVAssetReaderOutput {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
open class AVAssetWriterInput : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:304:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.finish()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:312:16: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self._writer?.status == .writing {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:321:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.complete()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:334:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:387:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let audioTracks = asset.tracks(withMediaType: AVMediaType.audio)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:476:36: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTrack = asset.tracks(withMediaType: AVMediaType.video).first {
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:488:40: warning: 'nominalFrameRate' was deprecated in visionOS 1.0: Use load(.nominalFrameRate) instead
frameRate = videoTrack.nominalFrameRate
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:508:46: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
var naturalSize = videoTrack.naturalSize
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:510:44: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
var transform = videoTrack.preferredTransform
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:546:100: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
compositionInstruction.timeRange = CMTimeRange(start: CMTime.zero, duration: asset.duration)
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:579:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.complete()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
SwiftDriverJobDiscovery normal arm64 Emitting module for SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftDriver\ Compilation\ Requirements 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-Swift-Compilation-Requirements -- /Applications/Xcode-16.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftMergeGeneratedHeaders /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SessionExporter-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h (in target 'SessionExporter' from project 'NextLevelSessionExporter')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/SessionExporter-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftdoc (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 -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json (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 -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule (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 -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo (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 -rename /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/SessionExporter.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
** 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')
SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
Building workspace spi-builder-workspace with scheme NextLevelSessionExporter
(3 failures)
Command line invocation:
/Applications/Xcode-16.1.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=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats -strict-concurrency=complete"
User defaults from command line:
IDEClonedSourcePackagesDirPathOverride = /Users/admin/builder/spi-builder-workspace/.dependencies
IDEDerivedDataPathOverride = /Users/admin/builder/spi-builder-workspace/.derivedData
IDEPackageSupportUseBuiltinSCM = YES
Build settings from command line:
OTHER_SWIFT_FLAGS = -stats-output-dir .stats -strict-concurrency=complete
Resolve Package Graph
Resolved source packages:
NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
Prepare packages
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
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.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.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.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 -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -output-file-map /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/SessionExporter.build/Objects-normal/arm64/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')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.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-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/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-xros/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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.abi.json
/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 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-swiftTaskExecution -- /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-unit-output-path /NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
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
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -c -primary-file /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.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-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-experimental-feature DebugDescriptionMacro -enable-experimental-feature OpaqueTypeErasure -strict-concurrency\=complete -empty-abi-descriptor -plugin-path /Applications/Xcode-16.1.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.1.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 -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/swift-overrides.hmap -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name SessionExporter -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.1 -target-sdk-name xros2.1 -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-unit-output-path /NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/NextLevelSessionExporter.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/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
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:256:53: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
self._duration = CMTimeGetSeconds(asset.duration)
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:264:67: error: 'AVVideoCodecH264' is unavailable in visionOS
self.videoOutputConfiguration?[AVVideoCodecKey] = AVVideoCodecH264
^~~~~~~~~~~~~~~~
AVFoundation.AVVideoCodecH264:2:12: note: 'AVVideoCodecH264' has been explicitly marked unavailable here
public let AVVideoCodecH264: String
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:280:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:199:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:221:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:230:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:238:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self._completionHandler?(.failure(NextLevelSessionExporterError.setupFailure))
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:20: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
AVFoundation.AVAssetReaderVideoCompositionOutput:2:12: note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
open class AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:25:1: warning: add '@preconcurrency' to suppress 'Sendable'-related warnings from module 'AVFoundation'
import AVFoundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:286:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
^
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
open class AVAssetWriterInput : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:20: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
AVFoundation.AVAssetReaderAudioMixOutput:2:12: note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
open class AVAssetReaderAudioMixOutput : AVAssetReaderOutput {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:296:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
^
AVFoundation.AVAssetWriterInput:2:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
open class AVAssetWriterInput : NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:304:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.finish()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:312:16: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
if self._writer?.status == .writing {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:321:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.complete()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:334:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:387:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
let audioTracks = asset.tracks(withMediaType: AVMediaType.audio)
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:476:36: error: 'tracks(withMediaType:)' is unavailable in visionOS
let videoTrack = asset.tracks(withMediaType: AVMediaType.video).first {
^~~~~~
AVFoundation.AVAsset:17:15: note: 'tracks(withMediaType:)' has been explicitly marked unavailable here
open func tracks(withMediaType mediaType: AVMediaType) -> [AVAssetTrack]
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:488:40: warning: 'nominalFrameRate' was deprecated in visionOS 1.0: Use load(.nominalFrameRate) instead
frameRate = videoTrack.nominalFrameRate
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:508:46: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
var naturalSize = videoTrack.naturalSize
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:510:44: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
var transform = videoTrack.preferredTransform
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:546:100: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
compositionInstruction.timeRange = CMTimeRange(start: CMTime.zero, duration: asset.duration)
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:579:17: warning: capture of 'self' with non-sendable type 'NextLevelSessionExporter' in a `@Sendable` closure; this is an error in the Swift 6 language mode
self.complete()
^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:55:12: note: class 'NextLevelSessionExporter' does not conform to the 'Sendable' protocol
open class NextLevelSessionExporter: NSObject {
^
** 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')
SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
Building workspace spi-builder-workspace with scheme NextLevelSessionExporter
(3 failures)
BUILD FAILURE 6.0 visionOS