The Swift Package Index logo.Swift Package Index

Build Information

Failed to build HealthKitOnFhir, reference master (82f005), with Swift 6.2 for macOS (SPM) on 18 Jun 2025 18:54:25 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.64.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/microsoft/healthkit-on-fhir.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/microsoft/healthkit-on-fhir
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 82f0057 Added documentation for SMART on FHIR Proxy (#21)
Cloned https://github.com/microsoft/healthkit-on-fhir.git
Revision (git rev-parse @):
82f005714c89f90b7d30b7e74e2417b241be75b7
SUCCESS checkout https://github.com/microsoft/healthkit-on-fhir.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/microsoft/healthkit-on-fhir.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/8] Write sources
[7/8] Write swift-version-1EA4D86E10B52AF.txt
[9/242] Compiling Models CatalogEntry.swift
[10/242] Compiling Models FHIRRequest.swift
[11/244] Compiling Models AdverseEvent.swift
[12/244] Compiling Models Age.swift
[13/244] Compiling Models AllergyIntolerance.swift
[14/244] Compiling Models Bundle.swift
[15/244] Compiling Models CapabilityStatement.swift
[16/244] Compiling Models CarePlan.swift
[17/244] Compiling Models CareTeam.swift
[18/244] Compiling Models Attachment.swift
[19/244] Compiling Models AuditEvent.swift
[20/244] Compiling Models BackboneElement.swift
[21/244] Compiling Models Binary.swift
[22/244] Compiling Models BiologicallyDerivedProduct.swift
[23/244] Compiling Models BodyStructure.swift
[24/244] Compiling Models Base64Binary.swift
[25/244] Compiling Models Basic.swift
[26/244] Compiling Models Account.swift
[27/244] Compiling Models ActivityDefinition.swift
[28/244] Compiling Models Address.swift
[29/244] Emitting module IomtFhirClient
[30/244] Compiling Models Annotation.swift
[31/244] Compiling Models Appointment.swift
[32/244] Compiling Models AppointmentResponse.swift
[33/244] Compiling IomtFhirClient TokenScope.swift
[34/244] Compiling IomtFhirClient TransportType.swift
[37/244] Compiling HealthDataSync HDSObjectSynchronizer.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                             `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                                           `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:32: error: 'HKQuantityType' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
    |                                `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 15 |     public var converter: HDSConverterProtocol?
 16 |     private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:49: error: 'HKUnit' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
    |                                                 `- error: 'HKUnit' is only available in macOS 13.0 or newer
 15 |     public var converter: HDSConverterProtocol?
 16 |     private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:15:27: error: cannot find type 'HDSConverterProtocol' in scope
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
 15 |     public var converter: HDSConverterProtocol?
    |                           `- error: cannot find type 'HDSConverterProtocol' in scope
 16 |     private let store: HDSStoreProxyProtocol
 17 |     private let externalObjectStore: HDSExternalStoreProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:37: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 26 |     }
 27 |
 28 |     open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |               |                     `- error: 'HKObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
 29 |     {
 30 |         // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:66: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 26 |     }
 27 |
 28 |     open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |               |                                                  `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
 29 |     {
 30 |         // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:57:42: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 55 |     }
 56 |
 57 |     private func delete(deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |                  |                       `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
 58 |     {
 59 |         guard let deleted = deletedObjects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:84:43: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 82 |     }
 83 |
 84 |     private func createOrUpdate(objects: [HKObject]?, completion: @escaping (Error?) -> Void)
    |                  |                        `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
 85 |     {
 86 |         guard let createOrUpdateObjects = objects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:122:41: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
120 |     }
121 |
122 |     private func applyUpdates(objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?, completion: @escaping (Error?) -> Void)
    |                  |                      `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
123 |     {
124 |         if let externalObjects = self.externalObjects(from: objects, existingObjects: existingObjects)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:169:49: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
167 |     }
168 |
169 |     private func externalObjects(from objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?) -> (add: [HDSExternalObjectProtocol], update: [HDSExternalObjectProtocol])?
    |                  |                              `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |     {
171 |         var add = [HDSExternalObjectProtocol]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:40: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
206 |
207 |     // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 |     open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
    |               |                        `- error: 'HKObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
209 |     {
210 |         completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:69: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
206 |
207 |     // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 |     open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
    |               |                                                     `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
209 |     {
210 |         completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 |     /// A custom converter that handles the conversion of HealthKit types.
15 |     var converter: HDSConverterProtocol? { get set }
   |                    `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 |     /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
error: emit-module command failed with exit code 1 (use -v to see invocation)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
19 |     /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 |     /// but the query will be a single correlation type
21 |     static func authorizationTypes() -> [HKObjectType]?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
22 |
23 |     /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
22 |
23 |     /// The HealthKit object type used to query HealthKit.
24 |     static func healthKitObjectType() -> HKObjectType?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
25 |
26 |     /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                             `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                      `- error: 'HKObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                                           `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                             `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
43 |     ///
44 |     /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 |     func update(with object: HKObject)
   |          |                   `- error: 'HKObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
19 |     /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 |     /// but the query will be a single correlation type
21 |     static func authorizationTypes() -> [HKObjectType]?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
22 |
23 |     /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
22 |
23 |     /// The HealthKit object type used to query HealthKit.
24 |     static func healthKitObjectType() -> HKObjectType?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
25 |
26 |     /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                             `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                      `- error: 'HKObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                                           `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                             `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
43 |     ///
44 |     /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 |     func update(with object: HKObject)
   |          |                   `- error: 'HKObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
46 | }
47 |
[48/244] Emitting module HealthDataSync
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 |     /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 |     /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 |     /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 |     ///   - observer: The HDSQueryObserver that was notified of changes.
23 |     ///   - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 |     /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 |     ///   - observer: The HDSQueryObserver that finished execution.
30 |     ///   - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
37 |     {
38 |         return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 |     }
40 |
41 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
42 |     {
43 |         completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 |     }
45 |
46 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
47 |     {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 |     }
20 |
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
   |                                                                                     `- error: cannot find type 'HDSQueryObserver' in scope
22 |     {
23 |         var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   |                        `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 |     public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
14 |
15 |     public init(store: HKHealthStore)
   |            |           `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |     {
17 |         self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
33 |     }
34 |
35 |     public func execute(_ query: HKQuery)
   |                 |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
36 |     {
37 |         self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
38 |     }
39 |
40 |     public func stop(_ query: HKQuery)
   |                 |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
41 |     {
42 |         self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
52 |     }
53 |
54 |     public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
55 |     {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 56 |      authorization to access objects of that type before executing the query.
 57 |      */
 58 |     func execute(_ query: HKQuery)
    |          |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 59 |
 60 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 64 |      query is already stopped, this method does nothing.
 65 |      */
 66 |     func stop(_ query: HKQuery)
    |          |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 67 |
 68 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 80 |
 81 |     func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:21:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
19 |     /// In some cases (e.g. blood pressure) a user must authorize each component of blood pressure separately (systolic, diastolic, and heart rate),
20 |     /// but the query will be a single correlation type
21 |     static func authorizationTypes() -> [HKObjectType]?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
22 |
23 |     /// The HealthKit object type used to query HealthKit.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:24:42: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
22 |
23 |     /// The HealthKit object type used to query HealthKit.
24 |     static func healthKitObjectType() -> HKObjectType?
   |                 |                        `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
25 |
26 |     /// Creates a new External Object populated with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                             `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:40: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                      `- error: 'HKObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                                           `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:47: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                 |                             `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing static method
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:45:30: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSExternalObjectProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
43 |     ///
44 |     /// - Parameter object: An HKObject containing data to be copied to the External Object.
45 |     func update(with object: HKObject)
   |          |                   `- error: 'HKObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
46 | }
47 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:32: error: 'HKQuantityType' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
    |                                `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 15 |     public var converter: HDSConverterProtocol?
 16 |     private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:14:49: error: 'HKUnit' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
    |                                                 `- error: 'HKUnit' is only available in macOS 13.0 or newer
 15 |     public var converter: HDSConverterProtocol?
 16 |     private let store: HDSStoreProxyProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:15:27: error: cannot find type 'HDSConverterProtocol' in scope
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
 14 |     open var unitsDictionary: [HKQuantityType : HKUnit]?
 15 |     public var converter: HDSConverterProtocol?
    |                           `- error: cannot find type 'HDSConverterProtocol' in scope
 16 |     private let store: HDSStoreProxyProtocol
 17 |     private let externalObjectStore: HDSExternalStoreProtocol
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:37: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 26 |     }
 27 |
 28 |     open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |               |                     `- error: 'HKObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
 29 |     {
 30 |         // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:28:66: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 26 |     }
 27 |
 28 |     open func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |               |                                                  `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
 29 |     {
 30 |         // Give subclasses an opportunity to execute code before syncing
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:57:42: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 55 |     }
 56 |
 57 |     private func delete(deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
    |                  |                       `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
 58 |     {
 59 |         guard let deleted = deletedObjects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:84:43: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
 82 |     }
 83 |
 84 |     private func createOrUpdate(objects: [HKObject]?, completion: @escaping (Error?) -> Void)
    |                  |                        `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
 85 |     {
 86 |         guard let createOrUpdateObjects = objects,
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:122:41: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
120 |     }
121 |
122 |     private func applyUpdates(objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?, completion: @escaping (Error?) -> Void)
    |                  |                      `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
123 |     {
124 |         if let externalObjects = self.externalObjects(from: objects, existingObjects: existingObjects)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:169:49: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
167 |     }
168 |
169 |     private func externalObjects(from objects: [HKObject], existingObjects: [HDSExternalObjectProtocol]?) -> (add: [HDSExternalObjectProtocol], update: [HDSExternalObjectProtocol])?
    |                  |                              `- error: 'HKObject' is only available in macOS 13.0 or newer
    |                  `- note: add @available attribute to enclosing instance method
170 |     {
171 |         var add = [HDSExternalObjectProtocol]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:40: error: 'HKObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
206 |
207 |     // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 |     open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
    |               |                        `- error: 'HKObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
209 |     {
210 |         completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizer.swift:208:69: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
  9 | import HealthKit
 10 |
 11 | open class HDSObjectSynchronizer: HDSObjectSynchronizerProtocol
    |            `- note: add @available attribute to enclosing class
 12 | {
 13 |     open private(set) var externalObjectType: HDSExternalObjectProtocol.Type
    :
206 |
207 |     // Subclasses can override to execute code to BEFORE requests to the external store are made.
208 |     open func willSyncronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion:@escaping () -> Void)
    |               |                                                     `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
    |               `- note: add @available attribute to enclosing instance method
209 |     {
210 |         completion()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 |     /// A custom converter that handles the conversion of HealthKit types.
15 |     var converter: HDSConverterProtocol? { get set }
   |                    `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 |     /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:32: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
24 |     ///   - deletedObjects: HealthKit objects to be deleted.
25 |     ///   - completion: Envoked when the synchronization process completed.
26 |     func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
   |          |                     `- error: 'HKObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:61: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
24 |     ///   - deletedObjects: HealthKit objects to be deleted.
25 |     ///   - completion: Envoked when the synchronization process completed.
26 |     func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
   |          |                                                  `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 |     /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 |     /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 |     /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 |     ///   - observer: The HDSQueryObserver that was notified of changes.
23 |     ///   - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 |     /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 |     ///   - observer: The HDSQueryObserver that finished execution.
30 |     ///   - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
37 |     {
38 |         return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 |     }
40 |
41 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
42 |     {
43 |         completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 |     }
45 |
46 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
47 |     {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 |     }
20 |
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
   |                                                                                     `- error: cannot find type 'HDSQueryObserver' in scope
22 |     {
23 |         var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:26: error: cannot find 'HDSQueryObserver' in scope
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 |     {
23 |         var observers = [HDSQueryObserver]()
   |                          `- error: cannot find 'HDSQueryObserver' in scope
24 |
25 |         synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:25: error: cannot call value of non-function type '[Any]'
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 |     {
23 |         var observers = [HDSQueryObserver]()
   |                         `- error: cannot call value of non-function type '[Any]'
24 |
25 |         synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:28:32: error: cannot find 'HDSQueryObserver' in scope
26 |             { (synchronizer) in
27 |
28 |                 let observer = HDSQueryObserver(store: self.store,
   |                                `- error: cannot find 'HDSQueryObserver' in scope
29 |                                                 userDefaultsProxy: self.userDefaults,
30 |                                                 synchronizer:synchronizer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:17:34: error: cannot find type 'HDSQueryObserver' in scope
15 |     /// - Parameter observer: The HDSQueryObserver that was notified of changes.
16 |     /// - Returns: The number of changes that should be included in the query result. (If nil, the default value of 25 will be used.
17 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
18 |
19 |     /// Will be called when the HDSQueryObserver is notified of changes relating to the query, before the execution of the anchored query.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:24:38: error: cannot find type 'HDSQueryObserver' in scope
22 |     ///   - observer: The HDSQueryObserver that was notified of changes.
23 |     ///   - completion: Must be called to start the execution of the anchored query and subsequent synchronization with the external store. Return true to start the execution and false to cancel.
24 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
25 |
26 |     /// Will be called after execution of the anchor query AND synchronization with the external store has completed.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:31:43: error: cannot find type 'HDSQueryObserver' in scope
29 |     ///   - observer: The HDSQueryObserver that finished execution.
30 |     ///   - error: An Error providing data on an execution or synchronization failure (error will be nil if the process completed successfully).
31 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
32 | }
33 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:36:34: error: cannot find type 'HDSQueryObserver' in scope
34 | public extension HDSQueryObserverDelegate
35 | {
36 |     func batchSize(for observer: HDSQueryObserver) -> Int?
   |                                  `- error: cannot find type 'HDSQueryObserver' in scope
37 |     {
38 |         return Constants.defaultBatchSize
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:41:38: error: cannot find type 'HDSQueryObserver' in scope
39 |     }
40 |
41 |     func shouldExecute(for observer: HDSQueryObserver, completion: @escaping (Bool) -> Void)
   |                                      `- error: cannot find type 'HDSQueryObserver' in scope
42 |     {
43 |         completion(true)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverDelegate.swift:46:43: error: cannot find type 'HDSQueryObserver' in scope
44 |     }
45 |
46 |     func didFinishExecution(for observer: HDSQueryObserver, error: Error?)
   |                                           `- error: cannot find type 'HDSQueryObserver' in scope
47 |     {
48 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:21:85: error: cannot find type 'HDSQueryObserver' in scope
19 |     }
20 |
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
   |                                                                                     `- error: cannot find type 'HDSQueryObserver' in scope
22 |     {
23 |         var observers = [HDSQueryObserver]()
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:26: error: cannot find 'HDSQueryObserver' in scope
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 |     {
23 |         var observers = [HDSQueryObserver]()
   |                          `- error: cannot find 'HDSQueryObserver' in scope
24 |
25 |         synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:23:25: error: cannot call value of non-function type '[Any]'
21 |     internal func observers(with synchronizers:[HDSObjectSynchronizerProtocol]) -> [HDSQueryObserver]
22 |     {
23 |         var observers = [HDSQueryObserver]()
   |                         `- error: cannot call value of non-function type '[Any]'
24 |
25 |         synchronizers.forEach
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/HDSQueryObserverFactory.swift:28:32: error: cannot find 'HDSQueryObserver' in scope
26 |             { (synchronizer) in
27 |
28 |                 let observer = HDSQueryObserver(store: self.store,
   |                                `- error: cannot find 'HDSQueryObserver' in scope
29 |                                                 userDefaultsProxy: self.userDefaults,
30 |                                                 synchronizer:synchronizer)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   |                        `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 |     public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
14 |
15 |     public init(store: HKHealthStore)
   |            |           `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |     {
17 |         self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
33 |     }
34 |
35 |     public func execute(_ query: HKQuery)
   |                 |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
36 |     {
37 |         self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
38 |     }
39 |
40 |     public func stop(_ query: HKQuery)
   |                 |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
41 |     {
42 |         self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
52 |     }
53 |
54 |     public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
55 |     {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:22:16: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
18 |     }
19 |
20 |     public func isHealthDataAvailable() -> Bool
   |                 `- note: add @available attribute to enclosing instance method
21 |     {
22 |         return HKHealthStore.isHealthDataAvailable()
   |                |- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |                `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:50:27: error: cannot find 'HealthKitError' in scope
48 |         self.store.enableBackgroundDelivery(for: type, frequency: frequency, withCompletion: completion)
49 | #else
50 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
51 | #endif
52 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:59:27: error: cannot find 'HealthKitError' in scope
57 |         self.store.disableBackgroundDelivery(for: type, withCompletion: completion)
58 | #else
59 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
60 | #endif
61 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:68:27: error: cannot find 'HealthKitError' in scope
66 |         self.store.disableAllBackgroundDelivery(completion: completion)
67 | #else
68 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
69 | #endif
70 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:74:20: error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
   |                    |- error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
75 |     }
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 56 |      authorization to access objects of that type before executing the query.
 57 |      */
 58 |     func execute(_ query: HKQuery)
    |          |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 59 |
 60 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 64 |      query is already stopped, this method does nothing.
 65 |      */
 66 |     func stop(_ query: HKQuery)
    |          |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 67 |
 68 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 80 |
 81 |     func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:13:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   |                        `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
14 |
15 |     public init(store: HKHealthStore)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:15:24: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
14 |
15 |     public init(store: HKHealthStore)
   |            |           `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |            `- note: add @available attribute to enclosing initializer
16 |     {
17 |         self.store = store;
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:47: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:25:64: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
23 |     }
24 |
25 |     public func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
   |                 |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
26 |     {
27 |         return self.store.authorizationStatus(for: type)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:64: error: 'HKSampleType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:30:102: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
28 |     }
29 |
30 |     public func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
31 |     {
32 |         self.store.requestAuthorization(toShare: typesToShare, read: typesToRead, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:35:34: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
33 |     }
34 |
35 |     public func execute(_ query: HKQuery)
   |                 |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
36 |     {
37 |         self.store.execute(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:40:31: error: 'HKQuery' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
38 |     }
39 |
40 |     public func stop(_ query: HKQuery)
   |                 |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
41 |     {
42 |         self.store.stop(query)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:52: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:45:77: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
43 |     }
44 |
45 |     public func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
46 |     {
47 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:54:53: error: 'HKObjectType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
52 |     }
53 |
54 |     public func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
   |                 |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
55 |     {
56 | #if os(iOS)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:55: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:96: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:72:113: error: 'HKUnit' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:22:16: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
18 |     }
19 |
20 |     public func isHealthDataAvailable() -> Bool
   |                 `- note: add @available attribute to enclosing instance method
21 |     {
22 |         return HKHealthStore.isHealthDataAvailable()
   |                |- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   |                `- note: add 'if #available' version check
23 |     }
24 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:50:27: error: cannot find 'HealthKitError' in scope
48 |         self.store.enableBackgroundDelivery(for: type, frequency: frequency, withCompletion: completion)
49 | #else
50 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
51 | #endif
52 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:59:27: error: cannot find 'HealthKitError' in scope
57 |         self.store.disableBackgroundDelivery(for: type, withCompletion: completion)
58 | #else
59 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
60 | #endif
61 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:68:27: error: cannot find 'HealthKitError' in scope
66 |         self.store.disableAllBackgroundDelivery(completion: completion)
67 | #else
68 |         completion(false, HealthKitError.notSupported)
   |                           `- error: cannot find 'HealthKitError' in scope
69 | #endif
70 |     }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxy.swift:74:20: error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public class HDSStoreProxy : HDSStoreProxyProtocol
   |              `- note: add @available attribute to enclosing class
12 | {
13 |     private var store: HKHealthStore
   :
70 |     }
71 |
72 |     public func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Void)
   |                 `- note: add @available attribute to enclosing instance method
73 |     {
74 |         self.store.preferredUnits(for: quantityTypes, completion: completion)
   |                    |- error: 'preferredUnits(for:completion:)' is only available in macOS 13.0 or newer
   |                    `- note: add 'if #available' version check
75 |     }
76 | }
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:40: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                             `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:27:57: error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 25 |      @abstract      Returns the application's authorization status for the given object type.
 26 |      */
 27 |     func authorizationStatus(for type: HKObjectType) -> HKAuthorizationStatus
    |          |                                              `- error: 'HKAuthorizationStatus' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 28 |
 29 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:57: error: 'HKSampleType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                              `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:42:95: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 40 |      granted authorization.
 41 |      */
 42 |     func requestAuthorization(toShare typesToShare: Set<HKSampleType>?, read typesToRead: Set<HKObjectType>?, completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                                                    `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 43 |
 44 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:58:27: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 56 |      authorization to access objects of that type before executing the query.
 57 |      */
 58 |     func execute(_ query: HKQuery)
    |          |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 59 |
 60 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:66:24: error: 'HKQuery' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 64 |      query is already stopped, this method does nothing.
 65 |      */
 66 |     func stop(_ query: HKQuery)
    |          |             `- error: 'HKQuery' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 67 |
 68 |     /*!
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:45: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                  `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:77:70: error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 75 |      transparently to the caller.
 76 |      */
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                                           `- error: 'HKUpdateFrequency' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:79:46: error: 'HKObjectType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 77 |     func enableBackgroundDelivery(for type: HKObjectType, frequency: HKUpdateFrequency, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
 78 |
 79 |     func disableBackgroundDelivery(for type: HKObjectType, withCompletion completion: @escaping (Bool, Error?) -> Swift.Void)
    |          |                                   `- error: 'HKObjectType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 80 |
 81 |     func disableAllBackgroundDelivery(completion: @escaping (Bool, Error?) -> Swift.Void)
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:48: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:89: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                              `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Proxies/HDSStoreProxyProtocol.swift:98:106: error: 'HKUnit' is only available in macOS 13.0 or newer
 10 |
 11 | @available(iOS 8.0, watchOS 2.0, *)
 12 | public protocol HDSStoreProxyProtocol
    |                 `- note: add @available attribute to enclosing protocol
 13 | {
 14 |     /*!
    :
 96 |      */
 97 |     @available(iOS 8.2, watchOS 2.0, *)
 98 |     func preferredUnits(for quantityTypes: Set<HKQuantityType>, completion: @escaping ([HKQuantityType : HKUnit], Error?) -> Swift.Void)
    |          |                                                                                               `- error: 'HKUnit' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 | }
100 |
[53/245] Compiling HealthDataSync HDSObjectSynchronizerProtocol.swift
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:15:20: error: cannot find type 'HDSConverterProtocol' in scope
13 |
14 |     /// A custom converter that handles the conversion of HealthKit types.
15 |     var converter: HDSConverterProtocol? { get set }
   |                    `- error: cannot find type 'HDSConverterProtocol' in scope
16 |
17 |     /// The external object type the used by the synchronizer to convert HealthKit objects to a format compatible with the external store.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:32:61: error: cannot find type 'HDSConverterProtocol' in scope
30 |     ///   - converter: An instance of a custom converter class.
31 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKObject or nil if the HKObject cannot be processed.
32 |     static func externalObject(object: HKObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                             `- error: cannot find type 'HDSConverterProtocol' in scope
33 |
34 |     /// Creates a new External Object populated with data from the HKDeletedObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSExternalObjectProtocol.swift:40:75: error: cannot find type 'HDSConverterProtocol' in scope
38 |     ///   - converter: An instance of a custom converter class.
39 |     /// - Returns: A new object conforming to the HDSExternalObjectProtocol populated with the data from the HKDeletedObject or nil if the HKDeletedObject cannot be processed.
40 |     static func externalObject(deletedObject: HKDeletedObject, converter: HDSConverterProtocol?) -> HDSExternalObjectProtocol?
   |                                                                           `- error: cannot find type 'HDSConverterProtocol' in scope
41 |
42 |     /// Updates the External Object with data from the HKObject.
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:32: error: 'HKObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
24 |     ///   - deletedObjects: HealthKit objects to be deleted.
25 |     ///   - completion: Envoked when the synchronization process completed.
26 |     func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
   |          |                     `- error: 'HKObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
27 | }
28 |
/Users/admin/builder/spi-builder-workspace/.build/checkouts/health-data-sync/Sources/Synchronizers/HDSObjectSynchronizerProtocol.swift:26:61: error: 'HKDeletedObject' is only available in macOS 13.0 or newer
 9 | import HealthKit
10 |
11 | public protocol HDSObjectSynchronizerProtocol
   |                 `- note: add @available attribute to enclosing protocol
12 | {
13 |
   :
24 |     ///   - deletedObjects: HealthKit objects to be deleted.
25 |     ///   - completion: Envoked when the synchronization process completed.
26 |     func synchronize(objects: [HKObject]?, deletedObjects: [HKDeletedObject]?, completion: @escaping (Error?) -> Void)
   |          |                                                  `- error: 'HKDeletedObject' is only available in macOS 13.0 or newer
   |          `- note: add @available attribute to enclosing instance method
27 | }
28 |
Fetching https://github.com/microsoft/iomt-fhir-client
Fetching https://github.com/smart-on-fhir/Swift-FHIR
Fetching https://github.com/microsoft/healthkit-to-fhir
Fetching https://github.com/microsoft/health-data-sync
[1/79] Fetching health-data-sync
[34/18168] Fetching health-data-sync, swift-fhir
[35/18338] Fetching health-data-sync, swift-fhir, healthkit-to-fhir
[612/18420] Fetching health-data-sync, swift-fhir, healthkit-to-fhir, iomt-fhir-client
Fetched https://github.com/microsoft/iomt-fhir-client from cache (0.79s)
Fetched https://github.com/microsoft/healthkit-to-fhir from cache (0.79s)
[622/18168] Fetching health-data-sync, swift-fhir
Fetched https://github.com/smart-on-fhir/Swift-FHIR from cache (1.74s)
Fetched https://github.com/microsoft/health-data-sync from cache (1.74s)
Computing version for https://github.com/microsoft/health-data-sync
Computed https://github.com/microsoft/health-data-sync at 1.0.0 (2.25s)
Computing version for https://github.com/microsoft/iomt-fhir-client
Computed https://github.com/microsoft/iomt-fhir-client at 1.0.0 (0.46s)
Computing version for https://github.com/microsoft/healthkit-to-fhir
Computed https://github.com/microsoft/healthkit-to-fhir at 1.0.3 (0.45s)
Computing version for https://github.com/smart-on-fhir/Swift-FHIR
Computed https://github.com/smart-on-fhir/Swift-FHIR at 4.2.1 (0.46s)
Creating working copy for https://github.com/microsoft/iomt-fhir-client
Working copy of https://github.com/microsoft/iomt-fhir-client resolved at 1.0.0
Creating working copy for https://github.com/smart-on-fhir/Swift-FHIR
Working copy of https://github.com/smart-on-fhir/Swift-FHIR resolved at 4.2.1
Creating working copy for https://github.com/microsoft/health-data-sync
Working copy of https://github.com/microsoft/health-data-sync resolved at 1.0.0
Creating working copy for https://github.com/microsoft/healthkit-to-fhir
Working copy of https://github.com/microsoft/healthkit-to-fhir resolved at 1.0.3
BUILD FAILURE 6.2 macosSpm