Build Information
Failed to build HealthSnapKit, reference main (6e7adf), with Swift 6.4 for macOS (SPM) on 24 Sep 2026 18:20:23 UTC.
Build Command
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64Build Log
========================================
RunAll
========================================
Builder version: 5.1.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/isonka/HealthSnapKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/isonka/HealthSnapKit
* branch main -> FETCH_HEAD
* [new branch] main -> origin/main
HEAD is now at 6e7adf7 docs: point SPM snippet at isonka/HealthSnapKit and drop Related stubs
Cloned https://github.com/isonka/HealthSnapKit.git
Revision (git rev-parse @):
6e7adf7dc7598e113638422d10723e0e37a81851
SUCCESS checkout https://github.com/isonka/HealthSnapKit.git at main
========================================
Build
========================================
Selected platform: macosSpm
Swift version: 6.4
Building package at path: $PWD
https://github.com/isonka/HealthSnapKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-27.0.0-Release.Candidate.app xcrun swift build --arch arm64
Building for debugging...
[Planning deferred tasks]
[19 / 28]
[20 / 29] HealthSnapKit
[30 / 80]
[32 / 80]
[38 / 80]
[40 / 80]
[44 / 80]
[46 / 80]
[49 / 80]
[53 / 80]
[55 / 80]
[56 / 80]
[60 / 80]
[71 / 80] HealthSnapKit
error: SwiftCompile normal arm64 failed with a nonzero exit code. Command line: cd /Users/admin/builder
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:19:79: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Maps ``HealthDataDomain`` values to concrete HealthKit object types for authorization.
[0;36m17 |[0;0m public enum HealthKitPermissions: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m18 |[0;0m /// All sample and object types required to read data for the given domains.
[0;36m19 |[0;0m public static func objectTypes(for domains: Set<HealthDataDomain>) -> Set<HKObjectType> {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m20 |[0;0m var types = Set<HKObjectType>()
[0;36m21 |[0;0m for domain in domains {
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:38:52: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Maps ``HealthDataDomain`` values to concrete HealthKit object types for authorization.
[0;36m17 |[0;0m public enum HealthKitPermissions: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m18 |[0;0m /// All sample and object types required to read data for the given domains.
[0;36m19 |[0;0m public static func objectTypes(for domains: Set<HealthDataDomain>) -> Set<HKObjectType> {
[0;36m:[0;0m
[0;36m36 |[0;0m }
[0;36m37 |[0;0m
[0;36m38 |[0;0m private static func activityReadTypes() -> Set<HKObjectType> {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m39 |[0;0m var set = Set<HKObjectType>()
[0;36m40 |[0;0m if let t = HKObjectType.quantityType(forIdentifier: .stepCount) { set.insert(t) }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:49:49: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Maps ``HealthDataDomain`` values to concrete HealthKit object types for authorization.
[0;36m17 |[0;0m public enum HealthKitPermissions: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m18 |[0;0m /// All sample and object types required to read data for the given domains.
[0;36m19 |[0;0m public static func objectTypes(for domains: Set<HealthDataDomain>) -> Set<HKObjectType> {
[0;36m:[0;0m
[0;36m47 |[0;0m }
[0;36m48 |[0;0m
[0;36m49 |[0;0m private static func heartReadTypes() -> Set<HKObjectType> {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m50 |[0;0m var set = Set<HKObjectType>()
[0;36m51 |[0;0m if let t = HKObjectType.quantityType(forIdentifier: .heartRate) { set.insert(t) }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift:57:48: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Maps ``HealthDataDomain`` values to concrete HealthKit object types for authorization.
[0;36m17 |[0;0m public enum HealthKitPermissions: Sendable {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m18 |[0;0m /// All sample and object types required to read data for the given domains.
[0;36m19 |[0;0m public static func objectTypes(for domains: Set<HealthDataDomain>) -> Set<HKObjectType> {
[0;36m:[0;0m
[0;36m55 |[0;0m }
[0;36m56 |[0;0m
[0;36m57 |[0;0m private static func bodyReadTypes() -> Set<HKObjectType> {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m58 |[0;0m var set = Set<HKObjectType>()
[0;36m59 |[0;0m if let t = HKObjectType.quantityType(forIdentifier: .bodyMass) { set.insert(t) }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapKit.swift:8:2: [1;31merror: [1;39m'Observable()' is only available in macOS 14.0 or newer[0;0m
[0;36m6 |[0;0m /// The facade is main-actor isolated so it can be held from SwiftUI without cross-actor `Sendable` requirements.
[0;36m7 |[0;0m @MainActor
[0;36m8 |[0;0m @Observable
[0;36m|[0;0m `- [1;31merror: [1;39m'Observable()' is only available in macOS 14.0 or newer[0;0m
[0;36m9 |[0;0m public final class HealthSnapKit {
[0;36m10 |[0;0m private let store: HealthStoreProtocol
macro expansion @Observable:1:2: [1;31merror: [1;39m'ObservationIgnored()' is only available in macOS 14.0 or newer[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapKit.swift:60:1: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m6 |[0;0m /// The facade is main-actor isolated so it can be held from SwiftUI without cross-actor `Sendable` requirements.
[0;36m7 |[0;0m @MainActor
[0;36m8 |[0;0m [4;39m@Observable[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Observable' on class 'HealthSnapKit' here[0;0m
[0;36m9 |[0;0m public final class HealthSnapKit {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m10 |[0;0m private let store: HealthStoreProtocol
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m }
[0;36m60 |[0;0m }
[0;36m +--- [0;0mmacro expansion @Observable [0;36m------------------------------------[0;0m
[0;36m |[0;0m [0;36m1 |[0;0m @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39m'ObservationIgnored()' is only available in macOS 14.0 or newer[0;0m
[0;36m |[0;0m [0;36m2 |[0;0m
[0;36m |[0;0m [0;36m3 |[0;0m internal nonisolated func access<$s13HealthSnapKitAA10ObservablefMm_6MemberfMu_>(
[0;36m +--------------------------------[0;0m[0;36m------------------------------------[0;0m
[0;36m61 |[0;0m
macro expansion @Observable:1:70: [1;31merror: [1;39m'ObservationRegistrar' is only available in macOS 14.0 or newer[0;0m
`- /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapKit.swift:60:1: [1;39mnote: [1;39mexpanded code originates here[0;0m
[0;36m6 |[0;0m /// The facade is main-actor isolated so it can be held from SwiftUI without cross-actor `Sendable` requirements.
[0;36m7 |[0;0m @MainActor
[0;36m8 |[0;0m [4;39m@Observable[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39min expansion of macro 'Observable' on class 'HealthSnapKit' here[0;0m
[0;36m9 |[0;0m public final class HealthSnapKit {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m10 |[0;0m private let store: HealthStoreProtocol
[0;36m11 |[0;0m
[0;36m:[0;0m
[0;36m58 |[0;0m }
[0;36m59 |[0;0m }
[0;36m60 |[0;0m }
[0;36m +--- [0;0mmacro expansion @Observable [0;36m------------------------------------[0;0m
[0;36m |[0;0m [0;36m1 |[0;0m @ObservationIgnored private let _$observationRegistrar = Observation.ObservationRegistrar()
[0;36m |[0;0m [0;36m|[0;0m `- [1;31merror: [1;39m'ObservationRegistrar' is only available in macOS 14.0 or newer[0;0m
[0;36m |[0;0m [0;36m2 |[0;0m
[0;36m |[0;0m [0;36m3 |[0;0m internal nonisolated func access<$s13HealthSnapKitAA10ObservablefMm_6MemberfMu_>(
[0;36m +--------------------------------[0;0m[0;36m------------------------------------[0;0m
[0;36m61 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapKit.swift:8:2: [1;31merror: [1;39m'Observable()' is only available in macOS 14.0 or newer[0;0m
[0;36m6 |[0;0m /// The facade is main-actor isolated so it can be held from SwiftUI without cross-actor `Sendable` requirements.
[0;36m7 |[0;0m @MainActor
[0;36m8 |[0;0m @Observable
[0;36m|[0;0m `- [1;31merror: [1;39m'Observable()' is only available in macOS 14.0 or newer[0;0m
[0;36m9 |[0;0m public final class HealthSnapKit {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m10 |[0;0m private let store: HealthStoreProtocol
[0;36m11 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKError+HealthSnap.swift:4:11: [1;31merror: [1;39m'HKError' is only available in macOS 13.0 or newer[0;0m
[0;36m2 |[0;0m import HealthKit
[0;36m3 |[0;0m
[0;36m4 |[0;0m extension HKError {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKError' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing extension[0;0m
[0;36m5 |[0;0m /// HealthKit uses this when a predicate matches no samples; callers should treat it as empty data, not a hard failure.
[0;36m6 |[0;0m static func isNoMatchingSamples(_ error: Error) -> Bool {
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:7:16: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m8 |[0;0m quantityType: HKQuantityType,
[0;36m9 |[0;0m predicate: NSPredicate,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:8:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m8 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m9 |[0;0m predicate: NSPredicate,
[0;36m10 |[0;0m options: HKStatisticsOptions,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:10:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m8 |[0;0m quantityType: HKQuantityType,
[0;36m9 |[0;0m predicate: NSPredicate,
[0;36m10 |[0;0m options: HKStatisticsOptions,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m11 |[0;0m anchorDate: Date,
[0;36m12 |[0;0m intervalComponents: DateComponents
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:13:23: [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m8 |[0;0m quantityType: HKQuantityType,
[0;36m:[0;0m
[0;36m11 |[0;0m anchorDate: Date,
[0;36m12 |[0;0m intervalComponents: DateComponents
[0;36m13 |[0;0m ) async throws -> HKStatisticsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m14 |[0;0m try await withCheckedThrowingContinuation { continuation in
[0;36m15 |[0;0m let query = HKStatisticsCollectionQuery(
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:42:16: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m static func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m42 |[0;0m store: HKHealthStore,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m44 |[0;0m predicate: NSPredicate,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:43:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m static func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m42 |[0;0m store: HKHealthStore,
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:45:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m static func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m42 |[0;0m store: HKHealthStore,
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m46 |[0;0m ) async throws -> HKStatistics? {
[0;36m47 |[0;0m try await withCheckedThrowingContinuation { continuation in
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:46:23: [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
[0;36m41 |[0;0m static func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m42 |[0;0m store: HKHealthStore,
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
[0;36m46 |[0;0m ) async throws -> HKStatistics? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m47 |[0;0m try await withCheckedThrowingContinuation { continuation in
[0;36m48 |[0;0m let query = HKStatisticsQuery(quantityType: quantityType, quantitySamplePredicate: predicate, options: options) { _, stats, error in
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:64:16: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[0;36m63 |[0;0m static func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m64 |[0;0m store: HKHealthStore,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m65 |[0;0m sampleType: HKSampleType,
[0;36m66 |[0;0m predicate: NSPredicate,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:65:21: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[0;36m63 |[0;0m static func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m64 |[0;0m store: HKHealthStore,
[0;36m65 |[0;0m sampleType: HKSampleType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m66 |[0;0m predicate: NSPredicate,
[0;36m67 |[0;0m limit: Int,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift:69:24: [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Async wrappers around completion-handler-based HealthKit queries (used by ``LiveHealthStore``).
[0;36m5 |[0;0m enum HKQueryAsync {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func statisticsCollection(
[0;36m7 |[0;0m store: HKHealthStore,
[0;36m:[0;0m
[0;36m61 |[0;0m }
[0;36m62 |[0;0m
[0;36m63 |[0;0m static func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m64 |[0;0m store: HKHealthStore,
[0;36m65 |[0;0m sampleType: HKSampleType,
[0;36m:[0;0m
[0;36m67 |[0;0m limit: Int,
[0;36m68 |[0;0m sortDescriptors: [NSSortDescriptor]
[0;36m69 |[0;0m ) async throws -> [HKSample] {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m70 |[0;0m try await withCheckedThrowingContinuation { continuation in
[0;36m71 |[0;0m let query = HKSampleQuery(
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:11:22: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// Requests authorization to read and write the given types.
[0;36m10 |[0;0m func requestAuthorization(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m11 |[0;0m toShare: Set<HKSampleType>,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m12 |[0;0m read: Set<HKObjectType>,
[0;36m13 |[0;0m completion: @escaping @Sendable (Bool, Error?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:12:19: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m8 |[0;0m
[0;36m9 |[0;0m /// Requests authorization to read and write the given types.
[0;36m10 |[0;0m func requestAuthorization(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m11 |[0;0m toShare: Set<HKSampleType>,
[0;36m12 |[0;0m read: Set<HKObjectType>,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m13 |[0;0m completion: @escaping @Sendable (Bool, Error?) -> Void
[0;36m14 |[0;0m )
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:18:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Runs a statistics collection query and returns the resulting collection.
[0;36m17 |[0;0m func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m18 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m19 |[0;0m predicate: NSPredicate,
[0;36m20 |[0;0m options: HKStatisticsOptions,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:20:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Runs a statistics collection query and returns the resulting collection.
[0;36m17 |[0;0m func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m18 |[0;0m quantityType: HKQuantityType,
[0;36m19 |[0;0m predicate: NSPredicate,
[0;36m20 |[0;0m options: HKStatisticsOptions,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m21 |[0;0m anchorDate: Date,
[0;36m22 |[0;0m intervalComponents: DateComponents
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:23:23: [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m15 |[0;0m
[0;36m16 |[0;0m /// Runs a statistics collection query and returns the resulting collection.
[0;36m17 |[0;0m func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m18 |[0;0m quantityType: HKQuantityType,
[0;36m19 |[0;0m predicate: NSPredicate,
[0;36m:[0;0m
[0;36m21 |[0;0m anchorDate: Date,
[0;36m22 |[0;0m intervalComponents: DateComponents
[0;36m23 |[0;0m ) async throws -> HKStatisticsCollection
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Runs a statistics query for a single interval.
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:27:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Runs a statistics query for a single interval.
[0;36m26 |[0;0m func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m27 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m28 |[0;0m predicate: NSPredicate,
[0;36m29 |[0;0m options: HKStatisticsOptions
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:29:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Runs a statistics query for a single interval.
[0;36m26 |[0;0m func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m27 |[0;0m quantityType: HKQuantityType,
[0;36m28 |[0;0m predicate: NSPredicate,
[0;36m29 |[0;0m options: HKStatisticsOptions
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m30 |[0;0m ) async throws -> HKStatistics?
[0;36m31 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:30:23: [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m24 |[0;0m
[0;36m25 |[0;0m /// Runs a statistics query for a single interval.
[0;36m26 |[0;0m func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m27 |[0;0m quantityType: HKQuantityType,
[0;36m28 |[0;0m predicate: NSPredicate,
[0;36m29 |[0;0m options: HKStatisticsOptions
[0;36m30 |[0;0m ) async throws -> HKStatistics?
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// Runs a sample query and returns matching samples.
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:34:21: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// Runs a sample query and returns matching samples.
[0;36m33 |[0;0m func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m34 |[0;0m sampleType: HKSampleType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m35 |[0;0m predicate: NSPredicate,
[0;36m36 |[0;0m limit: Int,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift:38:24: [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Abstraction over ``HKHealthStore`` so production code and tests share the same query surface.
[0;36m5 |[0;0m public protocol HealthStoreProtocol: AnyObject {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing protocol[0;0m
[0;36m6 |[0;0m /// Whether HealthKit is available on this device.
[0;36m7 |[0;0m func isHealthDataAvailable() -> Bool
[0;36m:[0;0m
[0;36m31 |[0;0m
[0;36m32 |[0;0m /// Runs a sample query and returns matching samples.
[0;36m33 |[0;0m func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m34 |[0;0m sampleType: HKSampleType,
[0;36m35 |[0;0m predicate: NSPredicate,
[0;36m36 |[0;0m limit: Int,
[0;36m37 |[0;0m sortDescriptors: [NSSortDescriptor]
[0;36m38 |[0;0m ) async throws -> [HKSample]
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m39 |[0;0m }
[0;36m40 |[0;0m
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:6:24: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m|[0;0m `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m7 |[0;0m
[0;36m8 |[0;0m /// Creates a store that wraps the shared HealthKit store.
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:9:24: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m8 |[0;0m /// Creates a store that wraps the shared HealthKit store.
[0;36m9 |[0;0m public init(store: HKHealthStore = HKHealthStore()) {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m10 |[0;0m self.store = store
[0;36m11 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:9:40: [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m8 |[0;0m /// Creates a store that wraps the shared HealthKit store.
[0;36m9 |[0;0m public init(store: HKHealthStore = HKHealthStore()) {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKHealthStore' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing initializer[0;0m
[0;36m10 |[0;0m self.store = store
[0;36m11 |[0;0m }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:18:22: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func requestAuthorization(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m18 |[0;0m toShare: Set<HKSampleType>,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m19 |[0;0m read: Set<HKObjectType>,
[0;36m20 |[0;0m completion: @escaping @Sendable (Bool, Error?) -> Void
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:19:19: [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m15 |[0;0m }
[0;36m16 |[0;0m
[0;36m17 |[0;0m public func requestAuthorization(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m18 |[0;0m toShare: Set<HKSampleType>,
[0;36m19 |[0;0m read: Set<HKObjectType>,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKObjectType' is only available in macOS 13.0 or newer[0;0m
[0;36m20 |[0;0m completion: @escaping @Sendable (Bool, Error?) -> Void
[0;36m21 |[0;0m ) {
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:26:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m26 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m27 |[0;0m predicate: NSPredicate,
[0;36m28 |[0;0m options: HKStatisticsOptions,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:28:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m26 |[0;0m quantityType: HKQuantityType,
[0;36m27 |[0;0m predicate: NSPredicate,
[0;36m28 |[0;0m options: HKStatisticsOptions,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m29 |[0;0m anchorDate: Date,
[0;36m30 |[0;0m intervalComponents: DateComponents
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:31:23: [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m23 |[0;0m }
[0;36m24 |[0;0m
[0;36m25 |[0;0m public func statisticsCollection(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m26 |[0;0m quantityType: HKQuantityType,
[0;36m27 |[0;0m predicate: NSPredicate,
[0;36m:[0;0m
[0;36m29 |[0;0m anchorDate: Date,
[0;36m30 |[0;0m intervalComponents: DateComponents
[0;36m31 |[0;0m ) async throws -> HKStatisticsCollection {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsCollection' is only available in macOS 13.0 or newer[0;0m
[0;36m32 |[0;0m try await HKQueryAsync.statisticsCollection(
[0;36m33 |[0;0m store: store,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:43:23: [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKQuantityType' is only available in macOS 13.0 or newer[0;0m
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:45:18: [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatisticsOptions' is only available in macOS 13.0 or newer[0;0m
[0;36m46 |[0;0m ) async throws -> HKStatistics? {
[0;36m47 |[0;0m try await HKQueryAsync.statistics(
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:46:23: [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m40 |[0;0m }
[0;36m41 |[0;0m
[0;36m42 |[0;0m public func statistics(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m43 |[0;0m quantityType: HKQuantityType,
[0;36m44 |[0;0m predicate: NSPredicate,
[0;36m45 |[0;0m options: HKStatisticsOptions
[0;36m46 |[0;0m ) async throws -> HKStatistics? {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m47 |[0;0m try await HKQueryAsync.statistics(
[0;36m48 |[0;0m store: store,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:56:21: [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m public func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m56 |[0;0m sampleType: HKSampleType,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSampleType' is only available in macOS 13.0 or newer[0;0m
[0;36m57 |[0;0m predicate: NSPredicate,
[0;36m58 |[0;0m limit: Int,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift:60:24: [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Default ``HealthStoreProtocol`` implementation backed by ``HKHealthStore``.
[0;36m5 |[0;0m public final class LiveHealthStore: HealthStoreProtocol {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m6 |[0;0m private let store: HKHealthStore
[0;36m7 |[0;0m
[0;36m:[0;0m
[0;36m53 |[0;0m }
[0;36m54 |[0;0m
[0;36m55 |[0;0m public func samples(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m56 |[0;0m sampleType: HKSampleType,
[0;36m57 |[0;0m predicate: NSPredicate,
[0;36m58 |[0;0m limit: Int,
[0;36m59 |[0;0m sortDescriptors: [NSSortDescriptor]
[0;36m60 |[0;0m ) async throws -> [HKSample] {
[0;36m|[0;0m `- [1;31merror: [1;39m'HKSample' is only available in macOS 13.0 or newer[0;0m
[0;36m61 |[0;0m try await HKQueryAsync.samples(
[0;36m62 |[0;0m store: store,
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/SleepAnalysisAggregator.swift:6:42: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Turns overlapping ``HKCategorySample`` sleep records into per-night ``SleepSnapshot`` values.
[0;36m5 |[0;0m enum SleepAnalysisAggregator {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func snapshots(from samples: [HKCategorySample], calendar: Calendar) -> [SleepSnapshot] {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m7 |[0;0m guard !samples.isEmpty else { return [] }
[0;36m8 |[0;0m let sorted = samples.sorted { $0.startDate < $1.startDate }
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/SleepAnalysisAggregator.swift:14:50: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Turns overlapping ``HKCategorySample`` sleep records into per-night ``SleepSnapshot`` values.
[0;36m5 |[0;0m enum SleepAnalysisAggregator {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func snapshots(from samples: [HKCategorySample], calendar: Calendar) -> [SleepSnapshot] {
[0;36m7 |[0;0m guard !samples.isEmpty else { return [] }
[0;36m:[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Splits samples into sessions when there is a gap longer than four hours.
[0;36m14 |[0;0m private static func splitSessions(_ sorted: [HKCategorySample]) -> [[HKCategorySample]] {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m15 |[0;0m var sessions: [[HKCategorySample]] = []
[0;36m16 |[0;0m var current: [HKCategorySample] = []
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/SleepAnalysisAggregator.swift:14:74: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Turns overlapping ``HKCategorySample`` sleep records into per-night ``SleepSnapshot`` values.
[0;36m5 |[0;0m enum SleepAnalysisAggregator {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func snapshots(from samples: [HKCategorySample], calendar: Calendar) -> [SleepSnapshot] {
[0;36m7 |[0;0m guard !samples.isEmpty else { return [] }
[0;36m:[0;0m
[0;36m12 |[0;0m
[0;36m13 |[0;0m /// Splits samples into sessions when there is a gap longer than four hours.
[0;36m14 |[0;0m private static func splitSessions(_ sorted: [HKCategorySample]) -> [[HKCategorySample]] {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m15 |[0;0m var sessions: [[HKCategorySample]] = []
[0;36m16 |[0;0m var current: [HKCategorySample] = []
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/SleepAnalysisAggregator.swift:32:49: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m3 |[0;0m
[0;36m4 |[0;0m /// Turns overlapping ``HKCategorySample`` sleep records into per-night ``SleepSnapshot`` values.
[0;36m5 |[0;0m enum SleepAnalysisAggregator {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing enum[0;0m
[0;36m6 |[0;0m static func snapshots(from samples: [HKCategorySample], calendar: Calendar) -> [SleepSnapshot] {
[0;36m7 |[0;0m guard !samples.isEmpty else { return [] }
[0;36m:[0;0m
[0;36m30 |[0;0m }
[0;36m31 |[0;0m
[0;36m32 |[0;0m private static func buildSnapshot(samples: [HKCategorySample], calendar: Calendar) -> SleepSnapshot? {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing static method[0;0m
[0;36m33 |[0;0m var awake: TimeInterval = 0
[0;36m34 |[0;0m var rem: TimeInterval = 0
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift:102:111: [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches daily activity summaries (steps, energy, distance, exercise, stand).
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class ActivityProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m100 |[0;0m }
[0;36m101 |[0;0m
[0;36m102 |[0;0m private func statistics(for identifier: HKQuantityTypeIdentifier, predicate: NSPredicate) async throws -> HKStatistics? {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m103 |[0;0m guard let type = HKQuantityType.quantityType(forIdentifier: identifier) else {
[0;36m104 |[0;0m throw HealthSnapError.noData
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift:113:39: [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches daily activity summaries (steps, energy, distance, exercise, stand).
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class ActivityProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m111 |[0;0m }
[0;36m112 |[0;0m
[0;36m113 |[0;0m private func sum(from statistics: HKStatistics?, type identifier: HKQuantityTypeIdentifier, unit: HKUnit) async throws -> Double {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKStatistics' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m114 |[0;0m guard let statistics, let _ = HKQuantityType.quantityType(forIdentifier: identifier) else {
[0;36m115 |[0;0m return 0
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift:113:103: [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches daily activity summaries (steps, energy, distance, exercise, stand).
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class ActivityProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m111 |[0;0m }
[0;36m112 |[0;0m
[0;36m113 |[0;0m private func sum(from statistics: HKStatistics?, type identifier: HKQuantityTypeIdentifier, unit: HKUnit) async throws -> Double {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m114 |[0;0m guard let statistics, let _ = HKQuantityType.quantityType(forIdentifier: identifier) else {
[0;36m115 |[0;0m return 0
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift:123:76: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches daily activity summaries (steps, energy, distance, exercise, stand).
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class ActivityProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m121 |[0;0m }
[0;36m122 |[0;0m
[0;36m123 |[0;0m private func standHourSamples(predicate: NSPredicate) async throws -> [HKCategorySample] {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m124 |[0;0m guard let standType = HKObjectType.categoryType(forIdentifier: .appleStandHour) else {
[0;36m125 |[0;0m return []
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift:136:44: [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches daily activity summaries (steps, energy, distance, exercise, stand).
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class ActivityProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m134 |[0;0m }
[0;36m135 |[0;0m
[0;36m136 |[0;0m private func countStoodHours(samples: [HKCategorySample]) -> Int {
[0;36m|[0;0m | `- [1;31merror: [1;39m'HKCategorySample' is only available in macOS 13.0 or newer[0;0m
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m137 |[0;0m samples.filter { sample in
[0;36m138 |[0;0m sample.value == HKCategoryValueAppleStandHour.stood.rawValue
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/BodyProvider.swift:84:15: [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches the most recent body mass, BMI, and body fat percentage samples.
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class BodyProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m79 |[0;0m }
[0;36m80 |[0;0m
[0;36m81 |[0;0m private func latestSample(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m82 |[0;0m identifier: HKQuantityTypeIdentifier,
[0;36m83 |[0;0m asOf end: Date,
[0;36m84 |[0;0m unit: HKUnit
[0;36m|[0;0m `- [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m85 |[0;0m ) async throws -> (date: Date, value: Double)? {
[0;36m86 |[0;0m guard let type = HKQuantityType.quantityType(forIdentifier: identifier) else {
/Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/HeartProvider.swift:123:15: [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m4 |[0;0m /// Fetches heart rate averages, resting HR, HRV (SDNN), and per-day samples.
[0;36m5 |[0;0m @MainActor
[0;36m6 |[0;0m public final class HeartProvider {
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing class[0;0m
[0;36m7 |[0;0m private let store: HealthStoreProtocol
[0;36m8 |[0;0m
[0;36m:[0;0m
[0;36m119 |[0;0m }
[0;36m120 |[0;0m
[0;36m121 |[0;0m private func latestQuantity(
[0;36m|[0;0m `- [1;39mnote: [1;39madd '@available' attribute to enclosing instance method[0;0m
[0;36m122 |[0;0m identifier: HKQuantityTypeIdentifier,
[0;36m123 |[0;0m unit: HKUnit,
[0;36m|[0;0m `- [1;31merror: [1;39m'HKUnit' is only available in macOS 13.0 or newer[0;0m
[0;36m124 |[0;0m from start: Date,
[0;36m125 |[0;0m to endExclusive: Date
Failed frontend command:
/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift-frontend -frontend -emit-module -experimental-skip-non-inlinable-function-bodies-without-types /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Authorization/HealthKitPermissions.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapError.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/HealthSnapKit.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/CalendarDayRange.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKError+HealthSnap.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HKQueryAsync.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/HealthStoreProtocol.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/LiveHealthStore.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Internal/SleepAnalysisAggregator.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Models/ActivitySnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Models/BodySnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Models/HeartSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Models/SleepSnapshot.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/ActivityProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/BodyProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/HeartProvider.swift /Users/admin/builder/spi-builder-workspace/Sources/HealthSnapKit/Providers/SleepProvider.swift -target arm64-apple-macos12.0 -disable-cross-import-overlay-search -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libFoundationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#FoundationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libObservationMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#ObservationMacros -load-resolved-plugin /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib/swift/host/plugins/libSwiftMacros.dylib\#/Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/bin/swift-plugin-server\#SwiftMacros -disable-implicit-swift-modules -Xcc -fno-implicit-modules -Xcc -fno-implicit-module-maps -explicit-swift-module-map-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit-dependencies-1.json -Xllvm -aarch64-use-tbi -enable-objc-interop -stack-check -sdk /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX27.0.sdk -I /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -Isystem /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/usr/lib -F /Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug -F /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Platforms/MacOSX.platform/Developer/Library/Frameworks -module-cache-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/SwiftExplicitPrecompiledModules -color-diagnostics -Xcc -fcolor-diagnostics -enable-testing -g -debug-info-format\=dwarf -dwarf-version\=4 -swift-version 5 -Onone -D SWIFT_PACKAGE -D DEBUG -D SWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE -D Xcode -serialize-debugging-options -enable-experimental-feature StrictConcurrency -enable-experimental-feature DebugDescriptionMacro -empty-abi-descriptor -validate-clang-modules-once -clang-build-session-file /Users/admin/builder/spi-builder-workspace/.build/out/ModuleCache.noindex/Session.modulevalidation -Xcc -working-directory -Xcc /Users/admin/builder -enable-anonymous-context-mangled-names -file-compilation-dir /Users/admin/builder -Xcc -D_LIBCPP_HARDENING_MODE\=_LIBCPP_HARDENING_MODE_DEBUG -Xcc -ivfsstatcache -Xcc /Users/admin/builder/spi-builder-workspace/.build/out/SDKStatCaches.noindex/macosx27.0-26A425-80c5bbf1d171475443272936d42f90a36a22442a12e9d48fe1a705f55a1adfc4.sdkstatcache -Xcc -fmodules-prune-interval\=86400 -Xcc -fmodules-prune-after\=345600 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Products/Debug/include -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/DerivedSources-normal/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/DerivedSources/arm64 -Xcc -I/Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/DerivedSources -Xcc -DSWIFT_PACKAGE -Xcc -DDEBUG\=1 -no-auto-bridging-header-chaining -module-name HealthSnapKit -package-name spi_builder_workspace -const-gather-protocols-file /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit_const_extract_protocols.json -disable-clang-spi -clang-target arm64-apple-macos27.0 -target-sdk-version 27.0 -target-sdk-name macosx27.0 -in-process-plugin-server-path /Applications/Xcode-27.0.0-Release.Candidate.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/lib/swift/host/libSwiftInProcPluginServer.dylib -emit-module-doc-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit.swiftdoc -emit-module-source-info-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit.swiftsourceinfo -emit-objc-header-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit-Swift.h -serialize-diagnostics-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit-primary-emit-module.dia -emit-dependencies-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit-primary-emit-module.d -parse-as-library -o /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit.swiftmodule -emit-abi-descriptor-path /Users/admin/builder/spi-builder-workspace/.build/out/Intermediates.noindex/HealthSnapKit.build/Debug/HealthSnapKit-t.build/Objects-normal/arm64/HealthSnapKit.abi.json
error: Build failed
BUILD FAILURE 6.4 macosSpm