The Swift Package Index logo.Swift Package Index

Build Information

Failed to build RKProgressBar, reference v1.0.0 (22a7e1), with Swift 6.3 for macOS (SPM) on 20 Apr 2026 16:52:13 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.70.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/maxxfrazer/RKProgressBar.git
Reference: v1.0.0
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/maxxfrazer/RKProgressBar
 * tag               v1.0.0     -> FETCH_HEAD
HEAD is now at 22a7e15 change moveProgress duration to 3 in example
Cloned https://github.com/maxxfrazer/RKProgressBar.git
Revision (git rev-parse @):
22a7e15ac1306b640af277e4b3c439287d30f05a
SUCCESS checkout https://github.com/maxxfrazer/RKProgressBar.git at v1.0.0
========================================
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",
  "traits": [
    "default"
  ],
  "dependencies": [
    {
      "identity": "rkprogressbar",
      "name": "RKProgressBar",
      "url": "https://github.com/maxxfrazer/RKProgressBar.git",
      "version": "unspecified",
      "path": "/Users/admin/builder/spi-builder-workspace/.resolve-product-dependencies/.build/checkouts/RKProgressBar",
      "traits": [
        "default"
      ],
      "dependencies": [
      ]
    }
  ]
}
Fetching https://github.com/maxxfrazer/RKProgressBar.git
[1/30] Fetching rkprogressbar
Fetched https://github.com/maxxfrazer/RKProgressBar.git from cache (3.27s)
Creating working copy for https://github.com/maxxfrazer/RKProgressBar.git
Working copy of https://github.com/maxxfrazer/RKProgressBar.git resolved at v1.0.0 (22a7e15)
warning: '.resolve-product-dependencies': dependency 'rkprogressbar' is not used by any target
Found 0 product dependencies
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.3
Building package at path:  $PWD
https://github.com/maxxfrazer/RKProgressBar.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.4.0.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version--6988338F2F200930.txt
error: emit-module command failed with exit code 1 (use -v to see invocation)
[3/4] Emitting module RKProgressBar
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:15:28: error: 'ModelEntity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
    |                            `- error: 'ModelEntity' is only available in macOS 10.15 or newer
 16 |   private let outerModel = ModelEntity()
 17 |   internal var innerMargin: Float = 0.25
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:16:28: error: 'ModelEntity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    |                            `- error: 'ModelEntity' is only available in macOS 10.15 or newer
 17 |   internal var innerMargin: Float = 0.25
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:31:17: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
    |                 `- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 32 |     outerColor: SimpleMaterial.Color = .black,
 33 |     innerMargin: Float = 0.25,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:32:17: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    |                 `- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 33 |     innerMargin: Float = 0.25,
 34 |     startAt: Float = 1
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:31:41: warning: class property 'green' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
 31 |     innerColor: SimpleMaterial.Color = .green,
    |                                         |- warning: class property 'green' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
    |                                         `- note: The missing import of module 'AppKit' will be added implicitly
 32 |     outerColor: SimpleMaterial.Color = .black,
 33 |     innerMargin: Float = 0.25,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:32:41: warning: class property 'black' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
 30 |   required public init(
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    |                                         |- warning: class property 'black' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
    |                                         `- note: The missing import of module 'AppKit' will be added implicitly
 33 |     innerMargin: Float = 0.25,
 34 |     startAt: Float = 1
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:72:92: error: 'AnimationTimingFunction' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               |                                                                            `- error: 'AnimationTimingFunction' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:14:29: error: 'Entity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              |              `- error: 'Entity' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
[4/4] Compiling RKProgressBar RKProgressBar.swift
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:15:28: error: 'ModelEntity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
    |                            `- error: 'ModelEntity' is only available in macOS 10.15 or newer
 16 |   private let outerModel = ModelEntity()
 17 |   internal var innerMargin: Float = 0.25
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:16:28: error: 'ModelEntity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    |                            `- error: 'ModelEntity' is only available in macOS 10.15 or newer
 17 |   internal var innerMargin: Float = 0.25
 18 |
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:31:17: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
    |                 `- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 32 |     outerColor: SimpleMaterial.Color = .black,
 33 |     innerMargin: Float = 0.25,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:32:17: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    |                 `- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 33 |     innerMargin: Float = 0.25,
 34 |     startAt: Float = 1
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:31:41: warning: class property 'green' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
 31 |     innerColor: SimpleMaterial.Color = .green,
    |                                         |- warning: class property 'green' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
    |                                         `- note: The missing import of module 'AppKit' will be added implicitly
 32 |     outerColor: SimpleMaterial.Color = .black,
 33 |     innerMargin: Float = 0.25,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:32:41: warning: class property 'black' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
 30 |   required public init(
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    |                                         |- warning: class property 'black' cannot be used in a default argument value because 'AppKit' was not imported by this file; this is an error in the Swift 6 language mode
    |                                         `- note: The missing import of module 'AppKit' will be added implicitly
 33 |     innerMargin: Float = 0.25,
 34 |     startAt: Float = 1
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:72:92: error: 'AnimationTimingFunction' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               |                                                                            `- error: 'AnimationTimingFunction' is only available in macOS 10.15 or newer
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:14:29: error: 'Entity' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              |              `- error: 'Entity' is only available in macOS 10.15 or newer
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:21:16: error: 'transform' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 18 |
 19 |   /// Get the current progress of the RKProgressBar
 20 |   public var progress: Float {
    |              `- note: add '@available' attribute to enclosing property
 21 |     innerModel.transform.scale.x
    |                |- error: 'transform' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 22 |   }
 23 |
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:38:20: error: 'MeshResource' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 36 |     self.innerMargin = innerMargin
 37 |     super.init()
 38 |     let innerBar = MeshResource.generateBox(width: 10, height: 1, depth: 1, cornerRadius: 0.5, splitFaces: false)
    |                    |- error: 'MeshResource' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 39 |     let outerBar = MeshResource.generateBox(
 40 |       width: 10 + self.innerMargin * 2,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:39:20: error: 'MeshResource' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 37 |     super.init()
 38 |     let innerBar = MeshResource.generateBox(width: 10, height: 1, depth: 1, cornerRadius: 0.5, splitFaces: false)
 39 |     let outerBar = MeshResource.generateBox(
    |                    |- error: 'MeshResource' is only available in macOS 10.15 or newer
    |                    `- note: add 'if #available' version check
 40 |       width: 10 + self.innerMargin * 2,
 41 |       height: 1 + self.innerMargin * 2,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:45:21: error: 'model' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 43 |       cornerRadius: 0.5 + self.innerMargin, splitFaces: false
 44 |     )
 45 |     self.innerModel.model = ModelComponent(
    |                     |- error: 'model' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 46 |       mesh: innerBar,
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:45:29: error: 'ModelComponent' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 43 |       cornerRadius: 0.5 + self.innerMargin, splitFaces: false
 44 |     )
 45 |     self.innerModel.model = ModelComponent(
    |                             |- error: 'ModelComponent' is only available in macOS 10.15 or newer
    |                             `- note: add 'if #available' version check
 46 |       mesh: innerBar,
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:47:19: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 45 |     self.innerModel.model = ModelComponent(
 46 |       mesh: innerBar,
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
    |                   |- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 48 |     )
 49 |     outerModel.model = ModelComponent(
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:47:19: error: 'init(color:roughness:isMetallic:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 45 |     self.innerModel.model = ModelComponent(
 46 |       mesh: innerBar,
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
    |                   |- error: 'init(color:roughness:isMetallic:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 48 |     )
 49 |     outerModel.model = ModelComponent(
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:49:16: error: 'model' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
 48 |     )
 49 |     outerModel.model = ModelComponent(
    |                |- error: 'model' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 50 |       mesh: outerBar,
 51 |       materials: [SimpleMaterial(color: outerColor, isMetallic: false)]
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:49:24: error: 'ModelComponent' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 47 |       materials: [SimpleMaterial(color: innerColor, isMetallic: false)]
 48 |     )
 49 |     outerModel.model = ModelComponent(
    |                        |- error: 'ModelComponent' is only available in macOS 10.15 or newer
    |                        `- note: add 'if #available' version check
 50 |       mesh: outerBar,
 51 |       materials: [SimpleMaterial(color: outerColor, isMetallic: false)]
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:51:19: error: 'SimpleMaterial' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 49 |     outerModel.model = ModelComponent(
 50 |       mesh: outerBar,
 51 |       materials: [SimpleMaterial(color: outerColor, isMetallic: false)]
    |                   |- error: 'SimpleMaterial' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 52 |     )
 53 |     outerModel.scale = .init(repeating: -1)
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:51:19: error: 'init(color:roughness:isMetallic:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 49 |     outerModel.model = ModelComponent(
 50 |       mesh: outerBar,
 51 |       materials: [SimpleMaterial(color: outerColor, isMetallic: false)]
    |                   |- error: 'init(color:roughness:isMetallic:)' is only available in macOS 10.15 or newer
    |                   `- note: add 'if #available' version check
 52 |     )
 53 |     outerModel.scale = .init(repeating: -1)
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:53:16: error: 'scale' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 51 |       materials: [SimpleMaterial(color: outerColor, isMetallic: false)]
 52 |     )
 53 |     outerModel.scale = .init(repeating: -1)
    |                |- error: 'scale' is only available in macOS 10.15 or newer
    |                `- note: add 'if #available' version check
 54 |     self.addChild(outerModel)
 55 |     self.addChild(innerModel)
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:54:10: error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 52 |     )
 53 |     outerModel.scale = .init(repeating: -1)
 54 |     self.addChild(outerModel)
    |          |- error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 55 |     self.addChild(innerModel)
 56 |     self.setProgress(to: startAt)
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:55:10: error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 28 |   ///   - innerMargin: distance between the internal capsule and the edge of the external.
 29 |   ///   - startAt: Position to start the capsule at (0...1)
 30 |   required public init(
    |                   `- note: add '@available' attribute to enclosing initializer
 31 |     innerColor: SimpleMaterial.Color = .green,
 32 |     outerColor: SimpleMaterial.Color = .black,
    :
 53 |     outerModel.scale = .init(repeating: -1)
 54 |     self.addChild(outerModel)
 55 |     self.addChild(innerModel)
    |          |- error: 'addChild(_:preservingWorldTransform:)' is only available in macOS 10.15 or newer
    |          `- note: add 'if #available' version check
 56 |     self.setProgress(to: startAt)
 57 |   }
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:64:21: error: 'scale' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 59 |   /// Set the progress value for the RKProgressBar, no animation.
 60 |   /// - Parameter progress: Desired value, between 0 and 1 only.
 61 |   public func setProgress(to progress: Float) {
    |               `- note: add '@available' attribute to enclosing instance method
 62 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
 63 |     self.innerModel.isEnabled = progress > 0
 64 |     self.innerModel.scale.x = progress
    |                     |- error: 'scale' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 65 |     self.innerModel.position.x = (5 - self.innerMargin) * (progress - 1)
 66 |   }
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:65:21: error: 'position' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 59 |   /// Set the progress value for the RKProgressBar, no animation.
 60 |   /// - Parameter progress: Desired value, between 0 and 1 only.
 61 |   public func setProgress(to progress: Float) {
    |               `- note: add '@available' attribute to enclosing instance method
 62 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
 63 |     self.innerModel.isEnabled = progress > 0
 64 |     self.innerModel.scale.x = progress
 65 |     self.innerModel.position.x = (5 - self.innerMargin) * (progress - 1)
    |                     |- error: 'position' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 66 |   }
 67 |
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:79:21: error: 'stopAllAnimations(recursive:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 77 |       return
 78 |     }
 79 |     self.innerModel.stopAllAnimations()
    |                     |- error: 'stopAllAnimations(recursive:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 80 |     var endTransform = innerModel.transform
 81 |     endTransform.scale.x = progress
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:80:35: error: 'transform' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 78 |     }
 79 |     self.innerModel.stopAllAnimations()
 80 |     var endTransform = innerModel.transform
    |                                   |- error: 'transform' is only available in macOS 10.15 or newer
    |                                   `- note: add 'if #available' version check
 81 |     endTransform.scale.x = progress
 82 |     endTransform.translation.x = (5 - self.innerMargin) * (progress - 1)
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:84:21: error: 'move(to:relativeTo:duration:timingFunction:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 82 |     endTransform.translation.x = (5 - self.innerMargin) * (progress - 1)
 83 |
 84 |     self.innerModel.move(
    |                     |- error: 'move(to:relativeTo:duration:timingFunction:)' is only available in macOS 10.15 or newer
    |                     `- note: add 'if #available' version check
 85 |       to: endTransform, relativeTo: self,
 86 |       duration: duration, timingFunction: timingFunction
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:92:28: error: 'Cancellable' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 90 |     // so I'm just going to hide it for now
 91 |     if progress == 0 {
 92 |       var endAnimCallback: Cancellable?
    |                            |- error: 'Cancellable' is only available in macOS 10.15 or newer
    |                            `- note: add 'if #available' version check
 93 |       endAnimCallback = self.scene?.subscribe(
 94 |         to: AnimationEvents.PlaybackCompleted.self,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:93:37: error: 'subscribe(to:on:_:)' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 91 |     if progress == 0 {
 92 |       var endAnimCallback: Cancellable?
 93 |       endAnimCallback = self.scene?.subscribe(
    |                                     |- error: 'subscribe(to:on:_:)' is only available in macOS 10.15 or newer
    |                                     `- note: add 'if #available' version check
 94 |         to: AnimationEvents.PlaybackCompleted.self,
 95 |         on: self.innerModel,
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:94:13: error: 'AnimationEvents' is only available in macOS 10.15 or newer
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 92 |       var endAnimCallback: Cancellable?
 93 |       endAnimCallback = self.scene?.subscribe(
 94 |         to: AnimationEvents.PlaybackCompleted.self,
    |             |- error: 'AnimationEvents' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 95 |         on: self.innerModel,
 96 |         { _ in
/Users/admin/builder/spi-builder-workspace/Sources/RKProgressBar/RKProgressBar.swift:95:18: warning: conformance of 'Entity' to 'EventSource' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
 12 |
 13 | /// A capsule shaped geometry for showing progress in RealityKit 􀘸
 14 | public class RKProgressBar: Entity {
    |              `- note: add '@available' attribute to enclosing class
 15 |   private let innerModel = ModelEntity()
 16 |   private let outerModel = ModelEntity()
    :
 70 |   ///   - progress: Desired value, between 0 and 1 only.
 71 |   ///   - duration: Time taken to animate to desired value, default 1.
 72 |   public func moveProgress(to progress: Float, duration: TimeInterval = 1, timingFunction: AnimationTimingFunction = .linear) {
    |               `- note: add '@available' attribute to enclosing instance method
 73 |     self.innerModel.isEnabled = true
 74 |     assert((0.0...1.0).contains(progress), "Health value must be between 0 and 1")
    :
 93 |       endAnimCallback = self.scene?.subscribe(
 94 |         to: AnimationEvents.PlaybackCompleted.self,
 95 |         on: self.innerModel,
    |                  |- warning: conformance of 'Entity' to 'EventSource' is only available in macOS 10.15 or newer; this is an error in the Swift 6 language mode
    |                  `- note: add 'if #available' version check
 96 |         { _ in
 97 |           endAnimCallback?.cancel()
BUILD FAILURE 6.3 macosSpm