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 XCTHealthKit, reference 1.1.2 (550a6f), with Swift 6.1 for macOS (SPM) on 30 Apr 2025 20:39:02 UTC.

Build Command

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

Build Log

147 |                 picker.adjust(toPickerWheelValue: "O+")
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 |             @unknown default:
151 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
error: emit-module command failed with exit code 1 (use -v to see invocation)
[5/11] Compiling XCTHealthKit XCTest+HealthApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:54:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 22 |
 23 |     @MainActor
 24 |     func handleOnboarding(_ healthApp: XCUIApplication, alreadyRecursive: Bool = false) {
    |          `- note: add @available attribute to enclosing instance method
 25 |         installHealthAppNotificationsAlertMonitor()
 26 |
    :
 52 |                 if !healthApp.staticTexts["Continue"].waitForExistence(timeout: 60) {
 53 |                     if alreadyRecursive {
 54 |                         logger.notice("Even the recursive process did fail. Terminate the process.")
    |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                                       `- note: add 'if #available' version check
 55 |                     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:80:13: error: 'MainActor' is only available in macOS 10.15 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
    |             |- error: 'MainActor' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
 82 |                     // Not the Health app's Notification request alert.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:80:23: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
    |                       |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
 82 |                     // Not the Health app's Notification request alert.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:81:43: error: 'Regex' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
    |                                           |- error: 'Regex' is only available in macOS 13.0 or newer
    |                                           `- note: add 'if #available' version check
 82 |                     // Not the Health app's Notification request alert.
 83 |                     return false
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:99:14: error: 'firstMatch(of:)' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
    |              |- error: 'firstMatch(of:)' is only available in macOS 13.0 or newer
    |              `- note: add 'if #available' version check
100 |     }
101 | }
[6/11] Compiling XCTHealthKit XCTHealthKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
[7/11] Compiling XCTHealthKit HealthAppSampleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 18 |     public let healthAppDisplayTitle: String
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    :
 19 |
 20 |     /// Creates a new sample type, with the specified fields
 21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
    |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |            `- note: add @available attribute to enclosing initializer
 22 |         self.category = category
 23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:96:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 70 | // MARK: XCTest Navigation
 71 |
 72 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 73 |     /// Navigates the Health app to the sample type's page.
 74 |     @MainActor
 75 |     public func navigateToPage(in healthApp: XCUIApplication, assumeAlreadyInCategory: Bool) throws {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         if !assumeAlreadyInCategory {
 77 |             try category.navigateToPage(in: healthApp)
    :
 94 |             }
 95 |
 96 |             logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
    |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 97 |             throw XCTestError(.failureWhileWaiting)
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:96:65: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 70 | // MARK: XCTest Navigation
 71 |
 72 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 73 |     /// Navigates the Health app to the sample type's page.
 74 |     @MainActor
 75 |     public func navigateToPage(in healthApp: XCUIApplication, assumeAlreadyInCategory: Bool) throws {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         if !assumeAlreadyInCategory {
 77 |             try category.navigateToPage(in: healthApp)
    :
 94 |             }
 95 |
 96 |             logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
    |                                                                 |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                                                                 `- note: add 'if #available' version check
 97 |             throw XCTestError(.failureWhileWaiting)
 98 |         }
