The Swift Package Index logo.Swift Package Index

Build Information

Failed to build FocusEntity, reference main (3e08b2), with Swift 6.1 for macOS (SPM) on 26 Jun 2025 23:55:42 UTC.

Build Command

env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxxfrazer/FocusEntity.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxxfrazer/FocusEntity
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3e08b26 Merge pull request #51 from Brian-Co/fix-import-ios-26
Cloned https://github.com/maxxfrazer/FocusEntity.git
Revision (git rev-parse @):
3e08b26f863957113f4d0b2d45cf6dfbd1a41333
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/maxxfrazer/FocusEntity.git at main
========================================
ResolveProductDependencies
========================================
Resolving dependencies ...
{
  "identity": ".resolve-product-dependencies",
  "name": "resolve-dependencies",
  "url": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "version": "unspecified",
  "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies",
  "dependencies": [
    {
      "identity": "focusentity",
      "name": "FocusEntity",
      "url": "https://github.com/maxxfrazer/FocusEntity.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/FocusEntity",
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxxfrazer/FocusEntity.git
[1/670] Fetching focusentity
Fetched https://github.com/maxxfrazer/FocusEntity.git from cache (1.14s)
Creating working copy for https://github.com/maxxfrazer/FocusEntity.git
Working copy of https://github.com/maxxfrazer/FocusEntity.git resolved at main (3e08b26)
warning: '.resolve-product-dependencies': dependency 'focusentity' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/maxxfrazer/FocusEntity.git
https://github.com/maxxfrazer/FocusEntity.git
{
  "dependencies" : [
  ],
  "manifest_display_name" : "FocusEntity",
  "name" : "FocusEntity",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "13.0"
    },
    {
      "name" : "macos",
      "version" : "10.15"
    }
  ],
  "products" : [
    {
      "name" : "FocusEntity",
      "targets" : [
        "FocusEntity"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "swift_languages_versions" : [
    "5"
  ],
  "targets" : [
    {
      "c99name" : "FocusEntity",
      "module_type" : "SwiftTarget",
      "name" : "FocusEntity",
      "path" : "Sources/FocusEntity",
      "product_memberships" : [
        "FocusEntity"
      ],
      "sources" : [
        "FocusEntity+Alignment.swift",
        "FocusEntity+Classic.swift",
        "FocusEntity+Colored.swift",
        "FocusEntity+Segment.swift",
        "FocusEntity.swift",
        "FocusEntityComponent.swift",
        "float4x4+Extension.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "5.5"
}
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete -Xswiftc -enable-upcoming-feature -Xswiftc StrictConcurrency -Xswiftc -enable-upcoming-feature -Xswiftc DisableOutwardActorInference -Xswiftc -enable-upcoming-feature -Xswiftc GlobalActorIsolatedTypesUsability -Xswiftc -enable-upcoming-feature -Xswiftc InferSendableFromCaptures
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-2F0A5646E1D333AE.txt
[3/10] Compiling FocusEntity float4x4+Extension.swift
[4/10] Compiling FocusEntity FocusEntity+Colored.swift
[5/10] Compiling FocusEntity FocusEntity+Classic.swift
[6/10] Compiling FocusEntity FocusEntity+Segment.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:71:29: error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 69 |             var mat: Material!
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
    |                             |- error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
    |                             `- note: add 'if #available' version check
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:23: error: 'baseColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                       |- error: 'baseColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:36: error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                                    |- error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
    |                                    `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:23: error: 'emissiveColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                       |- error: 'emissiveColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:40: error: 'init(color:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                                        |- error: 'init(color:texture:)' is only available in macOS 12.0 or newer
    |                                        `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:74:23: error: 'emissiveIntensity' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
    |                       |- error: 'emissiveIntensity' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 75 |                 mat = phMat
 76 |             } else {
error: emit-module command failed with exit code 1 (use -v to see invocation)
[7/10] Compiling FocusEntity FocusEntity+Alignment.swift
[8/10] Emitting module FocusEntity
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:44:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 42 |             offColor: MaterialColorParameter,
 43 |             nonTrackingColor: MaterialColorParameter,
 44 |             mesh: MeshResource = MeshResource.generatePlane(width: 0.1, depth: 0.1)
    |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 45 |         )
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:76:23: warning: static property 'plane' is not concurrency-safe because non-'Sendable' type 'FocusEntityComponent' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | }
 28 |
 29 | public struct FocusEntityComponent: Component {
    |               `- note: consider making struct 'FocusEntityComponent' conform to the 'Sendable' protocol
 30 |     /// FocusEntityComponent Style, dictating how the FocusEntity will appear in different states
 31 |     public enum Style {
    :
 74 |     /// Alternative preset for FocusEntity, using FocusEntityComponent.Style.classic.colored,
 75 |     /// with green, orange and red for the onColor, offColor and nonTrackingColor respectively
 76 |     public static let plane = FocusEntityComponent(
    |                       |- warning: static property 'plane' is not concurrency-safe because non-'Sendable' type 'FocusEntityComponent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plane' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         style: .colored(
 78 |             onColor: .color(.green),
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:90:16: warning: static property 'defaultPlane' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |     #endif
 89 |
 90 |     static var defaultPlane = MeshResource.generatePlane(
    |                |- warning: static property 'defaultPlane' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultPlane' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultPlane' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |         width: 0.1, depth: 0.1
 92 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:90:16: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 88 |     #endif
 89 |
 90 |     static var defaultPlane = MeshResource.generatePlane(
    |                `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 91 |         width: 0.1, depth: 0.1
 92 |     )
[9/10] Compiling FocusEntity FocusEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
[10/10] Compiling FocusEntity FocusEntityComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:44:13: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 42 |             offColor: MaterialColorParameter,
 43 |             nonTrackingColor: MaterialColorParameter,
 44 |             mesh: MeshResource = MeshResource.generatePlane(width: 0.1, depth: 0.1)
    |             `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 45 |         )
 46 |     }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:76:23: warning: static property 'plane' is not concurrency-safe because non-'Sendable' type 'FocusEntityComponent' may have shared mutable state; this is an error in the Swift 6 language mode
 27 | }
 28 |
 29 | public struct FocusEntityComponent: Component {
    |               `- note: consider making struct 'FocusEntityComponent' conform to the 'Sendable' protocol
 30 |     /// FocusEntityComponent Style, dictating how the FocusEntity will appear in different states
 31 |     public enum Style {
    :
 74 |     /// Alternative preset for FocusEntity, using FocusEntityComponent.Style.classic.colored,
 75 |     /// with green, orange and red for the onColor, offColor and nonTrackingColor respectively
 76 |     public static let plane = FocusEntityComponent(
    |                       |- warning: static property 'plane' is not concurrency-safe because non-'Sendable' type 'FocusEntityComponent' may have shared mutable state; this is an error in the Swift 6 language mode
    |                       |- note: add '@MainActor' to make static property 'plane' part of global actor 'MainActor'
    |                       `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 77 |         style: .colored(
 78 |             onColor: .color(.green),
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:90:16: warning: static property 'defaultPlane' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
 88 |     #endif
 89 |
 90 |     static var defaultPlane = MeshResource.generatePlane(
    |                |- warning: static property 'defaultPlane' is not concurrency-safe because it is nonisolated global shared mutable state; this is an error in the Swift 6 language mode
    |                |- note: convert 'defaultPlane' to a 'let' constant to make 'Sendable' shared state immutable
    |                |- note: add '@MainActor' to make static property 'defaultPlane' part of global actor 'MainActor'
    |                `- note: disable concurrency-safety checks if accesses are protected by an external synchronization mechanism
 91 |         width: 0.1, depth: 0.1
 92 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:90:16: warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 88 |     #endif
 89 |
 90 |     static var defaultPlane = MeshResource.generatePlane(
    |                `- warning: main actor-isolated default value in a nonisolated context; this is an error in the Swift 6 language mode
 91 |         width: 0.1, depth: 0.1
 92 |     )
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[2/9] Compiling FocusEntity FocusEntity+Colored.swift
[3/9] Emitting module FocusEntity
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
[4/9] Compiling FocusEntity FocusEntity+Classic.swift
[5/9] Compiling FocusEntity FocusEntity.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:16:10: warning: FocusEntity: This package is only fully available with physical iOS devices
 14 |
 15 | #if os(macOS) || targetEnvironment(simulator)
 16 | #warning("FocusEntity: This package is only fully available with physical iOS devices")
    |          `- warning: FocusEntity: This package is only fully available with physical iOS devices
 17 | #endif
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:76:23: error: cannot find type 'ARPlaneAnchor' in scope
 74 |     func focusEntity(
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
    |                       `- error: cannot find type 'ARPlaneAnchor' in scope
 77 |         oldPlane: ARPlaneAnchor?
 78 |     )
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:77:19: error: cannot find type 'ARPlaneAnchor' in scope
 75 |         _ focusEntity: FocusEntity,
 76 |         planeChanged: ARPlaneAnchor?,
 77 |         oldPlane: ARPlaneAnchor?
    |                   `- error: cannot find type 'ARPlaneAnchor' in scope
 78 |     )
 79 | }
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:64: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity.swift:87:90: error: cannot find type 'ARPlaneAnchor' in scope
 85 |         _ focusEntity: FocusEntity, trackingUpdated trackingState: FocusEntity.State, oldState: FocusEntity.State? = nil
 86 |     ) {}
 87 |     func focusEntity(_ focusEntity: FocusEntity, planeChanged: ARPlaneAnchor?, oldPlane: ARPlaneAnchor?) {}
    |                                                                                          `- error: cannot find type 'ARPlaneAnchor' in scope
 88 | }
 89 |
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
[6/9] Compiling FocusEntity FocusEntity+Segment.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:71:29: error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 69 |             var mat: Material!
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
    |                             |- error: 'PhysicallyBasedMaterial' is only available in macOS 12.0 or newer
    |                             `- note: add 'if #available' version check
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:23: error: 'baseColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                       |- error: 'baseColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:72:36: error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 70 |             if #available(iOS 15.0, *) {
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
    |                                    |- error: 'init(tint:texture:)' is only available in macOS 12.0 or newer
    |                                    `- note: add 'if #available' version check
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:23: error: 'emissiveColor' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                       |- error: 'emissiveColor' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:73:40: error: 'init(color:texture:)' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 71 |                 var phMat = PhysicallyBasedMaterial()
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
    |                                        |- error: 'init(color:texture:)' is only available in macOS 12.0 or newer
    |                                        `- note: add 'if #available' version check
 74 |                 phMat.emissiveIntensity = 2
 75 |                 mat = phMat
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntity+Segment.swift:74:23: error: 'emissiveIntensity' is only available in macOS 12.0 or newer
 46 |     }
 47 |
 48 |     class Segment: Entity, HasModel {
    |           `- note: add @available attribute to enclosing class
 49 |
 50 |         // MARK: - Configuration & Initialization
    :
 63 |         let plane: ModelComponent
 64 |
 65 |         init(name: String, corner: Corner, alignment: Alignment, color: Material.Color) {
    |         `- note: add @available attribute to enclosing initializer
 66 |             self.corner = corner
 67 |             self.alignment = alignment
    :
 72 |                 phMat.baseColor = .init(tint: .black)
 73 |                 phMat.emissiveColor = .init(color: color)
 74 |                 phMat.emissiveIntensity = 2
    |                       |- error: 'emissiveIntensity' is only available in macOS 12.0 or newer
    |                       `- note: add 'if #available' version check
 75 |                 mat = phMat
 76 |             } else {
[7/9] Compiling FocusEntity FocusEntity+Alignment.swift
[8/9] Compiling FocusEntity float4x4+Extension.swift
[9/9] Compiling FocusEntity FocusEntityComponent.swift
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:71:38: error: could not infer type of color literal
 69 |
 70 |     /// Default color of FocusEntity
 71 |     public static let defaultColor = #colorLiteral(red: 1, green: 0.8, blue: 0, alpha: 1)
    |                                      |- error: could not infer type of color literal
    |                                      `- note: import AppKit to use 'NSColor' as the default color literal type
 72 |     /// Default style of FocusEntity, using the FocusEntityComponent.Style.classic with the color FocusEntityComponent.defaultColor.
 73 |     public static let classic = FocusEntityComponent(style: .classic(color: FocusEntityComponent.defaultColor))
/Users/admin/builder/spi-builder-workspace/Sources/FocusEntity/FocusEntityComponent.swift:34:14: warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 32 |         /// Default style of FocusEntity. Box that's open when not on a plane, closed when on one.
 33 |         /// - color: Color of the FocusEntity lines, default: `FocusEntityComponent.defaultColor`
 34 |         case classic(color: Material.Color = FocusEntityComponent.defaultColor)
    |              `- warning: cannot use class 'NSColor' here; 'AppKit' was not imported by this file
 35 |         /// Style that changes based on state of the FocusEntity
 36 |         /// - onColor: Color when FocusEntity is tracking on a known surface.
/Applications/Xcode-16.3.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX15.4.sdk/System/Library/Frameworks/AppKit.framework/Headers/NSColor.h:77:12: note: class declared here
 75 |
 76 | NS_SWIFT_SENDABLE
 77 | @interface NSColor : NSObject <NSCopying, NSSecureCoding, NSPasteboardReading, NSPasteboardWriting>
    |            `- note: class declared here
 78 |
 79 | - (instancetype)init NS_DESIGNATED_INITIALIZER;
BUILD FAILURE 6.1 macosSpm