This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.

The Swift Package Index logo.Swift Package Index

Track the adoption of Swift 6 strict concurrency checks for data race safety. How many packages are Ready for Swift 6?

Build Information

Failed to build HealthKitCombine with Swift 6.0 for macOS (SPM).

Build Command

env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete

Build Log

========================================
RunAll
========================================
Builder version: 4.40.0
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/CombineHarvesters/HealthKitCombine.git
Reference: master
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/CombineHarvesters/HealthKitCombine
 * branch            master     -> FETCH_HEAD
 * [new branch]      master     -> origin/master
HEAD is now at 19207c2 Add a fix for request(_:) being called multiple times
Cloned https://github.com/CombineHarvesters/HealthKitCombine.git
Revision (git rev-parse @):
19207c2d5d91c0290c5a1333f9f5e7cddd55d0c3
SUCCESS checkout https://github.com/CombineHarvesters/HealthKitCombine.git at master
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.0
Building package at path:  $workDir
https://github.com/CombineHarvesters/HealthKitCombine.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-15.3.0.app xcrun --toolchain org.swift.600202405261a swift build --arch arm64 -Xswiftc -Xfrontend -Xswiftc -stats-output-dir -Xswiftc -Xfrontend -Xswiftc .stats -Xswiftc -strict-concurrency=complete
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-6F35C1178C84523A.txt
[3/6] Compiling HealthKitCombine QueryPublisher.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:7:34: error: 'HKQuery' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func publisher<Query: HKQuery, Output, Failure: Error>(
   |                 |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
 8 |         for query: @escaping (@escaping (Query, Output?, Failure?) -> ()) -> Query
 9 |     ) -> QueryPublisher<Query, Output, Failure> {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func publisher<Query: HKQuery, Output, Failure: Error>(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:18:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
12 | }
13 |
14 | public struct QueryPublisher<Query: HKQuery, Output, Failure: Error> {
   |               `- note: add @available attribute to enclosing generic struct
15 |
16 |     typealias Completion = (Query, Output?, Failure?) -> ()
17 |
18 |     fileprivate let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
19 |     fileprivate let query: (@escaping Completion) -> Query
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:14:37: error: 'HKQuery' is only available in macOS 13.0 or newer
12 | }
13 |
14 | public struct QueryPublisher<Query: HKQuery, Output, Failure: Error> {
   |               |                     `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |               `- note: add @available attribute to enclosing generic struct
15 |
16 |     typealias Completion = (Query, Output?, Failure?) -> ()
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:26:29: error: 'Subscriber' is only available in macOS 10.15 or newer
20 | }
21 |
22 | extension QueryPublisher: Publisher {
   | `- note: add @available attribute to enclosing extension
23 |
24 |     public func receive<Subscriber>(subscriber: Subscriber)
   |                 `- note: add @available attribute to enclosing instance method
25 |         where
26 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
27 |         Subscriber.Failure == Failure,
28 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:43:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   :
41 |         Subscriber.Input == Output
42 |     {
43 |         private let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
44 |         private let query: Query
45 |         private var hasExecuted = false
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:47:33: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   :
44 |         private let query: Query
45 |         private var hasExecuted = false
46 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
47 |                          store: HKHealthStore,
   |                                 `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
48 |                          query: (@escaping Completion) -> Query) {
49 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:39:29: error: 'Subscriber' is only available in macOS 10.15 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             |- note: add @available attribute to enclosing generic class
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
40 |         Subscriber.Failure == Failure,
41 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:66:28: error: 'Subscribers' is only available in macOS 10.15 or newer
62 | }
63 |
64 | extension QueryPublisher.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
65 |
66 |     func request(_ demand: Subscribers.Demand) {
   |          |                 `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
67 |         // If the store is asked to execute the same query more than once an
68 |         // exception will be thrown. This can happen when this publisher is in
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/6] Emitting module HealthKitCombine
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:8:20: error: 'HKSampleType' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         share: Set<HKSampleType>? = nil,
   |                    `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 9 |         read: Set<HKSampleType>? = nil
10 |     ) -> AuthorizationRequest {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:9:19: error: 'HKSampleType' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         share: Set<HKSampleType>? = nil,
 9 |         read: Set<HKSampleType>? = nil
   |                   `- error: 'HKSampleType' is only available in macOS 13.0 or newer
10 |     ) -> AuthorizationRequest {
11 |         AuthorizationRequest(store: self, share: share, read: read)
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:16:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
17 |     fileprivate let share: Set<HKSampleType>?
18 |     fileprivate let read: Set<HKSampleType>?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:17:32: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
17 |     fileprivate let share: Set<HKSampleType>?
   |                                `- error: 'HKSampleType' is only available in macOS 13.0 or newer
18 |     fileprivate let read: Set<HKSampleType>?
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:18:31: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
17 |     fileprivate let share: Set<HKSampleType>?
18 |     fileprivate let read: Set<HKSampleType>?
   |                               `- error: 'HKSampleType' is only available in macOS 13.0 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:28:29: error: 'Subscriber' is only available in macOS 10.15 or newer
19 | }
20 |
21 | extension AuthorizationRequest: Publisher {
   | `- note: add @available attribute to enclosing extension
22 |
23 |     public typealias Output = Void
24 |     public typealias Failure = Error
25 |
26 |     public func receive<Subscriber>(subscriber: Subscriber)
   |                 `- note: add @available attribute to enclosing instance method
27 |         where
28 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
29 |         Subscriber.Failure == Failure,
30 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:49:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
47 |     {
48 |         private let subscriber: Subscriber
49 |         private let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
50 |         private let share: Set<HKSampleType>?
51 |         private let read: Set<HKSampleType>?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:50:32: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
48 |         private let subscriber: Subscriber
49 |         private let store: HKHealthStore
50 |         private let share: Set<HKSampleType>?
   |                                `- error: 'HKSampleType' is only available in macOS 13.0 or newer
51 |         private let read: Set<HKSampleType>?
52 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:51:31: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
49 |         private let store: HKHealthStore
50 |         private let share: Set<HKSampleType>?
51 |         private let read: Set<HKSampleType>?
   |                               `- error: 'HKSampleType' is only available in macOS 13.0 or newer
52 |
53 |         fileprivate init(subscriber: Subscriber,
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:54:33: error: 'HKHealthStore' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
   |                                 `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
55 |                          share: Set<HKSampleType>?,
56 |                          read: Set<HKSampleType>?) {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:55:37: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
55 |                          share: Set<HKSampleType>?,
   |                                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
56 |                          read: Set<HKSampleType>?) {
57 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:56:36: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
55 |                          share: Set<HKSampleType>?,
56 |                          read: Set<HKSampleType>?) {
   |                                    `- error: 'HKSampleType' is only available in macOS 13.0 or newer
57 |
58 |             self.subscriber = subscriber
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:44:29: error: 'Subscriber' is only available in macOS 10.15 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             |- note: add @available attribute to enclosing generic class
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
45 |         Subscriber.Failure == Failure,
46 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:68:28: error: 'Subscribers' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension AuthorizationRequest.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
67 |
68 |     func request(_ demand: Subscribers.Demand) {
   |          |                 `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
69 |
70 |         store.requestAuthorization(toShare: share, read: read) { success, error in
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:9:50: error: 'HKActivitySummary' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func activitySummaryPublisher(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         predicate: NSPredicate?
 9 |     ) -> QueryPublisher<HKActivitySummaryQuery, [HKActivitySummary], Error> {
   |                                                  `- error: 'HKActivitySummary' is only available in macOS 13.0 or newer
10 |
11 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func activitySummaryPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:22:15: error: 'HKCorrelationType' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
   |               `- error: 'HKCorrelationType' is only available in macOS 13.0 or newer
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:24:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
   |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
26 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:25:25: error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
   |                         `- error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
26 |
27 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:25:46: error: 'HKCorrelation' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
   |                                              `- error: 'HKCorrelation' is only available in macOS 13.0 or newer
26 |
27 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:19:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:40:21: error: 'HKSampleType' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
   |                 `- note: add @available attribute to enclosing instance method
40 |         sampleType: HKSampleType,
   |                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
41 |         predicate: NSPredicate?,
42 |         limit: Int,
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:44:41: error: 'HKSample' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
   |                 `- note: add @available attribute to enclosing instance method
40 |         sampleType: HKSampleType,
41 |         predicate: NSPredicate?,
42 |         limit: Int,
43 |         sortDescriptors: [NSSortDescriptor]?
44 |     ) -> QueryPublisher<HKSampleQuery, [HKSample], Error> {
   |                                         `- error: 'HKSample' is only available in macOS 13.0 or newer
45 |
46 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:37:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:60:21: error: 'HKSampleType' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
   |                 `- note: add @available attribute to enclosing instance method
60 |         sampleType: HKSampleType,
   |                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
61 |         samplePredicate: NSPredicate?
62 |     ) -> QueryPublisher<HKSourceQuery, Set<HKSource>, Error> {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:62:44: error: 'HKSource' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
   |                 `- note: add @available attribute to enclosing instance method
60 |         sampleType: HKSampleType,
61 |         samplePredicate: NSPredicate?
62 |     ) -> QueryPublisher<HKSourceQuery, Set<HKSource>, Error> {
   |                                            `- error: 'HKSource' is only available in macOS 13.0 or newer
63 |
64 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:57:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:76:23: error: 'HKQuantityType' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
   |                       `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:78:18: error: 'HKStatisticsOptions' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
   |                  `- error: 'HKStatisticsOptions' is only available in macOS 13.0 or newer
79 |     ) -> QueryPublisher<HKStatisticsQuery, HKStatistics, Error> {
80 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:79:44: error: 'HKStatistics' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
79 |     ) -> QueryPublisher<HKStatisticsQuery, HKStatistics, Error> {
   |                                            `- error: 'HKStatistics' is only available in macOS 13.0 or newer
80 |
81 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:73:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:7:34: error: 'HKQuery' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func publisher<Query: HKQuery, Output, Failure: Error>(
   |                 |                `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |                 `- note: add @available attribute to enclosing instance method
 8 |         for query: @escaping (@escaping (Query, Output?, Failure?) -> ()) -> Query
 9 |     ) -> QueryPublisher<Query, Output, Failure> {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func publisher<Query: HKQuery, Output, Failure: Error>(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:18:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
12 | }
13 |
14 | public struct QueryPublisher<Query: HKQuery, Output, Failure: Error> {
   |               `- note: add @available attribute to enclosing generic struct
15 |
16 |     typealias Completion = (Query, Output?, Failure?) -> ()
17 |
18 |     fileprivate let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
19 |     fileprivate let query: (@escaping Completion) -> Query
20 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:14:37: error: 'HKQuery' is only available in macOS 13.0 or newer
12 | }
13 |
14 | public struct QueryPublisher<Query: HKQuery, Output, Failure: Error> {
   |               |                     `- error: 'HKQuery' is only available in macOS 13.0 or newer
   |               `- note: add @available attribute to enclosing generic struct
15 |
16 |     typealias Completion = (Query, Output?, Failure?) -> ()
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:26:29: error: 'Subscriber' is only available in macOS 10.15 or newer
20 | }
21 |
22 | extension QueryPublisher: Publisher {
   | `- note: add @available attribute to enclosing extension
23 |
24 |     public func receive<Subscriber>(subscriber: Subscriber)
   |                 `- note: add @available attribute to enclosing instance method
25 |         where
26 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
27 |         Subscriber.Failure == Failure,
28 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:43:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   :
41 |         Subscriber.Input == Output
42 |     {
43 |         private let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
44 |         private let query: Query
45 |         private var hasExecuted = false
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:47:33: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   :
44 |         private let query: Query
45 |         private var hasExecuted = false
46 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
47 |                          store: HKHealthStore,
   |                                 `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
48 |                          query: (@escaping Completion) -> Query) {
49 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:39:29: error: 'Subscriber' is only available in macOS 10.15 or newer
35 | extension QueryPublisher {
36 |
37 |     fileprivate final class Subscription<Subscriber>
   |                             |- note: add @available attribute to enclosing generic class
   |                             `- note: add @available attribute to enclosing generic class
38 |         where
39 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
40 |         Subscriber.Failure == Failure,
41 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/QueryPublisher.swift:66:28: error: 'Subscribers' is only available in macOS 10.15 or newer
62 | }
63 |
64 | extension QueryPublisher.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
65 |
66 |     func request(_ demand: Subscribers.Demand) {
   |          |                 `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
67 |         // If the store is asked to execute the same query more than once an
68 |         // exception will be thrown. This can happen when this publisher is in
[5/6] Compiling HealthKitCombine AuthorizationRequest.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:8:20: error: 'HKSampleType' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         share: Set<HKSampleType>? = nil,
   |                    `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 9 |         read: Set<HKSampleType>? = nil
10 |     ) -> AuthorizationRequest {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:9:19: error: 'HKSampleType' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         share: Set<HKSampleType>? = nil,
 9 |         read: Set<HKSampleType>? = nil
   |                   `- error: 'HKSampleType' is only available in macOS 13.0 or newer
10 |     ) -> AuthorizationRequest {
11 |         AuthorizationRequest(store: self, share: share, read: read)
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func requestAuthorization(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:16:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
17 |     fileprivate let share: Set<HKSampleType>?
18 |     fileprivate let read: Set<HKSampleType>?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:17:32: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
17 |     fileprivate let share: Set<HKSampleType>?
   |                                `- error: 'HKSampleType' is only available in macOS 13.0 or newer
18 |     fileprivate let read: Set<HKSampleType>?
19 | }
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:18:31: error: 'HKSampleType' is only available in macOS 13.0 or newer
13 | }
14 |
15 | public struct AuthorizationRequest {
   |               `- note: add @available attribute to enclosing struct
16 |     fileprivate let store: HKHealthStore
17 |     fileprivate let share: Set<HKSampleType>?
18 |     fileprivate let read: Set<HKSampleType>?
   |                               `- error: 'HKSampleType' is only available in macOS 13.0 or newer
19 | }
20 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:28:29: error: 'Subscriber' is only available in macOS 10.15 or newer
19 | }
20 |
21 | extension AuthorizationRequest: Publisher {
   | `- note: add @available attribute to enclosing extension
22 |
23 |     public typealias Output = Void
24 |     public typealias Failure = Error
25 |
26 |     public func receive<Subscriber>(subscriber: Subscriber)
   |                 `- note: add @available attribute to enclosing instance method
27 |         where
28 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
29 |         Subscriber.Failure == Failure,
30 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:49:28: error: 'HKHealthStore' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
47 |     {
48 |         private let subscriber: Subscriber
49 |         private let store: HKHealthStore
   |                            `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
50 |         private let share: Set<HKSampleType>?
51 |         private let read: Set<HKSampleType>?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:50:32: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
48 |         private let subscriber: Subscriber
49 |         private let store: HKHealthStore
50 |         private let share: Set<HKSampleType>?
   |                                `- error: 'HKSampleType' is only available in macOS 13.0 or newer
51 |         private let read: Set<HKSampleType>?
52 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:51:31: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
49 |         private let store: HKHealthStore
50 |         private let share: Set<HKSampleType>?
51 |         private let read: Set<HKSampleType>?
   |                               `- error: 'HKSampleType' is only available in macOS 13.0 or newer
52 |
53 |         fileprivate init(subscriber: Subscriber,
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:54:33: error: 'HKHealthStore' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
   |                                 `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
55 |                          share: Set<HKSampleType>?,
56 |                          read: Set<HKSampleType>?) {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:55:37: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
55 |                          share: Set<HKSampleType>?,
   |                                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
56 |                          read: Set<HKSampleType>?) {
57 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:56:36: error: 'HKSampleType' is only available in macOS 13.0 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   :
51 |         private let read: Set<HKSampleType>?
52 |
53 |         fileprivate init(subscriber: Subscriber,
   |                     `- note: add @available attribute to enclosing initializer
54 |                          store: HKHealthStore,
55 |                          share: Set<HKSampleType>?,
56 |                          read: Set<HKSampleType>?) {
   |                                    `- error: 'HKSampleType' is only available in macOS 13.0 or newer
57 |
58 |             self.subscriber = subscriber
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:44:29: error: 'Subscriber' is only available in macOS 10.15 or newer
40 | extension AuthorizationRequest {
41 |
42 |     fileprivate final class Subscription<Subscriber>
   |                             |- note: add @available attribute to enclosing generic class
   |                             `- note: add @available attribute to enclosing generic class
43 |         where
44 |         Subscriber: Combine.Subscriber,
   |                             `- error: 'Subscriber' is only available in macOS 10.15 or newer
45 |         Subscriber.Failure == Failure,
46 |         Subscriber.Input == Output
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/AuthorizationRequest.swift:68:28: error: 'Subscribers' is only available in macOS 10.15 or newer
64 | }
65 |
66 | extension AuthorizationRequest.Subscription: Subscription {
   | `- note: add @available attribute to enclosing extension
67 |
68 |     func request(_ demand: Subscribers.Demand) {
   |          |                 `- error: 'Subscribers' is only available in macOS 10.15 or newer
   |          `- note: add @available attribute to enclosing instance method
69 |
70 |         store.requestAuthorization(toShare: share, read: read) { success, error in
[6/6] Compiling HealthKitCombine HealthStore+Publishers.swift
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:9:50: error: 'HKActivitySummary' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func activitySummaryPublisher(
   |                 `- note: add @available attribute to enclosing instance method
 8 |         predicate: NSPredicate?
 9 |     ) -> QueryPublisher<HKActivitySummaryQuery, [HKActivitySummary], Error> {
   |                                                  `- error: 'HKActivitySummary' is only available in macOS 13.0 or newer
10 |
11 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:5:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
 3 | import HealthKit
 4 |
 5 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
 6 |
 7 |     public func activitySummaryPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:22:15: error: 'HKCorrelationType' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
   |               `- error: 'HKCorrelationType' is only available in macOS 13.0 or newer
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:24:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
   |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
26 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:25:25: error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
   |                         `- error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
26 |
27 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:25:46: error: 'HKCorrelation' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
24 |         samplePredicates: [HKSampleType : NSPredicate]?
25 |     ) -> QueryPublisher<HKCorrelationQuery, [HKCorrelation], Error> {
   |                                              `- error: 'HKCorrelation' is only available in macOS 13.0 or newer
26 |
27 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:19:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:40:21: error: 'HKSampleType' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
   |                 `- note: add @available attribute to enclosing instance method
40 |         sampleType: HKSampleType,
   |                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
41 |         predicate: NSPredicate?,
42 |         limit: Int,
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:44:41: error: 'HKSample' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
   |                 `- note: add @available attribute to enclosing instance method
40 |         sampleType: HKSampleType,
41 |         predicate: NSPredicate?,
42 |         limit: Int,
43 |         sortDescriptors: [NSSortDescriptor]?
44 |     ) -> QueryPublisher<HKSampleQuery, [HKSample], Error> {
   |                                         `- error: 'HKSample' is only available in macOS 13.0 or newer
45 |
46 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:37:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
35 | }
36 |
37 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
38 |
39 |     public func samplePublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:60:21: error: 'HKSampleType' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
   |                 `- note: add @available attribute to enclosing instance method
60 |         sampleType: HKSampleType,
   |                     `- error: 'HKSampleType' is only available in macOS 13.0 or newer
61 |         samplePredicate: NSPredicate?
62 |     ) -> QueryPublisher<HKSourceQuery, Set<HKSource>, Error> {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:62:44: error: 'HKSource' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
   |                 `- note: add @available attribute to enclosing instance method
60 |         sampleType: HKSampleType,
61 |         samplePredicate: NSPredicate?
62 |     ) -> QueryPublisher<HKSourceQuery, Set<HKSource>, Error> {
   |                                            `- error: 'HKSource' is only available in macOS 13.0 or newer
63 |
64 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:57:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
55 | }
56 |
57 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
58 |
59 |     public func sourcePublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:76:23: error: 'HKQuantityType' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
   |                       `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:78:18: error: 'HKStatisticsOptions' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
   |                  `- error: 'HKStatisticsOptions' is only available in macOS 13.0 or newer
79 |     ) -> QueryPublisher<HKStatisticsQuery, HKStatistics, Error> {
80 |
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:79:44: error: 'HKStatistics' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
   |                 `- note: add @available attribute to enclosing instance method
76 |         quantityType: HKQuantityType,
77 |         quantitySamplePredicate: NSPredicate?,
78 |         options: HKStatisticsOptions
79 |     ) -> QueryPublisher<HKStatisticsQuery, HKStatistics, Error> {
   |                                            `- error: 'HKStatistics' is only available in macOS 13.0 or newer
80 |
81 |         publisher(for: {
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:73:11: error: 'HKHealthStore' is only available in macOS 13.0 or newer
71 | }
72 |
73 | extension HKHealthStore {
   | |         `- error: 'HKHealthStore' is only available in macOS 13.0 or newer
   | `- note: add @available attribute to enclosing extension
74 |
75 |     public func statisticsPublisher(
/Users/admin/builder/spi-builder-workspace/Sources/HealthKitCombine/HealthStore+Publishers.swift:29:13: error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
17 | }
18 |
19 | extension HKHealthStore {
   | `- note: add @available attribute to enclosing extension
20 |
21 |     public func correlationPublisher(
   |                 `- note: add @available attribute to enclosing instance method
22 |         type: HKCorrelationType,
23 |         predicate: NSPredicate?,
   :
27 |         publisher(for: {
28 |
29 |             HKCorrelationQuery(type: type,
   |             |- error: 'HKCorrelationQuery' is only available in macOS 13.0 or newer
   |             `- note: add 'if #available' version check
30 |                                predicate: predicate,
31 |                                samplePredicates: samplePredicates,
BUILD FAILURE 6.0 macosSpm
This is a staging environment. For live and up-to-date package information, visit swiftpackageindex.com.