The Swift Package Index logo.Swift Package Index

Build Information

Failed to build NextLevelSessionExporter, reference main (1bb6e1), with Swift 6.1 for visionOS using Xcode 16.3 on 30 Apr 2026 00:20:06 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.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 1bb6e19 Merge pull request #58 from madsodgaard/main
Cloned https://github.com/NextLevel/NextLevelSessionExporter.git
Revision (git rev-parse @):
1bb6e19731ff512f4652f8ce2a8f67c779b1598f
SUCCESS checkout https://github.com/NextLevel/NextLevelSessionExporter.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.1
Building package at path:  $PWD
https://github.com/NextLevel/NextLevelSessionExporter.git
https://github.com/NextLevel/NextLevelSessionExporter.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
resolved source packages:
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "project" : {
    "configurations" : [
      "Debug",
      "Release"
    ],
    "name" : "NextLevelSessionExporter",
    "schemes" : [
      "Debug",
      "NextLevelSessionExporter",
      "Release"
    ],
    "targets" : [
      "SessionExporter",
      "NextLevelSessionExporter"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NextLevelSessionExporter"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS OTHER_SWIFT_FLAGS=-stats-output-dir .stats
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS "OTHER_SWIFT_FLAGS=-stats-output-dir .stats"
Build settings from command line:
    OTHER_SWIFT_FLAGS = -stats-output-dir .stats
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'NextLevelSessionExporter' in project 'NextLevelSessionExporter'
        ➜ Explicit dependency on target 'SessionExporter' in project 'NextLevelSessionExporter'
    Target 'SessionExporter' in project 'NextLevelSessionExporter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 4adc7ad12e3c92579495b25227b92890
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/4adc7ad12e3c92579495b25227b92890.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
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
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
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
    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/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.DependencyStaticMetadataFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/SessionExporter.DependencyStaticMetadataFileList
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
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.SwiftConstValuesFileList (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftConstValuesFileList
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.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/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
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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.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 -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -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
SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:367: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:380:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:404:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
                                                             ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:25:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'AVFoundation' as warnings
import AVFoundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:404:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
                                                                                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
                                                             ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
                                                                                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:460:51: warning: 'formatDescriptions' was deprecated in visionOS 1.0: Use load(.formatDescriptions) instead
        guard let formatDescriptions = videoTrack.formatDescriptions as? [CMFormatDescription],
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:569:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:657:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let audioTracks = asset.tracks(withMediaType: AVMediaType.audio)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:668:43: warning: 'formatDescriptions' was deprecated in visionOS 1.0: Use load(.formatDescriptions) instead
            let audioFormats = audioTrack.formatDescriptions
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:775:36: error: 'tracks(withMediaType:)' is unavailable in visionOS
            let videoTrack = asset.tracks(withMediaType: AVMediaType.video).first {
                                   ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:787: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:802:62: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
                    videoComposition.renderSize = videoTrack.naturalSize
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:810: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:812:67: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
                var transform = self.videoTransform ?? videoTrack.preferredTransform
                                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:884:100: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
                compositionInstruction.timeRange = CMTimeRange(start: CMTime.zero, duration: asset.duration)
                                                                                                   ^
Failed frontend command:
/Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 6 -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 -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -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
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.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 -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -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.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/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.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/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.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -resolvePackageDependencies
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
resolved source packages: NextLevelSessionExporter
{
  "dependencies" : [
  ],
  "manifest_display_name" : "NextLevelSessionExporter",
  "name" : "NextLevelSessionExporter",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "NextLevelSessionExporter",
      "targets" : [
        "SessionExporter"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "6"
  ],
  "targets" : [
    {
      "c99name" : "SessionExporter",
      "module_type" : "SwiftTarget",
      "name" : "SessionExporter",
      "path" : "Sources",
      "product_memberships" : [
        "NextLevelSessionExporter"
      ],
      "sources" : [
        "NextLevelSessionExporter.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "NextLevelSessionExporter"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS
Command line invocation:
    /Applications/Xcode-16.3.0.app/Contents/Developer/usr/bin/xcodebuild -IDEClonedSourcePackagesDirPathOverride=/Users/admin/builder/spi-builder-workspace/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath /Users/admin/builder/spi-builder-workspace/.derivedData build -scheme NextLevelSessionExporter -destination generic/platform=xrOS
Resolve Package Graph
Resolved source packages:
  NextLevelSessionExporter: /Users/admin/builder/spi-builder-workspace
ComputePackagePrebuildTargetDependencyGraph
Prepare packages
CreateBuildRequest
SendProjectDescription
CreateBuildOperation
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
    Target 'NextLevelSessionExporter' in project 'NextLevelSessionExporter'
        ➜ Explicit dependency on target 'SessionExporter' in project 'NextLevelSessionExporter'
    Target 'SessionExporter' in project 'NextLevelSessionExporter' (no dependencies)
GatherProvisioningInputs
CreateBuildDescription
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc --version
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -v -E -dM -isysroot /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -x c -c /dev/null
ExecuteExternalTool /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld -version_details
Build description signature: 313daef28576a2f1ad707c19a1c1ac69
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/313daef28576a2f1ad707c19a1c1ac69.xcbuilddata
ClangStatCache /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.sdkstatcache
SwiftDriver SessionExporter normal arm64 com.apple.xcode.tools.swift.compiler (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-SwiftDriver -- /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -enable-upcoming-feature StrictConcurrency -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.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 -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -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
SwiftCompile normal arm64 Compiling\ NextLevelSessionExporter.swift /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:367: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:380:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:404:62: warning: capture of 'videoOutput' with non-sendable type 'AVAssetReaderVideoCompositionOutput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
                                                             ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:416:12: note: class 'AVAssetReaderVideoCompositionOutput' does not conform to the 'Sendable' protocol
@interface AVAssetReaderVideoCompositionOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:25:1: warning: add '@preconcurrency' to treat 'Sendable'-related errors from module 'AVFoundation' as warnings
import AVFoundation
^
@preconcurrency
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:404:90: warning: capture of 'videoInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: videoOutput, toWriterInput: videoInput) == false {
                                                                                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:62: warning: capture of 'audioOutput' with non-sendable type 'AVAssetReaderAudioMixOutput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
                                                             ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetReaderOutput.h:300:12: note: class 'AVAssetReaderAudioMixOutput' does not conform to the 'Sendable' protocol
@interface AVAssetReaderAudioMixOutput : AVAssetReaderOutput
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:414:90: warning: capture of 'audioInput' with non-sendable type 'AVAssetWriterInput' in a '@Sendable' closure
                if self.encode(readySamplesFromReaderOutput: audioOutput, toWriterInput: audioInput) == false {
                                                                                         ^
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/System/Library/Frameworks/AVFoundation.framework/Headers/AVAssetWriterInput.h:43:12: note: class 'AVAssetWriterInput' does not conform to the 'Sendable' protocol
@interface AVAssetWriterInput : NSObject
           ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:460:51: warning: 'formatDescriptions' was deprecated in visionOS 1.0: Use load(.formatDescriptions) instead
        guard let formatDescriptions = videoTrack.formatDescriptions as? [CMFormatDescription],
                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:569:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let videoTracks = asset.tracks(withMediaType: AVMediaType.video)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:657:33: error: 'tracks(withMediaType:)' is unavailable in visionOS
        let audioTracks = asset.tracks(withMediaType: AVMediaType.audio)
                                ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:668:43: warning: 'formatDescriptions' was deprecated in visionOS 1.0: Use load(.formatDescriptions) instead
            let audioFormats = audioTrack.formatDescriptions
                                          ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:775:36: error: 'tracks(withMediaType:)' is unavailable in visionOS
            let videoTrack = asset.tracks(withMediaType: AVMediaType.video).first {
                                   ^~~~~~
AVFoundation.AVAsset.tracks:3:13: 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:787: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:802:62: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
                    videoComposition.renderSize = videoTrack.naturalSize
                                                             ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:810: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:812:67: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
                var transform = self.videoTransform ?? videoTrack.preferredTransform
                                                                  ^
/Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift:884:100: warning: 'duration' was deprecated in visionOS 1.0: Use load(.duration) instead
                compositionInstruction.timeRange = CMTimeRange(start: CMTime.zero, duration: asset.duration)
                                                                                                   ^
Failed frontend command:
/Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 6 -enforce-exclusivity\=checked -Onone -D SWIFT_PACKAGE -D DEBUG -D Xcode -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter_const_extract_protocols.json -enable-upcoming-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -resource-dir /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -frontend-parseable-output -disable-clang-spi -target-sdk-version 2.4 -target-sdk-name xros2.4 -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -external-plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/local/lib/swift/host/plugins\#/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/bin/swift-plugin-server -in-process-plugin-server-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/local/lib/swift/host/plugins -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
SwiftEmitModule normal arm64 Emitting\ module\ for\ SessionExporter (in target 'SessionExporter' from project 'NextLevelSessionExporter')
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/NextLevelSessionExporter.swift (in target 'SessionExporter' from project 'NextLevelSessionExporter')
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode

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.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftc -module-name SessionExporter -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/NextLevelSessionExporter.build/Debug-xros/SessionExporter.build/Objects-normal/arm64/SessionExporter.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -DXcode -enable-upcoming-feature StrictConcurrency -plugin-path /Applications/Xcode-16.3.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.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 -swift-version 6 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.3.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.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.4.sdk/Developer/Library/Frameworks -parse-as-library -c -j10 -enable-batch-mode -incremental -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.4-22O233-407b76dbb837030756cbe1ab3f0b01b6.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 -package-name spi_builder_workspace -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
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
** 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.1 visionOS