[8/11] Compiling XCTHealthKit XCTest+AddSamples.swift
[9/11] Emitting module XCTHealthKit
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 18 |     public let healthAppDisplayTitle: String
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    :
 19 |
 20 |     /// Creates a new sample type, with the specified fields
 21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
    |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |            `- note: add @available attribute to enclosing initializer
 22 |         self.category = category
 23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
 18 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 19 |     public let bloodType: HKBloodType?
    |                           `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 20 |
 21 |     /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 27 |     ///
 28 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 29 |     public let biologicalSex: HKBiologicalSex?
    |                               `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 30 |
 31 |     /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 32 |     ///
 33 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 34 |     public let skinType: HKFitzpatrickSkinType?
    |                          `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 35 |
 36 |     /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 37 |     ///
 38 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 39 |     public let wheelchairUse: HKWheelchairUse?
    |                               `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 40 |
 41 |     /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
    |                    `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
    |                        `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
    |                   `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 47 |         wheelchairUse: HKWheelchairUse? = nil
 48 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
    |                        `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 48 |     ) {
 49 |         self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
[10/11] Compiling XCTHealthKit XCTHealthKitAddSampleInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:173:29: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
172 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
173 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                             `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:173:50: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
172 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
173 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                  `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:176:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
176 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
177 |             app.buttons["DatePicker.Hide"].tap()
178 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:176:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
176 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
177 |             app.buttons["DatePicker.Hide"].tap()
178 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:183:33: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
181 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
182 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
183 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                 `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
184 |                 app.buttons["DatePicker.Hide"].tap()
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:183:54: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
181 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
182 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
183 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
184 |                 app.buttons["DatePicker.Hide"].tap()
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:190:34: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
188 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
189 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
190 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                  `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
191 |                 app.buttons["DatePicker.Hide"].tap()
192 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:190:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
188 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
189 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
190 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
191 |                 app.buttons["DatePicker.Hide"].tap()
192 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:216:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
214 |             if pickerWheels.count == 2 {
215 |                 // 24 hour clock
216 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
217 |             } else {
218 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:216:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
214 |             if pickerWheels.count == 2 {
215 |                 // 24 hour clock
216 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
217 |             } else {
218 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:220:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
218 |                 // 12 hour clock
219 |                 XCTAssertEqual(pickerWheels.count, 3)
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:220:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
218 |                 // 12 hour clock
219 |                 XCTAssertEqual(pickerWheels.count, 3)
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:222:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
223 |             }
224 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:222:86: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
223 |             }
224 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:226:35: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
224 |         }
225 |         if let minute = components.minute {
226 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                   `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
227 |         }
228 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:226:56: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
224 |         }
225 |         if let minute = components.minute {
226 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                                        `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
227 |         }
228 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
[11/11] Compiling XCTHealthKit HealthAppCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:79:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add @available attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication) throws {
   |                 `- note: add @available attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
77 |
78 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
79 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                           `- note: add 'if #available' version check
80 |             throw XCTestError(.failureWhileWaiting)
81 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:79:54: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add @available attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication) throws {
   |                 `- note: add @available attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
77 |
78 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
79 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                                                      |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                                      `- note: add 'if #available' version check
80 |             throw XCTestError(.failureWhileWaiting)
81 |         }
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-16.3.0.app xcrun swift build --arch arm64
[0/1] Planning build
Building for debugging...
[0/1] Write swift-version-2F0A5646E1D333AE.txt
[2/10] Compiling XCTHealthKit XCTest+HealthKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthKit.swift:57:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
27 |
28 |
29 | extension XCUIApplication {
   | `- note: add @available attribute to enclosing extension
30 |     /// Returns the `XCUIApplication`'s bundle identifier.
31 |     nonisolated public var bundleIdentifier: String {
   :
53 |
54 |     /// Detects and dismisses the HealthKit Authorization sheet. Fails if the sheet is not displayed.
55 |     public func handleHealthKitAuthorization() throws {
   |                 `- note: add @available attribute to enclosing instance method
56 |         if !self.navigationBars["Health Access"].waitForExistence(timeout: 10) {
57 |             logger.notice("The HealthKit View did not load after 10 seconds ... give it a second try with a timeout of 20 seconds.")
   |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                           `- note: add 'if #available' version check
58 |         }
59 |         if self.navigationBars["Health Access"].waitForExistence(timeout: 20) {
[3/10] Compiling XCTHealthKit XCTest+AddSamples.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/10] Compiling XCTHealthKit XCTHealthKit.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
[5/10] Compiling XCTHealthKit XCTest+HealthApp.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:54:39: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 22 |
 23 |     @MainActor
 24 |     func handleOnboarding(_ healthApp: XCUIApplication, alreadyRecursive: Bool = false) {
    |          `- note: add @available attribute to enclosing instance method
 25 |         installHealthAppNotificationsAlertMonitor()
 26 |
    :
 52 |                 if !healthApp.staticTexts["Continue"].waitForExistence(timeout: 60) {
 53 |                     if alreadyRecursive {
 54 |                         logger.notice("Even the recursive process did fail. Terminate the process.")
    |                                       |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                                       `- note: add 'if #available' version check
 55 |                     }
 56 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:80:13: error: 'MainActor' is only available in macOS 10.15 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
    |             |- error: 'MainActor' is only available in macOS 10.15 or newer
    |             `- note: add 'if #available' version check
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
 82 |                     // Not the Health app's Notification request alert.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:80:23: error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
    |                       |- error: 'assumeIsolated(_:file:line:)' is only available in macOS 10.15 or newer
    |                       `- note: add 'if #available' version check
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
 82 |                     // Not the Health app's Notification request alert.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:81:43: error: 'Regex' is only available in macOS 13.0 or newer
 11 |
 12 |
 13 | extension XCTestCase {
    | `- note: add @available attribute to enclosing extension
 14 |     /// Walks through the Health App onboarding flow, if necessary.
 15 |     @MainActor
    :
 76 |     /// Installs a UI interruption monitor which will dismiss the "Health would like to send you notifications" alert.
 77 |     @discardableResult
 78 |     public func installHealthAppNotificationsAlertMonitor() -> any NSObjectProtocol {
    |                 `- note: add @available attribute to enclosing instance method
 79 |         self.addUIInterruptionMonitor(withDescription: "System Dialog") { alert in
 80 |             MainActor.assumeIsolated {
 81 |                 guard alert.title.matches(/.Health.Would Like to Send You Notifications/) else {
    |                                           |- error: 'Regex' is only available in macOS 13.0 or newer
    |                                           `- note: add 'if #available' version check
 82 |                     // Not the Health app's Notification request alert.
 83 |                     return false
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:99:14: error: 'firstMatch(of:)' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
    |              |- error: 'firstMatch(of:)' is only available in macOS 13.0 or newer
    |              `- note: add 'if #available' version check
100 |     }
101 | }
[6/10] Emitting module XCTHealthKit
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 18 |     public let healthAppDisplayTitle: String
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    :
 19 |
 20 |     /// Creates a new sample type, with the specified fields
 21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
    |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |            `- note: add @available attribute to enclosing initializer
 22 |         self.category = category
 23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
 18 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 19 |     public let bloodType: HKBloodType?
    |                           `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 20 |
 21 |     /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 27 |     ///
 28 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 29 |     public let biologicalSex: HKBiologicalSex?
    |                               `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 30 |
 31 |     /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 32 |     ///
 33 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 34 |     public let skinType: HKFitzpatrickSkinType?
    |                          `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 35 |
 36 |     /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 37 |     ///
 38 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 39 |     public let wheelchairUse: HKWheelchairUse?
    |                               `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 40 |
 41 |     /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
    |                    `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
    |                        `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
    |                   `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 47 |         wheelchairUse: HKWheelchairUse? = nil
 48 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
    |                        `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 48 |     ) {
 49 |         self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+HealthApp.swift:98:32: error: 'RegexComponent' is only available in macOS 13.0 or newer
 95 |
 96 |
 97 | extension String {
    | `- note: add @available attribute to enclosing extension
 98 |     func matches(_ regex: some RegexComponent) -> Bool {
    |          |                     `- error: 'RegexComponent' is only available in macOS 13.0 or newer
    |          `- note: add @available attribute to enclosing instance method
 99 |         self.firstMatch(of: regex) != nil
100 |     }
[7/10] Compiling XCTHealthKit HealthAppSampleType.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:17:28: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    |                            `- error: 'HKSampleType' is only available in macOS 13.0 or newer
 18 |     public let healthAppDisplayTitle: String
 19 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:21:58: error: 'HKSampleType' is only available in macOS 13.0 or newer
 13 |
 14 | /// A Sample type within the Health app.
 15 | public struct HealthAppSampleType: Hashable, Sendable {
    |               `- note: add @available attribute to enclosing struct
 16 |     public let category: HealthAppCategory
 17 |     public let sampleType: HKSampleType
    :
 19 |
 20 |     /// Creates a new sample type, with the specified fields
 21 |     public init(category: HealthAppCategory, sampleType: HKSampleType, healthAppDisplayTitle: String) {
    |            |                                             `- error: 'HKSampleType' is only available in macOS 13.0 or newer
    |            `- note: add @available attribute to enclosing initializer
 22 |         self.category = category
 23 |         self.sampleType = sampleType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:96:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
 70 | // MARK: XCTest Navigation
 71 |
 72 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 73 |     /// Navigates the Health app to the sample type's page.
 74 |     @MainActor
 75 |     public func navigateToPage(in healthApp: XCUIApplication, assumeAlreadyInCategory: Bool) throws {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         if !assumeAlreadyInCategory {
 77 |             try category.navigateToPage(in: healthApp)
    :
 94 |             }
 95 |
 96 |             logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
    |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
    |                           `- note: add 'if #available' version check
 97 |             throw XCTestError(.failureWhileWaiting)
 98 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:96:65: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
 70 | // MARK: XCTest Navigation
 71 |
 72 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 73 |     /// Navigates the Health app to the sample type's page.
 74 |     @MainActor
 75 |     public func navigateToPage(in healthApp: XCUIApplication, assumeAlreadyInCategory: Bool) throws {
    |                 `- note: add @available attribute to enclosing instance method
 76 |         if !assumeAlreadyInCategory {
 77 |             try category.navigateToPage(in: healthApp)
    :
 94 |             }
 95 |
 96 |             logger.notice("Failed to find element in category: \(healthApp.staticTexts.allElementsBoundByIndex)")
    |                                                                 |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
    |                                                                 `- note: add 'if #available' version check
 97 |             throw XCTestError(.failureWhileWaiting)
 98 |         }
[8/10] Compiling XCTHealthKit XCTest+CharacteristicEntry.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:19:27: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
 18 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 19 |     public let bloodType: HKBloodType?
    |                           `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 20 |
 21 |     /// The date of birth that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:29:31: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 27 |     ///
 28 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 29 |     public let biologicalSex: HKBiologicalSex?
    |                               `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 30 |
 31 |     /// The skin type that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:34:26: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 32 |     ///
 33 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 34 |     public let skinType: HKFitzpatrickSkinType?
    |                          `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 35 |
 36 |     /// The wheelchair use that should be entered, if any.
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:39:31: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 37 |     ///
 38 |     /// Specifying `nil` will cause this field to get skipped; the current value will remain unchanged.
 39 |     public let wheelchairUse: HKWheelchairUse?
    |                               `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 40 |
 41 |     /// Creates a new characteristics input definition object
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:43:20: error: 'HKBloodType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
    |                    `- error: 'HKBloodType' is only available in macOS 13.0 or newer
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:45:24: error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
    |                        `- error: 'HKBiologicalSex' is only available in macOS 13.0 or newer
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:46:19: error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
    |                   `- error: 'HKFitzpatrickSkinType' is only available in macOS 13.0 or newer
 47 |         wheelchairUse: HKWheelchairUse? = nil
 48 |     ) {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:47:24: error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 13 |
 14 | /// Characteristics which should be entered into the health app.
 15 | public struct CharacteristicsDefinition {
    |               `- note: add @available attribute to enclosing struct
 16 |     /// The blood type that should be entered, if any.
 17 |     ///
    :
 40 |
 41 |     /// Creates a new characteristics input definition object
 42 |     public init(
    |            `- note: add @available attribute to enclosing initializer
 43 |         bloodType: HKBloodType? = nil,
 44 |         dateOfBirth: DateComponents? = nil,
 45 |         biologicalSex: HKBiologicalSex? = nil,
 46 |         skinType: HKFitzpatrickSkinType? = nil,
 47 |         wheelchairUse: HKWheelchairUse? = nil
    |                        `- error: 'HKWheelchairUse' is only available in macOS 13.0 or newer
 48 |     ) {
 49 |         self.bloodType = bloodType
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:95:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 93 |                 picker.pickerWheels
 94 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
 95 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 96 |             }
 97 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:95:61: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 93 |                 picker.pickerWheels
 94 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.month]))
 95 |                     .adjust(toPickerWheelValue: XCUIElement.monthName(for: month))
    |                                                             `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 96 |             }
 97 |             if let day = dateOfBirth.day {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:100:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
 98 |                 picker.pickerWheels
 99 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
100 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
101 |             }
102 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:100:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
 98 |                 picker.pickerWheels
 99 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.day]))
100 |                     .adjust(toPickerWheelValue: String(format: dayFormatString, day))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
101 |             }
102 |             if let year = dateOfBirth.year {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:105:28: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
103 |                 picker.pickerWheels
104 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
105 |                     .adjust(toPickerWheelValue: String(year))
    |                            `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
106 |             }
107 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:105:49: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
103 |                 picker.pickerWheels
104 |                     .element(boundBy: try XCTUnwrap(pickerWheelsMapping[.year]))
105 |                     .adjust(toPickerWheelValue: String(year))
    |                                                 `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
106 |             }
107 |             healthApp.cells["Date of Birth"].tap()
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:115:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
113 |             switch biologicalSex {
114 |             case .notSet:
115 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:115:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
113 |             switch biologicalSex {
114 |             case .notSet:
115 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:117:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
115 |                 picker.adjust(toPickerWheelValue: "")
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:117:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
115 |                 picker.adjust(toPickerWheelValue: "")
116 |             case .male:
117 |                 picker.adjust(toPickerWheelValue: "Male")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:119:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
117 |                 picker.adjust(toPickerWheelValue: "Male")
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:119:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
117 |                 picker.adjust(toPickerWheelValue: "Male")
118 |             case .female:
119 |                 picker.adjust(toPickerWheelValue: "Female")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:121:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
119 |                 picker.adjust(toPickerWheelValue: "Female")
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
122 |             @unknown default:
123 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:121:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
119 |                 picker.adjust(toPickerWheelValue: "Female")
120 |             case .other:
121 |                 picker.adjust(toPickerWheelValue: "Other")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
122 |             @unknown default:
123 |                 XCTFail("Unhandled biological sex value: \(biologicalSex)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:133:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
131 |             switch bloodType {
132 |             case .notSet:
133 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:133:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
131 |             switch bloodType {
132 |             case .notSet:
133 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:135:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
133 |                 picker.adjust(toPickerWheelValue: "")
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:135:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
133 |                 picker.adjust(toPickerWheelValue: "")
134 |             case .aPositive:
135 |                 picker.adjust(toPickerWheelValue: "A+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:137:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
135 |                 picker.adjust(toPickerWheelValue: "A+")
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:137:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
135 |                 picker.adjust(toPickerWheelValue: "A+")
136 |             case .aNegative:
137 |                 picker.adjust(toPickerWheelValue: "A-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:139:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
137 |                 picker.adjust(toPickerWheelValue: "A-")
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:139:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
137 |                 picker.adjust(toPickerWheelValue: "A-")
138 |             case .bPositive:
139 |                 picker.adjust(toPickerWheelValue: "B+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:141:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
139 |                 picker.adjust(toPickerWheelValue: "B+")
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:141:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
139 |                 picker.adjust(toPickerWheelValue: "B+")
140 |             case .bNegative:
141 |                 picker.adjust(toPickerWheelValue: "B-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:143:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
141 |                 picker.adjust(toPickerWheelValue: "B-")
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:143:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
141 |                 picker.adjust(toPickerWheelValue: "B-")
142 |             case .abPositive:
143 |                 picker.adjust(toPickerWheelValue: "AB+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:145:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
143 |                 picker.adjust(toPickerWheelValue: "AB+")
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:145:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
143 |                 picker.adjust(toPickerWheelValue: "AB+")
144 |             case .abNegative:
145 |                 picker.adjust(toPickerWheelValue: "AB-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:147:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
145 |                 picker.adjust(toPickerWheelValue: "AB-")
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:147:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
145 |                 picker.adjust(toPickerWheelValue: "AB-")
146 |             case .oPositive:
147 |                 picker.adjust(toPickerWheelValue: "O+")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:149:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
147 |                 picker.adjust(toPickerWheelValue: "O+")
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
150 |             @unknown default:
151 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:149:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
147 |                 picker.adjust(toPickerWheelValue: "O+")
148 |             case .oNegative:
149 |                 picker.adjust(toPickerWheelValue: "O-")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
150 |             @unknown default:
151 |                 XCTFail("Unhandled blood type value: \(bloodType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:161:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
159 |             switch skinType {
160 |             case .notSet:
161 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:163:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
161 |                 picker.adjust(toPickerWheelValue: "")
162 |             case .I:
163 |                 picker.adjust(toPickerWheelValue: "Type I")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:165:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
163 |                 picker.adjust(toPickerWheelValue: "Type I")
164 |             case .II:
165 |                 picker.adjust(toPickerWheelValue: "Type II")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:167:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
165 |                 picker.adjust(toPickerWheelValue: "Type II")
166 |             case .III:
167 |                 picker.adjust(toPickerWheelValue: "Type III")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:169:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
167 |                 picker.adjust(toPickerWheelValue: "Type III")
168 |             case .IV:
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:171:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
169 |                 picker.adjust(toPickerWheelValue: "Type IV")
170 |             case .V:
171 |                 picker.adjust(toPickerWheelValue: "Type V")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:173:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |                 picker.adjust(toPickerWheelValue: "Type V")
172 |             case .VI:
173 |                 picker.adjust(toPickerWheelValue: "Type VI")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             @unknown default:
175 |                 XCTFail("Unhandled skin type value: \(skinType)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:185:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
183 |             switch wheelchairUse {
184 |             case .notSet:
185 |                 picker.adjust(toPickerWheelValue: "")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:187:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
185 |                 picker.adjust(toPickerWheelValue: "")
186 |             case .no:
187 |                 picker.adjust(toPickerWheelValue: "No")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTest+CharacteristicEntry.swift:189:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
187 |                 picker.adjust(toPickerWheelValue: "No")
188 |             case .yes:
189 |                 picker.adjust(toPickerWheelValue: "Yes")
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
190 |             @unknown default:
191 |                 XCTFail("Unhandled wheelchair use value: \(wheelchairUse)")
[9/10] Compiling XCTHealthKit XCTHealthKitAddSampleInput.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:35:37: error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    |                       `- note: add @available attribute to enclosing static property
 34 |         category: .activity,
 35 |         sampleType: HKQuantityType(.activeEnergyBurned),
    |                                     `- error: 'activeEnergyBurned' is only available in macOS 13.0 or newer
 36 |         healthAppDisplayTitle: "Active Energy"
 37 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:41:37: error: 'restingHeartRate' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 37 |     )
 38 |     /// The resting heart rate subpage of the Apple Health app. Corresponds to `HKQuantityType(.restingHeartRate)` samples.
 39 |     public static let restingHeartRate = Self(
    |                       `- note: add @available attribute to enclosing static property
 40 |         category: .heart,
 41 |         sampleType: HKQuantityType(.restingHeartRate),
    |                                     `- error: 'restingHeartRate' is only available in macOS 13.0 or newer
 42 |         healthAppDisplayTitle: "Resting Heart Rate"
 43 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:47:22: error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 43 |     )
 44 |     /// The electrocardiograms subpage of the Apple Health app. Corresponds to `HKQuantityType.electrocardiogramType()` samples.
 45 |     public static let electrocardiograms = Self(
    |                       `- note: add @available attribute to enclosing static property
 46 |         category: .heart,
 47 |         sampleType: .electrocardiogramType(),
    |                      `- error: 'electrocardiogramType()' is only available in macOS 13.0 or newer
 48 |         healthAppDisplayTitle: "Electrocardiograms (ECG)"
 49 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:53:37: error: 'stepCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 49 |     )
 50 |     /// The steps subpage of the Apple Health app. Corresponds to `HKQuantityType(.stepCount)` samples.
 51 |     public static let steps = Self(
    |                       `- note: add @available attribute to enclosing static property
 52 |         category: .activity,
 53 |         sampleType: HKQuantityType(.stepCount),
    |                                     `- error: 'stepCount' is only available in macOS 13.0 or newer
 54 |         healthAppDisplayTitle: "Steps"
 55 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'HKQuantityType' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'HKQuantityType' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:21: error: 'init(_:)' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                     `- error: 'init(_:)' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:59:37: error: 'pushCount' is only available in macOS 13.0 or newer
 29 | // MARK: Some Well-Known Sample Types
 30 |
 31 | extension HealthAppSampleType {
    | `- note: add @available attribute to enclosing extension
 32 |     /// The active energy subpage of the Apple Health app. Corresponds to `HKQuantityType(.activeEnergyBurned)` samples.
 33 |     public static let activeEnergy = Self(
    :
 55 |     )
 56 |     /// The pushes subpage of the Apple Health app. Corresponds to `HKQuantityType(.pushCount)` samples.
 57 |     public static let pushes = Self(
    |                       `- note: add @available attribute to enclosing static property
 58 |         category: .activity,
 59 |         sampleType: HKQuantityType(.pushCount),
    |                                     `- error: 'pushCount' is only available in macOS 13.0 or newer
 60 |         healthAppDisplayTitle: "Pushes"
 61 |     )
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:173:29: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
171 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
172 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
173 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                             `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:173:50: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
171 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
172 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
173 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                  `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:176:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
176 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
177 |             app.buttons["DatePicker.Hide"].tap()
178 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:176:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
174 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
175 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
176 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
177 |             app.buttons["DatePicker.Hide"].tap()
178 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:183:33: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
181 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
182 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
183 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                 `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
184 |                 app.buttons["DatePicker.Hide"].tap()
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:183:54: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
181 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
182 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
183 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
184 |                 app.buttons["DatePicker.Hide"].tap()
185 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:190:34: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
188 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
189 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
190 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                  `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
191 |                 app.buttons["DatePicker.Hide"].tap()
192 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:190:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
188 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
189 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
190 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
191 |                 app.buttons["DatePicker.Hide"].tap()
192 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:216:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
214 |             if pickerWheels.count == 2 {
215 |                 // 24 hour clock
216 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
217 |             } else {
218 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:216:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
214 |             if pickerWheels.count == 2 {
215 |                 // 24 hour clock
216 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
217 |             } else {
218 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:220:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
218 |                 // 12 hour clock
219 |                 XCTAssertEqual(pickerWheels.count, 3)
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:220:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
218 |                 // 12 hour clock
219 |                 XCTAssertEqual(pickerWheels.count, 3)
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:222:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
223 |             }
224 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:222:86: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
220 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
221 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
222 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
223 |             }
224 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:226:35: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
224 |         }
225 |         if let minute = components.minute {
226 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                   `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
227 |         }
228 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:226:56: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
224 |         }
225 |         if let minute = components.minute {
226 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                                        `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
227 |         }
228 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
[10/10] Compiling XCTHealthKit HealthAppCategory.swift
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKit.swift:12:14: error: 'Logger' is only available in macOS 11.0 or newer
10 |
11 |
12 | let logger = Logger(subsystem: "XCTHealthKit", category: "")
   |     |        `- error: 'Logger' is only available in macOS 11.0 or newer
   |     `- note: add @available attribute to enclosing let
13 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:79:27: error: 'OSLogMessage' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add @available attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication) throws {
   |                 `- note: add @available attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
77 |
78 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
79 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                           |- error: 'OSLogMessage' is only available in macOS 11.0 or newer
   |                           `- note: add 'if #available' version check
80 |             throw XCTestError(.failureWhileWaiting)
81 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:79:54: error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
12 |
13 | /// A category in the health app
14 | public enum HealthAppCategory: String, Hashable, Sendable {
   |             `- note: add @available attribute to enclosing enum
15 |     case activity = "Activity"
16 |     case bodyMeasurements = "Body Measurements"
   :
37 |     /// Navigates in the health app to the category, and selects it.
38 |     @MainActor
39 |     public func navigateToPage(in healthApp: XCUIApplication) throws {
   |                 `- note: add @available attribute to enclosing instance method
40 |         try healthApp.assertIsHealthApp()
41 |
   :
77 |
78 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
79 |             logger.notice("Failed to find category: \(healthApp.staticTexts.allElementsBoundByIndex)")
   |                                                      |- error: 'appendInterpolation(_:align:privacy:)' is only available in macOS 11.0 or newer
   |                                                      `- note: add 'if #available' version check
80 |             throw XCTestError(.failureWhileWaiting)
81 |         }
BUILD FAILURE 6.1 macosSpm