The Swift Package Index logo.Swift Package Index

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

Build Information

Failed to build swiftui-window-reference, reference main (181422), with Swift 6.0 for visionOS using Xcode 16.0 on 5 Nov 2024 11:19:11 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swiftui-window-reference-Package -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/astzweig/swiftui-window-reference.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/astzweig/swiftui-window-reference
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 1814226 Unify TestApp name accross projects
Cloned https://github.com/astzweig/swiftui-window-reference.git
Revision (git rev-parse @):
1814226af8d3cd215310d845be6abab925dd1b76
SUCCESS checkout https://github.com/astzweig/swiftui-window-reference.git at main
========================================
Build
========================================
Selected platform:         visionOS
Swift version:             6.0
Building package at path:  $PWD
https://github.com/astzweig/swiftui-window-reference.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:
  swiftui-window-reference: /Users/admin/builder/spi-builder-workspace
resolved source packages: swiftui-window-reference
{
  "dependencies" : [
  ],
  "manifest_display_name" : "swiftui-window-reference",
  "name" : "swiftui-window-reference",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "macos",
      "version" : "13.0"
    }
  ],
  "products" : [
    {
      "name" : "WindowReference",
      "targets" : [
        "WindowReference"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    },
    {
      "name" : "TestApp",
      "targets" : [
        "TestApp"
      ],
      "type" : {
        "executable" : null
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "WindowReference",
      "module_type" : "SwiftTarget",
      "name" : "WindowReference",
      "path" : "Sources/WindowReference",
      "product_memberships" : [
        "WindowReference",
        "TestApp"
      ],
      "sources" : [
        "Environment.swift",
        "WindowReference.swift"
      ],
      "type" : "library"
    },
    {
      "c99name" : "TestApp",
      "module_type" : "SwiftTarget",
      "name" : "TestApp",
      "path" : "Sources/TestApp",
      "product_memberships" : [
        "TestApp"
      ],
      "sources" : [
        "main.swift"
      ],
      "target_dependencies" : [
        "WindowReference"
      ],
      "type" : "executable"
    }
  ],
  "tools_version" : "5.10"
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swiftui-window-reference-Package",
      "TestApp",
      "WindowReference"
    ]
  }
}
{
  "workspace" : {
    "name" : "spi-builder-workspace",
    "schemes" : [
      "swiftui-window-reference-Package",
      "TestApp",
      "WindowReference"
    ]
  }
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.1.0.app xcrun xcodebuild -IDEClonedSourcePackagesDirPathOverride=$PWD/.dependencies -skipMacroValidation -skipPackagePluginValidation -derivedDataPath $PWD/.derivedData build -scheme swiftui-window-reference-Package -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 swiftui-window-reference-Package -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:
  swiftui-window-reference: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'TestApp' in project 'swiftui-window-reference'
        ➜ Explicit dependency on target 'WindowReference' in project 'swiftui-window-reference'
    Target 'WindowReference' in project 'swiftui-window-reference'
        ➜ Explicit dependency on target 'WindowReference' in project 'swiftui-window-reference'
    Target 'WindowReference' in project 'swiftui-window-reference' (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: e4621f26420c86029d5dc85908b1514c
Build description path: /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/XCBuildData/e4621f26420c86029d5dc85908b1514c.xcbuilddata
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex
ClangStatCache /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang-stat-cache /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -o /Users/admin/builder/spi-builder-workspace/.derivedData/SDKStatCaches.noindex/xros2.1-22N573-02bafd7f43846583f0400bd788fa10b7.sdkstatcache
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/EagerLinkingTBDs/Debug-xros
CreateBuildDirectory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
    cd /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode
    builtin-create-build-directory /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros/PackageFrameworks
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.DependencyMetadataFileList (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/TestApp.DependencyMetadataFileList (in target 'TestApp' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/TestApp.DependencyMetadataFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.modulemap (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.modulemap
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp_const_extract_protocols.json (in target 'TestApp' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp-OutputFileMap.json (in target 'TestApp' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp-OutputFileMap.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp.LinkFileList (in target 'TestApp' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp.SwiftFileList (in target 'TestApp' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/TestApp.build/Objects-normal/arm64/TestApp.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.SwiftFileList (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.SwiftFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_const_extract_protocols.json (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_const_extract_protocols.json
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.LinkFileList (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.LinkFileList
WriteAuxiliaryFile /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-OutputFileMap.json (in target 'WindowReference' from project 'swiftui-window-reference')
    cd /Users/admin/builder/spi-builder-workspace
    write-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-OutputFileMap.json
Copy /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros/WindowReference.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.modulemap (in target 'WindowReference' from project 'swiftui-window-reference')
    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/swiftui-window-reference.build/Debug-xros/WindowReference.build/WindowReference.modulemap /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/GeneratedModuleMaps-xros
SwiftDriver WindowReference normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WindowReference' from project 'swiftui-window-reference')
    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 WindowReference -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowReference (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.abi.json
EmitSwiftModule normal arm64 (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:5:27: error: cannot find type 'NSWindow' in scope
        static let defaultValue: NSWindow? = nil
                                 ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:4:16: error: type 'WindowEnvironmentKey' does not conform to protocol 'EnvironmentKey'
private struct WindowEnvironmentKey: EnvironmentKey {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:4:16: note: add stubs for conformance
private struct WindowEnvironmentKey: EnvironmentKey {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:10:14: error: cannot find type 'NSWindow' in scope
        var window: NSWindow? {
                    ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:18:40: error: cannot find type 'NSWindow' in scope
        func addWindowToEnvironment(_ window: NSWindow?) -> some View {
                                              ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:11:29: error: cannot find type 'NSWindow' in scope
        @State private var window: NSWindow? = nil
                                   ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:15:26: error: cannot find type 'NSWindow' in scope
        let windowInitializer: (NSWindow) -> Void
                                ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:33:84: error: cannot find type 'NSWindow' in scope
        public init(withId id: String, andWindowInitializer windowInitializer: @escaping (NSWindow) -> Void = {window in}, @ViewBuilder content: @escaping () -> Content) {
                                                                                          ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:46:66: error: cannot find type 'NSWindow' in scope
        public init(withWindowInitializer windowInitializer: @escaping (NSWindow) -> Void = {window in}, @ViewBuilder content: @escaping () -> Content) {
                                                                        ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:60:30: error: cannot find type 'NSWindow' in scope
        private func getWindow() -> NSWindow? {
                                    ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:68:34: error: cannot find type 'NSWindow' in scope
        private func getWindowById() -> NSWindow? {
                                        ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:77:33: error: cannot find type 'NSWindow' in scope
        private func getKeyWindow() -> NSWindow? {
                                       ^~~~~~~~
SwiftCompile normal arm64 Compiling\ Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.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/WindowReference/Environment.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ WindowReference.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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 /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.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/WindowReference/WindowReference.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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 /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
** BUILD FAILED **
The following build commands failed:
	EmitSwiftModule normal arm64 (in target 'WindowReference' from project 'swiftui-window-reference')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowReference (in target 'WindowReference' from project 'swiftui-window-reference')
	Building workspace spi-builder-workspace with scheme swiftui-window-reference-Package
(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 swiftui-window-reference-Package -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:
  swiftui-window-reference: /Users/admin/builder/spi-builder-workspace
Prepare packages
ComputeTargetDependencyGraph
note: Building targets in dependency order
note: Target dependency graph (3 targets)
    Target 'TestApp' in project 'swiftui-window-reference'
        ➜ Explicit dependency on target 'WindowReference' in project 'swiftui-window-reference'
    Target 'WindowReference' in project 'swiftui-window-reference'
        ➜ Explicit dependency on target 'WindowReference' in project 'swiftui-window-reference'
    Target 'WindowReference' in project 'swiftui-window-reference' (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 WindowReference normal arm64 com.apple.xcode.tools.swift.compiler (in target 'WindowReference' from project 'swiftui-window-reference')
    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 WindowReference -Onone -enforce-exclusivity\=checked @/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.SwiftFileList -DSWIFT_PACKAGE -DDEBUG -stats-output-dir .stats -strict-concurrency\=complete -plugin-path /Applications/Xcode-16.1.0.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/plugins/testing -enable-experimental-feature DebugDescriptionMacro -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -target arm64-apple-xros1.0 -g -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -Xfrontend -serialize-debugging-options -enable-testing -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -enable-experimental-feature OpaqueTypeErasure -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -swift-version 5 -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/swift-overrides.hmap -emit-const-values -Xfrontend -const-gather-protocols-file -Xfrontend /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -working-directory /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode -experimental-emit-module-separately -disable-cmo
SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowReference (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.abi.json
EmitSwiftModule normal arm64 (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference-master-emit-module.d -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.abi.json
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:5:27: error: cannot find type 'NSWindow' in scope
        static let defaultValue: NSWindow? = nil
                                 ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:4:16: error: type 'WindowEnvironmentKey' does not conform to protocol 'EnvironmentKey'
private struct WindowEnvironmentKey: EnvironmentKey {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:4:16: note: add stubs for conformance
private struct WindowEnvironmentKey: EnvironmentKey {
               ^
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:10:14: error: cannot find type 'NSWindow' in scope
        var window: NSWindow? {
                    ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift:18:40: error: cannot find type 'NSWindow' in scope
        func addWindowToEnvironment(_ window: NSWindow?) -> some View {
                                              ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:11:29: error: cannot find type 'NSWindow' in scope
        @State private var window: NSWindow? = nil
                                   ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:15:26: error: cannot find type 'NSWindow' in scope
        let windowInitializer: (NSWindow) -> Void
                                ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:33:84: error: cannot find type 'NSWindow' in scope
        public init(withId id: String, andWindowInitializer windowInitializer: @escaping (NSWindow) -> Void = {window in}, @ViewBuilder content: @escaping () -> Content) {
                                                                                          ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:46:66: error: cannot find type 'NSWindow' in scope
        public init(withWindowInitializer windowInitializer: @escaping (NSWindow) -> Void = {window in}, @ViewBuilder content: @escaping () -> Content) {
                                                                        ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:60:30: error: cannot find type 'NSWindow' in scope
        private func getWindow() -> NSWindow? {
                                    ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:68:34: error: cannot find type 'NSWindow' in scope
        private func getWindowById() -> NSWindow? {
                                        ^~~~~~~~
/Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift:77:33: error: cannot find type 'NSWindow' in scope
        private func getKeyWindow() -> NSWindow? {
                                       ^~~~~~~~
SwiftCompile normal arm64 Compiling\ Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.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/WindowReference/Environment.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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/WindowReference/Environment.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/Environment.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
SwiftCompile normal arm64 Compiling\ WindowReference.swift /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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 /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.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/WindowReference/WindowReference.swift (in target 'WindowReference' from project 'swiftui-window-reference')
    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 /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/Environment.swift -primary-file /Users/admin/builder/spi-builder-workspace/Sources/WindowReference/WindowReference.swift -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.d -emit-const-values-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftconstvalues -emit-reference-dependencies-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.swiftdeps -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.dia -target arm64-apple-xros1.0 -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk -I /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -I /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Products/Debug-xros -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/Library/Frameworks -F /Applications/Xcode-16.1.0.app/Contents/Developer/Platforms/XROS.platform/Developer/SDKs/XROS2.1.sdk/Developer/Library/Frameworks -no-color-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -module-cache-path /Users/admin/builder/spi-builder-workspace/.derivedData/ModuleCache.noindex -swift-version 5 -enforce-exclusivity\=checked -stats-output-dir /Users/admin/builder/spi-builder-workspace/.swiftpm/xcode/.stats -Onone -D SWIFT_PACKAGE -D DEBUG -serialize-debugging-options -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference_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/swiftui-window-reference.build/Debug-xros/WindowReference.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/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -module-name WindowReference -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 -o /Users/admin/builder/spi-builder-workspace/.derivedData/Build/Intermediates.noindex/swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-unit-output-path /swiftui-window-reference.build/Debug-xros/WindowReference.build/Objects-normal/arm64/WindowReference.o -index-store-path /Users/admin/builder/spi-builder-workspace/.derivedData/Index.noindex/DataStore -index-system-modules
** BUILD FAILED **
The following build commands failed:
	EmitSwiftModule normal arm64 (in target 'WindowReference' from project 'swiftui-window-reference')
	SwiftEmitModule normal arm64 Emitting\ module\ for\ WindowReference (in target 'WindowReference' from project 'swiftui-window-reference')
	Building workspace spi-builder-workspace with scheme swiftui-window-reference-Package
(3 failures)
BUILD FAILURE 6.0 visionOS