Build Information
Failed to build Unscreenshottable, reference 1.1.1 (cd8612
), with Swift 6.0 for visionOS using Xcode 16.0 on 5 Nov 2024 06:08:59 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -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/markiv/SwiftUI-Unscreenshottable.git
Reference: 1.1.1
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/markiv/SwiftUI-Unscreenshottable
* tag 1.1.1 -> FETCH_HEAD
HEAD is now at cd8612f Support screen rotation
Cloned https://github.com/markiv/SwiftUI-Unscreenshottable.git
Revision (git rev-parse @):
cd8612f7239c4c5a1667759353b1815b39413079
SUCCESS checkout https://github.com/markiv/SwiftUI-Unscreenshottable.git at 1.1.1
========================================
Build
========================================
Selected platform: visionOS
Swift version: 6.0
Building package at path: $PWD
https://github.com/markiv/SwiftUI-Unscreenshottable.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
Resolve Package Graph
Resolve Package Graph
Resolved source packages:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
resolved source packages: Unscreenshottable
{
"dependencies" : [
],
"manifest_display_name" : "Unscreenshottable",
"name" : "Unscreenshottable",
"path" : "/Users/admin/builder/spi-builder-workspace",
"platforms" : [
{
"name" : "ios",
"version" : "14.0"
}
],
"products" : [
{
"name" : "Unscreenshottable",
"targets" : [
"Unscreenshottable"
],
"type" : {
"library" : [
"automatic"
]
}
}
],
"targets" : [
{
"c99name" : "UnscreenshottableTests",
"module_type" : "SwiftTarget",
"name" : "UnscreenshottableTests",
"path" : "Tests/UnscreenshottableTests",
"sources" : [
"UnscreenshottableTests.swift"
],
"target_dependencies" : [
"Unscreenshottable"
],
"type" : "test"
},
{
"c99name" : "Unscreenshottable",
"module_type" : "SwiftTarget",
"name" : "Unscreenshottable",
"path" : "Sources/Unscreenshottable",
"product_memberships" : [
"Unscreenshottable"
],
"sources" : [
"ProtectedView.swift"
],
"type" : "library"
}
],
"tools_version" : "5.10"
}
{
"workspace" : {
"name" : "spi-builder-workspace",
"schemes" : [
"Unscreenshottable"
]
}
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme Unscreenshottable -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 Unscreenshottable -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:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Unscreenshottable' in project 'Unscreenshottable'
➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
Target 'Unscreenshottable' in project 'Unscreenshottable' (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: 759ea39b0dba6437819bec0148393b98
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/759ea39b0dba6437819bec0148393b98.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
/Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.modulemap (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.DependencyMetadataFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.LinkFileList (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.LinkFileList
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.modulemap (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Unscreenshottable.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver Unscreenshottable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.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 -profile-coverage-mapping -profile-generate -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:27: error: 'UIScreen' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
UIKit.UIScreen:2:23: note: 'UIScreen' has been explicitly marked unavailable here
@MainActor open class UIScreen : NSObject, UITraitEnvironment {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:36: error: 'capturedDidChangeNotification' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIScreen:11:34: note: 'capturedDidChangeNotification' has been explicitly marked unavailable here
nonisolated public class let capturedDidChangeNotification: NSNotification.Name
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:84: error: 'UIScreen' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
UIKit.UIScreen:2:23: note: 'UIScreen' has been explicitly marked unavailable here
@MainActor open class UIScreen : NSObject, UITraitEnvironment {
^
SwiftDriverJobDiscovery normal arm64 Emitting module for Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftDriver\ Compilation\ Requirements Unscreenshottable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.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 -profile-coverage-mapping -profile-generate -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable-Swift.h /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h (in target 'Unscreenshottable' from project 'Unscreenshottable')
cd /Users/admin/builder/spi-builder-workspace
builtin-swiftHeaderTool -arch arm64 /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/Unscreenshottable-Swift.h
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.abi.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.swiftmodule
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/arm64-apple-xros.swiftdoc
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/Unscreenshottable.swiftmodule/Project/arm64-apple-xros.swiftsourceinfo
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(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 Unscreenshottable -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:
Unscreenshottable: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (2 targets)
Target 'Unscreenshottable' in project 'Unscreenshottable'
➜ Explicit dependency on target 'Unscreenshottable' in project 'Unscreenshottable'
Target 'Unscreenshottable' in project 'Unscreenshottable' (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 Unscreenshottable normal arm64 com.apple.xcode.tools.swift.compiler (in target 'Unscreenshottable' from project 'Unscreenshottable')
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 Unscreenshottable -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.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 -profile-coverage-mapping -profile-generate -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex/Session.modulevalidation -package-name spi_builder_workspace -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ Unscreenshottable (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable-master-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
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/Unscreenshottable/ProtectedView.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.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 -profile-generate -profile-coverage-mapping -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/Unscreenshottable_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/Unscreenshottable.build/Debug-xros/Unscreenshottable.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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name Unscreenshottable -package-name spi_builder_workspace -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/Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-unit-output-path /Unscreenshottable.build/Debug-xros/Unscreenshottable.build/Objects-normal/arm64/ProtectedView.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: warning: static property 'screenshots' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: annotate 'screenshots' with '@MainActor' if property should only be accessed from the main actor
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:14:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenshots = ProtectionOptions(rawValue: 0x01)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: warning: static property 'screenSharing' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: annotate 'screenSharing' with '@MainActor' if property should only be accessed from the main actor
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:16:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let screenSharing = ProtectionOptions(rawValue: 0x02)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: warning: static property 'inactivity' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: annotate 'inactivity' with '@MainActor' if property should only be accessed from the main actor
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:18:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let inactivity = ProtectionOptions(rawValue: 0x04)
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: warning: static property 'all' is not concurrency-safe because non-'Sendable' type 'ProtectionOptions' may have shared mutable state; this is an error in the Swift 6 language mode
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:11:15: note: consider making struct 'ProtectionOptions' conform to the 'Sendable' protocol
public struct ProtectionOptions: OptionSet {
^
, Sendable
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: annotate 'all' with '@MainActor' if property should only be accessed from the main actor
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
@MainActor
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:20:23: note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
public static let all = ProtectionOptions([.screenshots, .screenSharing, inactivity])
^
nonisolated(unsafe)
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:27: error: 'UIScreen' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
UIKit.UIScreen:2:23: note: 'UIScreen' has been explicitly marked unavailable here
@MainActor open class UIScreen : NSObject, UITraitEnvironment {
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:36: error: 'capturedDidChangeNotification' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
UIKit.UIScreen:11:34: note: 'capturedDidChangeNotification' has been explicitly marked unavailable here
nonisolated public class let capturedDidChangeNotification: NSNotification.Name
^
/Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift:60:84: error: 'UIScreen' is unavailable in visionOS
subscribe(to: UIScreen.capturedDidChangeNotification) { ($0.object as? UIScreen)?.isCaptured ?? false }
^~~~~~~~
UIKit.UIScreen:2:23: note: 'UIScreen' has been explicitly marked unavailable here
@MainActor open class UIScreen : NSObject, UITraitEnvironment {
^
** BUILD FAILED **
The following build commands failed:
SwiftCompile normal arm64 /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
SwiftCompile normal arm64 Compiling\ ProtectedView.swift /Users/admin/builder/spi-builder-workspace/Sources/Unscreenshottable/ProtectedView.swift (in target 'Unscreenshottable' from project 'Unscreenshottable')
Building workspace spi-builder-workspace with scheme Unscreenshottable
(3 failures)
BUILD FAILURE 6.0 visionOS