The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthKitOnOMH, reference main (3bcb7a), with Swift 6.1 for macOS (SPM) on 23 Nov 2026 15:14:15 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 5.1.4
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/HealthKitOnOMH.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/HealthKitOnOMH
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 3bcb7a0 Raise the minimum iOS version to 17 (#16)
Cloned https://github.com/StanfordBDHG/HealthKitOnOMH.git
Revision (git rev-parse @):
3bcb7a0524fb4c28fee12c35ef1e376d44241dbc
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/HealthKitOnOMH.git at main
========================================
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" : "17.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/63] Emitting module OMHModels
[5/69] Compiling OMHModels SurveyCategoricalAnswer.swift
[6/69] Compiling OMHModels SurveyDateAnswer.swift
[7/69] Compiling OMHModels SurveyItem.swift
[8/69] Compiling OMHModels SurveyQuestion.swift
[9/69] Compiling OMHModels SurveyTimeAnswer.swift
[10/69] Compiling OMHModels SurveyUnitValueAnswer.swift
[11/69] Compiling OMHModels TimeUnit.swift
[12/69] Compiling OMHModels TimeWindow.swift
[13/69] Compiling OMHModels TotalSleepTime.swift
[14/69] Compiling OMHModels TypedUnitValue.swift
[15/69] Compiling OMHModels TypedUnitValueRange.swift
[16/69] Compiling OMHModels UnitProtocol.swift
[17/69] Compiling OMHModels SpeedUnit.swift
[18/69] Compiling OMHModels StepCount.swift
[19/69] Compiling OMHModels StepCountUnitValue.swift
[20/69] Compiling OMHModels SupplementalOxygenFlowRateUnit.swift
[21/69] Compiling OMHModels Survey.swift
[22/69] Compiling OMHModels SurveyAnswer.swift
[23/69] Compiling OMHModels LengthUnitValue.swift
[24/69] Compiling OMHModels MassUnitValue.swift
[25/69] Compiling OMHModels Modality.swift
[26/69] Compiling OMHModels OxygenSaturation.swift
[27/69] Compiling OMHModels OxygenSaturationUnitValue.swift
[28/69] Compiling OMHModels PartOfDay.swift
[29/69] Compiling OMHModels PhysicalActivity.swift
[30/69] Compiling OMHModels RespiratoryRate.swift
[31/69] Compiling OMHModels RespiratoryRateUnitValue.swift
[32/69] Compiling OMHModels Schema.swift
[33/69] Compiling OMHModels SchemaId.swift
[34/69] Compiling OMHModels SchemaNamespace.swift
[35/69] Compiling OMHModels SpecimenSource.swift
[36/69] Compiling OMHModels DataPoint.swift
[37/69] Compiling OMHModels DateTime.swift
[38/69] Compiling OMHModels DescriptiveStatistic.swift
[39/69] Compiling OMHModels DescriptiveStatisticDenominator.swift
[40/69] Compiling OMHModels DurationUnitValue.swift
[41/69] Compiling OMHModels DurationUnitValueRange.swift
[42/69] Compiling OMHModels ExternalDataSheets.swift
[43/69] Compiling OMHModels TemperatureUnitValue.swift
[44/69] Compiling OMHModels TemporalRelationshipToMeal.swift
[45/69] Compiling OMHModels TemporalRelationshipToPhysicalActivity.swift
[46/69] Compiling OMHModels TemporalRelationshipToSleep.swift
[47/69] Compiling OMHModels TimeFrame.swift
[48/69] Compiling OMHModels TimeInterval.swift
[49/69] Compiling OMHModels BodyHeight.swift
[50/69] Compiling OMHModels BodyLocation.swift
[51/69] Compiling OMHModels BodyMassIndex.swift
[52/69] Compiling OMHModels BodyMassIndexUnitValue.swift
[53/69] Compiling OMHModels BodyPosture.swift
[54/69] Compiling OMHModels BodyTemperature.swift
[55/69] Compiling OMHModels BodyWeight.swift
[56/69] Compiling OMHModels AcquisitionProvenance.swift
[57/69] Compiling OMHModels BloodGlucose.swift
[58/69] Compiling OMHModels BloodGlucoseUnitValue.swift
[59/69] Compiling OMHModels BloodPressure.swift
[60/69] Compiling OMHModels BloodPressureUnitValue.swift
[61/69] Compiling OMHModels BodyFatPercentage.swift
[62/69] Compiling OMHModels BodyFatPercentageUnitValue.swift
[63/69] Compiling OMHModels FrequencyUnitValue.swift
[64/69] Compiling OMHModels Header.swift
[65/69] Compiling OMHModels HealthKitQuantitySample.swift
[66/69] Compiling OMHModels HealthKitUnitValue.swift
[67/69] Compiling OMHModels HeartRate.swift
[68/69] Compiling OMHModels HeartRateUnitValue.swift
[69/69] Compiling OMHModels KcalUnit.swift
[70/73] Compiling HealthKitOnOMH HealthKitOnOMHError.swift
[71/73] Compiling HealthKitOnOMH SchemaDataPoint.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[72/73] 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 {
[73/73] 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/803] Fetching omhmodels
Fetched https://github.com/StanfordBDHG/OMHModels.git from cache (0.95s)
Computing version for https://github.com/StanfordBDHG/OMHModels.git
Computed https://github.com/StanfordBDHG/OMHModels.git at 0.2.0 (1.66s)
Creating working copy for https://github.com/StanfordBDHG/OMHModels.git
Working copy of https://github.com/StanfordBDHG/OMHModels.git resolved at 0.2.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/61] Emitting module OMHModels
[3/67] Compiling OMHModels TemperatureUnitValue.swift
[4/67] Compiling OMHModels TemporalRelationshipToMeal.swift
[5/67] Compiling OMHModels TemporalRelationshipToPhysicalActivity.swift
[6/67] Compiling OMHModels TemporalRelationshipToSleep.swift
[7/67] Compiling OMHModels TimeFrame.swift
[8/67] Compiling OMHModels TimeInterval.swift
[9/67] Compiling OMHModels AcquisitionProvenance.swift
[10/67] Compiling OMHModels BloodGlucose.swift
[11/67] Compiling OMHModels BloodGlucoseUnitValue.swift
[12/67] Compiling OMHModels BloodPressure.swift
[13/67] Compiling OMHModels BloodPressureUnitValue.swift
[14/67] Compiling OMHModels BodyFatPercentage.swift
[15/67] Compiling OMHModels BodyFatPercentageUnitValue.swift
[16/67] Compiling OMHModels BodyHeight.swift
[17/67] Compiling OMHModels BodyLocation.swift
[18/67] Compiling OMHModels BodyMassIndex.swift
[19/67] Compiling OMHModels BodyMassIndexUnitValue.swift
[20/67] Compiling OMHModels BodyPosture.swift
[21/67] Compiling OMHModels BodyTemperature.swift
[22/67] Compiling OMHModels BodyWeight.swift
[23/67] Compiling OMHModels SurveyCategoricalAnswer.swift
[24/67] Compiling OMHModels SurveyDateAnswer.swift
[25/67] Compiling OMHModels SurveyItem.swift
[26/67] Compiling OMHModels SurveyQuestion.swift
[27/67] Compiling OMHModels SurveyTimeAnswer.swift
[28/67] Compiling OMHModels SurveyUnitValueAnswer.swift
[29/67] Compiling OMHModels RespiratoryRate.swift
[30/67] Compiling OMHModels RespiratoryRateUnitValue.swift
[31/67] Compiling OMHModels Schema.swift
[32/67] Compiling OMHModels SchemaId.swift
[33/67] Compiling OMHModels SchemaNamespace.swift
[34/67] Compiling OMHModels SpecimenSource.swift
[35/67] Compiling OMHModels FrequencyUnitValue.swift
[36/67] Compiling OMHModels Header.swift
[37/67] Compiling OMHModels HealthKitQuantitySample.swift
[38/67] Compiling OMHModels HealthKitUnitValue.swift
[39/67] Compiling OMHModels HeartRate.swift
[40/67] Compiling OMHModels HeartRateUnitValue.swift
[41/67] Compiling OMHModels KcalUnit.swift
[42/67] Compiling OMHModels SpeedUnit.swift
[43/67] Compiling OMHModels StepCount.swift
[44/67] Compiling OMHModels StepCountUnitValue.swift
[45/67] Compiling OMHModels SupplementalOxygenFlowRateUnit.swift
[46/67] Compiling OMHModels Survey.swift
[47/67] Compiling OMHModels SurveyAnswer.swift
[48/67] Compiling OMHModels LengthUnitValue.swift
[49/67] Compiling OMHModels MassUnitValue.swift
[50/67] Compiling OMHModels Modality.swift
[51/67] Compiling OMHModels OxygenSaturation.swift
[52/67] Compiling OMHModels OxygenSaturationUnitValue.swift
[53/67] Compiling OMHModels PartOfDay.swift
[54/67] Compiling OMHModels PhysicalActivity.swift
[55/67] Compiling OMHModels DataPoint.swift
[56/67] Compiling OMHModels DateTime.swift
[57/67] Compiling OMHModels DescriptiveStatistic.swift
[58/67] Compiling OMHModels DescriptiveStatisticDenominator.swift
[59/67] Compiling OMHModels DurationUnitValue.swift
[60/67] Compiling OMHModels DurationUnitValueRange.swift
[61/67] Compiling OMHModels ExternalDataSheets.swift
[62/67] Compiling OMHModels TimeUnit.swift
[63/67] Compiling OMHModels TimeWindow.swift
[64/67] Compiling OMHModels TotalSleepTime.swift
[65/67] Compiling OMHModels TypedUnitValue.swift
[66/67] Compiling OMHModels TypedUnitValueRange.swift
[67/67] Compiling OMHModels UnitProtocol.swift
[68/71] Compiling HealthKitOnOMH HealthKitOnOMHError.swift
[69/71] Compiling HealthKitOnOMH SchemaDataPoint.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[70/71] 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 {
[71/71] 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