The Swift Package Index logo.Swift Package Index

Has it really been five years since Swift Package Index launched? Read our anniversary blog post!

Build Information

Failed to build XCTHealthKit, reference main (907d85), with Swift 6.2 (beta) for macOS (SPM) on 11 Sep 2025 23:01:04 UTC.

Build Command

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

Build Log

========================================
RunAll
========================================
Builder version: 4.67.1
Interrupt handler set up.
========================================
Checkout
========================================
Clone URL: https://github.com/StanfordBDHG/XCTHealthKit.git
Reference: main
Initialized empty Git repository in /Users/admin/builder/spi-builder-workspace/.git/
From https://github.com/StanfordBDHG/XCTHealthKit
 * branch            main       -> FETCH_HEAD
 * [new branch]      main       -> origin/main
HEAD is now at 907d850 iOS 26 support (#23)
Cloned https://github.com/StanfordBDHG/XCTHealthKit.git
Revision (git rev-parse @):
907d85095d2129e8ccb2cb2d1e5542df5f6ba0ad
SPI manifest file found: $PWD/.spi.yml
SUCCESS checkout https://github.com/StanfordBDHG/XCTHealthKit.git at main
========================================
Build
========================================
Selected platform:         macosSpm
Swift version:             6.2
Building package at path:  $PWD
https://github.com/StanfordBDHG/XCTHealthKit.git
Running build ...
env DEVELOPER_DIR=/Applications/Xcode-26.0.0-Beta.app xcrun swift build --arch arm64
Building for debugging...
[0/2] Write sources
[1/2] Write swift-version-1EA4D86E10B52AF.txt
[3/11] Compiling XCTHealthKit XCTest+AddSamples.swift
error: emit-module command failed with exit code 1 (use -v to see invocation)
[4/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 | import XCTest
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 |
14 |
/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 |     }
[5/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 | import XCTest
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 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:71: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 |
   :
69 |
70 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
71 |             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
72 |             throw XCTestError(.failureWhileWaiting)
73 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppCategory.swift:71: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 |
   :
69 |
70 |         guard healthApp.navigationBars.staticTexts[categoryTitle].waitForExistence(timeout: 20) else {
71 |             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
72 |             throw XCTestError(.failureWhileWaiting)
73 |         }
[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 | import XCTest
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 |
14 |
[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 | import XCTest
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 |
14 |
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:90:23: 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)
   :
88 |             }
89 |         }
90 |         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
91 |         throw XCTestError(.failureWhileWaiting)
92 |     }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/HealthAppSampleType.swift:90:61: 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)
   :
88 |             }
89 |         }
90 |         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
91 |         throw XCTestError(.failureWhileWaiting)
92 |     }
[8/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:181:29: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
179 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
180 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
181 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                             `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
182 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
183 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:181:50: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
179 |             let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
180 |             XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
181 |             yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                  `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
182 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
183 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:184:30: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
182 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
183 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
184 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                              `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
185 |             app.buttons["DatePicker.Hide"].tap()
186 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:184:51: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
182 |             let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
183 |             XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
184 |             monthWheel.adjust(toPickerWheelValue: String(XCUIElement.monthName(for: month)))
    |                                                   `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
185 |             app.buttons["DatePicker.Hide"].tap()
186 |         } else {
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:191:33: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
189 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
190 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
191 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                 `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
192 |                 app.buttons["DatePicker.Hide"].tap()
193 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:191:54: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
189 |                 let yearWheel = app.pickerWheels[String(currentMonthAndYearSelection.year)]
190 |                 XCTAssertTrue(yearWheel.waitForExistence(timeout: 1))
191 |                 yearWheel.adjust(toPickerWheelValue: String(year))
    |                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
192 |                 app.buttons["DatePicker.Hide"].tap()
193 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:198:34: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
196 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
197 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
198 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                  `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
199 |                 app.buttons["DatePicker.Hide"].tap()
200 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:198:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
196 |                 let monthWheel = app.pickerWheels[String(currentMonthAndYearSelection.month.name)]
197 |                 XCTAssertTrue(monthWheel.waitForExistence(timeout: 1))
198 |                 monthWheel.adjust(toPickerWheelValue: Self.monthName(for: month))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
199 |                 app.buttons["DatePicker.Hide"].tap()
200 |             }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:224:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
222 |             if pickerWheels.count == 2 {
223 |                 // 24 hour clock
224 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
225 |             } else {
226 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:224:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
222 |             if pickerWheels.count == 2 {
223 |                 // 24 hour clock
224 |                 pickerWheels[0].adjust(toPickerWheelValue: String(format: "%02lld", hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
225 |             } else {
226 |                 // 12 hour clock
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:228:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
226 |                 // 12 hour clock
227 |                 XCTAssertEqual(pickerWheels.count, 3)
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
229 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
230 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:228:60: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
226 |                 // 12 hour clock
227 |                 XCTAssertEqual(pickerWheels.count, 3)
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
    |                                                            `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
229 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
230 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:230:39: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
229 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
230 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                       `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
231 |             }
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:230:86: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
228 |                 pickerWheels[0].adjust(toPickerWheelValue: String(hour > 12 ? hour - 12 : hour))
229 |                 let shouldLowercase = try XCTUnwrap((pickerWheels[2].value as? String)?.first).isLowercase
230 |                 pickerWheels[2].adjust(toPickerWheelValue: (hour > 12 ? "PM" : "AM").lowercased(shouldLowercase))
    |                                                                                      `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
231 |             }
232 |         }
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:234:35: error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
232 |         }
233 |         if let minute = components.minute {
234 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                   `- error: incorrect argument label in call (have 'toPickerWheelValue:', expected 'toNormalizedSliderPosition:')
235 |         }
236 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
/Users/admin/builder/spi-builder-workspace/Sources/XCTHealthKit/XCTHealthKitAddSampleInput.swift:234:56: error: cannot convert value of type 'String' to expected argument type 'CGFloat'
232 |         }
233 |         if let minute = components.minute {
234 |             pickerWheels[1].adjust(toPickerWheelValue: String(format: "%02lld", minute))
    |                                                        `- error: cannot convert value of type 'String' to expected argument type 'CGFloat'
235 |         }
236 |         self.tables.staticTexts["Time"].tap() // dismiss the time picker
[9/11] Compiling XCTHealthKit XCTest+HealthKit.swift
[10/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 | import XCTest
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 |
14 |
/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 | }
[11/11] 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)")
BUILD FAILURE 6.2 macosSpm