Build Information
Failed to build Player, reference 0.14.0 (d6a6c2
), with Swift 6.0 for visionOS using Xcode 16.0 on 1 Nov 2024 08:15:31 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Player -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/piemonte/Player.git
Reference: 0.14.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/piemonte/Player
* tag 0.14.0 -> FETCH_HEAD
HEAD is now at d6a6c26 update min deployment version
Cloned https://github.com/piemonte/Player.git
Revision (git rev-parse @):
d6a6c266e80f90fa93430371076964c196a1d2ec
SUCCESS checkout https://github.com/piemonte/Player.git at 0.14.0
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.0
Building package at path: $PWD
https://github.com/piemonte/Player.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" : "Player",
"name" : "Player",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "12.0"
}
],
"products" : [
{
"name" : "Player",
"targets" : [
"Player"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"swift_languages_versions" : [
"5"
],
"targets" : [
{
"c99name" : "Player",
"module_type" : "SwiftTarget",
"name" : "Player",
"path" : "Sources",
"product_memberships" : [
"Player"
],
"sources" : [
"Player.swift"
],
"type" : "library"
}
],
"tools_version" : "5.0"
}
{
"workspace" : {
"name" : "Player",
"schemes" : [
"Debug - iOS",
"Debug - tvOS",
"Player",
"Release - iOS",
"Release - tvOS"
]
}
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Player"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Player -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 Player -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:
Player: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Player' in project 'Player'
➜ Explicit dependency on target 'Player' in project 'Player'
Target 'Player' in project 'Player' (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: 89a861c024ee68319254513ce75e7a8e
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/89a861c024ee68319254513ce75e7a8e.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
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.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/Player.build/Debug-xros/Player.build/Player.modulemap (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Player.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Player.DependencyMetadataFileList (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Player.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.LinkFileList (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-OutputFileMap.json (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_const_extract_protocols.json (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.SwiftFileList (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.SwiftFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Player.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Player.modulemap (in target 'Player' from project 'Player')
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/Player.build/Debug-xros/Player.build/Player.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver Player normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Player' from project 'Player')
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 Player -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Player (in target 'Player' from project 'Player')
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/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
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/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:484:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromBeginning() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromCurrentTime() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:507:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func pause() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func stop() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:556:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func takeSnapshot(completionHandler: ((_ image: UIImage?, _ error: Error?) -> Void)? ) {
^~~~
public
SwiftCompile normal arm64 Compiling\ Player.swift /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
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/Player.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-unit-output-path /Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.swift (in target 'Player' from project 'Player')
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/Player.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-unit-output-path /Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:484:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromBeginning() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromCurrentTime() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:507:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func pause() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func stop() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:556:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func takeSnapshot(completionHandler: ((_ image: UIImage?, _ error: Error?) -> Void)? ) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:214:26: error: 'tracks(withMediaType:)' is unavailable in visionOS
return asset.tracks(withMediaType: .video).count != 0
^~~~~~
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/Player.swift:300:46: error: 'tracks(withMediaType:)' is unavailable in visionOS
let track = playerItem.asset.tracks(withMediaType: .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/Player.swift:302:34: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
let size = track.naturalSize.applying(track.preferredTransform)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:302:61: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
let size = track.naturalSize.applying(track.preferredTransform)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:385:14: warning: main actor-isolated property '_avplayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self._avplayer.pause()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:350:23: note: property declared here
internal lazy var _avplayer: AVPlayer = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:386:14: warning: call to main actor-isolated instance method 'setupPlayerItem' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.setupPlayerItem(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:664:22: note: calls to instance method 'setupPlayerItem' from outside of its actor context are implicitly asynchronous
fileprivate func setupPlayerItem(_ playerItem: AVPlayerItem?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:388:14: warning: call to main actor-isolated instance method 'removePlayerObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removePlayerObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:895:19: note: calls to instance method 'removePlayerObservers()' from outside of its actor context are implicitly asynchronous
internal func removePlayerObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:391:14: warning: call to main actor-isolated instance method 'removeApplicationObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removeApplicationObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:716:19: note: calls to instance method 'removeApplicationObservers()' from outside of its actor context are implicitly asynchronous
internal func removeApplicationObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:394:14: warning: call to main actor-isolated instance method 'removePlayerLayerObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removePlayerLayerObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:863:19: note: calls to instance method 'removePlayerLayerObservers()' from outside of its actor context are implicitly asynchronous
internal func removePlayerLayerObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:396:26: warning: main actor-isolated property 'player' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self._playerView.player = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: mutation of this property is only permitted within the actor
internal var player: AVPlayer? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:534:65: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
return playerItem.seek(to: time, completionHandler: completionHandler)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:37: note: parameter 'completionHandler' is implicitly non-sendable
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:549:131: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
return playerItem.seek(to: time, toleranceBefore: toleranceBefore, toleranceAfter: toleranceAfter, completionHandler: completionHandler)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:92: note: parameter 'completionHandler' is implicitly non-sendable
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:572:21: warning: capture of 'completionHandler' with non-sendable type '((UIImage?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
completionHandler?(nil, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:572:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler?(nil, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:634:22: warning: 'loadValuesAsynchronously(forKeys:completionHandler:)' was deprecated in visionOS 1.0: Use load(_:) instead. For non-deprecated properties that do not have an AVAsyncProperty equivalent, continue to query these properties synchronously
self._asset?.loadValuesAsynchronously(forKeys: loadableKeys, completionHandler: { () -> Void in
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:641:36: warning: 'statusOfValue(forKey:error:)' was deprecated in visionOS 1.0: Use status(of:) instead
let status = asset.statusOfValue(forKey: key, error: &error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:651:23: error: 'isPlayable' is unavailable in visionOS
if !asset.isPlayable {
^~~~~~~~~~
AVFoundation.AVAsset:3:14: note: 'isPlayable' has been explicitly marked unavailable here
open var isPlayable: Bool { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:635:36: warning: main actor-isolated property '_asset' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
guard let asset = self._asset else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:343:18: note: property declared here
internal var _asset: AVAsset? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:643:26: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self.playbackState = .failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:644:26: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:645:30: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.playerDelegate?.player(self, didFailWithError: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:652:22: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self.playbackState = .failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:653:22: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:654:26: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.playerDelegate?.player(self, didFailWithError: PlayerError.failed)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:659:30: warning: call to main actor-isolated initializer 'init(asset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let playerItem = AVPlayerItem(asset:asset)
^
AVFoundation.AVPlayerItem:26:35: note: calls to initializer 'init(asset:)' from outside of its actor context are implicitly asynchronous
@MainActor public convenience init(asset: AVAsset)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:660:18: warning: call to main actor-isolated instance method 'setupPlayerItem' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.setupPlayerItem(playerItem)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:664:22: note: calls to instance method 'setupPlayerItem' from outside of its actor context are implicitly asynchronous
fileprivate func setupPlayerItem(_ playerItem: AVPlayerItem?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:733:26: warning: call to main actor-isolated instance method 'stop()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.stop()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:15: note: calls to instance method 'stop()' from outside of its actor context are implicitly asynchronous
open func stop() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:784:23: warning: main actor-isolated property 'bufferingState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.bufferingState = .delayed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:247:14: note: mutation of this property is only permitted within the actor
open var bufferingState: BufferingState = .unknown {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:789:23: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = PlaybackState.failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:801:28: warning: main actor-isolated property 'bufferingState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.bufferingState = .ready
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:247:14: note: mutation of this property is only permitted within the actor
open var bufferingState: BufferingState = .unknown {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:802:31: warning: main actor-isolated property 'playbackState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if strongSelf.playbackState == .playing {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: property declared here
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:803:32: warning: call to main actor-isolated instance method 'playFromCurrentTime()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playFromCurrentTime()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:15: note: calls to instance method 'playFromCurrentTime()' from outside of its actor context are implicitly asynchronous
open func playFromCurrentTime() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:809:28: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.playbackState = PlaybackState.failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:824:31: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if strongSelf._lastBufferTime != bufferedTime {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:825:32: warning: main actor-isolated property '_lastBufferTime' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime = bufferedTime
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: mutation of this property is only permitted within the actor
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:826:32: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:827:36: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playerDelegate?.playerBufferTimeDidChange(bufferedTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:833:41: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let passedTime = strongSelf._lastBufferTime <= 0 ? currentTime : (strongSelf._lastBufferTime - currentTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:833:90: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let passedTime = strongSelf._lastBufferTime <= 0 ? currentTime : (strongSelf._lastBufferTime - currentTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:835:42: warning: main actor-isolated property 'bufferSizeInSeconds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if (passedTime >= strongSelf.bufferSizeInSeconds ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:258:14: note: property declared here
open var bufferSizeInSeconds: Double = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:836:28: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime == strongSelf.maximumDuration ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:836:58: warning: main actor-isolated property 'maximumDuration' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime == strongSelf.maximumDuration ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:264:14: note: property declared here
open var maximumDuration: TimeInterval {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:838:28: warning: main actor-isolated property 'playbackState' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf.playbackState == .playing {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: property declared here
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:839:28: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.play()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:499:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
fileprivate func play() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:855:19: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self?.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:857:32: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playerDelegate?.playerReady(strongSelf)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:875:24: warning: main actor-isolated property 'playbackDelegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.playbackDelegate?.playerCurrentTimeDidChange(strongSelf)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:139:19: note: property declared here
open weak var playbackDelegate: PlayerPlaybackDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:882:27: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = .paused
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:884:27: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = .playing
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:915:47: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
DispatchQueue.main.async(execute: closure)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:68: note: parameter 'closure' is implicitly non-sendable
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:995:14: warning: main actor-isolated property 'player' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.player?.pause()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: property declared here
internal var player: AVPlayer? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:996:14: warning: main actor-isolated property 'player' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.player = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: mutation of this property is only permitted within the actor
internal var player: AVPlayer? {
^
SwiftDriverJobDiscovery normal arm64 Emitting module for Player (in target 'Player' from project 'Player')
SwiftDriver\ Compilation\ Requirements Player normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Player' from project 'Player')
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 Player -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-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/Player-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h (in target 'Player' from project 'Player')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Player-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json (in target 'Player' from project 'Player')
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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule (in target 'Player' from project 'Player')
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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc (in target 'Player' from project 'Player')
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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo (in target 'Player' from project 'Player')
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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Player.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
SwiftCompile normal arm64 Compiling\ Player.swift /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
Building workspace spi-builder-workspace with scheme Player
(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 Player -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:
Player: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Player' in project 'Player'
➜ Explicit dependency on target 'Player' in project 'Player'
Target 'Player' in project 'Player' (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 Player normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Player' from project 'Player')
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 Player -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Player (in target 'Player' from project 'Player')
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/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
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/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:484:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromBeginning() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromCurrentTime() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:507:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func pause() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func stop() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:556:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func takeSnapshot(completionHandler: ((_ image: UIImage?, _ error: Error?) -> Void)? ) {
^~~~
public
SwiftCompile normal arm64 Compiling\ Player.swift /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
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/Player.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-unit-output-path /Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.swift (in target 'Player' from project 'Player')
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/Player.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player_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/Player.build/Debug-xros/Player.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/Player.build/Debug-xros/Player.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Player.build/Debug-xros/Player.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Player -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/Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-unit-output-path /Player.build/Debug-xros/Player.build/Objects-normal/arm64/Player.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:484:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromBeginning() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func playFromCurrentTime() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:507:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func pause() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func stop() {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:556:5: warning: non-'@objc' instance method in extensions cannot be overridden; use 'public' instead
open func takeSnapshot(completionHandler: ((_ image: UIImage?, _ error: Error?) -> Void)? ) {
^~~~
public
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:214:26: error: 'tracks(withMediaType:)' is unavailable in visionOS
return asset.tracks(withMediaType: .video).count != 0
^~~~~~
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/Player.swift:300:46: error: 'tracks(withMediaType:)' is unavailable in visionOS
let track = playerItem.asset.tracks(withMediaType: .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/Player.swift:302:34: warning: 'naturalSize' was deprecated in visionOS 1.0: Use load(.naturalSize) instead
let size = track.naturalSize.applying(track.preferredTransform)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:302:61: warning: 'preferredTransform' was deprecated in visionOS 1.0: Use load(.preferredTransform) instead
let size = track.naturalSize.applying(track.preferredTransform)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:385:14: warning: main actor-isolated property '_avplayer' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self._avplayer.pause()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:350:23: note: property declared here
internal lazy var _avplayer: AVPlayer = {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:386:14: warning: call to main actor-isolated instance method 'setupPlayerItem' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.setupPlayerItem(nil)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:664:22: note: calls to instance method 'setupPlayerItem' from outside of its actor context are implicitly asynchronous
fileprivate func setupPlayerItem(_ playerItem: AVPlayerItem?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:388:14: warning: call to main actor-isolated instance method 'removePlayerObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removePlayerObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:895:19: note: calls to instance method 'removePlayerObservers()' from outside of its actor context are implicitly asynchronous
internal func removePlayerObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:391:14: warning: call to main actor-isolated instance method 'removeApplicationObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removeApplicationObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:716:19: note: calls to instance method 'removeApplicationObservers()' from outside of its actor context are implicitly asynchronous
internal func removeApplicationObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:394:14: warning: call to main actor-isolated instance method 'removePlayerLayerObservers()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.removePlayerLayerObservers()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:863:19: note: calls to instance method 'removePlayerLayerObservers()' from outside of its actor context are implicitly asynchronous
internal func removePlayerLayerObservers() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:396:26: warning: main actor-isolated property 'player' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self._playerView.player = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: mutation of this property is only permitted within the actor
internal var player: AVPlayer? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:534:65: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
return playerItem.seek(to: time, completionHandler: completionHandler)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:532:37: note: parameter 'completionHandler' is implicitly non-sendable
open func seek(to time: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:549:131: warning: passing non-sendable parameter 'completionHandler' to function expecting a @Sendable closure
return playerItem.seek(to: time, toleranceBefore: toleranceBefore, toleranceAfter: toleranceAfter, completionHandler: completionHandler)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:547:92: note: parameter 'completionHandler' is implicitly non-sendable
open func seekToTime(to time: CMTime, toleranceBefore: CMTime, toleranceAfter: CMTime, completionHandler: ((Bool) -> Swift.Void)? = nil) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:572:21: warning: capture of 'completionHandler' with non-sendable type '((UIImage?, (any Error)?) -> Void)?' in a `@Sendable` closure; this is an error in the Swift 6 language mode
completionHandler?(nil, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:572:21: note: a function type must be marked '@Sendable' to conform to 'Sendable'
completionHandler?(nil, error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:634:22: warning: 'loadValuesAsynchronously(forKeys:completionHandler:)' was deprecated in visionOS 1.0: Use load(_:) instead. For non-deprecated properties that do not have an AVAsyncProperty equivalent, continue to query these properties synchronously
self._asset?.loadValuesAsynchronously(forKeys: loadableKeys, completionHandler: { () -> Void in
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:641:36: warning: 'statusOfValue(forKey:error:)' was deprecated in visionOS 1.0: Use status(of:) instead
let status = asset.statusOfValue(forKey: key, error: &error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:651:23: error: 'isPlayable' is unavailable in visionOS
if !asset.isPlayable {
^~~~~~~~~~
AVFoundation.AVAsset:3:14: note: 'isPlayable' has been explicitly marked unavailable here
open var isPlayable: Bool { get }
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:635:36: warning: main actor-isolated property '_asset' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
guard let asset = self._asset else {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:343:18: note: property declared here
internal var _asset: AVAsset? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:643:26: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self.playbackState = .failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:644:26: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:645:30: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.playerDelegate?.player(self, didFailWithError: error)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:652:22: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self.playbackState = .failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:653:22: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:654:26: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.playerDelegate?.player(self, didFailWithError: PlayerError.failed)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:659:30: warning: call to main actor-isolated initializer 'init(asset:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
let playerItem = AVPlayerItem(asset:asset)
^
AVFoundation.AVPlayerItem:26:35: note: calls to initializer 'init(asset:)' from outside of its actor context are implicitly asynchronous
@MainActor public convenience init(asset: AVAsset)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:660:18: warning: call to main actor-isolated instance method 'setupPlayerItem' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.setupPlayerItem(playerItem)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:664:22: note: calls to instance method 'setupPlayerItem' from outside of its actor context are implicitly asynchronous
fileprivate func setupPlayerItem(_ playerItem: AVPlayerItem?) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:733:26: warning: call to main actor-isolated instance method 'stop()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self.stop()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:517:15: note: calls to instance method 'stop()' from outside of its actor context are implicitly asynchronous
open func stop() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:784:23: warning: main actor-isolated property 'bufferingState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.bufferingState = .delayed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:247:14: note: mutation of this property is only permitted within the actor
open var bufferingState: BufferingState = .unknown {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:789:23: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = PlaybackState.failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:801:28: warning: main actor-isolated property 'bufferingState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.bufferingState = .ready
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:247:14: note: mutation of this property is only permitted within the actor
open var bufferingState: BufferingState = .unknown {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:802:31: warning: main actor-isolated property 'playbackState' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if strongSelf.playbackState == .playing {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: property declared here
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:803:32: warning: call to main actor-isolated instance method 'playFromCurrentTime()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playFromCurrentTime()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:491:15: note: calls to instance method 'playFromCurrentTime()' from outside of its actor context are implicitly asynchronous
open func playFromCurrentTime() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:809:28: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.playbackState = PlaybackState.failed
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:824:31: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if strongSelf._lastBufferTime != bufferedTime {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:825:32: warning: main actor-isolated property '_lastBufferTime' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime = bufferedTime
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: mutation of this property is only permitted within the actor
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:826:32: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:827:36: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playerDelegate?.playerBufferTimeDidChange(bufferedTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:833:41: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let passedTime = strongSelf._lastBufferTime <= 0 ? currentTime : (strongSelf._lastBufferTime - currentTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:833:90: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
let passedTime = strongSelf._lastBufferTime <= 0 ? currentTime : (strongSelf._lastBufferTime - currentTime)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:835:42: warning: main actor-isolated property 'bufferSizeInSeconds' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
if (passedTime >= strongSelf.bufferSizeInSeconds ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:258:14: note: property declared here
open var bufferSizeInSeconds: Double = 10
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:836:28: warning: main actor-isolated property '_lastBufferTime' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime == strongSelf.maximumDuration ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:364:18: note: property declared here
internal var _lastBufferTime: Double = 0
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:836:58: warning: main actor-isolated property 'maximumDuration' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf._lastBufferTime == strongSelf.maximumDuration ||
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:264:14: note: property declared here
open var maximumDuration: TimeInterval {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:838:28: warning: main actor-isolated property 'playbackState' can not be referenced from a nonisolated autoclosure; this is an error in the Swift 6 language mode
strongSelf.playbackState == .playing {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: property declared here
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:839:28: warning: call to main actor-isolated instance method 'play()' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
strongSelf.play()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:499:22: note: calls to instance method 'play()' from outside of its actor context are implicitly asynchronous
fileprivate func play() {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:855:19: warning: call to main actor-isolated instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' in a synchronous nonisolated context; this is an error in the Swift 6 language mode
self?.executeClosureOnMainQueueIfNecessary {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:19: note: calls to instance method 'executeClosureOnMainQueueIfNecessary(withClosure:)' from outside of its actor context are implicitly asynchronous
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:857:32: warning: main actor-isolated property 'playerDelegate' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
strongSelf.playerDelegate?.playerReady(strongSelf)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:136:19: note: property declared here
open weak var playerDelegate: PlayerDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:875:24: warning: main actor-isolated property 'playbackDelegate' can not be referenced from a Sendable closure; this is an error in the Swift 6 language mode
strongSelf.playbackDelegate?.playerCurrentTimeDidChange(strongSelf)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:139:19: note: property declared here
open weak var playbackDelegate: PlayerPlaybackDelegate?
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:882:27: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = .paused
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:884:27: warning: main actor-isolated property 'playbackState' can not be mutated from a Sendable closure; this is an error in the Swift 6 language mode
self?.playbackState = .playing
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:236:14: note: mutation of this property is only permitted within the actor
open var playbackState: PlaybackState = .stopped {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:915:47: warning: passing non-sendable parameter 'closure' to function expecting a @Sendable closure
DispatchQueue.main.async(execute: closure)
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:911:68: note: parameter 'closure' is implicitly non-sendable
internal func executeClosureOnMainQueueIfNecessary(withClosure closure: @escaping () -> Void) {
^
@Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:995:14: warning: main actor-isolated property 'player' can not be referenced from a nonisolated context; this is an error in the Swift 6 language mode
self.player?.pause()
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: property declared here
internal var player: AVPlayer? {
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:996:14: warning: main actor-isolated property 'player' can not be mutated from a nonisolated context; this is an error in the Swift 6 language mode
self.player = nil
^
/Users/admin/builder/spi-builder-workspace/Sources/Player.swift:941:18: note: mutation of this property is only permitted within the actor
internal var player: AVPlayer? {
^
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
SwiftCompile normal arm64 Compiling\ Player.swift /Users/admin/builder/spi-builder-workspace/Sources/Player.swift (in target 'Player' from project 'Player')
Building workspace spi-builder-workspace with scheme Player
(3 failures)
BUILD FAILURE 6.0 visionOS