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 HealthKitOnOMH, reference 0.1.2 (904a2c), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 16:36:02 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.61.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnOMH.git
Reference: 0.1.2
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/HealthKitOnOMH
 * tag               0.1.2      -> FETCH_HEAD
HEAD is now at 904a2cb Convert unit tests to Swift Testing (#15)
Cloned https://github.com/StanfordBDHG/HealthKitOnOMH.git
Revision (git rev-parse @):
904a2cb6fa7f21dc43d5bad2bdb4783d535f9c6e
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnOMH.git at 0.1.2
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.1
Building package at path:  $PWD
https://github.com/StanfordBDHG/HealthKitOnOMH.git
https://github.com/StanfordBDHG/HealthKitOnOMH.git
{
  "dependencies" : [
    {
      "identity" : "omhmodels",
      "requirement" : {
        "range" : [
          {
            "lower_bound" : "0.1.0",
            "upper_bound" : "1.0.0"
          }
        ]
      },
      "type" : "sourceControl",
      "url" : "https://github.com/StanfordBDHG/OMHModels.git"
    }
  ],
  "manifest_display_name" : "HealthKitOnOMH",
  "name" : "HealthKitOnOMH",
  "path" : "/Users/admin/builder/spi-builder-workspace",
  "platforms" : [
    {
      "name" : "ios",
      "version" : "16.0"
    }
  ],
  "products" : [
    {
      "name" : "HealthKitOnOMH",
      "targets" : [
        "HealthKitOnOMH"
      ],
      "type" : {
        "library" : [
          "automatic"
        ]
      }
    }
  ],
  "targets" : [
    {
      "c99name" : "HealthKitOnOMHTests",
      "module_type" : "SwiftTarget",
      "name" : "HealthKitOnOMHTests",
      "path" : "Tests/HealthKitOnOMHTests",
      "sources" : [
        "HealthKitOnOMHTests.swift"
      ],
      "target_dependencies" : [
        "HealthKitOnOMH"
      ],
      "type" : "test"
    },
    {
      "c99name" : "HealthKitOnOMH",
      "module_type" : "SwiftTarget",
      "name" : "HealthKitOnOMH",
      "path" : "Sources/HealthKitOnOMH",
      "product_dependencies" : [
        "OMHModels"
      ],
      "product_memberships" : [
        "HealthKitOnOMH"
      ],
      "sources" : [
        "HealthKit Extensions/HKQuantitySample+OMH.swift",
        "HealthKit Extensions/SchemaDataPoint.swift",
        "HealthKitOnOMHError.swift"
      ],
      "type" : "library"
    }
  ],
  "tools_version" : "6.0"
}
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
Building for debugging...
[0/3] Write sources
[2/3] Write swift-version-2F0A5646E1D333AE.txt
[4/53] Emitting module OMHModels
[5/58] Compiling OMHModels TimeWindow.swift
[6/58] Compiling OMHModels TotalSleepTime.swift
[7/58] Compiling OMHModels TypedUnitValue.swift
[8/58] Compiling OMHModels TypedUnitValueRange.swift
[9/58] Compiling OMHModels UnitProtocol.swift
[10/58] Compiling OMHModels BodyTemperature.swift
[11/58] Compiling OMHModels BodyWeight.swift
[12/58] Compiling OMHModels DataPoint.swift
[13/58] Compiling OMHModels DateTime.swift
[14/58] Compiling OMHModels DescriptiveStatistic.swift
[15/58] Compiling OMHModels DescriptiveStatisticDenominator.swift
[16/58] Compiling OMHModels AcquisitionProvenance.swift
[17/58] Compiling OMHModels BloodGlucose.swift
[18/58] Compiling OMHModels BloodGlucoseUnit.swift
[19/58] Compiling OMHModels BloodPressure.swift
[20/58] Compiling OMHModels BloodPressureUnit.swift
[21/58] Compiling OMHModels BodyFatPercentage.swift
[22/58] Compiling OMHModels TemporalRelationshipToPhysicalActivity.swift
[23/58] Compiling OMHModels TemporalRelationshipToSleep.swift
[24/58] Compiling OMHModels TimeFrame.swift
[25/58] Compiling OMHModels TimeInterval.swift
[26/58] Compiling OMHModels TimeUnit.swift
[27/58] Compiling OMHModels BodyFatPercentageUnit.swift
[28/58] Compiling OMHModels BodyHeight.swift
[29/58] Compiling OMHModels BodyLocation.swift
[30/58] Compiling OMHModels BodyMassIndex.swift
[31/58] Compiling OMHModels BodyMassIndexUnit.swift
[32/58] Compiling OMHModels BodyPosture.swift
[33/58] Compiling OMHModels DurationUnitValue.swift
[34/58] Compiling OMHModels DurationUnitValueRange.swift
[35/58] Compiling OMHModels ExternalDataSheets.swift
[36/58] Compiling OMHModels FrequencyUnitValue.swift
[37/58] Compiling OMHModels Header.swift
[38/58] Compiling OMHModels HealthKitQuantitySample.swift
[39/58] Compiling OMHModels StepCount.swift
[40/58] Compiling OMHModels StepCountUnit.swift
[41/58] Compiling OMHModels SupplementalOxygenFlowRateUnit.swift
[42/58] Compiling OMHModels TemperatureUnit.swift
[43/58] Compiling OMHModels TemporalRelationshipToMeal.swift
[44/58] Compiling OMHModels RespiratoryRateUnit.swift
[45/58] Compiling OMHModels Schema.swift
[46/58] Compiling OMHModels SchemaId.swift
[47/58] Compiling OMHModels SchemaNamespace.swift
[48/58] Compiling OMHModels SpecimenSource.swift
[49/58] Compiling OMHModels HealthKitUnit.swift
[50/58] Compiling OMHModels HeartRate.swift
[51/58] Compiling OMHModels HeartRateUnit.swift
[52/58] Compiling OMHModels LengthUnit.swift
[53/58] Compiling OMHModels MassUnit.swift
[54/58] Compiling OMHModels Modality.swift
[55/58] Compiling OMHModels OxygenSaturation.swift
[56/58] Compiling OMHModels OxygenSaturationUnit.swift
[57/58] Compiling OMHModels PartOfDay.swift
[58/58] Compiling OMHModels RespiratoryRate.swift
[59/62] Compiling HealthKitOnOMH HealthKitOnOMHError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[60/62] Emitting module HealthKitOnOMH
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | |         `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
[61/62] Compiling HealthKitOnOMH SchemaDataPoint.swift
[62/62] Compiling HealthKitOnOMH HKQuantitySample+OMH.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | |         `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:34: error: 'bloodGlucose' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                                  |- error: 'bloodGlucose' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:34: error: 'bodyFatPercentage' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                                  |- error: 'bodyFatPercentage' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:34: error: 'bodyMass' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                                  |- error: 'bodyMass' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:34: error: 'bodyMassIndex' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                                  |- error: 'bodyMassIndex' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:34: error: 'bodyTemperature' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                                  |- error: 'bodyTemperature' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:34: error: 'heartRate' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                                  |- error: 'heartRate' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:34: error: 'height' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                                  |- error: 'height' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:34: error: 'oxygenSaturation' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                                  |- error: 'oxygenSaturation' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:34: error: 'respiratoryRate' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                                  |- error: 'respiratoryRate' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:34: error: 'stepCount' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                                  |- error: 'stepCount' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:31:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
 30 |                         unit: .milligramsPerDeciliter,
 31 |                         value: self.quantity.doubleValue(for: HKUnit(from: "mg/dL"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 32 |                     ),
 33 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:39:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
 38 |                         unit: .percent,
 39 |                         value: self.quantity.doubleValue(for: HKUnit(from: "%"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 40 |                     ),
 41 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:47:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 45 |                     bodyWeight: MassUnitValue(
 46 |                         unit: .kg,
 47 |                         value: self.quantity.doubleValue(for: HKUnit(from: "kg"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:54:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
 53 |                         unit: .kilogramsPerMeterSquared,
 54 |                         value: self.quantity.doubleValue(for: HKUnit.count())
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 55 |                     ),
 56 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:62:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 60 |                     bodyTemperature: TemperatureUnitValue(
 61 |                         unit: .C,
 62 |                         value: self.quantity.doubleValue(for: HKUnit(from: "degC"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 63 |                     ),
 64 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:70:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 68 |                     heartRate: HeartRateUnitValue(
 69 |                         unit: .beatsPerMinute,
 70 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count/min"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 71 |                     ),
 72 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:78:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 76 |                     bodyHeight: LengthUnitValue(
 77 |                         unit: .cm,
 78 |                         value: self.quantity.doubleValue(for: HKUnit(from: "cm"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 79 |                     ),
 80 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:86:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
 85 |                         unit: .percent,
 86 |                         value: self.quantity.doubleValue(for: HKUnit(from: "%"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 87 |                     ),
 88 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:94:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
 93 |                         unit: .breathsPerMinute,
 94 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count/min"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 95 |                     ),
 96 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:102:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
100 |                     stepCount: StepCountUnitValue(
101 |                         unit: .steps,
102 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
103 |                     ),
104 |                     effectiveTimeFrame: timeFrame
Fetching https://github.com/StanfordBDHG/OMHModels.git
[1/303] Fetching omhmodels
Fetched https://github.com/StanfordBDHG/OMHModels.git from cache (0.67s)
Computing version for https://github.com/StanfordBDHG/OMHModels.git
Computed https://github.com/StanfordBDHG/OMHModels.git at 0.1.0 (1.18s)
Creating working copy for https://github.com/StanfordBDHG/OMHModels.git
Working copy of https://github.com/StanfordBDHG/OMHModels.git resolved at 0.1.0
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
[2/51] Compiling OMHModels Modality.swift
[3/51] Compiling OMHModels OxygenSaturation.swift
[4/51] Compiling OMHModels OxygenSaturationUnit.swift
[5/51] Compiling OMHModels PartOfDay.swift
[6/51] Compiling OMHModels RespiratoryRate.swift
[7/56] Compiling OMHModels StepCount.swift
[8/56] Compiling OMHModels StepCountUnit.swift
[9/56] Compiling OMHModels SupplementalOxygenFlowRateUnit.swift
[10/56] Compiling OMHModels TemperatureUnit.swift
[11/56] Compiling OMHModels TemporalRelationshipToMeal.swift
[12/56] Compiling OMHModels BodyTemperature.swift
[13/56] Compiling OMHModels BodyWeight.swift
[14/56] Compiling OMHModels DataPoint.swift
[15/56] Compiling OMHModels DateTime.swift
[16/56] Compiling OMHModels DescriptiveStatistic.swift
[17/56] Compiling OMHModels DescriptiveStatisticDenominator.swift
[18/56] Compiling OMHModels DurationUnitValue.swift
[19/56] Compiling OMHModels DurationUnitValueRange.swift
[20/56] Compiling OMHModels ExternalDataSheets.swift
[21/56] Compiling OMHModels FrequencyUnitValue.swift
[22/56] Compiling OMHModels Header.swift
[23/56] Compiling OMHModels HealthKitQuantitySample.swift
[24/56] Emitting module OMHModels
[25/56] Compiling OMHModels TemporalRelationshipToPhysicalActivity.swift
[26/56] Compiling OMHModels TemporalRelationshipToSleep.swift
[27/56] Compiling OMHModels TimeFrame.swift
[28/56] Compiling OMHModels TimeInterval.swift
[29/56] Compiling OMHModels TimeUnit.swift
[30/56] Compiling OMHModels BodyFatPercentageUnit.swift
[31/56] Compiling OMHModels BodyHeight.swift
[32/56] Compiling OMHModels BodyLocation.swift
[33/56] Compiling OMHModels BodyMassIndex.swift
[34/56] Compiling OMHModels BodyMassIndexUnit.swift
[35/56] Compiling OMHModels BodyPosture.swift
[36/56] Compiling OMHModels HealthKitUnit.swift
[37/56] Compiling OMHModels HeartRate.swift
[38/56] Compiling OMHModels HeartRateUnit.swift
[39/56] Compiling OMHModels LengthUnit.swift
[40/56] Compiling OMHModels MassUnit.swift
[41/56] Compiling OMHModels RespiratoryRateUnit.swift
[42/56] Compiling OMHModels Schema.swift
[43/56] Compiling OMHModels SchemaId.swift
[44/56] Compiling OMHModels SchemaNamespace.swift
[45/56] Compiling OMHModels SpecimenSource.swift
[46/56] Compiling OMHModels AcquisitionProvenance.swift
[47/56] Compiling OMHModels BloodGlucose.swift
[48/56] Compiling OMHModels BloodGlucoseUnit.swift
[49/56] Compiling OMHModels BloodPressure.swift
[50/56] Compiling OMHModels BloodPressureUnit.swift
[51/56] Compiling OMHModels BodyFatPercentage.swift
[52/56] Compiling OMHModels TimeWindow.swift
[53/56] Compiling OMHModels TotalSleepTime.swift
[54/56] Compiling OMHModels TypedUnitValue.swift
[55/56] Compiling OMHModels TypedUnitValueRange.swift
[56/56] Compiling OMHModels UnitProtocol.swift
[57/60] Compiling HealthKitOnOMH HealthKitOnOMHError.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[58/60] Compiling HealthKitOnOMH SchemaDataPoint.swift
[59/60] Emitting module HealthKitOnOMH
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | |         `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
[60/60] Compiling HealthKitOnOMH HKQuantitySample+OMH.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:13:11: error: 'HKQuantitySample' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | |         `- error: 'HKQuantitySample' is only available in macOS 13.0 or newer
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:27:34: error: 'bloodGlucose' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 25 |
 26 |             switch sampleType {
 27 |             case HKQuantityType(.bloodGlucose):
    |                                  |- error: 'bloodGlucose' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 28 |                 schema = BloodGlucose(
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:35:34: error: 'bodyFatPercentage' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 33 |                     effectiveTimeFrame: timeFrame
 34 |                 )
 35 |             case HKQuantityType(.bodyFatPercentage):
    |                                  |- error: 'bodyFatPercentage' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 36 |                 schema = BodyFatPercentage(
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:43:34: error: 'bodyMass' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 41 |                     effectiveTimeFrame: timeFrame
 42 |                 )
 43 |             case HKQuantityType(.bodyMass):
    |                                  |- error: 'bodyMass' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 44 |                 schema = BodyWeight(
 45 |                     bodyWeight: MassUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:50:34: error: 'bodyMassIndex' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
 50 |             case HKQuantityType(.bodyMassIndex):
    |                                  |- error: 'bodyMassIndex' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 51 |                 schema = BodyMassIndex(
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:58:34: error: 'bodyTemperature' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 56 |                     effectiveTimeFrame: timeFrame
 57 |                 )
 58 |             case HKQuantityType(.bodyTemperature):
    |                                  |- error: 'bodyTemperature' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 59 |                 schema = BodyTemperature(
 60 |                     bodyTemperature: TemperatureUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:66:34: error: 'heartRate' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 64 |                     effectiveTimeFrame: timeFrame
 65 |                 )
 66 |             case HKQuantityType(.heartRate):
    |                                  |- error: 'heartRate' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 67 |                 schema = HeartRate(
 68 |                     heartRate: HeartRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:74:34: error: 'height' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 72 |                     effectiveTimeFrame: timeFrame
 73 |                 )
 74 |             case HKQuantityType(.height):
    |                                  |- error: 'height' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 75 |                 schema = BodyHeight(
 76 |                     bodyHeight: LengthUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:82:34: error: 'oxygenSaturation' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 80 |                     effectiveTimeFrame: timeFrame
 81 |                 )
 82 |             case HKQuantityType(.oxygenSaturation):
    |                                  |- error: 'oxygenSaturation' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 83 |                 schema = OxygenSaturation(
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:90:34: error: 'respiratoryRate' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 88 |                     effectiveTimeFrame: timeFrame
 89 |                 )
 90 |             case HKQuantityType(.respiratoryRate):
    |                                  |- error: 'respiratoryRate' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 91 |                 schema = RespiratoryRate(
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:18: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                  |- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:18: error: 'init(_:)' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                  |- error: 'init(_:)' is only available in macOS 13.0 or newer
    |                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:98:34: error: 'stepCount' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 96 |                     effectiveTimeFrame: timeFrame
 97 |                 )
 98 |             case HKQuantityType(.stepCount):
    |                                  |- error: 'stepCount' is only available in macOS 13.0 or newer
    |                                  `- note: add 'if #available' version check
 99 |                 schema = StepCount(
100 |                     stepCount: StepCountUnitValue(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:31:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 29 |                     bloodGlucose: BloodGlucoseUnitValue(
 30 |                         unit: .milligramsPerDeciliter,
 31 |                         value: self.quantity.doubleValue(for: HKUnit(from: "mg/dL"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 32 |                     ),
 33 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:39:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 37 |                     bodyFatPercentage: BodyFatPercentageUnitValue(
 38 |                         unit: .percent,
 39 |                         value: self.quantity.doubleValue(for: HKUnit(from: "%"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 40 |                     ),
 41 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:47:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 45 |                     bodyWeight: MassUnitValue(
 46 |                         unit: .kg,
 47 |                         value: self.quantity.doubleValue(for: HKUnit(from: "kg"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 48 |                     ), effectiveTimeFrame: timeFrame
 49 |                 )
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:54:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 52 |                     bodyMassIndex: BodyMassIndexUnitValue(
 53 |                         unit: .kilogramsPerMeterSquared,
 54 |                         value: self.quantity.doubleValue(for: HKUnit.count())
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 55 |                     ),
 56 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:62:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 60 |                     bodyTemperature: TemperatureUnitValue(
 61 |                         unit: .C,
 62 |                         value: self.quantity.doubleValue(for: HKUnit(from: "degC"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 63 |                     ),
 64 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:70:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 68 |                     heartRate: HeartRateUnitValue(
 69 |                         unit: .beatsPerMinute,
 70 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count/min"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 71 |                     ),
 72 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:78:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 76 |                     bodyHeight: LengthUnitValue(
 77 |                         unit: .cm,
 78 |                         value: self.quantity.doubleValue(for: HKUnit(from: "cm"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 79 |                     ),
 80 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:86:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 84 |                     oxygenSaturation: OxygenSaturationUnitValue(
 85 |                         unit: .percent,
 86 |                         value: self.quantity.doubleValue(for: HKUnit(from: "%"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 87 |                     ),
 88 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:94:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
 92 |                     respiratoryRate: RespiratoryRateUnitValue(
 93 |                         unit: .breathsPerMinute,
 94 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count/min"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
 95 |                     ),
 96 |                     effectiveTimeFrame: timeFrame
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitOnOMH/HealthKit Extensions/HKQuantitySample+OMH.swift:102:63: error: 'HKUnit' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension HKQuantitySample {
    | `- note: add @available attribute to enclosing extension
 14 |     /// The OMH data point created from converting this HKQuantitySample
 15 |     public var omhDataPoint: any DataPoint {
    |                `- note: add @available attribute to enclosing property
 16 |         get throws {
 17 |             let schema: any Schema
    :
100 |                     stepCount: StepCountUnitValue(
101 |                         unit: .steps,
102 |                         value: self.quantity.doubleValue(for: HKUnit(from: "count"))
    |                                                               |- error: 'HKUnit' is only available in macOS 13.0 or newer
    |                                                               `- note: add 'if #available' version check
103 |                     ),
104 |                     effectiveTimeFrame: timeFrame
BUILD FAILURE 6.1 macosSpm